A Blockchain-Based Supply Chain Data Management Method and System
By broadcasting and storing pending supply chain information in the blockchain network and introducing processing permission design, the problems of complex supply chain data management system and inflexible permission management in the existing technology are solved, and the security, transparency and efficiency of data processing are improved.
Patent Information
- Application Number
- CN202411330423.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2044-09-24
AI Technical Summary
The existing blockchain-based supply chain data management system has problems such as complex data processing processes, inflexible permission management, and incomplete synchronization update mechanisms, which are difficult to meet the actual needs of supply chain management.
By broadcasting and storing pending supply chain information in the blockchain network, data security and immutability are ensured, and processing permission design is introduced to achieve refined permission management. The dismantling and changing permissions are also broadcasted through the blockchain network, ensuring the synchronous update and consistency of all nodes.
It improves the security, transparency and efficiency of data processing, ensures that only users with corresponding permissions can access and process data, and ensures that all nodes have access rights synchronized and updated in a timely manner after the permissions are lifted.
Smart Images

Figure CN119420497B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to data processing technologies, and in particular, to a blockchain-based supply chain data management method and system. Background Art
[0002] With the complexity and globalization trends of supply chain management, the management of supply chain data has become particularly important. Traditional centralized data management systems face many challenges in terms of data security, transparency, and real-time performance. Problems such as data tampering, chaotic permission management, and data inconsistency occur frequently, seriously affecting the efficiency and reliability of the supply chain.
[0003] As a decentralized, immutable, and highly transparent distributed ledger technology, blockchain technology has demonstrated its unique advantages in multiple fields in recent years. Applying blockchain technology to supply chain data management can significantly improve data security and credibility, while also enhancing the efficiency of data processing and access permission management.
[0004] However, most of the existing blockchain-based supply chain data management systems on the market have problems such as complex data processing processes, inflexible permission management, and imperfect synchronization and update mechanisms. These problems limit the in-depth application of blockchain technology in supply chain management and are difficult to meet the actual needs of supply chain management. Summary of the Invention
[0005] The present application provides a blockchain-based supply chain data management method and system, which can ensure that only users with corresponding permissions can access and process data, and can also ensure that the access permissions of all nodes are synchronized and updated in a timely manner after the permissions are revoked.
[0006] In a first aspect, the present application provides a blockchain-based supply chain data management method, which is characterized in that it is applied to a supply chain data management system, and the supply chain data management system includes: a blockchain network and a supply chain data processing platform deployed on at least one network node of the blockchain network; the method includes:
[0007] Obtain the supply chain information to be processed through the supply chain data processing platform in the first network node, where the supply chain information to be processed includes the supply chain data to be processed and the processing permission, and the processing permission is the minimum permission for verifying and processing the supply chain data to be processed;
[0008] Broadcast the supply chain information to be processed in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network;
[0009] In another network node, the to-be-processed supply chain information is invoked by the target user identity, and it is determined that the processing authority corresponding to the target user identity is not lower than the processing authority. Then, in response to the permission release instruction for the to-be-processed supply chain data, permission release information is generated.
[0010] Only broadcast the permission release information in the blockchain network to release the access permission to the to-be-processed supply chain data on each network node of the blockchain network.
[0011] In the above solution, by broadcasting the to-be-processed supply chain information in the blockchain network and storing it on each network node, the security and immutability of the supply chain data are ensured. The decentralized and distributed ledger characteristics of the blockchain make it impossible for any single node to change the data and affect the integrity and authenticity of the overall data, thus effectively preventing data tampering and fraud. Then, the design of processing authority is introduced as the minimum permission requirement for verifying and processing supply chain data. Through clear permission management, it can be ensured that only users with corresponding permissions can access and process the data, thereby improving the compliance and transparency of data processing. At the same time, the process of releasing and changing permissions is also broadcast through the blockchain network to ensure synchronous updates and consistency of all nodes.
[0012] Moreover, leveraging the distributed characteristics of the blockchain network, supply chain data can be efficiently transmitted and processed among multiple network nodes. This distributed processing ability not only improves the speed of data processing but also enhances the accuracy and reliability of the data through the multi-node verification mechanism. In addition, when the supply chain information changes, all relevant nodes will be updated synchronously, ensuring the timeliness and consistency of the data.
[0013] Furthermore, it is also possible to allow different processing permissions to be set for different users in the blockchain network and release or change the permissions as needed. This flexible permission control mechanism can be dynamically adjusted according to actual business requirements to adapt to different data processing scenarios and processes. At the same time, through fine-grained control of permissions, it can also be ensured that sensitive data will not be accessed by unauthorized users, thereby protecting the business secrets and interests of enterprises.
[0014] In addition, due to the immutable and traceable characteristics of the data on the blockchain, the traceability of the supply chain data is enhanced in the above solution. When it is necessary to trace or audit a certain link in the supply chain, the complete data chain and relevant information can be obtained by querying the records on the blockchain, thereby improving the efficiency and accuracy of tracing, which is of great significance for improving the transparency and credibility of the supply chain.
[0015] It should be noted that after generating the permission revocation information according to the permission revocation instruction of the supply chain data to be processed in another network node, only the permission revocation information is broadcast in the blockchain network to revoke the access permission to the supply chain data to be processed on each network node of the blockchain network, rather than generating updated supply chain information based on the supply chain data to be processed and the generated permission revocation information and then broadcasting the updated supply chain information. In comparison, only broadcasting the permission revocation information in the above solution can effectively reduce the amount of data broadcast and the data storage amount on the blockchain network.
[0016] Optionally, in another network node, the to-be-processed supply chain information is called by the target user identity, and it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission, then in response to the permission revocation instruction for the to-be-processed supply chain data, generating the permission revocation information includes:
[0017] In the second network node, the to-be-processed supply chain information is called by the first target user identity, and only the first to-be-processed supply chain items in the to-be-processed supply chain data are displayed in the display device corresponding to the second network node. The to-be-processed supply chain data includes the first to-be-processed supply chain items and the second to-be-processed supply chain items, and the first processing permission corresponding to the first target user identity is the processing permission matching the first to-be-processed supply chain items;
[0018] In the second network node, in response to the first permission revocation instruction for the first to-be-processed supply chain items, generating the first permission revocation information and broadcasting the first permission revocation information in the blockchain network to revoke the access permission to the first to-be-processed supply chain items on each network node of the blockchain network;
[0019] In the third network node, the to-be-processed supply chain information is called by the second target user identity, and the first to-be-processed supply chain items and the second to-be-processed supply chain items are displayed in the display device corresponding to the third network node. The second processing permission corresponding to the second target user identity is the processing permission matching the second to-be-processed supply chain items;
[0020] In the third network node, in response to the second permission revocation instruction for the second to-be-processed supply chain items, generating the second permission revocation information and broadcasting the second permission revocation information in the blockchain network to revoke the access permission to the second to-be-processed supply chain items on each network node of the blockchain network.
[0021] In the above solution, by differentiating different supply chain items to be processed (the first supply chain item to be processed and the second supply chain item to be processed) and assigning matching processing permissions to different target user identities (the first target user and the second target user), fine-grained control of data access is achieved. This control mechanism enables each user to only access the data within their authorized scope, improving the precision and security of data management. Moreover, by gradually performing permission revocation operations on different items in the supply chain data, the gradual unlocking and release of data are realized. This step-by-step processing method helps to maintain the continuity and orderliness of the data processing flow, while avoiding the risk of sensitive data being accessed prematurely before verification.
[0022] In addition, the above solution allows different users to collaborate on different network nodes according to a preset topological graph of the processing flow node transitions in the supply chain. This collaboration mechanism supports the sequential processing and layer-by-layer verification of supply chain data, ensuring the accuracy and integrity of the data. At the same time, it also supports collaborative work among multiple users, improving the efficiency of data processing.
[0023] Furthermore, only the data items that match the target user identity are displayed on the display device, avoiding the leakage of irrelevant data, enhancing data privacy protection, helping to protect the business secrets and sensitive information of enterprises, and preventing data from being accessed and misused by unauthorized users.
[0024] When the permission revocation instruction is triggered, the above solution broadcasts it through the blockchain network to ensure that the permission information on all network nodes can be updated and synchronized in a timely manner. This real-time permission update mechanism guarantees the consistency and accuracy of data access permissions, avoiding data access conflicts or security vulnerabilities caused by inconsistent permissions.
[0025] Optionally, a topological graph of the processing flow node transitions for the supply chain information to be processed is preset in the supply chain data processing platform, where the second processing flow node corresponding to the second target user identity is the next processing flow node of the first processing flow node corresponding to the first target user identity.
[0026] In the above solution, by presetting a topological graph of the processing flow node transitions in the supply chain data processing platform, the automation and standardization of the supply chain data processing flow are realized. Each processing flow node corresponds to a specific data processing task and user permission, ensuring the standardization and consistency of the data processing flow. The topological graph of the processing flow node transitions clarifies the roles and responsibilities of different user identities in the data processing flow, making the collaboration among multiple users more efficient. Each user only needs to focus on the processing flow node they are responsible for and work according to the preset process sequence, thereby improving the overall data processing efficiency.
[0027] Since the processing flow node transfer topology diagram is recorded on the blockchain, the operations of each processing flow node are immutable and traceable, which helps to quickly locate problems and hold people accountable when issues arise. At the same time, it also provides strong support for the compliance and auditing of data processing.
[0028] Furthermore, although the processing flow node transfer topology diagram is preset, the method also supports flexible adjustment and optimization according to actual needs. By modifying the structure of the topology diagram or adding new processing flow nodes, it can adapt to different data processing scenarios and business requirements, improving the flexibility and adaptability of the method.
[0029] Optionally, after displaying the first supply chain item to be processed and the second supply chain item to be processed on the display device corresponding to the third network node, it further includes:
[0030] In the third network node, in response to a permission locking instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, generate permission locking information and broadcast the permission locking information in the blockchain network to lock the access permissions of the first supply chain item to be processed and / or the second supply chain item to be processed on each network node of the blockchain network.
[0031] In the above solution, by introducing a permission locking mechanism in the blockchain network, it is possible to quickly lock the access permissions of specific supply chain items when necessary, effectively preventing unauthorized access and data tampering. This instant locking function significantly enhances the security of data and protects the integrity and credibility of supply chain data.
[0032] Specifically, the permission locking instruction allows users to temporarily restrict access to certain data items when needed. This flexibility makes data management more adaptable to complex and changing business scenarios. For example, in cases such as data auditing, dispute resolution, or sensitive information protection, permission locking can be used as an effective management tool.
[0033] Once a permission locking instruction is received, the above solution can quickly generate permission locking information and broadcast it in the blockchain network to ensure that the permission information on all network nodes is updated in a timely manner. This rapid response ability helps to quickly take measures when data security risks occur and reduce potential losses.
[0034] Optionally, a smart contract is deployed in the blockchain network. The smart contract is used to record the identity information corresponding to each user identity and the activity record. The activity record is used to record the behavior events of the corresponding user identity in the supply chain data management system. Correspondingly, before broadcasting the permission locking information in the blockchain network, it further includes:
[0035] In the third network node, obtain the second identity information and the second activity record corresponding to the second target user identity in the smart contract;
[0036] Determine the behavior reliability score of the second target user identity according to the second identity information and the second activity record.
[0037] In the above solution, by deploying a smart contract in the blockchain network, it is possible to record and track the behavior events of each user identity in the supply chain data management system. These behavior records not only improve the transparency of user behavior but also provide a reliable data basis for subsequent behavior reliability evaluation.
[0038] Specifically, based on the identity information and activity records recorded in the smart contract, the behavior reliability score of the second target user identity can be calculated. This scoring mechanism scientifically evaluates the behavior reliability and trustworthiness of users by comprehensively considering the user's identity characteristics and activity records, providing strong support for permission management and risk control. The introduction of the behavior reliability score makes permission management more dynamic and flexible. The system can adjust its access permissions in real time according to the behavior reliability score of the user, giving more trust to users with high behavior reliability and imposing stricter permission control on users with suspicious or unreliable behavior, thereby ensuring data security and compliance. In addition, by regularly or real-time evaluating the behavior reliability of users, potential data security risks can be detected and prevented in a timely manner. For users with a low behavior reliability score, the system can take additional security measures, such as strengthening identity verification and restricting access permissions, to prevent events such as data leakage or tampering. Moreover, the combination of the smart contract and the behavior reliability score makes the supply chain data management system have a higher level of intelligence. The system can automatically collect, analyze, and evaluate user behavior data and automatically adjust permission settings according to the evaluation results, thus realizing the automation and intelligence of data management.
[0039] Optionally, after determining the behavior reliability score of the second target user identity according to the second identity information and the second activity record, it further includes:
[0040] Obtain the start time point and the end time point of each behavior event in the second activity record;
[0041] Update the behavior reliability score of the second target user identity according to the start time point and the end time point of each behavior event in the second activity record.
[0042] In the above solution, by considering the start and end time points of the behavioral events, the behavioral reliability score of the second target user identity is dynamically updated, making the scoring result more timely and accurate. Combining the timestamp information, the system can comprehensively analyze the long-term trends and short-term fluctuations of user behaviors, thereby realizing the refined adjustment of the behavioral reliability score. This refined scoring helps to more accurately evaluate the current behavioral state and potential risks of users. Moreover, by analyzing the timestamps of the behavioral records, the system can timely detect abnormal changes in user behaviors and adjust their behavioral reliability scores accordingly. This ability enables the system to early warn of potential data security risks and provide a time window for taking timely measures.
[0043] Furthermore, the dynamic update of the behavioral reliability score makes the permission management more fair and reasonable. The system can adjust the access permissions of users in real time according to their latest behavioral performances, avoiding the unreasonable permission settings caused by the rigidity of historical behavioral records.
[0044] Optionally, after displaying the first supply chain item to be processed and the second supply chain item to be processed in the display device corresponding to the third network node, it further includes:
[0045] In the third network node, in response to a permission change instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, permission change information is generated, and the permission change instruction is used to indicate changing the access permission of the corresponding supply chain item to be processed to a target access permission, and the target access permission is not higher than the processing permission corresponding to the second target user identity;
[0046] Broadcast the permission change instruction in the blockchain network to configure the first supply chain item to be processed and / or the second supply chain item to be processed with the target access permission on each network node of the blockchain network.
[0047] In the above solution, it is allowed to dynamically change the access permissions of the supply chain items to be processed in the blockchain network, making the permission management more flexible and efficient. By generating permission change information and broadcasting it in the blockchain network, the system can quickly adjust the access permissions of specific items to new target permissions to meet the permission requirements of different users in different scenarios. The broadcast of the permission change instruction and the synchronous update of all network nodes ensure the immediacy and consistency of the permission change. This mechanism prevents permission management loopholes caused by information asynchronization between nodes and improves the data security. Moreover, the permission change instruction clarifies the boundary of the target access permission to ensure that the new access permission does not exceed the processing permission corresponding to the second target user identity. This precise permission control helps to maintain the permission hierarchy of the system and prevent permission abuse.
[0048] It is worth noting that in a complex supply chain environment, business requirements and data access permissions may change with the evolution of business processes. The permission change function provided by the above solution can quickly respond to these changes, ensuring that the system can adapt to diverse business scenarios. Through a flexible permission adjustment mechanism, users can change their access permissions at any time according to actual needs, thus more conveniently obtaining the required data. Moreover, the introduction of the permission change function enables the system to easily expand more functions related to permission management in the future.
[0049] In a second aspect, the present application provides a supply chain data management system, including: a blockchain network and a supply chain data processing platform deployed on at least one network node of the blockchain network;
[0050] Obtain the supply chain information to be processed through the supply chain data processing platform in the first network node, where the supply chain information to be processed includes the supply chain data to be processed and the processing permission, and the processing permission is the minimum permission for verifying and processing the supply chain data to be processed;
[0051] Broadcast the supply chain information to be processed in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network;
[0052] In another network node, call the supply chain information to be processed through the target user identity, and if it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission, then in response to the permission release instruction for the supply chain data to be processed, generate a permission release information;
[0053] Only broadcast the permission release information in the blockchain network to release the access permission to the supply chain data to be processed on each network node of the blockchain network.
[0054] Optionally, the step of, in another network node, calling the supply chain information to be processed through the target user identity, and if it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission, then in response to the permission release instruction for the supply chain data to be processed, generating a permission release information, includes:
[0055] In the second network node, call the supply chain information to be processed through the first target user identity, and only display the first supply chain data items to be processed in the supply chain data to be processed on the display device corresponding to the second network node. The supply chain data to be processed includes the first supply chain data items to be processed and the second supply chain data items to be processed, and the first processing permission corresponding to the first target user identity is the processing permission matching the first supply chain data items to be processed;
[0056] In a second network node, in response to a first permission release instruction for the first supply chain item to be processed, first permission release information is generated and the first permission release information is broadcast in the blockchain network to release the access permission for the first supply chain item to be processed on each network node in the blockchain network;
[0057] In a third network node, the supply chain information to be processed is called by a second target user identity, and the first supply chain item to be processed and the second supply chain item to be processed are displayed in a display device corresponding to the third network node, and the second processing permission corresponding to the second target user identity is a processing permission matching the second supply chain item to be processed;
[0058] In a third network node, in response to a second permission release instruction for the second supply chain item to be processed, second permission release information is generated and the second permission release information is broadcast in the blockchain network to release the access permission for the second supply chain item to be processed on each network node in the blockchain network.
[0059] Optionally, a processing flow node transfer topology diagram for the supply chain information to be processed is preset in the supply chain data processing platform, wherein the second processing flow node corresponding to the second target user identity is the next processing flow node of the first processing flow node corresponding to the first target user identity.
[0060] Optionally, after the first supply chain item to be processed and the second supply chain item to be processed are displayed in the display device corresponding to the third network node, it further includes:
[0061] In the third network node, in response to a permission locking instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, permission locking information is generated and the permission locking information is broadcast in the blockchain network to lock the access permission for the first supply chain item to be processed and / or the second supply chain item to be processed on each network node in the blockchain network.
[0062] Optionally, a smart contract is deployed in the blockchain network, and the smart contract is used to record the identity information and activity records corresponding to each user identity, and the activity records are used to record the behavior events of the corresponding user identity in the supply chain data management system; correspondingly, before the permission locking information is broadcast in the blockchain network, it further includes:
[0063] In the third network node, the second identity information and the second activity record corresponding to the second target user identity in the smart contract are obtained;
[0064] Determine the behavioral reliability score of the second target user identity based on the second identity information and the second activity record.
[0065] Optionally, after determining the behavioral reliability score of the second target user identity based on the second identity information and the second activity record, it further includes:
[0066] Obtain the start time point and end time point of each behavioral event in the second activity record;
[0067] Update the behavioral reliability score of the second target user identity according to the start time point and end time point of each behavioral event in the second activity record.
[0068] Optionally, after displaying the first supply chain item to be processed and the second supply chain item to be processed in the display device corresponding to the third network node, it further includes:
[0069] In the third network node, in response to a permission change instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, generate permission change information, where the permission change instruction is used to indicate changing the access permission of the corresponding supply chain item to be processed to a target access permission, and the target access permission is not higher than the processing permission corresponding to the second target user identity;
[0070] Broadcast the permission change instruction in the blockchain network to configure the first supply chain item to be processed and / or the second supply chain item to be processed with the target access permission on each network node of the blockchain network.
[0071] In a third aspect, the present application provides an electronic device, including:
[0072] A processor; and,
[0073] A memory for storing executable instructions of the processor;
[0074] Wherein, the processor is configured to execute any possible method described in the first aspect by executing the executable instructions.
[0075] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement any possible method described in the first aspect.
[0076] The supply chain data management method and system based on blockchain provided by this application obtain the supply chain information to be processed through the supply chain data processing platform in the first network node, and broadcast the supply chain information to be processed in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network. Then, in another network node, the supply chain information to be processed is called by the target user identity, and it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission. Then, in response to the permission release instruction for the supply chain data to be processed, permission release information is generated, and only the permission release information is broadcast in the blockchain network to release the access permission to the supply chain data to be processed on each network node of the blockchain network. It can ensure that only users with corresponding permissions can access and process the data, and at the same time, after the permission is released, it can also be broadcast through the blockchain network to ensure the synchronous update and consistency of all nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] The drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.
[0078] Figure 1 is a schematic flowchart of a supply chain data management method based on blockchain shown according to an exemplary embodiment of this application;
[0079] Figure 2 is a schematic flowchart of a supply chain data management method based on blockchain shown according to another exemplary embodiment of this application;
[0080] Figure 3 is a schematic structural diagram of a supply chain data management system shown according to an exemplary embodiment of this application;
[0081] Figure 4 is a schematic structural diagram of an electronic device shown according to an exemplary embodiment of this application.
[0082] Through the above drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0083] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0084] To solve the above problems, the embodiments provided in the present application aim to improve the security, transparency, and efficiency of supply chain data management through blockchain technology. Specifically, the core concept of the present application is embodied in the following aspects:
[0085] 1. Blockchain-based data storage and broadcasting mechanism:
[0086] First, the embodiments provided in the present application build a supply chain data management system on a blockchain network and utilize the decentralized and distributed ledger characteristics of the blockchain to ensure the security and immutability of data. When supply chain data (including pending supply chain data and its processing permissions) is generated or updated, this information is broadcast in the blockchain network and stored on all network nodes. This mechanism not only avoids the risk of data tampering by a single node but also ensures the real-time and consistency of data.
[0087] 2. Fine-grained permission management mechanism:
[0088] Second, the embodiments provided in the present application introduce a fine-grained permission management mechanism to ensure that only users with corresponding permissions can access and process supply chain data. By assigning different processing permissions to each user identity and performing permission verification when calling data, fine-grained control of data access is achieved. When a user needs to process specific supply chain data, the system determines whether to respond to the permission release instruction based on its permissions and broadcasts only the permission release information in the blockchain network, thereby gradually unlocking the data access permission.
[0089] 3. Flexible permission change and locking mechanism:
[0090] Furthermore, the embodiments provided in the present application also provide a flexible permission change and locking mechanism. During the process of supply chain data processing, if it is necessary to adjust the data access permissions according to business requirements, users can achieve this by generating a permission change instruction and broadcasting it in the blockchain network. At the same time, to address potential data security risks, the system also supports locking the access permissions of specific supply chain items when necessary to ensure that the data is not accessed or tampered with without authorization.
[0091] 4. Intelligent user behavior evaluation:
[0092] In addition, the embodiments provided in this application also deploy smart contracts in the blockchain network to record and track the behavior events of each user identity in the supply chain data management system. Based on these behavior records, the system can calculate the behavior reliability scores of users and dynamically adjust their access permissions accordingly. This intelligent user behavior evaluation mechanism not only improves the security and compliance of data management, but also makes the permission management more flexible and efficient.
[0093] 5. Automation of the process flow node transfer topology diagram:
[0094] Finally, the embodiments provided in this application preset a process flow node transfer topology diagram in the supply chain data processing platform to achieve the automation and standardization of the supply chain data processing process. Each process flow node corresponds to specific data processing tasks and user permissions, ensuring the standardization and consistency of the data processing process. At the same time, through the automatic execution of smart contracts and the distributed verification mechanism of the blockchain, the present invention also realizes collaborative work among multiple users and the transparency of the data processing process.
[0095] Figure 1 is a schematic flowchart of a blockchain-based supply chain data management method shown according to an exemplary embodiment of this application. As Figure 1 shown, the blockchain-based supply chain data management method provided in this embodiment includes:
[0096] S101. Obtain the supply chain information to be processed through the supply chain data processing platform in the first network node.
[0097] The method provided in this embodiment can be applied to a supply chain data management system, which includes: a blockchain network and a supply chain data processing platform deployed on at least one network node of the blockchain network. The blockchain network connects multiple nodes in a decentralized manner, and each node stores a complete copy of the blockchain data. The supply chain data processing platform is deployed on these nodes and is responsible for processing supply chain-related data and information.
[0098] In this step, obtain the supply chain information to be processed through the supply chain data processing platform in the first network node. The supply chain information to be processed includes the supply chain data to be processed and the processing permission, and the processing permission is the lowest permission for verifying and processing the supply chain data to be processed.
[0099] Specifically, when new information or data is generated in the supply chain, this information will be collected and organized into the supply chain information to be processed. This information includes, but is not limited to, specific supply chain data (such as order information, logistics information, product information, etc.) and the lowest permission required to process this data. This step is usually triggered automatically by a certain participant or system in the supply chain.
[0100] S102. Broadcast the supply chain information to be processed in the blockchain network.
[0101] In this step, the supply chain information to be processed is broadcast in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network.
[0102] Specifically, after obtaining the supply chain information to be processed, the system broadcasts this information in the blockchain network. Each node in the blockchain network will receive this information and store it in its respective blockchain copy. This distributed storage method ensures the security and immutability of the data because any single node's data change cannot affect the integrity of the overall data.
[0103] S103. Generate permission revocation information in response to a permission revocation instruction for the supply chain data to be processed.
[0104] In another network node, the supply chain information to be processed is called by the target user identity, and it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission. Then, in response to the permission revocation instruction for the supply chain data to be processed, permission revocation information is generated.
[0105] Specifically, when a certain user (target user) needs to access or process the supply chain data, the system first verifies the user's identity and its corresponding processing permission. If the processing permission corresponding to the user identity is not lower than the minimum permission specified in the supply chain information to be processed, the user is allowed to further operate. If the user needs to lift the access restriction on specific data, the system will respond to its permission revocation instruction and generate the corresponding permission revocation information.
[0106] S104. Only broadcast the permission revocation information in the blockchain network.
[0107] In this step, only the permission revocation information is broadcast in the blockchain network to revoke the access permission to the supply chain data to be processed on each network node of the blockchain network.
[0108] Specifically, after generating the permission revocation information, the system broadcasts it again in the blockchain network to notify all nodes to update the corresponding access permission settings. Due to the distributed nature of the blockchain, all nodes will receive this update information and synchronously update the data access permissions stored locally, thereby achieving real-time control and synchronous update of the supply chain data access permissions.
[0109] It is worth noting that in another network node, when the system responds to the permission release instruction for the supply chain data to be processed and generates the permission release information, it is selected to only broadcast this permission release information in the blockchain network, rather than generating a larger data packet containing the complete updated supply chain information for broadcasting. This strategy can bring the following technical effects:
[0110] Reduce the amount of broadcast data: By directly broadcasting the permission release information instead of the complete updated supply chain information, the amount of data required to be transmitted for each operation can be significantly reduced. In the blockchain network, each node needs to process and store the broadcast information. Reducing the amount of broadcast data directly reduces the demand for network bandwidth and improves the overall efficiency of the system. Especially in scenarios with high-frequency permission changes, this optimization effect is particularly obvious.
[0111] Optimize storage resources: Since the amount of broadcast data is reduced, the amount of data that each node on the blockchain network needs to store is also correspondingly reduced. This not only reduces the storage pressure on a single node but also optimizes the utilization of the overall network's storage resources. In the long-term operation, this optimization can significantly save storage costs and improve the scalability and stability of the system.
[0112] Improve synchronization efficiency: Smaller data packets mean faster transmission speeds and shorter synchronization times. When the permission release information is broadcast in the blockchain network, all nodes can receive and process this information more quickly, realizing real-time updates of access permissions. This is crucial for business scenarios that require rapid response to permission changes.
[0113] Enhance system security: By only broadcasting the necessary permission release information, the security risks that may be brought by transmitting the complete supply chain data are avoided. Reducing the exposure of sensitive information during data transmission reduces the risk of data leakage or malicious tampering, further enhancing the security of the system.
[0114] In summary, by only broadcasting the permission release information in the blockchain network, while realizing the dynamic adjustment of supply chain data access permissions, it effectively reduces network bandwidth consumption, optimizes storage resource utilization, improves synchronization efficiency, and enhances the overall security of the system. This strategy is an innovative manifestation of the application of blockchain technology in the field of supply chain management, significantly improving the efficiency and security of data processing and permission management.
[0115] In this embodiment, the supply chain information to be processed is obtained through the supply chain data processing platform in the first network node, and the supply chain information to be processed is broadcast in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network. Then, in another network node, the supply chain information to be processed is called by the target user identity, and it is determined that the processing permission corresponding to the target user identity is not lower than the processing permission. Then, in response to the permission release instruction for the supply chain data to be processed, permission release information is generated, and only the permission release information is broadcast in the blockchain network to release the access permission for the supply chain data to be processed on each network node of the blockchain network. It can ensure that only users with corresponding permissions can access and process data, and at the same time, after the permission is released, it can also be broadcast through the blockchain network to ensure the synchronous update and consistency of all nodes.
[0116] Figure 2 It is a schematic flowchart of a blockchain-based supply chain data management method shown by another exemplary embodiment of the present application. As Figure 2 shown, the blockchain-based supply chain data management method provided in this embodiment includes:
[0117] S201. Obtain the supply chain information to be processed through the supply chain data processing platform in the first network node.
[0118] In this step, the supply chain information to be processed is obtained through the supply chain data processing platform in the first network node. The supply chain information to be processed includes the supply chain data to be processed and the processing permission, and the processing permission is the minimum permission for verifying and processing the supply chain data to be processed.
[0119] Specifically, when new information or data is generated in the supply chain, this information will be collected and organized into the supply chain information to be processed. This information includes but is not limited to specific supply chain data (such as order information, logistics information, product information, etc.) and the minimum permission required to process this data. This step is usually triggered automatically by a participant or system in the supply chain.
[0120] S202. Broadcast the supply chain information to be processed in the blockchain network.
[0121] In this step, the supply chain information to be processed is broadcast in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network.
[0122] Specifically, after obtaining the supply chain information to be processed, the system broadcasts this information in the blockchain network. Each node in the blockchain network will receive this information and store it in its respective blockchain copy. This distributed storage method ensures the security and immutability of the data because any data change in a single node cannot affect the integrity of the overall data.
[0123] S203. In the second network node, call the supply chain information to be processed by the first target user identity.
[0124] In the second network node, call the supply chain information to be processed by the first target user identity. Only display the first item of the supply chain data to be processed in the display device corresponding to the second network node. The supply chain data to be processed includes the first item of the supply chain data to be processed and the second item of the supply chain data to be processed. The first processing authority corresponding to the first target user identity is the processing authority matching the first item of the supply chain data to be processed.
[0125] S204. In the second network node, generate a first authority release information in response to a first authority release instruction for the first item of the supply chain data to be processed.
[0126] In the second network node, generate a first authority release information in response to a first authority release instruction for the first item of the supply chain data to be processed, and broadcast the first authority release information in the blockchain network to release the access authority to the first item of the supply chain data to be processed on each network node of the blockchain network.
[0127] S205. In the third network node, call the supply chain information to be processed by the second target user identity.
[0128] In the third network node, call the supply chain information to be processed by the second target user identity. Display the first item of the supply chain data to be processed and the second item of the supply chain data to be processed in the display device corresponding to the third network node. The second processing authority corresponding to the second target user identity is the processing authority matching the second item of the supply chain data to be processed.
[0129] Optionally, a processing process node transfer topology diagram for the supply chain information to be processed is preset in the supply chain data processing platform. Among them, the second processing process node corresponding to the second target user identity is the next processing process node of the first processing process node corresponding to the first target user identity.
[0130] Specifically, first, in the system design and deployment phase, the administrator of the supply chain data processing platform needs to pre-draw and configure the processing flow node transfer topology diagram according to the actual business requirements and data processing procedures. This topology diagram clearly stipulates the tasks of each processing flow node, the input / output data requirements, and the transfer relationships between nodes.
[0131] In the processing flow node transfer topology diagram, each node represents a specific data processing step, and each step is assigned corresponding processing permissions to a specific user identity. These nodes are connected to each other according to the established business logic and process sequence, forming a clear data processing path.
[0132] In the specific implementation process, when the supply chain data processing platform in the first network node obtains the supply chain information to be processed, this information will automatically flow according to the processing flow node transfer topology diagram. For example, if the first target user identity (such as a purchaser) is the person in charge of the first processing node (such as the purchase confirmation node), the supply chain information to be processed will first be pushed to the node where the user is located for processing.
[0133] After the first target user completes its processing task (such as confirming the purchase order), the system will automatically check the processing flow node transfer topology diagram to determine the next processing flow node and its corresponding user identity (such as the second target user identity, such as a warehouse keeper). Subsequently, the system will push the supply chain information to be processed (which may already include the processing results of the first target user) to the second processing node for the second target user to continue processing.
[0134] During the entire processing process, each user can only access and process the data items within their permission scope, and can only operate on the specified processing flow nodes. This preset processing flow ensures the sequentiality and standardization of data processing, and avoids the possibility of data chaos and incorrect processing.
[0135] In addition, through the decentralized and distributed ledger characteristics of the blockchain, every operation step of the processing flow node transfer topology diagram will be recorded on the blockchain, ensuring the transparency and traceability of the data processing flow. Once the data is processed at a certain node, the system will automatically trigger a permission release instruction and only broadcast the permission release information in the blockchain network to update the permission status of all network nodes, ensuring real-time synchronization and consistency of the data.
[0136] S206. In the third network node, in response to the second permission release instruction for the second supply chain data item to be processed, generate the second permission release information.
[0137] In a third network node, in response to a second permission release instruction for second to-be-processed supply chain items, second permission release information is generated and broadcast in the blockchain network to release the access permission for the second to-be-processed supply chain items on each network node in the blockchain network.
[0138] S207. Only broadcast the permission release information in the blockchain network.
[0139] In this step, only broadcast the permission release information in the blockchain network to release the access permission for the to-be-processed supply chain data on each network node in the blockchain network.
[0140] Specifically, after generating the permission release information, the system will broadcast it again in the blockchain network to notify all nodes to update the corresponding access permission settings. Due to the distributed nature of the blockchain, all nodes will receive this update information and synchronously update the data access permissions stored locally, thereby realizing the real-time control and synchronous update of the access permissions for supply chain data.
[0141] Based on the above embodiments, after displaying the first to-be-processed supply chain items and the second to-be-processed supply chain items in the display device corresponding to the third network node, it may further include:
[0142] In the third network node, in response to a permission locking instruction for the first to-be-processed supply chain items and / or the second to-be-processed supply chain items, permission locking information is generated and broadcast in the blockchain network to lock the access permission for the first to-be-processed supply chain items and / or the second to-be-processed supply chain items on each network node in the blockchain network.
[0143] When the to-be-processed supply chain information flows to a certain node in the supply chain data processing process, the user of that node (for example, the user in the third network node) will be able to view all relevant supply chain data items on its corresponding display device, including the first to-be-processed supply chain items and the second to-be-processed supply chain items, etc. According to the processing permissions of the user, the system may only display the data items that the user has the right to view and process.
[0144] During the process of the user processing these data items, if special situations occur (such as data review, dispute resolution, or the need to temporarily protect sensitive information, etc.), the user can issue a permission locking instruction in the third network node. This instruction clearly indicates the supply chain data items that need to be locked, which can be the first to-be-processed supply chain items, the second to-be-processed supply chain items, or a combination of both.
[0145] Once the permission locking instruction is triggered, the system will automatically respond and generate corresponding permission locking information. This information includes the identifier of the locked data item and relevant information about the locking operation. Subsequently, the system broadcasts this permission locking information in the blockchain network to ensure that the permission information on all network nodes can be synchronized and updated.
[0146] The decentralized and distributed characteristics of the blockchain network ensure that the permission locking information can be quickly and accurately transmitted to each network node. After receiving the permission locking information, each node will immediately update the permission status stored locally and mark the specified supply chain data item as locked, thus preventing unauthorized access.
[0147] In this way, the system can quickly impose access restrictions on specific supply chain data items when needed, effectively preventing data leakage, tampering, or other potential security risks. At the same time, since all operations are recorded on the blockchain, they are immutable and traceable, providing strong guarantees for data security and compliance.
[0148] Furthermore, smart contracts can be deployed in the above blockchain network. The smart contracts are used to record the identity information corresponding to each user identity and activity records. The activity records are used to record the behavior events of the corresponding user identity in the supply chain data management system.
[0149] Correspondingly, before broadcasting the permission locking information in the blockchain network, it may further include:
[0150] In the third network node, obtain the second identity information and second activity records corresponding to the second target user identity in the smart contract;
[0151] Using Formula 1, and determine the behavior reliability score of the second target user identity based on the second identity information and second activity records. Formula 1 is:
[0152]
[0153] where I i is the i-th identity feature in the second identity information corresponding to the second target user identity, ω i is the identity information feature weight corresponding to the i-th identity feature I i , A j is the j-th behavior event in the second activity records corresponding to the second target user identity, k j (t) is the activity scoring parameter corresponding to the j-th behavior event in the second activity records, δ jis an abnormal behavior detection factor, n is the number of identity features in the second identity information, m is the number of behavior events in the second activity record, α is the first weight value, and β is the second weight value. Optionally, the above-mentioned weights of identity information features and activity scoring parameters can be determined according to relevant mapping tables preset in the smart contract.
[0154] It should be noted that Formula 1 provides a comprehensive score for the behavioral reliability of users by comprehensively considering the identity information and behavior records of users. This can not only reflect the static characteristics of users (such as educational background, work experience, etc.), but also capture the dynamic behavior performance of users in the system, so as to more accurately evaluate the reliability of users. Then, by introducing weight values, Formula 1 allows the system to flexibly adjust the weights of identity information and behavior records in the scoring according to different business requirements or strategies. This flexibility enables the scoring mechanism to adapt to different application scenarios and ensure the accuracy and fairness of the evaluation results. In addition, an abnormal behavior detection factor is introduced in the formula, which is used to identify and reduce the contribution of abnormal behaviors in the scoring. This helps to filter out possible fraud or improper behaviors of users, ensuring that the scoring results are not affected by these factors and improving the accuracy and credibility of the scoring.
[0155] Based on the scoring results of behavioral reliability, the system can implement more refined permission management for different users. For users with higher behavioral reliability, more permissions can be granted to improve the efficiency and flexibility of data processing; while for users with lower behavioral reliability, more strict permission control can be carried out to prevent potential data security risks.
[0156] By continuously monitoring and evaluating the behavioral reliability of users, the system can timely discover and respond to potential security threats. For example, when detecting abnormal user behaviors, the system can automatically trigger security mechanisms such as restricting access permissions and increasing identity authentication to ensure data security.
[0157] In addition, all users' identity information and behavior records are recorded on the blockchain, ensuring the immutability and traceability of data.
[0158] Furthermore, after determining the behavioral reliability score of the second target user identity according to the second identity information and the second activity record, it may further include:
[0159] Obtain the start time point and end time point of each behavior event in the second activity record;
[0160] Use Formula 2 and update the behavioral reliability score of the second target user identity according to the start time point and end time point of each behavior event in the second activity record, where Formula 2 is:
[0161]
[0162] where μ is the preset decay rate control coefficient of the behavior event with respect to time, t j is the time stamp corresponding to the j-th behavior event in the second activity record, t is the current time point, r j is the event importance feature coefficient corresponding to the j-th behavior event in the second activity record, r l is the event importance feature coefficient corresponding to the l-th behavior event in the second activity record, is the start time point corresponding to the j-th behavior event in the second activity record, is the end time point corresponding to the j-th behavior event in the second activity record, is the start time point corresponding to the l-th behavior event in the second activity record, is the end time point corresponding to the l-th behavior event in the second activity record. Optionally, the above-mentioned identity information feature weight can be based on the event importance feature coefficient preset in the smart contract, and the above-mentioned time stamp can be the start time point, the end time point, and the time point between the two.
[0163] It is worth noting that by introducing the decay rate control coefficient of the behavior event with respect to time in Formula 2, the influence of the behavior event gradually weakening over time is considered. This means that the behavior events that occurred more recently have a higher weight in the scoring, while the older events gradually lose their influence. This time decay effect makes the scoring result closer to the user's current behavior state, improving the timeliness and accuracy of the scoring.
[0164] By calculating the activity scoring parameter, not only the importance feature coefficient of the behavior event is considered, but also dynamic adjustment is made according to the duration and occurrence time of the behavior. This enables the system to more accurately capture and evaluate the user's behavior performance in different time periods, avoiding the limitations of a single scoring standard.
[0165] When there is a significant change in the user's behavior, Formula 2 can quickly reflect this change and adjust the user's permission settings by updating the behavior reliability score. This rapid response ability helps the system to promptly address potential security risks and prevent unauthorized data access or tampering behavior.
[0166] In addition, by adjusting the time decay rate control coefficient and other relevant parameters, the system administrator can formulate different scoring strategies according to the actual business requirements. This flexibility enables the system to adapt to different application scenarios and environmental changes, improving the practicality and applicability of the method.
[0167] In another possible design, after the first supply chain item to be processed and the second supply chain item to be processed are displayed on the display device corresponding to the third network node, it may further include:
[0168] In the third network node, in response to a permission change instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, permission change information is generated. The permission change instruction is used to indicate changing the access permission of the corresponding supply chain item to be processed to a target access permission, and the target access permission is not higher than the processing permission corresponding to the second target user identity;
[0169] Broadcast the permission change instruction in the blockchain network to configure the first supply chain item to be processed and / or the second supply chain item to be processed with the target access permission on each network node of the blockchain network.
[0170] Specifically, in the third network node, the system responds to a permission change instruction for the first supply chain item to be processed and / or the second supply chain item to be processed. This instruction clearly indicates changing the access permission of a specific data item to a target access permission, and the target access permission shall not exceed the processing permission corresponding to the second target user identity. This mechanism ensures the compliance and hierarchy of permission changes and prevents permission abuse.
[0171] When the access permission of a specific data item needs to be adjusted, the user can initiate a permission change request through a preset user interface. After the system receives the request, it verifies the user's identity and processing permission to ensure that the change operation complies with the preset rules and conditions.
[0172] Once the permission change instruction is verified, the system will generate the corresponding permission change information and broadcast this information in the blockchain network. This step ensures that all relevant nodes in the blockchain network can receive the permission change notification in a timely manner, so as to synchronously update their local permission settings.
[0173] Each network node that receives the permission change information will automatically update its locally stored permission settings and adjust the access permission of the specified data item to the new target access permission. This process ensures the immediacy and consistency of permission changes and prevents access conflicts or security vulnerabilities caused by information asynchronization between nodes.
[0174] Throughout the permission change process, the system always follows the principle of the permission hierarchy structure to ensure that the access permission of any data item will not exceed the processing permission of the user identity it is associated with. This design helps to maintain the overall security of the system and the standardization of permission management.
[0175] By introducing a permission change mechanism, the permission management of the supply chain data management system becomes more flexible and efficient. Users can dynamically adjust the access permissions of data items according to actual needs, thus meeting the permission configuration requirements in different business scenarios. At the same time, since all permission change operations are recorded and synchronously updated in the blockchain network, the transparency and traceability of the system are ensured, providing strong support for subsequent supervision and auditing.
[0176] Figure 3 FIG. is a schematic structural diagram of a supply chain data management system shown according to an exemplary embodiment of the present application. As Figure 3 shown, the supply chain data management system 300 provided in this embodiment includes: a blockchain network 310 and a supply chain data processing platform 320 deployed on at least one network node of the blockchain network 310;
[0177] Obtain the supply chain information to be processed through the supply chain data processing platform 320 in the first network node. The supply chain information to be processed includes the supply chain data to be processed and the processing permission, and the processing permission is the lowest permission for verifying and processing the supply chain data to be processed;
[0178] Broadcast the supply chain information to be processed in the blockchain network 310 to store the supply chain information to be processed on each network node of the blockchain network 310;
[0179] In another network node, call the supply chain information to be processed through the target user identity, and determine that the processing permission corresponding to the target user identity is not lower than the processing permission. Then, in response to the permission release instruction for the supply chain data to be processed, generate a permission release information;
[0180] Only broadcast the permission release information in the blockchain network 310 to release the access permission for the supply chain data to be processed on each network node of the blockchain network 310.
[0181] Optionally, the step of, in another network node, calling the supply chain information to be processed through the target user identity, and determining that the processing permission corresponding to the target user identity is not lower than the processing permission, then, in response to the permission release instruction for the supply chain data to be processed, generating a permission release information, includes:
[0182] In the second network node, the to-be-processed supply chain information is called by the first target user identity, and only the first to-be-processed supply chain items in the to-be-processed supply chain data are displayed in the display device corresponding to the second network node. The to-be-processed supply chain data includes the first to-be-processed supply chain items and the second to-be-processed supply chain items, and the first processing permission corresponding to the first target user identity is the processing permission matching the first to-be-processed supply chain items;
[0183] In the second network node, in response to a first permission release instruction for the first to-be-processed supply chain items, a first permission release information is generated, and the first permission release information is broadcast in the blockchain network 310 to release the access permission for the first to-be-processed supply chain items on each network node of the blockchain network 310;
[0184] In the third network node, the to-be-processed supply chain information is called by the second target user identity, and the first to-be-processed supply chain items and the second to-be-processed supply chain items are displayed in the display device corresponding to the third network node. The second processing permission corresponding to the second target user identity is the processing permission matching the second to-be-processed supply chain items;
[0185] In the third network node, in response to a second permission release instruction for the second to-be-processed supply chain items, a second permission release information is generated, and the second permission release information is broadcast in the blockchain network 310 to release the access permission for the second to-be-processed supply chain items on each network node of the blockchain network 310.
[0186] Optionally, a processing process node transfer topology diagram for the to-be-processed supply chain information is preset in the supply chain data processing platform 320, wherein the second processing process node corresponding to the second target user identity is the next processing process node of the first processing process node corresponding to the first target user identity.
[0187] Optionally, after the first to-be-processed supply chain items and the second to-be-processed supply chain items are displayed in the display device corresponding to the third network node, it further includes:
[0188] In the third network node, in response to a permission locking instruction for the first to-be-processed supply chain items and / or the second to-be-processed supply chain items, a permission locking information is generated, and the permission locking information is broadcast in the blockchain network 310 to lock the access permission for the first to-be-processed supply chain items and / or the second to-be-processed supply chain items on each network node of the blockchain network 310.
[0189] Optionally, a smart contract is deployed in the blockchain network 310. The smart contract is used to record the identity information and activity records corresponding to each user identity. The activity records are used to record the behavioral events of the corresponding user identity in the supply chain data management system. Correspondingly, before broadcasting the permission lock information in the blockchain network 310, it further includes:
[0190] In the third network node, obtain the second identity information and second activity records corresponding to the second target user identity in the smart contract;
[0191] Determine the behavioral reliability score of the second target user identity according to the second identity information and the second activity records.
[0192] Optionally, after determining the behavioral reliability score of the second target user identity according to the second identity information and the second activity records, it further includes:
[0193] Obtain the start time point and end time point of each behavioral event in the second activity record;
[0194] Update the behavioral reliability score of the second target user identity according to the start time point and end time point of each behavioral event in the second activity record.
[0195] Optionally, after displaying the first supply chain item to be processed and the second supply chain item to be processed on the display device corresponding to the third network node, it further includes:
[0196] In the third network node, in response to a permission change instruction for the first supply chain item to be processed and / or the second supply chain item to be processed, generate permission change information. The permission change instruction is used to instruct to change the access permission of the corresponding supply chain item to be processed to a target access permission, and the target access permission is not higher than the processing permission corresponding to the second target user identity;
[0197] Broadcast the permission change instruction in the blockchain network 310 to configure the first supply chain item to be processed and / or the second supply chain item to be processed with the target access permission on each network node of the blockchain network 310.
[0198] Figure 4 It is a schematic structural diagram of an electronic device shown according to an exemplary embodiment of the present application. As Figure 4 shown, an electronic device 400 provided in this embodiment includes: a processor 401 and a memory 402; wherein:
[0199] A memory 402 for storing a computer program, and the memory may also be a flash memory.
[0200] A processor 401 for executing the execution instructions stored in the memory to implement each step in the above method. For details, please refer to the relevant descriptions in the foregoing method embodiments.
[0201] Optionally, the memory 402 may be either independent or integrated with the processor 401.
[0202] When the memory 402 is a device independent of the processor 401, the electronic device 400 may further include:
[0203] A bus 403 for connecting the memory 402 and the processor 401.
[0204] This embodiment also provides a readable storage medium storing a computer program, and when at least one processor of the electronic device executes the computer program, the electronic device executes the methods provided by the above various embodiments.
[0205] This embodiment also provides a program product including a computer program stored in a readable storage medium. At least one processor of the electronic device can read the computer program from the readable storage medium, and the execution of the computer program by at least one processor enables the electronic device to implement the methods provided by the above various embodiments.
[0206] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present application are pointed out by the claims.
[0207] It should be understood that the present application is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present application is only limited by the appended claims.
Claims
1. A supply chain data management method based on blockchain, characterized in that: Applied to a supply chain data management system, the supply chain data management system comprising: a blockchain network and a supply chain data processing platform deployed on at least one network node of the blockchain network; the method comprising: Acquire the supply chain information to be processed through the supply chain data processing platform in the first network node, wherein the supply chain information to be processed includes the supply chain data to be processed and processing authority, wherein the processing authority is the minimum authority for verifying and processing the supply chain data to be processed; Broadcasting the supply chain information to be processed in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network; In another network node, the supply chain information to be processed is called through the target user identity, and it is determined that the processing authority corresponding to the target user identity is not lower than the processing authority, and then in response to the authority release instruction for the supply chain data to be processed, authority release information is generated; Only the permission revocation information is broadcast in the blockchain network to revoke the access rights to the supply chain data to be processed on each network node of the blockchain network.
2. The supply chain data management method based on blockchain according to claim 1 is characterized in that: In another network node, the supply chain information to be processed is called through the target user identity, and it is determined that the processing authority corresponding to the target user identity is not less than the processing authority, and then in response to the authority release instruction for the supply chain data to be processed, authority release information is generated, including: In the second network node, the supply chain information to be processed is called through the first target user identity, and only the first supply chain items to be processed in the supply chain data to be processed are displayed in the display device corresponding to the second network node, and the supply chain data to be processed includes the first supply chain items to be processed and the second supply chain items to be processed, and the first processing authority corresponding to the first target user identity is the processing authority matching the first supply chain items to be processed; In the second network node, in response to the first permission revocation instruction for the first number of supply chain items to be processed, first permission revocation information is generated, and the first permission revocation information is broadcasted in the blockchain network to revoke access rights to the first number of supply chain items to be processed on each network node of the blockchain network; In the third network node, the supply chain information to be processed is called through the second target user identity, and the first supply chain items to be processed and the second supply chain items to be processed are displayed on a display device corresponding to the third network node, and the second processing authority corresponding to the second target user identity is the processing authority matching the second supply chain items to be processed; In the third network node, in response to the second permission revocation instruction for the second number of supply chain items to be processed, second permission revocation information is generated, and the second permission revocation information is broadcast in the blockchain network to revoke access rights to the second number of supply chain items to be processed on each network node of the blockchain network.
3. The blockchain-based supply chain data management method according to claim 2 is characterized in that: A processing flow node flow topology diagram for the supply chain information to be processed is preset in the supply chain data processing platform, wherein the second processing flow node corresponding to the second target user identity is the next processing flow node of the first processing flow node corresponding to the first target user identity.
4. The supply chain data management method based on blockchain according to claim 3 is characterized in that: After displaying the first supply chain items to be processed and the second supply chain items to be processed on the display device corresponding to the third network node, the method further includes: In the third network node, in response to a permission locking instruction for the first number of supply chain items to be processed and / or the second number of supply chain items to be processed, permission locking information is generated, and the permission locking information is broadcast in the blockchain network to lock access rights to the first number of supply chain items to be processed and / or the second number of supply chain items to be processed on each network node of the blockchain network.
5. The blockchain-based supply chain data management method according to claim 4 is characterized in that: A smart contract is deployed in the blockchain network, and the smart contract is used to record the identity information and activity records corresponding to each user identity, and the activity records are used to record the behavior events of the corresponding user identity in the supply chain data management system; Correspondingly, before broadcasting the permission locking information in the blockchain network, it also includes: In the third network node, obtaining the second identity information and the second activity record corresponding to the second target user identity in the smart contract; Determine a behavior reliability score of the second target user identity according to the second identity information and the second activity record.
6. The blockchain-based supply chain data management method according to claim 5 is characterized in that: After determining the behavior reliability score of the second target user identity according to the second identity information and the second activity record, the method further includes: Obtaining the start time point and the end time point of each behavior event in the second activity record; The behavior reliability score of the second target user identity is updated according to the start time point and the end time point of each behavior event in the second activity record.
7. The blockchain-based supply chain data management method according to any one of claims 3 to 6, characterized in that: After displaying the first supply chain items to be processed and the second supply chain items to be processed on the display device corresponding to the third network node, the method further includes: In the third network node, in response to the permission change instruction for the first supply chain items to be processed and / or the second supply chain items to be processed, permission change information is generated, wherein the permission change instruction is used to instruct to change the access rights of the corresponding supply chain items to be processed to the target access rights, and the target access rights are not higher than the processing rights corresponding to the second target user identity; The permission change instruction is broadcasted in the blockchain network to configure the first number of supply chain items to be processed and / or the second number of supply chain items to be processed as the target access rights on each network node of the blockchain network.
8. A supply chain data management system, characterized in that: include: A blockchain network and a supply chain data processing platform deployed on at least one network node of the blockchain network; Acquire the supply chain information to be processed through the supply chain data processing platform in the first network node, wherein the supply chain information to be processed includes the supply chain data to be processed and processing authority, wherein the processing authority is the minimum authority for verifying and processing the supply chain data to be processed; Broadcasting the supply chain information to be processed in the blockchain network to store the supply chain information to be processed on each network node of the blockchain network; In another network node, the supply chain information to be processed is called through the target user identity, and it is determined that the processing authority corresponding to the target user identity is not lower than the processing authority, and then in response to the authority release instruction for the supply chain data to be processed, authority release information is generated; Only the permission revocation information is broadcast in the blockchain network to revoke the access rights to the supply chain data to be processed on each network node of the blockchain network.
Citation Information
Patent Citations
Supply chain business data control system based on block chain
CN110298623A
Supply chain logistics data security sharing method based on block chain
CN112417519A