Virtual-real binding data security access method for production and distribution collaborative management and control
By using blockchain technology and virtual and real-binding data security access methods in the supply chain management system, the problems of poor data sharing and interoperability of centralized platforms are solved, secure storage and efficient interaction of data are achieved, and the system is improved. trustworthiness and performance.
Patent Information
- Application Number
- CN202410763523.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-15
AI Technical Summary
Existing supply chain management systems rely on centralized platforms, which have problems with poor data sharing and interoperability, weak information traceability, and vulnerability to single-point crashes and data leakage risks, especially as the scale grows.
Adopting a virtual and real-binding data security access method for collaborative management and control of production and distribution, by building a blockchain node server, unified data model and hash value mapping, establishing a middleware platform and multi-channel management and control model, cross-chain anchoring model and Centralized consensus mechanism to achieve safe storage and efficient interaction of data.
It effectively avoids the risk of centralized server single-point crash and data leakage, improves the trustworthiness of data sources and system flexibility, performance and security, and reduces operating costs.
Smart Images

Figure CN118779929A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain and data security, and in particular to a method for secure access to virtual-real binding data for collaborative management and control of production and distribution. Background Art
[0002] The information-physical fusion system and manufacturing services have achieved interconnection at different levels, which will have a significant impact on value creation, business process organization, etc. The new generation of information computing technology can achieve multi-level interconnection between information and physics, providing a prerequisite for the digitalization, networking and intelligence of supply chain management.
[0003] Based on cyber-physical interconnection, the product production and supply process will become transparent and real-time; however, there is a security issue of data tampering in the current supply chain. How to achieve anti-tampering security of product life cycle data in supply chain management is a key issue and a key way to improve product user transparency and brand credibility.
[0004] The product production and distribution process is divided into multiple different information islands by the business. For example, the relevant production equipment and production units that produce product A may need to share the relevant information of product A, so that product A may form a production circle; similarly, the relevant production equipment and production units that produce product B may need to share the relevant information of product B, and product B may form another circle. However, product A may be the material of product B, so the two circles A and B still need to share relevant information; in this way, either A and B are placed in a centralized system, or the A and B circles must achieve data collaboration in some way. There are problems with data sharing and interoperability in production and distribution. Therefore, it is necessary to design a data security storage and interaction method to improve information sharing between different supply chain stages. In particular, this data collaboration method should be both simple in logic and have good scalability.
[0005] Current supply chain management relies on centralized platforms, server systems, and unified control models. When production, logistics, and warehousing resources and equipment gradually grow to large scale, this model will show its shortcomings:
[0006] The upstream and downstream coordination capabilities are weak, and information traceability is poor. Due to the inconsistency of data from multiple systems, it is difficult to trace the causes of problems in the final product. It may be a problem in a single link such as manufacturing, materials, assembly, and distribution, or it may be a problem caused by the connection between links. When the scale of the supply chain grows, the required central cloud services, large-scale server clusters, and network equipment will increase significantly, and a failure point in the cloud server will cause a large-scale collapse of the network's supply function. The heterogeneity between different equipment and the diversified and personalized service requirements make point-to-point interaction difficult, and different brands cannot guarantee the interoperability and compatibility between equipment. Summary of the invention
[0007] In response to the above-mentioned defects, the purpose of the present invention is to propose a method for secure access to virtual-real binding data for collaborative management and control of production and distribution, so as to enable users to effectively avoid the risks of single-point collapse of centralized servers and data leakage when using the service, thereby ensuring information security and improving the trustworthiness of data sources.
[0008] To achieve this object, the present invention adopts the following technical solutions:
[0009] A method for secure access to virtual-real binding data for collaborative management and control of production and distribution, comprising the following steps:
[0010] A. Core manufacturers and suppliers build blockchain node servers and core networks;
[0011] B. Unify the simplification and hashing of heterogeneous data models in the production and distribution processes, and maintain the mapping table between original data and hash values;
[0012] C. Establish a middleware platform and industrial control protocol adapter to directly read data from the device source and upload it to the chain;
[0013] D. Establish a multi-channel control model in the production and distribution blockchains to support efficient role control;
[0014] E. Establish a second-layer cross-chain anchoring model for production and distribution data to support cross-chain operations;
[0015] F. Establish a consensus linkage mechanism of "on-chain locking and off-chain execution" to reduce data operation pressure;
[0016] G. Distributors and end consumers upload and operate data on the chain.
[0017] Preferably, in step A:
[0018] Two corresponding blockchains are established for the two stages of production and distribution; various heterogeneous data models in the production and distribution processes are described in a unified and simplified manner, and a data dictionary logical structure that meets data integration requirements is established.
[0019] Preferably, in step B:
[0020] The data generated by each link of the two systems for production and distribution are hashed separately, and only the full-text data is stored in the traditional database. It is not directly stored in the blockchain, but only the hash value corresponding to the data is stored in the blockchain; the word hash value is needed when searching for data; by maintaining a mapping table between the original data and the hash value, the image structure and the corresponding original data can be accessed through the key value as a parameter.
[0021] Preferably, in step C:
[0022] The data collection solutions for production, warehousing and logistics equipment are usually limited by different industrial control protocols. A middleware platform is established to integrate multiple industrial control protocols. The middleware platform obtains raw data from on-site equipment. Such data may be transmitted using different industrial control protocols. Subsequently, a protocol adapter is established to identify the industrial control protocol used by each device data, that is, to analyze the structure of the data packet, command code and other features to achieve this.
[0023] Further, in step D:
[0024] In the two blockchains of production and distribution, a multi-channel control model is established. In each blockchain, each channel is equivalent to a shared ledger. The nodes that need to share information can be a single device or several devices that jointly access and submit information through a node; they can all join a channel, and the information of the shared ledger is only spread within the channel, supporting efficient role control. Multi-chain anchoring can improve the performance of the blockchain.
[0025] Further, in step E:
[0026] Based on the two blockchains corresponding to the two stages of production and distribution, a two-layer cross-chain anchoring model for data is established, in which the anchor nodes are cross-chain nodes; the first layer is the main chain, that is, the anchor blockchain, which is mainly used for cross-chain routing, and the anchor nodes are added to both the chain and their respective business chains. The second layer is two business chains, which specifically store related production events.
[0027] Further, in step F:
[0028] Based on the data hash reduction method and cross-chain multi-channel model proposed in the first step, we further establish an on-chain locking and off-chain consensus linkage mechanism to reduce data operation pressure, and deploy different levels of partially decentralized consensus protocol mechanisms at the protocol layer. The degree of decentralization can be gradually reduced according to the processing speed requirements to better solve the Byzantine Generals Problem faced by the blockchain.
[0029] A system using the above method is characterized in that the system adopts the idea of interface-oriented design and a layered architecture; including an application layer, an application interface layer, a contract layer, and a data layer;
[0030] The application layer is the interface that users see and interact with; users perform a series of operations on the blockchain at this layer, corresponding to the administrator operation end in the system;
[0031] The application interface layer responds to data requests from the application layer and defines the data transmission interface for data interaction with the contract layer. The application layer accesses a specific URL interface and calls different pre-defined functions by accepting different http requests. These pre-defined functions specify query requests for the blockchain network. The API layer completes data interaction with the blockchain network through these functions.
[0032] The contract layer includes smart contracts, channel configuration, organization settings, and account configuration. This layer defines smart contract templates for users to inherit and call, making smart contract deployment more efficient, reducing operating costs, and reducing human intervention;
[0033] The data layer includes the underlying network node construction, consensus mechanism, transaction instances, and database storage of the blockchain. It responds to functions called by the contract layer and performs queries, modifications, or other related operations on the blockchain network.
[0034] Furthermore, the data layer package provides communication interfaces for mobile terminals, IoT and other devices, facilitating the automatic writing of production, warehousing and logistics information data.
[0035] A data interaction logic for enhancing security and maintaining availability includes the following steps:
[0036] The control function will be implemented by multiple decentralized applications that control the blockchain network and smart contracts respectively. Each application ensures that only authorized entities can interact in an approved manner.
[0037] One of the above technical solutions includes the following beneficial effects: 1. Greater flexibility. Since there are fewer participating nodes than in public blockchains, it is easier to upgrade or change protocols, consensus, and applications; greater business fit, collaborative manufacturing stakeholders can ensure seamless implementation of all business needs by controlling their own infrastructure; 2. More efficient consensus mechanism. Since the network has a higher level of trust, efficient consensus such as Byzantine fault tolerance is easier to apply; 3. Better performance. Since data reduction and hash chain mechanisms are more efficient and fewer nodes are involved in the ledger, transactions are processed faster; higher security. Since external entities cannot access the network, information and transactions are more secure. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the process of the present invention;
[0039] Figure 2 This is an architecture diagram of the system platform of the present invention;
[0040] Figure 3 This is the data service logic diagram of the system platform of the present invention. DETAILED DESCRIPTION
[0041] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0042] like Figure 1 As shown, a method for secure access to virtual-real binding data for collaborative management and control of production and distribution includes the following steps:
[0043] A. Core manufacturers and suppliers build blockchain node servers and core networks;
[0044] B. Unify the simplification and hashing of heterogeneous data models in the production and distribution processes, and maintain the mapping table between original data and hash values;
[0045] C. Establish a middleware platform and industrial control protocol adapter to directly read data from the device source and upload it to the chain;
[0046] D. Establish a multi-channel control model in the production and distribution blockchains to support efficient role control;
[0047] E. Establish a second-layer cross-chain anchoring model for production and distribution data to support cross-chain operations;
[0048] F. Establish a consensus linkage mechanism of "on-chain locking and off-chain execution" to reduce data operation pressure;
[0049] G. Distributors and end consumers upload and operate data on the chain.
[0050] Wherein, in step A:
[0051] Two corresponding blockchains are established for the two stages of production and distribution; various heterogeneous data models in the production and distribution processes are described in a unified and simplified manner, and a data dictionary logical structure that meets data integration requirements is established.
[0052] Wherein, in step B:
[0053] The data generated by each link of the two systems for production and distribution are hashed separately, and only the full-text data is stored in the traditional database. It is not directly stored in the blockchain, but only the hash value corresponding to the data is stored in the blockchain; the word hash value is needed when searching for data; by maintaining a mapping table between the original data and the hash value, the image structure and the corresponding original data can be accessed through the key value as a parameter.
[0054] Wherein, in step C:
[0055] The data collection solutions for production, warehousing and logistics equipment are usually limited by different industrial control protocols. A middleware platform is established to integrate multiple industrial control protocols. The middleware platform obtains raw data from on-site equipment. Such data may be transmitted using different industrial control protocols. Subsequently, a protocol adapter is established to identify the industrial control protocol used by each device data, that is, to analyze the structure of the data packet, command code and other features to achieve this.
[0056] After the protocol identification is completed, the protocol parsing, data conversion, and format standardization steps are performed according to the identified industrial control protocol until the original data is converted into a unified data format within the system. Finally, based on the data hash simplification proposed in the first step, the data is read directly from the device source, and then the data is uploaded to the blockchain, thereby solving the problem of data being tampered with in other information systems before being uploaded to the chain, ensuring the credibility of production and manufacturing and operation and maintenance data. Each trusted data transaction is encrypted and stored on the blockchain.
[0057] Additionally, in step D:
[0058] In the two blockchains of production and distribution, a multi-channel control model is established. In each blockchain, each channel is equivalent to a shared ledger. The nodes that need to share information can be a single device or several devices that jointly access and submit information through a node; they can all join a channel, and the information of the shared ledger is only spread within the channel, supporting efficient role control. Multi-chain anchoring can improve the performance of the blockchain.
[0059] On the one hand, the channel isolates the spread of information, and the nodes will have better privacy; on the other hand, each node no longer needs to retain information that is not related to the node, which improves the efficiency of storage and network communication, thereby improving the performance of the blockchain.
[0060] Additionally, in step E:
[0061] Based on the two blockchains corresponding to the two stages of production and distribution, a two-layer cross-chain anchoring model for data is established, in which the anchor nodes are cross-chain nodes; the first layer is the main chain, that is, the anchor blockchain, which is mainly used for cross-chain routing, and the anchor nodes are added to both the chain and their respective business chains. The second layer is two business chains, which specifically store related production events.
[0062] For example, one chain stores relevant records of production, and another chain stores relevant records of distribution. Terminals in each chain can perform cross-chain operations through anchor nodes. This implementation has a clear structure, is easy to expand new shared nodes, and can also quickly interoperate between nodes, improving the operational efficiency and security of the blockchain. The above cross-chain multi-channel model can support some terminals that may also need to access related data across chains. For example, the terminal that produces product B can query and understand the specific composition of the components.
[0063] Additionally, in step F:
[0064] Based on the data hash reduction method and cross-chain multi-channel model proposed in the first step, we further establish an on-chain locking and off-chain consensus linkage mechanism to reduce data operation pressure, and deploy different levels of partially decentralized consensus protocol mechanisms at the protocol layer. The degree of decentralization can be gradually reduced according to the processing speed requirements to better solve the Byzantine Generals Problem faced by the blockchain.
[0065] like Figure 2 As shown, a system using the above method is characterized in that the system adopts the idea of interface-oriented design and a layered architecture; including an application layer, an application interface layer, a contract layer, and a data layer;
[0066] The application layer is the interface that users see and interact with; users perform a series of operations on the blockchain at this layer, corresponding to the administrator operation end in the system;
[0067] The application interface layer responds to data requests from the application layer and defines the data transmission interface for data interaction with the contract layer. The application layer accesses a specific URL interface and calls different pre-defined functions by accepting different http requests. These pre-defined functions specify query requests for the blockchain network. The API layer completes data interaction with the blockchain network through these functions.
[0068] The contract layer includes smart contracts, channel configuration, organization settings, and account configuration. This layer defines smart contract templates for users to inherit and call, making smart contract deployment more efficient, reducing operating costs, and reducing human intervention;
[0069] The data layer includes the underlying network node construction, consensus mechanism, transaction instances, and database storage of the blockchain. It responds to functions called by the contract layer and performs queries, modifications, or other related operations on the blockchain network.
[0070] In addition, the data layer package provides communication interfaces for mobile terminals, IoT and other devices, facilitating the automatic writing of production, warehousing and logistics information data.
[0071] like Figure 3 As shown in the figure, a data interaction logic for enhancing security and maintaining availability includes the following steps:
[0072] The control function will be implemented by multiple decentralized applications that control the blockchain network and smart contracts respectively. Each application ensures that only authorized entities can interact in an approved manner.
[0073] The technical principle of the present invention is described above in conjunction with specific embodiments. These descriptions are only for explaining the principle of the present invention and cannot be interpreted as limiting the scope of protection of the present invention in any way. Based on the explanations herein, those skilled in the art can associate other specific implementations of the present invention without paying creative labor, and these methods will fall within the scope of protection of the present invention.
Claims
1. A method for secure access to virtual-real binding data for collaborative management and control of production and distribution, characterized in that: The following steps are involved: A. Core manufacturers and suppliers build blockchain node servers and core networks; B. Unify the simplification and hashing of heterogeneous data models in the production and distribution processes, and maintain the mapping table between original data and hash values; C. Establish a middleware platform and industrial control protocol adapter to directly read data from the device source and upload it to the chain; D. Establish a multi-channel control model in the production and distribution blockchains to support efficient role control; E. Establish a second-layer cross-chain anchoring model for production and distribution data to support cross-chain operations; F. Establish a consensus linkage mechanism of "on-chain locking and off-chain execution" to reduce data operation pressure; G. Distributors and end consumers upload and operate data on the chain.
2. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 1, characterized in that: In step A: Two corresponding blockchains are established for the two stages of production and distribution; various heterogeneous data models in the production and distribution processes are described in a unified and simplified manner, and a data dictionary logical structure that meets data integration requirements is established.
3. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 2 is characterized in that: In step B: The data generated by each link of the two systems for production and distribution are hashed separately, and only the full-text data is stored in the traditional database. It is not directly stored in the blockchain, but only the hash value corresponding to the data is stored in the blockchain; the word hash value is needed when searching for data; by maintaining a mapping table between the original data and the hash value, the image structure and the corresponding original data can be accessed through the key value as a parameter.
4. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 3 is characterized in that: In step C: The data collection solutions for production, warehousing and logistics equipment are usually limited by different industrial control protocols. A middleware platform is established to integrate multiple industrial control protocols. The middleware platform obtains raw data from on-site equipment. Such data may be transmitted using different industrial control protocols. Subsequently, a protocol adapter is established to identify the industrial control protocol used by each device data, that is, to analyze the structure of the data packet, command code and other features to achieve this.
5. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 4 is characterized in that: In step D: In the two blockchains of production and distribution, a multi-channel control model is established. In each blockchain, each channel is equivalent to a shared ledger. The nodes that need to share information can be a single device or several devices that jointly access and submit information through a node; they can all join a channel, and the information of the shared ledger is only spread within the channel, supporting efficient role control. Multi-chain anchoring can improve the performance of the blockchain.
6. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 5 is characterized in that: In step E: Based on the two blockchains corresponding to the two stages of production and distribution, a two-layer cross-chain anchoring model for data is established, in which the anchor nodes are cross-chain nodes; the first layer is the main chain, that is, the anchor blockchain, which is mainly used for cross-chain routing, and the anchor nodes are added to both the chain and their respective business chains. The second layer is two business chains, which specifically store related production events.
7. The method for secure access to virtual-real binding data for collaborative production and distribution management according to claim 6, characterized in that: In step F: Based on the data hash reduction method and cross-chain multi-channel model proposed in the first step, we further establish an on-chain locking and off-chain consensus linkage mechanism to reduce data operation pressure, and deploy different levels of partially decentralized consensus protocol mechanisms at the protocol layer. The degree of decentralization can be gradually reduced according to the processing speed requirements to better solve the Byzantine Generals Problem faced by the blockchain.
8. A system using the above method, characterized in that: The system adopts the idea of interface-oriented design and a layered architecture; It is divided into application layer, application interface layer, contract layer and data layer; The application layer is the interface that users see and interact with; users perform a series of operations on the blockchain at this layer, corresponding to the administrator operation end in the system; The application interface layer responds to data requests from the application layer and defines the data transmission interface for data interaction with the contract layer. The application layer accesses a specific URL interface and calls different pre-defined functions by accepting different http requests. These pre-defined functions specify query requests for the blockchain network. The API layer completes data interaction with the blockchain network through these functions. The contract layer includes smart contracts, channel configuration, organization settings, and account configuration. This layer defines smart contract templates for users to inherit and call, making smart contract deployment more efficient, reducing operating costs, and reducing human intervention; The data layer includes the underlying network node construction, consensus mechanism, transaction instances, and database storage of the blockchain. It responds to functions called by the contract layer and performs queries, modifications, or other related operations on the blockchain network.
9. The system according to claim 8, characterized in that The data layer package provides communication interfaces for mobile terminals, IoT and other devices, facilitating the automatic writing of production, warehousing and logistics information data.
10. A data interaction logic for enhancing security and maintaining availability, characterized in that: The steps include: The control function will be implemented by multiple decentralized applications that control the blockchain network and smart contracts respectively. Each application ensures that only authorized entities can interact in an approved manner.
