Information data flow verification system
The information data flow authenticity verification system built through blockchain technology uses smart contract modules and digital identity modules to store certified data on the blockchain hub and alliance chain, solving the problems of data uniqueness and traceability in traditional data flow supervision. It realizes the precise positioning and non-tamperability of data between multiple application systems, and improves the security and credibility of data interaction and sharing.
Patent Information
- Application Number
- CN202410708703.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional data flow supervision methods cannot guarantee the uniqueness and traceability of data in the data flow process. Especially in the complex environment of cross-domain data interaction and big data levels, there is a lack of effective data precise positioning and trace management.
Use blockchain technology to build an information data flow and authenticity verification system. Through the blockchain hub, smart contract module, digital identity module and alliance chain, we ensure the uniqueness and non-tamperability of data among multiple application systems and achieve data accuracy. Location and traceability.
Blockchain technology ensures the uniqueness and non-tamperability of data among multiple application systems, provides accurate positioning and traceability of data, solves the problem of data uniqueness and credibility in the data circulation process, and improves the efficiency of data transfer. Security and trustworthiness of data interaction and sharing.
Smart Images

Figure CN118659867A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to an information data flow verification system. Background Art
[0002] Traditional data flow supervision can solve the data supervision problem of single data flow and less data interaction between systems through structured analysis methods, combined with data flow, and layered DFD (Data Flow Diagram, DFD for short) decomposition. However, in the traditional data flow process, there are still problems such as the inability to accurately locate the data source, the lack of relevant positioning tools, the need to improve data visualization and traceability, and the lack of trace management of data collection, submission, modification, deletion and other operations during the data interaction and sharing of multiple systems.
[0003] With the digital transformation of enterprises and industry players, traditional data flow supervision methods will not be able to solve the complex and changeable data flow supervision such as cross-domain data interaction, data aggregation middle platform, and big data hierarchy, and cannot guarantee the uniqueness of data rights confirmation and verification involved in the data flow link. Summary of the invention
[0004] In view of this, the present invention provides an information data flow verification system to solve the problem that the uniqueness of data involved in the data flow link cannot be guaranteed.
[0005] In a first aspect, the present invention provides an information data flow verification system, the system comprising: a blockchain hub; the blockchain hub comprises a blockchain network, a smart contract module, a digital identity module and an alliance chain;
[0006] The smart contract module is used to capture multiple application data from the user-side application system, set a timestamp for each application data, and transmit the captured multiple application data to the digital identity module, which is used to generate a digital identity corresponding to the application data;
[0007] The blockchain network is used to transfer application data, digital identity and timestamp to the alliance chain for evidence storage, form evidence data, and transmit the evidence data to the smart contract module;
[0008] The smart contract module is also used to receive the stored evidence data, and again capture the application data corresponding to the application data in the stored evidence data from the user-side application system, and verify the corresponding application data of the user-side application system based on the stored evidence data.
[0009] The information data flow verification system provided by the present invention transmits application data, digital identity identification and timestamp to the alliance chain for evidence storage through the smart contract module to form evidence data. Based on the digital identity module, the application data is uniquely identified and accurately located in the shared interaction of multiple application systems to ensure the uniqueness of the application data. When the operator needs to verify, the smart contract module receives the evidence data, and again grabs the application data corresponding to the application data in the evidence data from the user-side application system, and verifies the corresponding application data of the user-side application system based on the evidence data, ensuring that the application data is traceable and cannot be tampered with, solving the problem of being unable to ensure the uniqueness of the data involved in the data flow link.
[0010] In an optional embodiment, the information data flow verification system also includes a front-end application. When a user accesses the front-end application through a user key, the smart contract module is used to capture the user key and transmit it to the blockchain network. The blockchain network is used to generate an access key from the received user key to enable the user to log in to the system.
[0011] The information data flow verification system provided by the present invention realizes communication between the user and the verification system through a front-end application, thus providing a communication basis for subsequent data verification.
[0012] In an optional implementation, the information data flow verification system further includes an application interface module, which includes a data view, a timer, and an interface calling protocol;
[0013] The timer is used to set the crawling time for crawling data, the data view is used to provide a moving window for crawling data, and the interface call protocol is used to provide request services for crawling data;
[0014] The smart contract module is also used to capture application data from the user-side application system according to the capture time of the timer and through the mobile window provided by the data view and the request service provided by the interface call protocol.
[0015] The information data flow verification system provided by the present invention sets the capture time of captured data through a timer, the data view provides a mobile window for the captured data, and the interface calling protocol provides a request service for the captured data. It provides a time basis, a mobile window basis and a request service for the smart contract module to capture application data from the user-side application system according to the capture time of the timer and through the mobile window provided by the data view and the request service provided by the interface calling protocol, which is beneficial for the smart contract module to better capture the application data of the application system.
[0016] In an optional embodiment, when the smart contract module captures multiple application data of the user-side application system through the data view, the smart contract module is also used to verify and compare each application data with the application data of the corresponding evidence data through hash mapping, and if the application data and the application data of the evidence data are inconsistent, a prompt mark is made.
[0017] The information data flow verification system provided by the present invention, when the smart contract module captures multiple application data of the user-side application system through the data view, the smart contract module verifies and compares each application data with the application data of the corresponding evidence data through hash mapping. If the application data and the application data of the evidence data are inconsistent, a prompt mark is made to further ensure that the data is traceable and cannot be tampered with, and the verification result is marked to facilitate subsequent data processing.
[0018] In an optional embodiment, the blockchain network includes multiple data nodes. When multiple users access the front-end application through user keys, each data node is used to generate a corresponding access key for each received user key; each data node transmits the corresponding application data, the corresponding digital identity and the corresponding timestamp to the alliance chain for evidence storage, forming multiple evidence data, and transmits the multiple evidence data to the smart contract module.
[0019] The information data flow verification system provided by the present invention, through multiple data nodes on the blockchain network, realizes the purpose of generating access keys for multiple user keys and transmitting corresponding application data, corresponding digital identity identifiers and corresponding timestamps to the alliance chain for evidence storage, forming multiple evidence data, and transmitting multiple evidence data to the smart contract module, thereby improving the generation efficiency of multiple user access keys, providing a basis for subsequent verification of multiple application data, and realizing the security and credibility of information data flow.
[0020] In an optional embodiment, the blockchain hub also includes a distributed storage module, which is used to store access keys, application data, digital identities and timestamps of each data node in the blockchain network.
[0021] The information data flow verification system provided by the present invention stores the access keys, application data, digital identity identifiers and timestamps of each data node in the blockchain network in a distributed storage module inside the blockchain hub, and has the advantages of high reliability, high availability and data consistency in stored data.
[0022] In an optional embodiment, the smart contract module is also used to generate transaction data when data is interacted between the blockchain network and the alliance chain, and to query the data and evidence data of each data node in the blockchain network and generate query data.
[0023] The information data flow verification system provided by the present invention, when data is interacted between the blockchain network and the alliance chain, the smart contract module converts the interaction data into transaction data, and queries the data and evidence data of each data node in the blockchain network to form query data, thereby achieving the purpose of data interaction between the blockchain network and the alliance chain and the traceability of the data and evidence data of each data node in the blockchain network, and providing a data basis for the subsequent visualization of transaction data and query data.
[0024] In an optional implementation, the front-end application includes a metadata management module and a visualization display module;
[0025] The metadata management module is used to store the metadata of the user key when the user accesses the front-end application through the user key;
[0026] The visualization display module is used to graphically process the evidence data, data of each data node in the blockchain network, transaction data and query data, and display them using a preset relationship diagram.
[0027] The information data flow verification system provided by the present invention stores the metadata of the user key through the metadata management module when the user accesses the front-end application through the user key, realizes the shared storage of the user key in the distributed storage environment, and facilitates the search of the user key. The visualization display module graphically processes the evidence data, the data of each data node of the blockchain network, the transaction data and the query data, and displays them using a preset relationship diagram, providing a visualization display window for the operator, making it easier for the operator to understand and operate, and having a good visual effect.
[0028] In an optional embodiment, the blockchain hub also includes a blockchain console;
[0029] The blockchain console is used to provide the consortium chain with an on-chain proxy service agreement when application data, digital identity and timestamps are stored on the consortium chain, and to provide a key escrow service agreement for the distributed storage module to store the access keys of each data node in the blockchain network.
[0030] The information data flow verification system provided by the present invention provides a chain proxy service protocol for the alliance chain through the blockchain console, and provides a key hosting service protocol for the distributed storage module to store the access keys of each data node of the blockchain network when the application data, digital identity identification and timestamp are stored on the alliance chain, thereby providing a protocol basis for the chain uploading of application data, digital identity identification and timestamp and the storage of access keys, and facilitating the realization of the uniqueness of application data.
[0031] In an optional implementation, the blockchain hub also includes a blockchain operation and maintenance management module;
[0032] The blockchain operation and maintenance management module is used to maintain the blockchain network, smart contract module, digital identity module and alliance chain to ensure the normal operation of the blockchain network, smart contract module, digital identity module and alliance chain.
[0033] The information data flow verification system provided by the present invention maintains the blockchain network, smart contract module, digital identity module and alliance chain through the blockchain operation and maintenance management module, so that the blockchain network, smart contract module, digital identity module and alliance chain can operate normally, providing a stable operating environment foundation for information data flow verification. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 is a structural diagram of an information data flow verification system according to an embodiment of the present invention;
[0036] Figure 2 is a structural diagram of another information data flow verification system according to an embodiment of the present invention;
[0037] Figure 3 It is a schematic diagram of a flow chart of an information data flow verification system constructed according to an embodiment of the present invention;
[0038] Figure 4 It is a structural block diagram of implementing batch data flow by using an information data flow verification system according to an embodiment of the present invention;
[0039] Figure 5 It is a structural block diagram of realizing production data flow by using an information data flow verification system according to an embodiment of the present invention;
[0040] Figure 6 It is a structural block diagram of realizing the data flow of raw material and auxiliary material consumption by using an information data flow verification system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0042] In this embodiment, a system for verifying the authenticity of information data flow is provided. Figure 1 is a structural block diagram of an information data flow verification system according to an embodiment of the present invention. Figure 1 As shown, the system includes:
[0043] Blockchain hub 1; blockchain hub 1 includes blockchain network 11, smart contract module 13, digital identity module 16 and alliance chain 12.
[0044] The smart contract module 13 is used to capture multiple application data from the user-side application system 4, set a timestamp for the data content of each application data, and transmit the captured multiple application data to the digital identity module 16. The digital identity module 16 is used to generate a digital identity corresponding to the application data; the blockchain network 11 is used to transmit the application data, digital identity and timestamp to the alliance chain 12 for evidence storage, form evidence data, and transmit the evidence data to the smart contract module 13; the smart contract module 13 is also used to receive the evidence data, and again capture the application data corresponding to the application data of the evidence data from the user-side application system, and verify the corresponding application data of the user-side application system based on the evidence data.
[0045] Specifically, the application data includes a data record primary key and a lightweight data format; the data record primary key of the application data can be equivalent to the main data content of the application data, and the lightweight data format of the application data is also called data JSON. JSON (JavaScript Object Notation, JS object notation) is a lightweight data exchange format. Based on a subset of ECMAScript (js specification formulated by the European Computer Manufacturers Association, the European Computer Association), a text format completely independent of the programming language is used to store and represent data. This embodiment uses a data record primary key and a lightweight data format to represent application data.
[0046] The smart contract module 13 is a computer module that transmits, verifies or executes contracts in an information-based manner based on blockchain technology. It has the functions of capturing the application data of the user-side application system 4, setting timestamps for the application data, and verifying the application data of the user-side application system. The blockchain network 11 adopts decentralized distributed ledger technology to ensure the security, transparency and non-tamperability of transactions and data through encryption algorithms. The user-side application system 4 includes the MES system (Manufacturing Execution System, MES system for short), the finished product high-bay warehouse system and the supply chain system. The application data includes the production data of the MES system, the batch data of the finished product high-bay warehouse system and the raw and auxiliary material consumption data of the supply chain system.
[0047] The digital identity module 16 generates a digital identity DID (Decentralized Identifiers, referred to as DID) corresponding to the application data. The digital identity is a unique identifier of the application data. The corresponding application data can be quickly found through the digital identity, which facilitates the tracing of the application data.
[0048] Taking the production data of the MES system as an example, the smart contract module is used to capture the production data from the MES system, set a timestamp for each production data, and transmit the captured production data to the digital identity module. The digital identity module is used to generate a digital identity corresponding to the production data (ie, a decentralized identity DID).
[0049] The blockchain network is used to transfer the data record primary key and production data represented by lightweight data format, digital identity and timestamp to the alliance chain for evidence storage, forming evidence data, and transmitting the evidence data to the smart contract module. The digital identity represents the unique identification of the corresponding captured production data stored on the alliance chain.
[0050] When the operator needs to produce a production report based on the production data of the MES system, the production data of the MES system must be verified. First, the production data of the MES system is queried. This application data corresponds to the production data stored on the alliance chain 12. For example, the production data stored on the alliance chain is the production data of the previous working day. When the operator verifies the production data of the MES system, the production data queried by the operator in the MES system is also the production data corresponding to the previous working day. The smart contract module 13 captures the production data corresponding to the production data stored on the alliance chain 12 from the MES system. The smart contract module verifies the production data of the user-side application system based on the stored data to verify whether the corresponding production data has been tampered with.
[0051] The information data flow verification system provided in this embodiment transmits the data record primary key and lightweight data format, digital identity and timestamp of the application data to the alliance chain for evidence storage through the smart contract module to form evidence data. Based on the digital identity module, the application data is uniquely identified and accurately located in the shared interaction of multiple application systems to ensure the uniqueness of the application data. When the operator needs to verify, the smart contract module receives the evidence data, and grabs the application data corresponding to the application data in the evidence data from the user-side application system again. The corresponding application data of the user-side application system is verified based on the evidence data to ensure that the application data is traceable and cannot be tampered with, solving the problem of being unable to ensure the uniqueness of the data involved in the data flow link.
[0052] In an optional embodiment, if Figure 2 As shown, the information data flow verification system also includes a front-end application 2.
[0053] When a user accesses the front-end application 2 through the user key 3, the smart contract module 13 is used to capture the user key and transmit it to the blockchain network 11. The blockchain network 11 is used to generate an access key from the received user key to enable the user to log in to the system.
[0054] Specifically, when a user accesses the front-end application 2 through the user key 3, the smart contract module 13 is used to capture the user key and transmit it to the blockchain network 11. The blockchain network 11 uses an asymmetric encryption algorithm to encrypt the received user key to generate an access key to bind the accessed user. The access key includes a public key and a private key. The public key is the unique identifier of the user access, and the private key is the user identity certificate. The communication between the user and the verification system is realized through the front-end application, which provides a communication basis for subsequent data verification.
[0055] In an optional embodiment, if Figure 2 As shown, the information data flow verification system also includes an application interface module, and the application interface module 5 includes a data view, a timer and an interface calling protocol.
[0056] The timer is used to set the capture time of the captured data, the data view is used to provide a mobile window for the captured data (the mobile window is a transformation of the application data and another way to view the application data, which is dynamic), and the interface call protocol is used to provide a request service for the captured data; the smart contract module 13 is also used to capture application data from the user-side application system according to the capture time of the timer and through the mobile window provided by the data view and the request service provided by the interface call protocol.
[0057] Specifically, the data view and interface calling protocol enable the smart contract module to quickly capture data from the user-side application system, providing a communication basis for the communication between the blockchain hub and the user-side application system.
[0058] In an optional embodiment, if Figure 2 As shown, when the smart contract module 13 captures multiple application data of the user-side application system through the data view, the smart contract module is also used to verify and compare each application data with the application data of the corresponding evidence data through the hash mapping 15. If the application data and the application data of the evidence data are inconsistent, a prompt mark is made.
[0059] Specifically, HashMap is a data structure that stores data based on key-value pairs, providing efficient data search, insertion, and deletion operations. The core idea of hash mapping is to use hash functions to convert keys into array indexes, and quickly locate the storage location of data through indexes. That is, the smart contract module uses hash functions to search for alliance chain evidence data, and verifies and compares the found hash values with multiple application data of the user-side application system.
[0060] For example, the user-side application system adopts the MES system (Manufacturing Execution System, MES system for short), the finished product high-bay warehouse system and the supply chain system as an example. When the user-side application system has at least one application data for data flow, the smart contract module simultaneously captures the application data corresponding to the MES system finished product high-bay warehouse system and the supply chain system through the data view. The smart contract module searches for the corresponding evidence data on the alliance chain through the corresponding hash function, and verifies and compares each application data with the application data in the corresponding evidence data found, and determines whether each application data is consistent with the application data of the evidence data. If the application data is inconsistent with the application data of the evidence data, a prompt mark is made. The digital identity indicates the unique identification of each application data evidence, and the timestamp authenticates the time when the application data is generated, so that when verifying, it is compared whether this section of application data has been tampered with after it is generated.
[0061] The information data flow verification system provided in this embodiment, when the smart contract module captures multiple application data of the user-side application system through the data view, the smart contract module verifies and compares each application data with the application data of the corresponding evidence data through hash mapping. If the application data and the application data of the evidence data are inconsistent, a prompt mark is made to further ensure that the data is traceable and cannot be tampered with, and the verification result is marked to facilitate subsequent data processing.
[0062] In an optional embodiment, if Figure 2 As shown, the blockchain network includes multiple data nodes. When multiple users access the front-end application through user keys, each data node is used to generate a corresponding access key for each received user key; each data node transmits the corresponding application data, the corresponding digital identity and the corresponding timestamp to the alliance chain for evidence storage, forming multiple evidence data, and transmits the multiple evidence data to the smart contract module.
[0063] Exemplarily, taking the production data of the MES system as an example, the smart contract module captures the production data of two or more different product types from the MES system, the smart contract module sets the timestamp corresponding to the production data of each product type respectively, and transmits the production data of two or more different product types to the digital identity module, the digital identity module generates a digital identity corresponding to the production data of the product type, each data node on each blockchain network will receive the production data, corresponding timestamp and corresponding digital identity of each product type respectively, and transmit the production data, corresponding digital identity and corresponding timestamp of different product types to the alliance chain for evidence storage, forming multiple evidence data, and transmit the multiple evidence data to the smart contract module.
[0064] The information data flow verification system provided in this embodiment uses multiple data nodes on the blockchain network to achieve the purpose of multiple user keys generating access keys and each data node transmitting the corresponding application data, the corresponding digital identity and the corresponding timestamp to the alliance chain for storage, thereby forming multiple evidence data, and transmitting the multiple evidence data to the smart contract module. This improves the efficiency of generating multiple user access keys, provides a basis for subsequent verification of multiple application data, and achieves the security and reliability of information data flow.
[0065] In an optional embodiment, if Figure 2 As shown, the blockchain hub also includes a distributed storage module 14, which is used to store access keys, application data, digital identities and timestamps of each data node in the blockchain network 11.
[0066] Specifically, each data node in the blockchain network 11 transmits the corresponding access key, application data, digital identity identification, timestamp and other data to the distributed storage module 14 for storage to facilitate data tracing.
[0067] It should be noted that, in order to verify more accurately, the smart contract module verifies through the hash value of the hash function. The hash value is a function that maps input data of any length to output data of a fixed length. The hash function converts input data of any length (called a message or plaintext) into output data of a fixed length (called a hash value or ciphertext). Hash values are used for data encryption and security verification to ensure that each unique input generates a unique result. This means that even a slight change in the input will result in a very different hash value. The use of hash values can verify whether the application data of the user-side application system has been tampered with.
[0068] According to the data record primary key and lightweight data format of the application data, the application data of the user-side application system (such as the production data of the MES system), the application data on the distributed storage module and the evidence data on the alliance chain are queried respectively. Through the smart contract module, the application data of the user-side application system, the application data on the distributed storage module and the evidence data on the alliance chain are generated into a summary hash value to verify whether the application data of the user-side application system has been tampered with, and the verification result is prompted.
[0069] In an optional embodiment, the smart contract module 13 is also used to form transaction data when data is interacted between the blockchain network and the alliance chain, and to query the data and evidence data of each data node in the blockchain network and form query data.
[0070] Specifically, in order to record the data interaction between the blockchain network and the alliance chain, when the blockchain network and the alliance chain interact with each other, the smart contract module 13 records the interaction data between the blockchain network and the alliance chain as transaction data. When it is necessary to query the data and evidence data of each data node of the blockchain network, the query is performed through the smart contract module 13, and query data is formed to record the query situation.
[0071] In an optional embodiment, the front-end application 2 includes a metadata management module and a visualization module; the metadata management module is used to store the metadata of the user key when the user accesses the front-end application through the user key; the visualization module is used to graphically process the evidence data, the data of each data node of the blockchain network, the transaction data and the query data, and display them using a preset relationship diagram.
[0072] Specifically, the user key includes metadata (metadata refers to data that describes other data. It can be imagined as a library catalog, which has a guiding role). When the operator accesses the front-end application 2 through the user key, the metadata of the user key is stored in the metadata management module before the user key is generated into an access key, providing a basis for accurately locating the user.
[0073] It should be noted that the preset relationship diagram includes a mulberry diagram or a blood relationship diagram. The front-end application also includes a data export module. In order to realize the visual display of the evidence data, the data of each data node of the blockchain network, the transaction data and the query data, the data export module needs to first export the evidence data, the data of each data node of the blockchain network, the transaction data and the query data, and then transmit the exported data to the visualization display module. The visualization display module processes the evidence data, the data of each data node of the blockchain network, the transaction data and the query data in a graphical way, and graphically displays the evidence data, the data of each data node of the blockchain network, the transaction data and the query data in a mulberry diagram or a blood relationship diagram according to the blood relationship data model.
[0074] When the smart contract module verifies and compares each application data with the corresponding application data of the evidence data through hash mapping and finds inconsistency, the visualization display module is also used to display prompt marks for the inconsistent application data.
[0075] For example, Figure 4 , Figure 5 and Figure 6 As shown, a visualization display module is used to display the data flow status and relationship of the production data of the MES system, the batch data of the high-bay warehouse system, and the raw and auxiliary material consumption data of the supply chain system with a mulberry diagram or a blood relationship diagram.
[0076] In an optional embodiment, the blockchain hub 1 also includes a blockchain console; the blockchain console is used to provide an on-chain proxy service protocol for the alliance chain when the hash value is stored on the alliance chain, and to provide a key custody service protocol for the distributed storage module to store access keys for each data node in the blockchain network.
[0077] In an optional embodiment, the blockchain hub 1 also includes a blockchain operation and maintenance management module; the blockchain operation and maintenance management module is used to maintain the blockchain network, smart contract module, digital identity module and alliance chain to enable the blockchain network, smart contract module, digital identity module and alliance chain to operate normally.
[0078] For example, Figure 3As shown in the figure, when building the blockchain hub, use the image template or installation script to build the bottom layer of the blockchain hub, that is, the blockchain console, and set the node consensus algorithm type, the communication protocol used by the blockchain network, the algorithm and encryption algorithm used for signature verification, the database used for distributed storage, the configuration of the network port, etc. through the configuration file. In terms of authority and security, set the security certificates and secret keys of the generated departments and applications, set the secret key management method, distributed storage authority control, node access black and white lists, whether to store on disk, etc. through the configuration file. Finally, the configuration of other blockchain middleware includes the blockchain operation and maintenance management module, the digital identity DID (i.e., the digital identity module), and the blockchain browser.
[0079] Among them, the blockchain console is used to provide the on-chain proxy service protocol for the alliance chain when the hash value is stored on the alliance chain, and to provide the key escrow service protocol for the distributed storage module to store the access keys of each data node in the blockchain network. The blockchain operation and maintenance management module is used to maintain the blockchain network, smart contract module, digital identity module and alliance chain to ensure the normal operation of the blockchain network, smart contract module, digital identity module and alliance chain.
[0080] As one or more specific application embodiments of the present invention, Figures 4 to 6 , taking the production data of the manufacturing execution system (MES system), the batch data of the finished product high-bay warehouse system and the raw and auxiliary material consumption data of the supply chain system as examples, the implementation method of the information data flow verification system of this embodiment is described in detail, as follows:
[0081] 1. Batch management data verification:
[0082] The batch data of the finished product high-bay warehouse system is the most direct identification of the physical tobacco products. The inspection batch and production batch are based on the quality traceability code. The report to the tobacco group and the sales of finished cigarettes are based on the No. 1 engineering code. The data association quality between the quality traceability code and the No. 1 engineering code will determine whether the finished cigarette production can be successfully transformed into market sales. The blockchain network includes MES block nodes, finished product high-bay warehouse block nodes, batch management block nodes and supply chain block nodes.
[0083] The physical tobacco products need to go through the following process from work-in-progress to finished product delivery: After the MES system sets the basic data of tobacco products, they become work-in-progress, and the work-in-progress entry into the MSE system is equivalent to the MES block node. The work-in-progress is coded by a labeling machine in the quality traceability code system, and after coding, it is sent to the finished product high-bay warehouse for warehousing. The work-in-progress entry link is equivalent to the finished product high-bay warehouse block node. After entering the warehouse, the finished product is entered into the warehouse after recording the inventory stacking information and segment barcode information of the work-in-progress. The finished product entry link is equivalent to the batch management blockchain node. After the finished product is entered into the warehouse, it is coded by a labeling machine, and the quality traceability code and the set No. 1 engineering code are associated (the information includes: No. 1 engineering code for each cigarette, entry time, production batch, inspection batch, pallet number, high-bay warehouse location, factory, warehouse) to form a corresponding relationship. After the association is completed, the finished product is shipped out and sent to the supply chain for sales and inventory operations. The finished product delivery link is equivalent to the supply chain block node. To verify the batch management data, perform the following operations:
[0084] First, the basic data of tobacco products are collected from the {MES system} at regular intervals through the smart contract module. The basic data of tobacco products include: production time, workshop, carton sealing machine number, shift, brand, and place of origin. A timestamp is set for the above basic data of tobacco products, and the basic data of tobacco products is transmitted to the digital identity module. A corresponding digital identity is generated for each batch of basic data of tobacco products, and the generated digital identity and basic data of tobacco products are transmitted to the MES block node. The MES block node extracts the production time, workshop, carton sealing machine number, shift, brand, place of origin and other data record primary keys of the basic data of tobacco products and the lightweight data format corresponding to the data record primary keys.
[0085] The smart contract module collects code data corresponding to tobacco products in the MES system from {No. 1 engineering code system}, {quality traceability code system}, {batch management front-end system}, and {batch management system} at regular intervals. The code data includes: quality traceability code data, No. 1 engineering code data, and information on changes and cancellations of the two codes. The smart contract module sets a timestamp for the code data, and the digital identity module generates a digital identity for the code data of each batch of tobacco products, and transmits the quality traceability code data, No. 1 engineering code data, information on changes and cancellations of the two codes, the digital identity, and the timestamp to the block node of the finished product elevated warehouse.
[0086] The smart contract module collects tobacco product inspection and warehousing data from the {finished product high-bay warehouse system} at regular intervals. The tobacco product inspection and warehousing data include: inspection batch data, warehousing time, pallet number, high-bay warehouse location, factory, and warehouse. The smart contract module sets a timestamp for the inspection and warehousing data. The digital identity module generates a digital identity for each batch of tobacco product inspection and warehousing data, and transmits the tobacco product inspection and warehousing data, digital identity, and timestamp to the batch management blockchain node.
[0087] The smart contract module collects supply chain data from the {supply chain system} at regular intervals. The supply chain data includes contract number, transfer order number, quantity, and delivery time, and transmits it to the supply chain block node. The smart contract module sets a timestamp for the supply chain data, and the digital identity module generates a digital identity for the supply chain data of each batch of tobacco products, and transmits the supply chain data, digital identity, and timestamp to the supply chain block node.
[0088] The MES block node transmits the above-mentioned basic data of tobacco products, digital identity and timestamp to the alliance chain evidence storage, and the quality traceability code data, No. 1 engineering code data, two-code change and cancellation information, timestamp, and digital identity on the corresponding finished product elevated warehouse block node are transmitted to the alliance chain evidence storage, and the tobacco product inspection and warehousing data, timestamp, and digital identity on the batch management blockchain node are transmitted to the alliance chain evidence storage, and the supply chain data, timestamp, and digital identity on the supply chain block node are transmitted to the alliance chain evidence storage, all of which form evidence data, and transmit the evidence data to the smart contract module.
[0089] When verification is required, the operator uses the access key to log in to the information data flow verification system, and then collects the basic data of tobacco products from the {MES system} through the smart contract module. The basic data of tobacco products includes: production time, workshop, carton sealing machine number, shift, brand, and origin. The code number data is collected from the {No. 1 engineering code system}, {quality traceability code system}, {batch management front system}, and {batch management system} through the smart contract module. The code number data includes: quality traceability code data, No. 1 engineering code data, and two-code change and cancellation information. The inspection and warehousing data of tobacco products are collected from the {finished product high-bay warehouse system} through the smart contract module: inspection batch data, warehousing time, pallet number, high-bay warehouse location, factory, and warehouse. The supply chain data is collected from the {supply chain system} through the smart contract module. The supply chain data includes contract number, transfer order number, quantity, and outbound time. All the above data are verified through the {smart contract module}, and verification and comparison are performed based on the extracted evidence data and all the above data. When the comparison is inconsistent, an alarm prompt is automatically triggered.
[0090] 2. Production data management verification:
[0091] like Figure 5 As shown, similarly, before verification, the production data is first collected from the {MES system} at a regular interval through the smart contract module. The production data includes: the statistically reported production data of the winder and packaging machine. The smart contract module sets a timestamp for the statistically reported production data of the winder and packaging machine. The digital identity module generates a digital identity for the production data, and transmits the statistically reported production data of the winder and packaging machine, the timestamp and the digital identity to the MES block node.
[0092] The smart contract module is used to periodically synchronize from the {quality traceability code system} to the {batch management front-end system} and then to the {batch management system} to collect the work-in-process inventory output data. The smart contract module sets a timestamp for the work-in-process inventory output data, and the digital identity module generates a digital identity for the work-in-process inventory output data, and transmits the work-in-process inventory output data, timestamp and digital identity to the batch management block node.
[0093] Through the smart contract module, the updated production data, i.e. the finished product warehousing data, is formed by regularly scanning the associated inspection batches from the {finished product high-bay warehouse WCS system}. The smart contract module sets a timestamp for the finished product warehousing data, and the digital identity module generates a digital identity for the finished product warehousing data, and transmits the finished product warehousing data, timestamp and digital identity to the finished product high-bay warehouse block node.
[0094] The smart contract module collects statistical data from the {supply chain management system} at regular intervals. The statistical data include: <production plan module> monthly production plan cigarette output data, <finished product inventory module> product purchase, sales and inventory daily data. The smart contract module sets a timestamp for the statistical data, and the digital identity module generates a digital identity for the statistical data, and transmits the statistical data, timestamp and digital identity to the supply chain block node.
[0095] The MES block node transmits the statistically reported production data, timestamps and digital identities of the coiling and packaging machines to the alliance chain for evidence storage, and transmits the work-in-progress inventory output data, timestamps and digital identities on the corresponding batch management blockchain node to the alliance chain for evidence storage, and transmits the finished product entry data, timestamps and digital identities on the finished product elevated warehouse block node to the alliance chain for evidence storage, as well as the statistical data, timestamps and digital identities on the supply chain block node to the alliance chain for evidence storage, all of which form evidence data, and transmit the evidence data to the smart contract module.
[0096] When verification is required, the operator logs in to the information data flow verification system through the previously generated access key, and collects production data from the {MES system} again through the smart contract module. The production data includes: the statistically reported production data of the roll-joining machine and the packaging machine. The production data is synchronized from the {quality traceability code system} to the {batch management front system} and then synchronized to the {batch management system} through the smart contract module. The production data includes: work-in-process inventory output data. The smart contract module is synchronized from the {No. 1 engineering code system} to the {batch front management system} again, and then the {finished product high-bay warehouse WCS system} scans and puts on the shelf to associate the inspection batch to form the updated production data, that is, the finished product storage data. The smart contract module collects statistical data from the {supply chain management system} again, and the statistical data includes: <production plan module> monthly production plan piece cigarette production data, <finished product inventory module> product purchase, sales and inventory daily data. The above production data, work-in-process inventory output data, finished product storage data and the data counted by the {supply chain management system} are associated through the smart contract module, and compared and verified. If the comparison is inconsistent, an alarm prompt is triggered.
[0097] 3. Verification of raw material and auxiliary material consumption data:
[0098] like Figure 6 As shown in the figure, in the supply chain system, the auxiliary material production and feeding information is the full-scale production and feeding data. From the actual material consumption data positioning, only the production and consumption quantity of finished cigarette auxiliary materials is recorded, which leads to the lack of auxiliary materials for semi-finished cigarettes; the consumption centralized procurement data is missing, and it is impossible to count it according to each unit every day, which has a large deviation from the raw and auxiliary material outbound data of the supply chain system, thus affecting cost accounting. Blockchain nodes also include data middle platform nodes.
[0099] Before verification, the smart contract module first collects raw material consumption data from the {MES system} at regular intervals. The raw material consumption data includes: tobacco consumption data of the roll-wrapping machine reported by the system user, and material consumption data of the roll-wrapping machine entered by the system user. The smart contract module sets a timestamp for the raw material consumption data, and the digital identity module generates a digital identity for the raw material consumption data, and transmits the raw material consumption data, timestamp and digital identity to the MES block node.
[0100] The smart contract module collects statistical data from the {supply chain management SCM system} at regular intervals. The statistical data include the data in the <auxiliary material procurement> auxiliary material monthly procurement plan-production plan association table, the monthly procurement quantity details and the current consumption data, and the <supply chain auxiliary material inventory> auxiliary material inventory table data. The smart contract module sets a timestamp for the statistical data, and the digital identity module generates a digital identity for the statistical data, and transmits the statistical data, timestamp and digital identity to the supply chain block node.
[0101] The smart contract module collects statistical data from the {data middle-office system} at regular intervals. The statistical data include: <application layer data service> raw material purchase, consumption and storage report data. The smart contract module sets a timestamp for the <application layer data service> raw material purchase, consumption and storage report data. The digital identity module generates a digital identity for the <application layer data service> raw material purchase, consumption and storage report data, and transmits the <application layer data service> raw material purchase, consumption and storage report data, timestamp and digital identity to the data middle-office node.
[0102] The MES block node transmits the raw material and auxiliary material consumption data, timestamp and digital identity to the alliance chain for evidence storage, transmits the work-in-process inventory output data, timestamp and digital identity on the corresponding batch management blockchain node to the alliance chain for evidence storage, transmits the statistical data, timestamp and digital identity on the supply chain block node to the alliance chain for evidence storage, and transmits the <application layer data service> raw material consumption and inventory report data, timestamp and digital identity on the data middle platform node to the alliance chain for evidence storage, all of which form evidence data and transmit the evidence data to the smart contract module.
[0103] When verification is required, the operator logs in to the information data flow verification system through the previously generated access key, and collects raw and auxiliary material consumption data from the {MES system} again through the smart contract module. The raw and auxiliary material consumption data include: tobacco consumption data of the rolling and packaging machine reported by the system user, and material consumption data of the rolling and packaging machine entered by the system user. The smart contract module collects statistical data from the {supply chain management SCM system} again, including <auxiliary material procurement> auxiliary material monthly procurement plan-production plan association table data, monthly procurement quantity details and current consumption data; <supply chain auxiliary material inventory> auxiliary material inventory table data. The smart contract module collects statistical data from the {data middle platform system} again, including: <application layer data service> raw material purchase, consumption and storage report data.
[0104] The evidence data is compiled into the smart contract module to verify the relationship between the quantity and size, and the logical consistency between the raw material consumption data of the MES system and the auxiliary material procurement and inventory data in the supply chain system is judged. If the data logic is unreasonable, the alarm notification mechanism is triggered. The raw material input, consumption and storage relationship report of the verification data is analyzed by analogy. If there is a deviation in the raw material consumption data, an alarm prompt is triggered if there is an inconsistency.
[0105] The information data flow verification system provided in this embodiment uses blockchain distributed storage and consensus algorithms, as well as traceability and tamper-proof technical features, to achieve accurate positioning and tracing of data flow. Blockchain and digital identity technology are used to achieve data uniqueness, identity authentication and data auditing during data interaction and sharing among multiple application systems.
[0106] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. An information data flow verification system, characterized in that: The system includes: a blockchain hub; the blockchain hub includes a blockchain network, a smart contract module, a digital identity module and a consortium chain; The smart contract module is used to capture multiple application data from the user-side application system, set a timestamp for each of the application data, and transmit the captured multiple application data to the digital identity module, and the digital identity module is used to generate a digital identity corresponding to the application data; The blockchain network is used to transmit the application data, digital identity and timestamp to the alliance chain for evidence storage, form evidence data, and transmit the evidence data to the smart contract module; The smart contract module is also used to receive the stored evidence data, and again capture application data corresponding to the application data in the stored evidence data from the user-side application system, and verify the corresponding application data of the user-side application system based on the stored evidence data.
2. The system according to claim 1, characterized in that The system also includes a front-end application. When a user accesses the front-end application through a user key, the smart contract module is used to capture the user key and transmit it to the blockchain network. The blockchain network is used to generate an access key from the received user key to enable the user to log in to the system.
3. The system according to claim 1, characterized in that The system also includes an application interface module, which includes a data view, a timer, and an interface calling protocol; The timer is used to determine the capture time of the captured data, the data view is used to provide a moving window for the captured data, and the interface calling protocol is used to provide a request service for the captured data; The smart contract module is also used to capture application data from the user-side application system according to the capture time of the timer and through the mobile window provided by the data view and the request service provided by the interface call protocol.
4. The system according to claim 3, characterized in that When the smart contract module captures multiple application data of the user-side application system through the data view, the smart contract module is also used to verify and compare each of the application data with the application data of the corresponding evidence data through hash mapping. If the application data and the application data of the evidence data are inconsistent, a prompt mark is made.
5. The system according to claim 2, characterized in that The blockchain network includes multiple data nodes. When multiple users access the front-end application through user keys, each of the data nodes is used to generate a corresponding access key for each received user key; each of the data nodes is also used to transmit the corresponding application data, the corresponding digital identity and the corresponding timestamp to the alliance chain for evidence storage, forming multiple evidence data.
6. The system according to claim 5, characterized in that The blockchain hub also includes a distributed storage module, which is used to store access keys, application data, digital identity identifiers and timestamps of each data node in the blockchain network.
7. The system according to claim 4, characterized in that The smart contract module is also used to generate transaction data when data is interacted between the blockchain network and the alliance chain, and to query the data and evidence data of each data node in the blockchain network and generate query data.
8. The system according to claim 6, characterized in that The front-end application includes a metadata management module and a visualization display module; The metadata management module is used to store the metadata of the user key when the user accesses the front-end application through the user key; The visualization module is used to graphically process the evidence data, data of each data node in the blockchain network, transaction data and query data, and display them using a preset relationship diagram.
9. The system according to claim 5, characterized in that The blockchain hub also includes a blockchain console; The blockchain console is used to provide an on-chain proxy service protocol for the alliance chain when application data, digital identity and timestamp are stored on the alliance chain, and to provide a key hosting service protocol for the distributed storage module to store access keys of each data node in the blockchain network.
10. The system according to claim 1, characterized in that The blockchain hub also includes a blockchain operation and maintenance management module, which is used to maintain the blockchain network, smart contract module, digital identity module and alliance chain to ensure the normal operation of the blockchain network, smart contract module, digital identity module and alliance chain.
