Supply chain data management method and system based on block chain
By broadcasting and storing supply chain data in the blockchain network and introducing a refined permission management mechanism, the problems of complex data processing, inflexible permission management and imperfect synchronization update mechanism in the existing technology are solved, and efficient Secure and transparent supply chain data management.
Patent Information
- Application Number
- CN202411330423.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2025-02-11
- 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 limits the in-depth application of blockchain technology in supply chain management.
By broadcasting and storing supply chain data in the blockchain network, the security and immutability of data are ensured, and a refined permission management mechanism is introduced, and only the permission deauthorization information is broadcasted in the blockchain network to realize data Synchronous updates and consistency of access permissions.
Improve the security and credibility of supply chain data, enhance the flexibility and efficiency of permission management, ensure compliance and transparency of data processing, and improve the efficiency and reliability of supply chain.
Smart Images

Figure CN119420497A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to data processing technology, and in particular to a supply chain data management method and system based on blockchain. Background Art
[0002] With the increasing complexity and globalization 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, confusion in authority management, and data inconsistency occur from time to time, seriously affecting the efficiency and reliability of the supply chain.
[0003] As a decentralized, tamper-proof and highly transparent distributed ledger technology, blockchain technology has demonstrated its unique advantages in many fields in recent years. Applying blockchain technology to supply chain data management can greatly improve the security and credibility of data, while improving the efficiency of data processing and access rights management.
[0004] However, most of the blockchain-based supply chain data management systems currently on the market have problems such as complex data processing procedures, inflexible authority management, and imperfect synchronization update mechanisms. These problems limit the in-depth application of blockchain technology in supply chain management and make it difficult to meet the actual needs of supply chain management. Summary of the invention
[0005] The present application provides a supply chain data management method and system based on blockchain, which is used to ensure that only users with corresponding permissions can access and process data, and at the same time, it can ensure that the access rights of all nodes are updated synchronously in a timely manner after the permissions are released.
[0006] In a first aspect, the present application provides a supply chain data management method based on blockchain, characterized in that it is 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 comprises:
[0007] 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;
[0008] 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;
[0009] 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;
[0010] Only the restriction release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network.
[0011] In the above scheme, the security and immutability of supply chain data are ensured by broadcasting the pending supply chain information in the blockchain network and storing it on each network node. The decentralized and distributed ledger characteristics of blockchain make it impossible for any single node’s data changes to affect the integrity and authenticity of the overall data, thereby effectively preventing data tampering and fraud. Then, the design of processing permissions 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 data, thereby improving the compliance and transparency of data processing. At the same time, the permission removal and change process is also broadcast through the blockchain network, ensuring the synchronous update and consistency of all nodes.
[0012] Moreover, by utilizing the distributed nature of the blockchain network, supply chain data can be efficiently transmitted and processed between multiple network nodes. This distributed processing capability not only increases the speed of data processing, but also enhances the accuracy and reliability of data through a multi-node verification mechanism. In addition, when supply chain information changes, all relevant nodes will be updated synchronously, ensuring the real-time and consistency of data.
[0013] Furthermore, it is also possible to set different processing permissions for different users in the blockchain network, and to release or change permissions as needed. This flexible permission control mechanism can be dynamically adjusted according to actual business needs to adapt to different data processing scenarios and processes. At the same time, through the fine control of permissions, it can also ensure that sensitive data will not be accessed by unauthorized users, thereby protecting the company's business secrets and interests.
[0014] In addition, since the data on the blockchain is tamper-proof and traceable, the traceability of the supply chain data is also enhanced in the above solution. When a certain link in the supply chain needs to be traced or audited, the complete data chain and related information can be obtained by querying the records on the blockchain, thereby improving the efficiency and accuracy of traceability, which is of great significance to improving the transparency and credibility of the supply chain.
[0015] It is worth noting that, after generating permission release information according to the permission release instruction of the supply chain data to be processed in another network node, only the permission release information is broadcasted in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network, rather than first generating updated supply chain information according to the supply chain data to be processed and generating permission release information, and then broadcasting the updated supply chain information. Compared with the two, the above scheme of only broadcasting the permission release information in the blockchain network can effectively reduce the amount of broadcast data and the amount of data stored on the blockchain network.
[0016] Optionally, in another network node, calling the supply chain information to be processed through the target user identity, and determining that the processing authority corresponding to the target user identity is not less than the processing authority, then generating authority release information in response to the authority release instruction for the supply chain data to be processed, including:
[0017] 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;
[0018] 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;
[0019] In the third network node, the to-be-processed supply chain information is called through 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 a display device corresponding to the second network node, and the second processing authority corresponding to the second target user identity is the processing authority 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 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.
[0021] In the above scheme, fine-grained control of data access is achieved by distinguishing different supply chain items to be processed (first supply chain items to be processed and second supply chain items to be processed) and assigning matching processing permissions to different target user identities (first target user and second target user). This control mechanism enables each user to access only data within the scope of their permissions, improving the sophistication and security of data management. In addition, by gradually revoking permissions for different items in the supply chain data, the data is gradually unlocked and released. This step-by-step processing method helps maintain the continuity and orderliness of the data processing process, while avoiding the risk of sensitive data being accessed in advance without verification.
[0022] In addition, the above scheme allows different users to collaborate on different network nodes according to the preset processing flow node flow topology diagram. 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 and improves the efficiency of data processing.
[0023] In addition, only the data items that match the target user's identity are displayed on the display device, which avoids the leakage of irrelevant data, enhances data privacy protection, helps protect the company's business secrets and sensitive information, and prevents data from being accessed and abused by unauthorized users.
[0024] When the permission removal instruction is triggered, the above solution is broadcast through the blockchain network, ensuring that the permission information on all network nodes can be updated and synchronized in a timely manner. This real-time permission update mechanism ensures the consistency and accuracy of data access rights and avoids data access conflicts or security vulnerabilities caused by asynchronous permissions.
[0025] Optionally, 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.
[0026] In the above solution, the automation and standardization of the supply chain data processing process is achieved by presetting the processing process node flow topology diagram in the supply chain data processing platform. Each processing process node corresponds to a specific data processing task and user authority, ensuring the standardization and consistency of the data processing process. The processing process node flow topology diagram clarifies the roles and responsibilities of different user identities in the data processing process, making the collaboration between multiple users more efficient. Each user only needs to pay attention to the processing process node he is responsible for and work according to the preset process sequence, thereby improving the overall data processing efficiency.
[0027] Since the process node flow topology is recorded on the blockchain, the operation of each process node is tamper-proof and traceable, which helps to quickly locate and hold accountable when problems arise, and 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 needs, improving the flexibility and adaptability of the method.
[0029] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0030] 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.
[0031] In the above solution, by introducing a permission locking mechanism in the blockchain network, the access rights to specific supply chain items can be quickly locked when necessary, effectively preventing unauthorized access and data tampering. This instant locking function significantly enhances data security and protects the integrity and credibility of supply chain data.
[0032] Specifically, permission locking instructions allow 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, permission locking can be used as an effective management tool in data audits, dispute resolution, or sensitive information protection.
[0033] Once a permission lock instruction is received, the above solution can quickly generate permission lock 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 capability helps to take quick measures when data security risks arise and reduce potential losses.
[0034] Optionally, a smart contract is deployed in the blockchain network, and the smart contract is used to record identity information and activity records corresponding to each user identity, and the activity record is used to record behavioral 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:
[0035] 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;
[0036] Determine a 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 smart contracts in the blockchain network, the behavior events of each user identity in the supply chain data management system can be recorded and tracked. These behavior records not only improve the transparency of user behavior, but also provide a reliable data basis for subsequent behavior reliability assessment.
[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 user's behavior reliability and trust by comprehensively considering the user's identity characteristics and activity records, providing strong support for permission management and risk control. The introduction of behavior reliability scores makes permission management more dynamic and flexible. The system can adjust the user's access rights in real time according to the user's behavior reliability score, give more trust to users with high behavior reliability, and conduct stricter permission control for users with suspicious or unreliable behavior, thereby ensuring data security and compliance. In addition, by evaluating the user's behavior reliability regularly or in real time, potential data security risks can be discovered and prevented in a timely manner. For users with low behavior reliability scores, the system can take additional security measures, such as strengthening identity authentication, restricting access rights, etc., to prevent data leakage or tampering. In addition, the combination of smart contracts and behavior reliability scores 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 based on the evaluation results, thereby 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, the method further includes:
[0040] Obtaining the start time point and the end time point of each behavior event in the second activity record;
[0041] 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.
[0042] In the above scheme, by considering the start and end time points of the behavioral event, the behavioral reliability score of the second target user identity is dynamically updated, making the scoring result more timely and accurate. Combined with the timestamp information, the system can conduct a comprehensive analysis of the long-term trends and short-term fluctuations of user behavior, thereby achieving refined adjustments to the behavioral reliability score. This refined scoring helps to more accurately assess the user's current behavioral status and potential risks. In addition, by analyzing the timestamps of the behavioral records, the system can promptly detect abnormal changes in user behavior and adjust its behavioral reliability score accordingly. This capability enables the system to warn of potential data security risks in advance and provide a time window for timely measures.
[0043] Furthermore, the dynamic update of the behavior reliability score makes the permission management more fair and reasonable. The system can adjust the user's access rights in real time according to the user's latest behavior performance, avoiding the problem of unreasonable permission settings caused by the rigidity of historical behavior records.
[0044] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0045] 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;
[0046] 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.
[0047] In the above scheme, the access rights of several items in the supply chain to be processed can be dynamically changed 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 rights of specific items to new target permissions to meet the permission requirements of different users in different situations. The broadcast of permission change instructions and the synchronous update of nodes across the network ensure the immediacy and consistency of permission changes. This mechanism prevents permission management loopholes caused by information asynchrony between nodes and improves data security. In addition, the permission change instruction clarifies the boundaries of the target access rights to ensure that the new access rights do not exceed the processing rights corresponding to the second target user identity. This precise permission control helps maintain the system's permission hierarchy and prevents permission abuse.
[0048] It is worth noting that in a complex supply chain environment, business requirements and data access rights may change as business processes change. The permission change function provided by the above solution can quickly respond to these changes and ensure that the system can adapt to changing business scenarios. Through a flexible permission adjustment mechanism, users can change their access rights at any time according to actual needs, so that they can more conveniently obtain the required data. In addition, the introduction of the permission change function makes it easy for the system to expand more permission management-related functions 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] 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;
[0051] 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;
[0052] 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;
[0053] Only the restriction release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network.
[0054] Optionally, in another network node, calling the supply chain information to be processed through the target user identity, and determining that the processing authority corresponding to the target user identity is not less than the processing authority, then generating authority release information in response to the authority release instruction for the supply chain data to be processed, including:
[0055] 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;
[0056] In the second network node, in response to a 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;
[0057] 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 in the display device corresponding to the second 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;
[0058] 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.
[0059] Optionally, 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.
[0060] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0061] 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.
[0062] Optionally, a smart contract is deployed in the blockchain network, and the smart contract is used to record identity information and activity records corresponding to each user identity, and the activity record is used to record behavioral 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:
[0063] 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;
[0064] Determine a behavior reliability score of the second target user identity according to the second identity information and the second activity record.
[0065] Optionally, 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:
[0066] Obtaining the start time point and the end time point of each behavior event in the second activity record;
[0067] 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.
[0068] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0069] 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;
[0070] 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.
[0071] In a third aspect, the present application provides an electronic device, including:
[0072] processor; and,
[0073] A memory, configured to store executable instructions of the processor;
[0074] The processor is configured to perform 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, wherein the computer-readable storage medium stores computer-executable instructions, 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 blockchain-based supply chain data management method and system provided in the present application obtains the supply chain information to be processed through the supply chain data processing platform in the first network node, and broadcasts 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 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. Then, in response to the permission release instruction for the supply chain data to be processed, permission release information is generated, and then only the permission release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network. While ensuring that only users with corresponding permissions can access and process the data, it can also be broadcast through the blockchain network after the permission is released, thereby ensuring the synchronous update and consistency of all nodes. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0078] Figure 1 It is a flowchart of a supply chain data management method based on blockchain according to an exemplary embodiment of the present application;
[0079] Figure 2 is a flowchart of a supply chain data management method based on blockchain according to another exemplary embodiment of the present application;
[0080] Figure 3 is a schematic diagram of the structure of a supply chain data management system according to an exemplary embodiment of the present application;
[0081] Figure 4 It is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application.
[0082] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0083] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0084] In order to solve the above problems, the embodiments provided in this application aim to improve the security, transparency and efficiency of supply chain data management through blockchain technology. Specifically, the core concepts of this application are embodied in the following aspects:
[0085] 1. Data storage and broadcasting mechanism based on blockchain:
[0086] First, the embodiment provided by this application builds a supply chain data management system on a blockchain network and uses the decentralized and distributed ledger characteristics of 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 will be broadcast in the blockchain network and stored on all network nodes. This mechanism not only avoids the risk of single node data tampering, but also ensures the real-time and consistency of data.
[0087] 2. Refined permission management mechanism:
[0088] Secondly, the embodiment provided by this application introduces a refined 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 will decide whether to respond to the permission release instruction based on its permissions, and only broadcast the permission release information in the blockchain network, thereby gradually unlocking data access rights.
[0089] 3. Flexible permission change and locking mechanism:
[0090] Furthermore, the embodiments provided in this application also provide a flexible permission change and locking mechanism. During the supply chain data processing process, if data access permissions need to be adjusted according to business needs, users can achieve this by generating permission change instructions and broadcasting them in the blockchain network. At the same time, in order to deal with potential data security risks, the system also supports locking access permissions for specific supply chain items when necessary to ensure that 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 user's behavior reliability score and dynamically adjust its access rights accordingly. This intelligent user behavior evaluation mechanism not only improves the security and compliance of data management, but also makes permission management more flexible and efficient.
[0093] 5.Automation of process node flow topology diagram:
[0094] Finally, the embodiment provided by the present application presets a processing flow node flow topology diagram in the supply chain data processing platform to realize the automation and standardization of the supply chain data processing process. Each processing flow node corresponds to a specific data processing task and user authority, 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 blockchain, the present invention also realizes the collaborative work among multiple users and the transparency of the data processing process.
[0095] Figure 1 FIG. 1 is a flow chart of a supply chain data management method based on blockchain according to an exemplary embodiment of the present application. Figure 1 As shown, the blockchain-based supply chain data management method provided in this embodiment includes:
[0096] S101. Obtain supply chain information to be processed through a supply chain data processing platform in a 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, 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 authority. The processing authority is the minimum authority to verify and process 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 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 permissions required to process this data. This step is usually triggered by a participant in the supply chain or system automation.
[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 broadcasted in the blockchain network so as 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 will broadcast the information in the blockchain network. Each node in the blockchain network will receive this information and store it in its own blockchain copy. This distributed storage method ensures the security and immutability of the data, because any data change at a single node cannot affect the integrity of the overall data.
[0103] S103. In response to the instruction to revoke the authority of the supply chain data to be processed, generate authority revocation information.
[0104] 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, then in response to the authority revocation instruction for the supply chain data to be processed, authority revocation information is generated.
[0105] Specifically, when a user (target user) needs to access or process supply chain data, the system first verifies the user's identity and its corresponding processing authority. If the processing authority corresponding to the user's identity is not less than the minimum authority specified in the supply chain information to be processed, the user is allowed to proceed further. If the user needs to remove access restrictions to specific data, the system will respond to its authority removal instruction and generate corresponding authority removal information.
[0106] S104. Only the limit release information is broadcast in the blockchain network.
[0107] In this step, only the restriction release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network.
[0108] Specifically, after the permission release information is generated, 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 their locally stored data access permissions, thereby achieving real-time control and synchronous update of supply chain data access permissions.
[0109] It is worth noting that in another network node, when the system responds to the permission release instruction of the pending supply chain data and generates permission release information, it chooses to broadcast only this permission release information in the blockchain network instead of 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: Directly broadcasting permission removal information instead of completely updating supply chain information can significantly reduce the amount of data required to be transmitted for each operation. In a blockchain network, each node needs to process and store broadcast information. Reducing the amount of broadcast data directly reduces the demand for network bandwidth and improves the overall efficiency of the system. This optimization effect is particularly obvious in scenarios with high-frequency permission changes.
[0111] Optimize storage resources: As the amount of broadcast data is reduced, the amount of data that each node on the blockchain network needs to store is also reduced accordingly. This not only reduces the storage pressure of a single node, but also optimizes the storage resource utilization of the entire network. In the long run, 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 permission revocation information is broadcast in the blockchain network, all nodes can receive and process this information more quickly, enabling real-time updates of access rights. This is critical for business scenarios that require rapid response to permission changes.
[0113] Enhanced system security: Only necessary permission removal information is broadcasted, avoiding the security risks that may be caused by transmitting complete supply chain data. 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 removal information in the blockchain network, while dynamically adjusting the access rights of supply chain data, 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 embodiment of the application of blockchain technology in the field of supply chain management, which significantly improves 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 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. Then, in response to the permission release instruction for the supply chain data to be processed, permission release information is generated, and then only the permission release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network. While ensuring that only users with corresponding permissions can access and process the data, it can also be broadcast through the blockchain network after the permission is released, thereby ensuring the synchronous update and consistency of all nodes.
[0116] Figure 2 FIG. 1 is a flow chart of a supply chain data management method based on blockchain according to another exemplary embodiment of the present application. Figure 2 As shown, the blockchain-based supply chain data management method provided in this embodiment includes:
[0117] S201. Obtain supply chain information to be processed through a supply chain data processing platform in a 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 authority. The processing authority is the minimum authority to verify and process 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 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 permissions required to process this data. This step is usually triggered by a participant in the supply chain or system automation.
[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 broadcasted in the blockchain network so as 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 will broadcast the information in the blockchain network. Each node in the blockchain network will receive this information and store it in its own blockchain copy. This distributed storage method ensures the security and immutability of the data, because any data change at 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 through the first target user identity.
[0124] In the second network node, the supply chain information to be processed is called through the first target user identity, and only the first number of 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. The supply chain data to be processed includes the first number of supply chain items to be processed and the second number of supply chain items to be processed. The first processing authority corresponding to the first target user identity is the processing authority that matches the first number of supply chain items to be processed.
[0125] S204. In the second network node, in response to a first permission revocation instruction for the first number of supply chain items to be processed, generate first permission revocation information.
[0126] In the second network node, in response to a 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 broadcast 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.
[0127] S205. In the third network node, the supply chain information to be processed is called through the second target user identity.
[0128] 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 in the display device corresponding to the second network node. The second processing authority corresponding to the second target user identity is the processing authority matching the second supply chain items to be processed.
[0129] Optionally, a flow topology diagram of processing flow nodes for processing supply chain information 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.
[0130] Specifically, first, during the system design and deployment phase, the administrator of the supply chain data processing platform needs to pre-draw and configure the processing process node flow topology diagram based on actual business needs and data processing processes. The topology diagram clearly specifies the tasks of each processing process node, input / output data requirements, and the flow relationship between nodes.
[0131] In the process node flow 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 to form 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, the information will automatically flow according to the processing process node flow topology diagram. For example, if the first target user identity (such as a buyer) is the person in charge of the first processing node (such as a 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 his processing task (such as confirming a purchase order), the system will automatically check the processing process node flow topology diagram to determine the next processing process node and its corresponding user identity (such as the second target user identity, such as a warehouse keeper). Subsequently, the system pushes 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 data items within their authority and can only operate on the processing flow nodes specified by them. This preset processing flow ensures the order and standardization of data processing and avoids the possibility of data confusion and erroneous processing.
[0135] In addition, through the decentralization and distributed ledger characteristics of blockchain, every step of the process node flow topology diagram will be recorded on the blockchain, ensuring the transparency and traceability of the data processing process. Once the data is processed at a certain node, the system will automatically trigger the permission release instruction and only broadcast the permission release information in the blockchain network to update the permission status of all network nodes to ensure real-time synchronization and consistency of data.
[0136] S206. In the third network node, in response to the second permission revocation instruction for the second supply chain items to be processed, generate second permission revocation information.
[0137] 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.
[0138] S207. Only the limit release information is broadcast in the blockchain network.
[0139] In this step, only the restriction release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network.
[0140] Specifically, after the permission release information is generated, 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 their locally stored data access permissions, thereby achieving real-time control and synchronous update of supply chain data access permissions.
[0141] On the basis of the above embodiment, 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 second network node, the method may further include:
[0142] In the third network node, in response to the 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 the 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.
[0143] When the supply chain information to be processed flows to a certain node in the supply chain data processing process, the user of the 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 supply chain data items to be processed and the second supply chain data items to be processed, etc. Depending on the user's processing authority, the system may only display the data items that the user has the authority to view and process.
[0144] In the process of processing these data items, if the user encounters special circumstances (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. The instruction clearly points out the supply chain data items that need to be locked, which can be the first supply chain items to be processed, the second supply chain items to be processed, or a combination of the two.
[0145] Once the permission lock instruction is triggered, the system will automatically respond and generate the corresponding permission lock information. This information contains the identification of the locked data item and relevant information of the locking operation. Subsequently, the system broadcasts this permission lock information in the blockchain network to ensure that the permission information on all network nodes can be updated synchronously.
[0146] The decentralized and distributed nature of the blockchain network ensures that permission lock information can be quickly and accurately transmitted to each network node. After receiving the permission lock information, each node will immediately update the permission status stored locally and mark the specified supply chain data item as locked, thereby preventing unauthorized access.
[0147] In this way, the system can quickly implement access restrictions on specific supply chain data items when necessary, 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 a strong guarantee for data security and compliance.
[0148] Furthermore, smart contracts can also be deployed in the above-mentioned blockchain network. The smart contracts are 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.
[0149] Correspondingly, before broadcasting the permission locking information in the blockchain network, it may also include:
[0150] 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;
[0151] Using formula 1, and according to the second identity information and the second activity record, the behavior reliability score of the second target user identity is determined. Formula 1 is:
[0152]
[0153] Among them, I i is the i-th identity feature in the second identity information corresponding to the second target user identity, ω i is the i-th identity feature I i The corresponding identity information feature weight, A j is the jth behavior event in the second activity record corresponding to the second target user identity, k j (t) is the activity score parameter corresponding to the jth behavior event in the second activity record, δ jis the 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 identity information feature weights and activity scoring parameters can be determined according to the relevant mapping table preset in the smart contract.
[0154] It is worth noting that Formula 1 provides a comprehensive score for the user's behavioral reliability by comprehensively considering the user's identity information and behavior records. This can not only reflect the user's static characteristics (such as educational background, professional experience, etc.), but also capture the user's dynamic behavior performance in the system, so as to more accurately evaluate the user's reliability. Then, by introducing weight values, Formula 1 allows the system to flexibly adjust the weights of identity information and behavior records in the score according to different business needs 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, the formula also introduces an abnormal behavior detection factor, which is used to identify and reduce the contribution of abnormal behavior in the score. This helps to filter out possible fraud or improper behavior of users, ensure that the scoring results are not affected by these factors, and improve the accuracy and credibility of the scoring.
[0155] Based on the scoring results of behavior reliability, the system can implement more refined permission management for different users. For users with higher behavior reliability, more permissions can be granted to improve the efficiency and flexibility of data processing; while for users with lower behavior reliability, stricter permission control can be implemented to prevent potential data security risks.
[0156] By continuously monitoring and evaluating the reliability of user behavior, the system can promptly detect and respond to potential security threats. For example, when abnormal user behavior is detected, the system can automatically trigger security mechanisms, such as restricting access rights, adding identity verification, etc., to ensure data security.
[0157] In addition, all users' identity information and behavior records are recorded on the blockchain, ensuring the data's immutability and traceability.
[0158] Furthermore, after determining the behavior reliability score of the second target user identity according to the second identity information and the second activity record, the following method may also be included:
[0159] Obtaining the start time point and the end time point of each behavior event in the second activity record;
[0160] Using formula 2, 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, where formula 2 is:
[0161]
[0162] Where μ is the preset decay speed control coefficient of the behavior event with respect to time, t j is the timestamp corresponding to the jth behavior event in the second activity record, t is the current time point, and r j is the event importance characteristic coefficient corresponding to the jth behavior event in the second activity record, r l is the event importance characteristic coefficient corresponding to the first behavior event in the second activity record, is the starting time point corresponding to the jth behavior event in the second activity record, is the end time point corresponding to the jth behavior event in the second activity record, is the starting time point corresponding to the first behavior event in the second activity record, The end time point corresponding to the first 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 timestamp can be the start time point, the end time point, and the time point in between.
[0163] It is worth noting that Formula 2 takes into account the influence of behavioral events gradually weakening over time by introducing a control coefficient for the decay rate of behavioral events with respect to time. This means that more recent behavioral events have a higher weight in the score, while older events gradually lose their influence. This time decay effect makes the score result closer to the user's current behavior status, improving the timeliness and accuracy of the score.
[0164] By calculating the activity scoring parameters, not only the importance characteristic coefficient of the behavior event is taken into account, but also dynamic adjustments are made based on 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 user behavior changes significantly, Formula 2 can quickly reflect this change and adjust the user's permission settings by updating the behavior reliability score. This rapid response capability helps the system respond to potential security risks in a timely manner and prevent unauthorized data access or tampering.
[0166] In addition, by adjusting the time decay speed control coefficient and other related parameters, system administrators can formulate different scoring strategies according to actual business needs. 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 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 second network node, the method may further include:
[0168] 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, where 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;
[0169] The permission change instruction is broadcasted in the blockchain network to configure the first supply chain items to be processed and / or the second supply chain items to be processed as target access permissions on each network node of the blockchain network.
[0170] Specifically, in the third network node, the system responds to the permission change instruction for the first supply chain items to be processed and / or the second supply chain items to be processed. The instruction clearly indicates that the access rights of the specific data items are changed to the target access rights, and the target access rights shall not exceed the processing rights corresponding to the second target user identity. This mechanism ensures the compliance and hierarchy of permission changes and prevents the abuse of permissions.
[0171] When the access rights of a specific data item need to be adjusted, the user can initiate a permission change request through the preset user interface. After receiving the request, the system verifies the user's identity and processing permissions 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 it in the blockchain network. This step ensures that all relevant nodes in the blockchain network can receive permission change notifications in a timely manner, thereby synchronously updating their local permission settings.
[0173] Each network node that receives permission change information will automatically update its locally stored permission settings and adjust the access rights of the specified data item to the new target access rights. This process ensures the immediacy and consistency of permission changes and prevents access conflicts or security vulnerabilities caused by information asynchrony between nodes.
[0174] Throughout the permission change process, the system always follows the principle of permission hierarchy to ensure that the access rights of any data item will not exceed the processing rights of the user identity associated with it. This design helps maintain the overall security of the system and the standardization of permission management.
[0175] By introducing the permission change mechanism, the permission management of the supply chain data management system is made more flexible and efficient. Users can dynamically adjust the access rights of data items according to actual needs to meet the permission configuration requirements in different business scenarios. At the same time, since all permission change operations are recorded and updated synchronously 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. 1 is a schematic diagram of a supply chain data management system according to an exemplary embodiment of the present application. Figure 3 As 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] Acquire the supply chain information to be processed through the supply chain data processing platform 320 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 the supply chain data to be processed;
[0178] Broadcasting 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, 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;
[0180] The restriction release information is only broadcast in the blockchain network 310 to release the access rights to the supply chain data to be processed on each network node of the blockchain network 310.
[0181] Optionally, in another network node, calling the supply chain information to be processed through the target user identity, and determining that the processing authority corresponding to the target user identity is not less than the processing authority, then generating authority release information in response to the authority release instruction for the supply chain data to be processed, including:
[0182] 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;
[0183] 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 310 to revoke access rights to the first number of supply chain items to be processed on each network node of the blockchain network 310;
[0184] 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 in the display device corresponding to the second 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;
[0185] 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 310 to revoke access rights to the second number of supply chain items to be processed on each network node of the blockchain network 310.
[0186] Optionally, a processing flow node flow topology diagram for the supply chain information to be processed is preset in the supply chain data processing platform 320, 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.
[0187] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0188] 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 310 to lock the 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 310.
[0189] Optionally, a smart contract is deployed in the blockchain network 310, 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 310, it also includes:
[0190] 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;
[0191] Determine a behavior reliability score of the second target user identity according to the second identity information and the second activity record.
[0192] Optionally, 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:
[0193] Obtaining the start time point and the end time point of each behavior event in the second activity record;
[0194] 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.
[0195] Optionally, after displaying the first supply chain items to be processed and the second supply chain items to be processed on a display device corresponding to the second network node, the method further includes:
[0196] 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;
[0197] The permission change instruction is broadcast in the blockchain network 310 to configure the first supply chain items to be processed and / or the second supply chain items to be processed as the target access rights on each network node of the blockchain network 310.
[0198] Figure 4 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment of the present application. Figure 4 As shown, an electronic device 400 provided in this embodiment includes: a processor 401 and a memory 402; wherein:
[0199] The memory 402 is used to store computer programs, and the memory may also be a flash memory.
[0200] The processor 401 is used to execute the execution instructions stored in the memory to implement each step in the above method. For details, please refer to the relevant description in the above method embodiment.
[0201] Optionally, the memory 402 may be 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] The bus 403 is used to connect the memory 402 and the processor 401 .
[0204] This embodiment further provides a readable storage medium, in which a computer program is stored. When at least one processor of an electronic device executes the computer program, the electronic device executes the methods provided in the above-mentioned various implementation modes.
[0205] This embodiment also provides a program product, which includes 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 at least one processor executes the computer program so that the electronic device implements the methods provided in the above various embodiments.
[0206] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.
[0207] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only 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 restriction release information is broadcast in the blockchain network to release 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 to-be-processed supply chain information is called through 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 a display device corresponding to the second network node, and the second processing authority corresponding to the second target user identity is the processing authority matching the second to-be-processed supply chain items; 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 second 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 second 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 restriction release information is broadcast in the blockchain network to release the access rights to the supply chain data to be processed on each network node of the blockchain network.
9. An electronic device, characterized in that: include: processor; as well as, A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
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
Platform data management method and device based on block chain and storage medium
CN112581126A
Visitor management method and device, equipment and storage medium
CN117539951A
Database access authority management system and method based on block chain
CN117971980A
Cited By
Enterprise data security access control method and system
CN120582877A
