Copper pipe quality tracing data storage method and system
By dividing the copper tube production process into multiple processing stages, generating and merging traceability certificates, and utilizing a tree-like verification structure and blockchain technology, the problem of broken chains caused by fluctuations in working conditions in copper tube quality traceability is solved, and the precise positioning of defective tube blanks and process root cause analysis are achieved, thereby improving the efficiency and reliability of quality traceability.
Patent Information
- Application Number
- CN202511136611.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2045-08-14
AI Technical Summary
Existing copper tube quality traceability technology ignores the physical dynamic characteristics of the continuous production process of copper tubes, resulting in sensor data drift and time series data breakpoints, making it impossible to establish a continuous and reliable quality certificate chain and quickly locate the spatially associated batches of defective tube blanks.
The copper tube production process is divided into several processing stages, and the production parameters are merged step by step to generate traceability certificates. A copper tube quality certificate chain is established through a tree verification structure and blockchain technology. Traceability is achieved by combining cross-subsystem communication protocols to ensure the uniqueness and non-tamperability of the data.
It achieves precise positioning of defective tube blanks and process root cause analysis, solves the problem of broken traceability evidence in continuous production of copper tubes, and improves the efficiency and reliability of quality traceability.
Smart Images

Figure CN120631904A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of copper tube quality detection, and in particular to a copper tube quality traceability data storage method and system. Background Art
[0002] In the copper tube manufacturing industry, existing quality traceability technologies generally utilize segmented data collection and static encrypted evidence storage. This typically involves acquiring parameters like casting temperature and rolling pressure through discrete sensors, uploading isolated production data packets to a centralized database for storage, and then batch-aggregating hash values using a standard tree structure.
[0003] This type of method has fundamental flaws. First, the physical dynamic characteristics of the continuous production process of copper tubes are completely ignored. The high temperature environment causes sensor data drift, and the vibration of the rolling mill causes time series data breakpoints, resulting in the disconnection of the collected parameters and the physical state of the tube billet; secondly, the leaf nodes in the traditional tree structure only store independent hash values, which cannot represent the locational topological relationship of adjacent tube billets. When a tube billet is found to have surface defects, its spatially associated batches cannot be quickly located through digital certificates. The association between process fluctuations and quality status is isolated by cryptographic barriers, and the one-way hash operation only processes static text data. This split leads to a systematic fault in traceability verification. When the defective tube billet is reversely checked, its cooling location information has no connection with the traceability certificate of the adjacent tube billet in the tree structure. Ultimately, even if blockchain evidence is used, it is still impossible to establish a continuous and reliable quality certificate chain.
[0004] The information disclosed in this background technology section is only intended to deepen the understanding of the overall background technology of the present disclosure and should not be regarded as an admission or any form of suggestion that the information constitutes the prior art known to those skilled in the art. Summary of the Invention
[0005] The present invention provides a copper tube quality traceability data storage method and system, which can effectively solve the problems in the background technology.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is: A copper tube quality traceability data storage method, the method comprising: Divide the copper tube production process into several processing stages according to process nodes, and group several of the processing stages into a process stage sequence; Correspondingly collecting the copper tube production parameters at each of the processing stages, and converting the copper tube production parameters into uniquely identifiable traceability certificates; Based on the process stage sequence, the traceability vouchers of the processing stages are merged step by step to generate a copper tube quality voucher chain; Using the copper tube quality certificate chain of multiple unit products as a proof path to generate a tree-shaped verification structure, the tree-shaped verification structure traces the proof path based on a cross-subsystem communication protocol; In response to a copper tube quality traceability request, the storage path of the copper tube production parameters of the corresponding unit product is located according to the tree-shaped verification structure, and the copper tube production parameters corresponding to the traceability certificate are obtained.
[0007] Furthermore, the traceability vouchers of the aforementioned processing stages are merged level by level, including: Generating initial traceability documentation at the first of the aforementioned processing stages; At each of the processing stages after the first processing stage, a cryptographic one-way operation is performed on the concatenation of the previous traceability certificate and the copper tube production parameters of the current processing stage to generate the current traceability certificate; The initial traceability certificate is generated based on the initial production identification and the first copper tube production parameters.
[0008] Furthermore, a cryptographic one-way operation is performed, including: Data association is performed between the aforementioned traceability voucher and the current copper tube production parameters according to the process sequence from copper tube melting to forming; Perform a one-way conversion operation on the associated data so that the password length of the conversion output corresponds to the standard capacity of the copper tube quality traceability code, and embed the identity identification feature of the current copper tube blank during the conversion process; Maintain the unique correspondence between the conversion result and the input data under working conditions with equipment vibration and electromagnetic interference.
[0009] Furthermore, the tree-shaped verification structure includes: The tree-shaped verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The leaf nodes in the tree-shaped verification structure store the end traceability certificate of the copper tube quality certificate chain of each product; The non-leaf node in the tree-shaped verification structure is generated by concatenating the traceability vouchers of its two child nodes and performing a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code incorporates the defect information; The root verification code is the traceability certificate of the non-leaf node at the top level, which is stored in the first sub-repository, and the original process parameters and the corresponding tree node data are stored in the second sub-repository.
[0010] Furthermore, the copper tube blanks corresponding to the adjacent leaf nodes are arranged continuously in physical space, and the end of the traceability certificate stored therein contains the cooling zone code of the annealing process; the location topology relationship code is forcibly embedded in the one-way operation of the adjacent leaf nodes, so that the generated parent node certificate carries the spatial adjacent characteristics of the copper tube production arrangement.
[0011] Furthermore, the first sub-repository is a blockchain network, and its write operation needs to be verified by consensus; the second sub-repository is a time series database cluster, which stores the original data according to the time sequence of each process stage, and periodically synchronizes the verification code of the tree verification structure of the second sub-repository to the first sub-repository based on the cross-subsystem communication protocol.
[0012] Furthermore, when the cross-subsystem communication protocol performs synchronization, it includes: generating an incremental tree structure in the second sub-repository, including the copper tube quality certificate chain of the newly added product; Extracting a local root verification code of the incremental tree structure; Calculate a new root verification code by combining the local root verification code with the historical root verification code of the first sub-repository; When the new root verification code passes the network consensus verification, the root verification code of the first sub-storage repository is updated.
[0013] Furthermore, the continuity of the copper tube quality certificate chain is verified, including: Starting from the traceability voucher of the final process of the target product, the current traceability voucher is parsed in reverse order step by step to obtain the identifier of the previous traceability voucher, and the corresponding previous traceability voucher and process parameters are retrieved from the second sub-repository to verify whether the result of the concatenation of the previous traceability voucher and the current process parameters matches the current traceability voucher.
[0014] A copper tube quality traceability data evidence storage system, the system comprising: The stage division module divides the copper tube production process into several processing stages according to the process nodes, and groups several processing stages into a process stage sequence; The voucher conversion module collects the copper tube production parameters at each processing stage and converts them into uniquely identifiable traceability vouchers; The chain generation module, based on the process stage sequence, merges the traceability certificates of the processing stages step by step to generate the copper tube quality certificate chain; The tree-shaped verification module uses the copper tube quality certificate chain of multiple unit products as the evidence path to generate a tree-shaped verification structure. The tree-shaped verification structure traces the evidence path based on the cross-subsystem communication protocol. The quality traceability module responds to the copper tube quality traceability request, locates the evidence path of the copper tube production parameters of the corresponding unit product according to the tree verification structure, and obtains the copper tube production parameters corresponding to the traceability certificate.
[0015] Furthermore, the tree-shaped verification module includes: Node calculation unit, tree verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The certificate storage unit, the leaf node in the tree verification structure stores the end traceability certificate of the copper tube quality certificate chain of each product; Non-leaf node unit: A non-leaf node in the tree verification structure is generated by concatenating the traceability certificates of its two child nodes through a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code integrates defect information; The data storage unit, the root verification code is the traceability certificate of the top-level non-leaf node, which is stored in the first sub-repository, and the original process parameters and the corresponding tree node data are stored in the second sub-repository.
[0016] The technical solution of the present invention can achieve the following technical effects: It solves the problem of broken traceability evidence caused by fluctuations in working conditions during the continuous production of copper tubes, and enables accurate positioning of defective tube billets and penetrating analysis of process root causes.
[0017] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0019] Figure 1 The figure is a flow chart of a copper tube quality traceability data storage method; Figure 2 This is a flowchart for merging traceability vouchers level by level; Figure 3 This is a structural diagram of the tree-shaped verification structure; Figure 4 Schematic diagram of the process for verifying the continuity of the quality certificate chain. DETAILED DESCRIPTION
[0020] The technical solutions 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 only part of the embodiments of the present invention, rather than all the embodiments.
[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this invention pertains. The terms used in this specification are for the purpose of describing specific embodiments only and are not intended to limit the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0022] Embodiment 1; like Figure 1 As shown, the present application provides a copper tube quality traceability data storage method, the method comprising: The copper tube production process is divided into several processing stages according to the process nodes, and the several processing stages are grouped into a process stage sequence; Collect the copper tube production parameters at each processing stage and convert them into uniquely identifiable traceability certificates; Based on the process stage sequence, the traceability vouchers of the processing stages are merged step by step to generate the copper tube quality voucher chain; The copper tube quality certificate chain of multiple unit products is used as the evidence path to generate a tree-shaped verification structure. The tree-shaped verification structure traces the evidence path based on the cross-subsystem communication protocol. In response to the copper tube quality traceability request, the evidence path of the copper tube production parameters of the corresponding unit product is located according to the tree verification structure, and the copper tube production parameters corresponding to the traceability certificate are obtained.
[0023] Specifically, first, the entire production process is divided into multiple processing stages based on the process nodes. Each processing stage corresponds to a specific process node, such as the smelting, casting, extrusion, annealing and quality inspection of copper tubes. These stages can be further subdivided according to the specific requirements of the process to ensure that all factors that have a significant impact on the quality of the tubes are monitored and recorded; corresponding to each processing stage, specific copper tube production parameters are collected, such as temperature, pressure, speed, material composition and other important indicators, and data is obtained in real time through highly precise sensors and data acquisition to ensure its authenticity and accuracy. The data of each stage is converted into a uniquely identifiable traceability certificate, which may be encrypted to ensure the uniqueness and non-tamperability of the data. For example, digital signatures or hash value technology can be used to generate these certificates; based on the process stage sequence, the traceability certificates generated by each processing stage are merged step by step To build a copper tube quality certificate chain, this process can make use of the characteristics of blockchain technology to link all traceability certificates into a complete, tamper-resistant chain, reflecting the quality information of each stage and forming a complete traceability record; in order to achieve quality traceability of large-scale products, the quality certificate chain further generates a tree verification structure as a certificate path. The tree verification structure establishes a hierarchical relationship between multiple unit product data and realizes the traceability of the certificate path through a cross-subsystem communication protocol. The tree structure makes the verification process efficient and scalable, and can easily handle a large amount of copper tube production data; in response to the copper tube quality traceability request, the tree verification structure is used to locate the certificate path of the relevant unit product. This positioning process is extremely important because it determines the association between the traceability certificate and the actual production parameters. Through this structure, the production parameters of specific copper tubes can be quickly retrieved and analyzed to ensure that quality problems can be effectively identified.
[0024] The technical solution of the present invention solves the problem of broken traceability evidence caused by fluctuations in working conditions during continuous production of copper tubes, and enables accurate positioning of defective tube blanks and penetrating analysis of process root causes.
[0025] Further, if Figure 2 As shown, the traceability vouchers of the previous processing stages are merged step by step, including: Generate initial traceability documents at the first processing stage; At each processing stage after the first processing stage, a cryptographic one-way operation is performed on the concatenation value of the previous traceability certificate and the copper tube production parameters of the current processing stage to generate the current traceability certificate; The initial traceability certificate is generated based on the initial production identification and the first copper tube production parameters.
[0026] As a preferred embodiment of the above, in the first processing stage of the copper tube production process, in order to achieve effective traceability and data protection of the copper tube quality, an initial traceability certificate is first generated. This initial traceability certificate is based on a specific initial production identification, which can be a production batch number, product number or other unique identification information, and is generated in combination with the production parameters of the first process stage. The production parameters may include key data such as the composition of raw materials, processing temperature, time, etc. This information is input into an encryption function in the form of data to generate a traceability certificate for the first stage, which ensures data integrity and security; in each subsequent processing stage, the traceability certificate generated in the previous stage needs to be spliced with the copper tube production parameter data of the current stage. The so-called splicing is to combine the production parameters of the current stage with the traceability certificate generated in the previous stage to form a new data, and then perform an encrypted one-way operation on the spliced data. The encrypted one-way operation can select an irreversible hash algorithm. These algorithms can It is a secure hash algorithm (SHA) or other function with cryptographic properties to ensure that the result is unique and irreversible. After each execution of this operation, a new traceability certificate is generated, which gradually accumulates traceability information of all process stages in a chain structure. The innovation of this traceability certificate scheme that merges the processing stages step by step is that it provides a mechanism for dynamically generating and updating traceability certificates, ensuring that the production parameters of each process stage can be effectively recorded and traced. Since the generation of traceability certificates involves irreversible one-way cryptographic operations, this mechanism helps prevent data from being modified or forged, thereby improving data reliability and security. The hierarchical nested structure of this traceability certificate, realized through the characteristics of blockchain technology, can effectively store and update data at each stage, and naturally form a complete quality traceability chain. For the copper tube manufacturing industry, this solution not only ensures the security of quality data, but also improves traceability efficiency, so that any quality problems can be quickly located at the specific production stage.
[0027] More specifically, cryptographic one-way operations are performed, including: Data association is performed between the previous traceability voucher and the current copper tube production parameters according to the process sequence from copper tube melting to forming; Perform a one-way conversion operation on the associated data so that the password length of the conversion output corresponds to the standard capacity of the copper tube quality traceability code, and embed the identity identification feature of the current copper tube blank during the conversion process; Maintain the unique correspondence between the conversion result and the input data under working conditions with equipment vibration and electromagnetic interference.
[0028] As a preferred embodiment of the above, in the process of merging the traceability certificates generated in each processing stage step by step, cryptographic one-way operation is used as a key technical step to achieve efficient recording, identity embedding and uniqueness protection of copper tube production parameters. First, for each processing stage, the previous traceability certificate is associated with the current copper tube production parameter data in a strict production process sequence. The setting of the production process sequence is based on the actual process flow of the copper tube from melting and casting to forming, including raw material smelting, casting and forming, cooling treatment, hot extrusion, drawing and annealing treatment and other production stages. The specific implementation method of data association is: the output of the previous traceability certificate is associated with the current copper tube production parameter data in a strict production process sequence. The data is logically coupled with the production data of the current stage in accordance with the established process sequence to ensure that the data are closely combined in sequence to form an overall data flow; after the data association is completed, a one-way conversion operation of a cryptographic one-way operation is performed. This operation applies an encryption algorithm, such as a series of algorithms of a secure hash algorithm, to perform irreversible one-way encryption processing on the associated data to generate a traceability certificate of a fixed length. The key to this conversion operation is that the length of the generated traceability certificate must meet the standard capacity requirements of the copper tube quality traceability code. For example, if the copper tube quality traceability code standard is 256 bits or 512 bits, an encryption algorithm is required to ensure that each output The traceability certificate complies with the same length standard to ensure the uniformity and standardization of subsequent storage and reading; in the one-way conversion process, in order to further improve the uniqueness and management efficiency of the traceability code, the identity identification characteristics of the copper tube blank corresponding to the current processing stage are embedded. The identity identification characteristics of the copper tube blank can be a unique marking code, such as a QR code, multi-bit code, radio frequency identification tag information, etc. used to identify the copper tube blank batch. These identifications participate in the cryptographic one-way operation together with the processing parameter data to ensure that the generated traceability certificate not only contains the production parameters, but also solidifies the corresponding blank identity information, so as to achieve the goal of tracing back to the specific material; taking into account the vibration of the equipment and To address stability issues under complex industrial working conditions such as electromagnetic interference, data calibration and anti-interference design are introduced to ensure the unique correspondence between the conversion results and the input data. For example, before performing a one-way conversion operation, the real-time calibration module of the data acquisition equipment can automatically correct the sensor reading deviation caused by equipment vibration; the same production parameters are collected multiple times and the arithmetic average is used to filter out noise data caused by electromagnetic interference. In addition, the redundant design of the encryption algorithm can further enhance the stable mapping relationship between input data and output results. For example, adding a timestamp or redundant error correction code to the input data makes the generated traceability certificate more reliable.
[0029] Further, if Figure 3 As shown, the tree-shaped verification structure includes: The tree verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The leaf nodes in the tree-shaped verification structure store the end traceability certificate of the copper tube quality certificate chain of each product; The non-leaf nodes in the tree verification structure are generated by concatenating the traceability certificates of their two child nodes through a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code incorporates defect information. The root verification code is the traceability certificate of the top-level non-leaf node and is stored in the first sub-repository. The original process parameters and the corresponding tree node data are stored in the second sub-repository.
[0030] As a preferred embodiment of the above, the tree-shaped verification structure is intended to efficiently organize and manage the copper tube quality certificate chain to optimize data processing and traceability efficiency. First, the structural layer depth design is matched according to the number of copper tube billets in the production batch, so that the total number of tube billets produced by the melting furnace on the same day is equal to the number of leaf nodes. This design ensures that each tube billet corresponds to a leaf node, keeping the data clearly organized and structured; in the tree-shaped verification structure, each leaf node is responsible for storing the end traceability certificate of the copper tube quality certificate chain of a certain product. These traceability certificates are the final results generated step by step from the production process and represent the final quality status. This storage mechanism ensures that the quality information of each copper tube is traceable and durable, and easy to locate, so as to achieve accurate traceability; for non-leaf nodes, the generation process involves obtaining traceability certificates from two direct child nodes for splicing and processing through one-way operations. In this process, the characteristics of the copper tube surface quality inspection results are injected into the one-way operation to combine them with the production quality data. This improvement integrates additional quality inspection information in the non-leaf node traceability certificate, such as the detected Surface defect type, location, size, etc., integrate product quality status more comprehensively into the hierarchy of the traceability structure; as for the highest level of the tree structure, the root verification code, it is a traceability certificate generated by the top-level non-leaf node. The root verification code is a comprehensive quality representative finally integrated through the above process and stored in the first sub-repository. This sub-repository is responsible for storing all root verification codes for final integrity verification and batch quality reporting. Its design is suitable for machine intuitive recognition and rapid verification, supporting high-speed batch processing and monitoring; at the same time, the second sub-repository stores the original process parameters and the corresponding tree node data to ensure the correlation and consistency of basic production information and the verification structure. This enables the initial production parameters to be combined with the final quality information, providing a data basis for quality analysis and improvement. The two sub-repositories cooperate with each other to form a complete set of information management and retrieval mechanisms to support the efficient implementation of the copper tube quality management project; the preferred implementation method of the tree verification structure achieves strict correlation and secure storage of production data and ensures flexible traceability of industrial batches by hierarchical management of quality information.
[0031] Furthermore, the copper tube billets corresponding to adjacent leaf nodes are arranged continuously in physical space, and the end of their stored traceability certificate contains the cooling zone code of the annealing process; the location topology relationship code is forcibly embedded in the one-way operation of adjacent leaf nodes, so that the generated parent node certificate carries the spatial adjacent characteristics of the copper tube production arrangement.
[0032] As a preferred embodiment of the above, in the process of copper tube production quality traceability, the design of the tree-shaped verification structure not only considers data processing and storage, but also emphasizes the relationship of physical space. The copper tube blanks corresponding to adjacent leaf nodes are arranged continuously in physical space, which means that in the actual production environment, these copper tubes are arranged in sequence according to the cooling zone after the annealing process. This arrangement not only reflects the physical order of the production batch, but also has important significance for quality control. In the evidence storage method, each leaf node stores the end of the quality certificate chain of a copper tube, including the cooling zone code of the very critical annealing process. The cooling zone code is an important process parameter that reflects the position of the copper tube in the cooling process and its relative heat treatment environment. These codes can help determine the specific cooling state of the copper tube in production, and then infer the microscopic changes in material properties to ensure that the quality of the copper tube meets the standard requirements. In order to incorporate the spatial adjacent features of the copper tube in the physical arrangement into the overall traceability system, the location topology relationship code is forcibly embedded in the one-way operation between adjacent leaf nodes. This one-way operation involves an encryption algorithm, such as selecting an algorithm with high security and not easy to tamper with, to ensure that the splicing of two adjacent leaf nodes is complete. The parent node voucher generated after processing the data reflects their physical proximity. These location topology codes indicate the spatial arrangement of the copper tubes during the production process, such as their specific arrangement order and proximity, which is of great reference value in the quality verification process. The generated parent node voucher is not only the summary and processing result of the two child node data, but also carries the spatial proximity characteristics of the copper tube production arrangement. This design means that any related query and verification conducted through the parent node voucher can not only obtain quality information of the copper tubes, but also analyze the specific environmental factors affecting their production process. By comprehensively considering the location coding and spatial proximity characteristics of the copper tubes, potential quality issues such as local failure or performance degradation of production equipment can be identified in advance. To ensure the accurate transmission of topological relationships in complex equipment environments, corresponding verification and confirmation steps are designed, such as cross-validation of multiple spatial codes and automatic equipment calibration functions, to improve the accuracy and reliability of spatial data. This spatial coding and its verification mechanism provide an additional perspective for copper tube production quality management, tracing back to more subtle production details, thereby improving the efficiency and accuracy of the overall quality traceability system.
[0033] Specifically, the first sub-repository is a blockchain network, and its write operations must be verified by consensus; the second sub-repository is a time series database cluster, which stores the original data according to the time sequence of each process stage, and periodically synchronizes the verification code of the tree verification structure of the second sub-repository to the first sub-repository based on the cross-subsystem communication protocol.
[0034] As a preferred embodiment of the above, in the copper tube quality traceability system, the first sub-repository is constructed as a blockchain network. This design aims to utilize the decentralized, highly transparent and tamper-proof characteristics of the blockchain itself to store the root verification code. The write operation in the blockchain network must be performed through a consensus verification procedure to ensure that each operation is verified and approved by the participating nodes. This mechanism can effectively prevent unauthorized tampering and data corruption, while ensuring the consistency and reliability of data in the entire network. During the operation, the nodes reach consensus through consensus algorithms such as proof of work, proof of stake or other consensus mechanisms suitable for enterprise environments to ensure the authenticity and integrity of the input information; at the same time, the second sub-repository is constructed as a time series database cluster, which is specifically used to organize and store original production data in chronological order according to the time sequence of each process stage. These data include but are not limited to production parameters, equipment status, batch information and node data of the corresponding tree verification structure. The advantage of the time series database is that it can efficiently process massive time series data. It supports fast data retrieval and complex analysis needs, meeting the functional requirements of real-time monitoring and historical data tracing. The cross-subsystem communication protocol plays an important role in this solution. Through this protocol, the second sub-repository is responsible for periodically synchronizing the verification code of the tree verification structure to the first sub-repository. This synchronization not only ensures the accurate correspondence between blockchain records and original data, but also maintains the consistency and integrity of the entire system during data updates. During implementation, the protocol can support multi-node distributed data exchange and updates across databases, solving the challenges of data heterogeneity and cross-domain communication, and providing continuous data consistency guarantees. This design combines the advantages of the two sub-repositories. The blockchain part of the first sub-repository provides a high-protection verification solution for copper tube quality traceability, while the time series database in the second sub-repository ensures the efficient storage and management of detailed production data. At the same time, through the quasi-real-time data synchronization mechanism, copper tube quality information can be consistently and accurately managed throughout the entire system, thereby improving the reliability and operational efficiency of the overall traceability system.
[0035] More specifically, when performing synchronization across subsystem communication protocols, this includes: Generate an incremental tree structure in the second sub-repository, including the copper tube quality certificate chain of the newly added product; Extract the local root verification code of the incremental tree structure; Calculate a new root verification code by combining the local root verification code with the historical root verification code of the first sub-repository; When the new root verification code passes the network consensus verification, the root verification code of the first sub-repository is updated.
[0036] As a preferred embodiment of the above, in the quality traceability process of copper tube production, as the production and inspection data of new products are continuously added, the data storage needs to be periodically updated to maintain its integrity and timeliness. In the second sub-repository, that is, in the real-time database cluster, an incremental tree structure is generated for the newly added products. This structure contains the copper tube quality certificate chain of the newly added products. Since the incremental processing of data is the basis for system updates even if the production process does not stop, the design of this incremental tree structure can better adapt to real-time production data changes and quickly capture and integrate the quality information of new products. Extracting the local root verification code of the incremental tree structure is a key step in update synchronization. The local root verification code is a comprehensive quality identifier generated by a one-way operation of the tree structure of the newly added product. The integrated quality certificate of all new data is obtained through the extraction operation. It performs a comprehensive quality assessment on the newly added parts of the copper tube, so that the newly added data can be consistent with the existing data system. Next, the local root verification code is merged with the historical root verification code already in the first sub-repository to generate a new root verification code. This is an important integration process. Through the merging calculation process, it can ensure the orderly combination of all historical data and new data to reflect the overall quality status of all products. The merging calculation can use the hash algorithm in cryptography or other security-intensive operations to ensure that the data integration process is not tampered with or errors occur; finally, when the new root verification code is generated, it needs to be strictly confirmed through the consensus verification procedure of the blockchain network. The consensus verification involves the participation of multiple nodes and relies on a predefined verification mechanism to ensure the authenticity and accuracy of the new root verification code. After consensus verification, the root verification code of the first sub-repository is updated. This step ensures that the information about the quality of the copper pipe in the blockchain data can be synchronized with the latest production data, providing a reliable quality reference for subsequent traceability.
[0037] Further, if Figure 4 As shown, verify the continuity of the copper tube quality certificate chain, including: Starting from the traceability voucher of the last process of the target product, reverse execution is performed step by step to parse the current traceability voucher to obtain the identifier of the previous traceability voucher, and the corresponding previous traceability voucher and process parameters are retrieved from the second sub-repository to verify whether the concatenation value calculation result of the previous traceability voucher and the current process parameters matches the current traceability voucher.
[0038] As a preferred embodiment of the above, in the quality traceability process, verifying the continuity of the copper tube quality certificate chain is a key step in verifying whether the task can run through the entire production process. In order to achieve this, starting from the last process of the target product, first locate the traceability certificate of this process. This certificate is obtained through a one-way operation and contains all the important quality parameters of the process. Next, reversely execute the operation of parsing the current traceability certificate step by step to obtain the identifier of the previous traceability certificate. The identifier can be a specific code or mark of the previous process stage, representing the position of a certain process stage in the password chain; the parsed identifier is used to index the relevant data in the second sub-repository. The second sub-repository is a time series database, which stores detailed data of all process stages in chronological order, including the previous traceability certificate and its production parameters. By retrieving these data, the process details of the previous stage can be restored to prepare for subsequent verification; when performing verification, the previous traceability certificate and the current process stage are The splicing value performs the operation. The splicing value is not just a simple addition of numerical values, but the current process parameters are combined with the previous traceability certificate in a specific order and logic to form an overall data to be verified. When performing an encrypted one-way operation, the output result must match the current traceability certificate. This step is the key to ensuring the integrity and continuity of the cryptographic chain. If a mismatch is found during the verification process, further inspection should be performed to analyze the source of data failure or error, such as process record errors, data transmission anomalies or equipment failures. Through this strict verification mechanism, the reliability of data in each link of the cryptographic chain can be effectively guaranteed, so that the quality control information of each link can be accurately traced back to the correct process stage. This verification method not only ensures that the copper tube quality traceability can be carried out completely, but also can identify potential defects in the production process. Through continuous verification and optimization, the quality monitoring mechanism of copper tube production can be efficiently improved, and problems can be quickly discovered to make timely adjustments.
[0039] Embodiment 2: Based on the same inventive concept as the copper tube quality traceability data storage method in the aforementioned embodiment, the present invention further provides a copper tube quality traceability data storage system, which includes: The stage division module divides the copper tube production process into several processing stages according to the process nodes, and groups several processing stages into a process stage sequence; The voucher conversion module collects the copper tube production parameters at each processing stage and converts them into uniquely identifiable traceability vouchers; The chain generation module, based on the process stage sequence, merges the traceability certificates of the processing stages step by step to generate the copper tube quality certificate chain; The tree-shaped verification module uses the copper tube quality certificate chain of multiple unit products as the evidence path to generate a tree-shaped verification structure. The tree-shaped verification structure traces the evidence path based on the cross-subsystem communication protocol. The quality traceability module responds to the copper tube quality traceability request, locates the evidence path of the copper tube production parameters of the corresponding unit product according to the tree verification structure, and obtains the copper tube production parameters corresponding to the traceability certificate.
[0040] The above-mentioned adjustment system in the present invention can effectively realize a copper tube quality traceability data storage method, and the technical effects that can be achieved are as described in the above-mentioned embodiments and will not be repeated here.
[0041] Furthermore, the tree-based validation module includes: Node calculation unit, tree verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The certificate storage unit, the leaf node in the tree verification structure stores the end traceability certificate of the copper tube quality certificate chain of each product; Non-leaf node unit: A non-leaf node in the tree verification structure is generated by concatenating the traceability certificates of its two child nodes through a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code integrates defect information; The data storage unit, the root verification code is the traceability certificate of the top-level non-leaf node, which is stored in the first sub-repository, and the original process parameters and the corresponding tree node data are stored in the second sub-repository.
[0042] Similarly, the above-mentioned optimization schemes for the system can also respectively achieve the corresponding optimization effects of the method in Example 1, which will not be repeated here.
[0043] Although the present application has been described with reference to specific features and embodiments thereof, it is apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and drawings are merely illustrative of the present application as defined herein and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the scope of the present application. Thus, the present application is intended to include such modifications and variations as fall within the scope of the present application and its equivalents.
Claims
1. A copper tube quality traceability data evidence storage method, characterized in that: The method comprises: Divide the copper tube production process into several processing stages according to process nodes, and group several of the processing stages into a process stage sequence; Correspondingly collecting the copper tube production parameters at each of the processing stages, and converting the copper tube production parameters into uniquely identifiable traceability certificates; Based on the process stage sequence, the traceability vouchers of the processing stages are merged step by step to generate a copper tube quality voucher chain; Using the copper tube quality certificate chain of multiple unit products as a proof path to generate a tree-shaped verification structure, the tree-shaped verification structure traces the proof path based on a cross-subsystem communication protocol; In response to a copper tube quality traceability request, the storage path of the copper tube production parameters of the corresponding unit product is located according to the tree verification structure, and the copper tube production parameters corresponding to the traceability certificate are obtained.
2. The copper tube quality traceability data storage method according to claim 1 is characterized in that: The traceability vouchers of the aforementioned processing stages are consolidated step by step, including: Generating initial traceability documentation at the first of the aforementioned processing stages; At each of the processing stages after the first processing stage, a cryptographic one-way operation is performed on the concatenation of the previous traceability certificate and the copper tube production parameters of the current processing stage to generate the current traceability certificate; The initial traceability certificate is generated based on the initial production identification and the first copper tube production parameters.
3. The copper tube quality traceability data storage method according to claim 2 is characterized in that: Perform cryptographic one-way operations, including: Data association is performed between the aforementioned traceability voucher and the current copper tube production parameters according to the process sequence from copper tube melting to forming; Perform a one-way conversion operation on the associated data so that the password length of the conversion output corresponds to the standard capacity of the copper tube quality traceability code, and embed the identity identification feature of the current copper tube blank during the conversion process; Maintain the unique correspondence between the conversion result and the input data under working conditions with equipment vibration and electromagnetic interference.
4. The copper tube quality traceability data storage method according to claim 1 is characterized in that: The tree-shaped verification structure includes: The tree-shaped verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The leaf nodes in the tree-shaped verification structure store the end traceability certificate of the copper tube quality certificate chain of each product; The non-leaf node in the tree-shaped verification structure is generated by concatenating the traceability vouchers of its two child nodes and performing a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code incorporates the defect information; The root verification code is the traceability certificate of the non-leaf node at the top level, which is stored in the first sub-repository, and the original process parameters and the corresponding tree node data are stored in the second sub-repository.
5. The copper tube quality traceability data storage method according to claim 4 is characterized in that: The copper tube blanks corresponding to the adjacent leaf nodes are arranged continuously in physical space, and the end of the traceability certificate stored therein contains the cooling zone code of the annealing process; the location topology relationship code is forcibly embedded in the one-way operation of the adjacent leaf nodes, so that the generated parent node certificate carries the spatial adjacent characteristics of the copper tube production arrangement.
6. The copper tube quality traceability data storage method according to claim 4 is characterized in that: The first sub-repository is a blockchain network, and its write operations must be verified by consensus; the second sub-repository is a time series database cluster, which stores the original data according to the time sequence of each process stage, and periodically synchronizes the verification code of the tree verification structure of the second sub-repository to the first sub-repository based on the cross-subsystem communication protocol.
7. The copper tube quality traceability data storage method according to claim 6 is characterized in that: When the cross-subsystem communication protocol is synchronized, it includes: generating an incremental tree structure in the second sub-repository, including the copper tube quality certificate chain of the newly added product; Extracting a local root verification code of the incremental tree structure; Calculate a new root verification code by combining the local root verification code with the historical root verification code of the first sub-repository; When the new root verification code passes the network consensus verification, the root verification code of the first sub-storage repository is updated.
8. The copper tube quality traceability data storage method according to claim 1 is characterized in that: Verify the continuity of the copper tube quality chain of evidence, including: Starting from the traceability voucher of the final process of the target product, the current traceability voucher is parsed in reverse order step by step to obtain the identifier of the previous traceability voucher, and the corresponding previous traceability voucher and process parameters are retrieved from the second sub-repository to verify whether the result of the concatenation of the previous traceability voucher and the current process parameters matches the current traceability voucher.
9. A copper tube quality traceability data evidence storage system, characterized in that: The system comprises: The stage division module divides the copper tube production process into several processing stages according to the process nodes, and groups several processing stages into a process stage sequence; The voucher conversion module collects the copper tube production parameters at each processing stage and converts them into uniquely identifiable traceability vouchers; The chain generation module, based on the process stage sequence, merges the traceability certificates of the processing stages step by step to generate the copper tube quality certificate chain; The tree-shaped verification module uses the copper tube quality certificate chain of multiple unit products as the evidence path to generate a tree-shaped verification structure. The tree-shaped verification structure traces the evidence path based on the cross-subsystem communication protocol. The quality traceability module responds to the copper tube quality traceability request, locates the evidence path of the copper tube production parameters of the corresponding unit product according to the tree verification structure, and obtains the copper tube production parameters corresponding to the traceability certificate.
10. The copper tube quality traceability data evidence storage system according to claim 9 is characterized in that: The tree-shaped verification module includes: Node calculation unit, tree verification structure layer depth matches the number of tube billets in the copper tube production batch, so that the number of leaf nodes is equal to the total number of tube billets produced by the melting and casting furnace on that day; The certificate storage unit, the leaf node in the tree verification structure stores the end traceability certificate of the copper tube quality certificate chain of each product; Non-leaf node unit: A non-leaf node in the tree verification structure is generated by concatenating the traceability certificates of its two child nodes through a one-way operation. The characteristics of the copper tube surface quality inspection results are injected into the one-way operation, so that the root verification code integrates defect information; The data storage unit, the root verification code is the traceability certificate of the top-level non-leaf node, which is stored in the first sub-repository, and the original process parameters and the corresponding tree node data are stored in the second sub-repository.
Citation Information
Patent Citations
Quality tracing system and method based on blockchain and computer readable storage medium
CN111476583A
Anti-counterfeiting tracing method for steel pipe and anti-counterfeiting steel pipe
CN118246934A
Double-chain fusion product quality tracing method and system applied to production line
CN120146871A
Food information tracing method and system based on Internet data
CN120218958A
Traceability system and method based on refined copper multi-parameter acquisition
WO2023005097A1
Cited By
Traceability management method and system based on industrial products
CN122089345A