A copper pipe quality traceability data storage method and system

By dividing the copper tube production process into processing stages, generating unique traceability credentials and forming a copper tube quality credential chain, and combining a tree-structured verification system and cross-subsystem communication protocols, the problem of broken chains in copper tube quality traceability is solved, enabling precise location of defective tube blanks and root cause analysis of processes, thus improving the efficiency and reliability of quality traceability.

CN120631904BActive Publication Date: 2025-10-17常州润来科技有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511136611.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-10-17
Estimated Expiration
2045-08-14

AI Technical Summary

Technical Problem

Existing copper tube quality traceability technologies cannot effectively handle the physical dynamic characteristics of copper tubes in continuous production processes, resulting in sensor data drift and time-series data breakpoints. This makes it impossible to establish a continuous and reliable quality certificate chain. Furthermore, traditional tree structures cannot characterize the locational topological relationships of adjacent tube blanks, making it difficult to trace defective tube blanks.

Method used

The copper tube production process is divided into several processing stages, generating unique traceability certificates. A copper tube quality certificate chain is formed through hierarchical merging and one-way operations. Combined with a tree-structured verification system and cross-subsystem communication protocols, the traceability and continuous tracking of copper tube quality are realized.

Benefits of technology

It enables precise location and root cause analysis of defective copper tube blanks, solves the problem of broken traceability evidence caused by fluctuations in operating conditions, and improves the efficiency and reliability of quality traceability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120631904B_ABST
    Figure CN120631904B_ABST
Patent Text Reader

Abstract

The present application relates to copper pipe quality detection technical field, especially to a kind of copper pipe quality traceability data archiving method and system, method includes: copper pipe production process is divided into several processing technology stages according to process technology node, and is composed into process stage sequence;Corresponding collection copper pipe production parameters of each processing technology stage, and is converted into only identified traceability voucher;Based on process stage sequence, traceability voucher of processing technology stage is merged gradually, and copper pipe quality voucher chain is generated;The copper pipe quality voucher chain of multiple unit products is generated as archiving path tree structure, and tree structure is based on cross-subsystem communication protocol and is traced to the source archiving path;In response to copper pipe quality traceability request, according to tree structure, the archiving path of corresponding copper pipe production parameters of unit product is positioned, and the copper pipe production parameters corresponding to traceability voucher are obtained. Through the present application, the problem of reliable mapping fault between production process and digital archiving system is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of copper pipe quality detection, and particularly relates to a copper pipe quality traceability data storage method and system. BACKGROUND

[0002] In the copper pipe manufacturing industry, the quality traceability of the prior art generally adopts a segmented data acquisition and static encryption storage mechanism. A typical scheme uploads isolated production data packets to a centralized database for storage after obtaining parameters such as casting temperature and rolling pressure through discrete sensors, and then performs batch aggregation on hash values using a standard tree structure.

[0003] Such methods have fundamental defects. First, the physical dynamic characteristics in the continuous production process of copper pipes are completely ignored. Sensor data drifts due to high-temperature environments, and time series data breakpoints are caused by rolling mill vibrations, resulting in a disconnection between the collected parameters and the physical state of the pipe blank. Second, the leaf nodes in the traditional tree structure only store independent hash values and cannot represent the topological relationship of adjacent pipe blanks. When a pipe blank is found to have surface defects, its spatially associated batch cannot be quickly located through digital credentials. The association between process fluctuations and quality states is isolated by a cryptographic barrier. One-way hash operations only process static text data. This fragmentation results in systematic faults during traceability verification. When reverse checking a defective pipe blank, its cooling location information and the traceability credentials of adjacent pipe blanks have no association in the tree structure, ultimately making it impossible to establish a continuous and reliable quality credential chain even with blockchain storage.

[0004] The information disclosed in this BACKGROUND section is only intended to enhance the understanding of the general background of the present disclosure and is not intended to be a recognition or any form of suggestion that this information constitutes prior art. SUMMARY

[0005] The present application provides a copper pipe quality traceability data storage method and system, which can effectively solve the problems in the background art.

[0006] To achieve the above purpose, the technical solution adopted by the present application is:

[0007] A copper pipe quality traceability data storage method, the method comprising:

[0008] dividing the copper pipe production process into a plurality of processing stages according to process nodes in the production process, and grouping the plurality of processing stages into a process stage sequence;

[0009] corresponding to the copper pipe production parameters of each processing stage, and converting the copper pipe production parameters into a unique traceability credential;

[0010] merge the traceable credentials of the processing process stages step by step based on the process stage sequence to generate a copper pipe quality credential chain;

[0011] generate a tree-shaped verification structure of the copper pipe quality credential chain of multiple unit products as a storage path, which is based on a cross-subsystem communication protocol to trace the storage path of the copper pipe production parameters;

[0012] In response to a copper pipe quality traceability request, locate the storage path of the copper pipe production parameters corresponding to the unit product according to the tree-shaped verification structure, and obtain the copper pipe production parameters corresponding to the traceable credentials.

[0013] Further, the traceable credentials of the preceding processing process stages are merged step by step, including:

[0014] generate an initial traceable credential at the first processing process stage;

[0015] perform a one-way cryptographic operation on the splicing value of the traceable credentials of the preceding processing process stages and the copper pipe production parameters of the current processing process stage at each processing process stage after the first processing process stage to generate the current traceable credential;

[0016] The initial traceable credential is generated based on an initial production identifier and the first copper pipe production parameter.

[0017] Further, the one-way cryptographic operation includes:

[0018] data association of the preceding traceable credentials and the current copper pipe production parameters according to the process sequence from copper pipe melting to forming;

[0019] 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 pipe quality traceability code, and the identity feature of the current copper pipe blank is embedded in the conversion process;

[0020] Under the working condition of device vibration and electromagnetic interference, the conversion result maintains a unique correspondence with the input data.

[0021] Further, the tree-shaped verification structure includes:

[0022] The tree-shaped verification structure layer depth matches the number of pipe blanks of the copper pipe production batch, so that the number of leaf nodes is equal to the total number of pipe blanks produced by the melting furnace on the same day;

[0023] The leaf nodes in the tree-shaped verification structure store the end traceable credentials of the copper pipe quality credential chain of each product;

[0024] The non-leaf node in the tree-shaped verification structure is generated by splicing the traceable credentials of its two child nodes through a one-way operation, in which the features of the copper pipe surface quality detection results are injected, so that the root credential is fused with the defect information;

[0025] The root credential is the traceable credential of the topmost non-leaf node, stored in the first sub-repository, and the original process parameters and corresponding tree node data are stored in the second sub-repository.

[0026] Further, the copper pipe blanks corresponding to adjacent leaf nodes are arranged continuously in physical space, and the end of the traceable credential stored therein contains the cooling zone code of the annealing process; the one-way operation of adjacent leaf nodes is forced to embed the zone topology relationship code, so that the generated parent node credential carries the spatial adjacency features of copper pipe production arrangement.

[0027] Further, the first sub-repository is a blockchain network, and its write operation needs to pass through consensus verification; the second sub-repository is a time series database cluster, which stores original data according to the time sequence of each process stage, and periodically synchronizes the credential of the tree-shaped verification structure of the second sub-repository to the first sub-repository based on a cross-subsystem communication protocol.

[0028] Further, when the cross-subsystem communication protocol performs synchronization, it includes:

[0029] An incremental tree structure is generated in the second sub-repository, which contains the copper pipe quality credential chain of the newly added product;

[0030] Extract the local root credential of the incremental tree structure;

[0031] Merge and calculate the new root credential from the local root credential and the historical root credential of the first sub-repository;

[0032] When the new root credential passes the network consensus verification, update the root credential of the first sub-repository.

[0033] Further, the continuity of the copper pipe quality credential chain is verified, including:

[0034] Starting from the traceable credential of the last process of the target product, the identification of the previous traceable credential is obtained by performing analysis on the current traceable credential in reverse, and the corresponding previous traceable credential and process parameters are called from the second sub-repository, and it is verified whether the splicing value operation result of the previous traceable credential and the current process parameters matches the current traceable credential.

[0035] A copper pipe quality traceable data storage system, the system comprises:

[0036] The stage division module divides the copper pipe production process into a plurality of processing technology stages according to process technology nodes, and groups the plurality of processing technology stages into a process stage sequence;

[0037] The voucher conversion module corresponds to collect copper pipe production parameters of each processing technology stage, and converts the copper pipe production parameters into unique traceable vouchers;

[0038] The chain generation module generates a copper pipe quality voucher chain by merging the traceable vouchers of the processing technology stages based on the process stage sequence;

[0039] The tree verification module generates a tree verification structure by taking the copper pipe quality voucher chains of a plurality of unit products as a storage path, and traces the storage path based on a cross-subsystem communication protocol;

[0040] The quality traceability module locates the storage path of the copper pipe production parameters corresponding to the unit product according to the tree verification structure in response to a copper pipe quality traceability request, and obtains the copper pipe production parameters corresponding to the traceable vouchers.

[0041] Further, the tree verification module comprises:

[0042] The node calculation unit matches the number of pipe blanks of a copper pipe production batch with the depth of the tree verification structure, so that the number of leaf nodes is equal to the total number of pipe blanks produced by the smelting furnace on the same day;

[0043] The voucher storage unit stores the end traceable vouchers of the copper pipe quality voucher chains of each product in the leaf nodes of the tree verification structure;

[0044] The non-leaf node unit generates a non-leaf node in the tree verification structure by splicing the traceable vouchers of its two child nodes and performing a one-way operation, and injects the characteristics of the copper pipe surface quality detection results into the one-way operation to make the root voucher integrate the defect information;

[0045] The data storage unit stores the traceable vouchers of the root node as the most top layer non-leaf node in the first sub-storage library, and stores the original process parameters and corresponding tree node data in the second sub-storage library.

[0046] The technical scheme of the present application can achieve the following technical effects:

[0047] The present application solves the problem of broken traceable evidence caused by working condition fluctuations in continuous copper pipe production, and realizes accurate positioning of defective pipe blanks and process root cause analysis.

[0048] The above description is only a summary of the technical scheme of the present application, in order to more clearly understand the technical means of the present application, the specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS

[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative effort.

[0050] Figure 1 It is a flowchart of a copper pipe quality traceability data storage method;

[0051] Figure 2 It is a flowchart of a step-by-step merging traceability voucher;

[0052] Figure 3 It is a structure diagram of a tree-shaped verification structure;

[0053] Figure 4 It is a flowchart of verifying the continuity of the quality voucher chain. DETAILED DESCRIPTION

[0054] The technical solutions in the embodiments of the present application will be described clearly and completely in the embodiments of the present application combined with the drawings. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0056] Embodiment one;

[0057] As Figure 1 shown, the present application provides a copper pipe quality traceability data storage method, the method comprising:

[0058] The copper pipe production process is divided into several processing stages according to the process nodes, and the several processing stages are composed into a process stage sequence;

[0059] The copper pipe production parameters of each processing stage are collected, and the copper pipe production parameters are converted into unique traceability vouchers;

[0060] Based on the process stage sequence, the traceability vouchers of the processing stages are merged step by step to generate a copper pipe quality voucher chain;

[0061] A copper pipe quality certificate chain of multiple unit products is taken as a tree-shaped verification structure of a storage path generation tree, and the tree-shaped verification structure traces the storage path based on a cross-subsystem communication protocol;

[0062] In response to a copper pipe quality traceability request, a storage path of copper pipe production parameters corresponding to a unit product is located according to the tree-shaped verification structure, and the copper pipe production parameters corresponding to the traceability certificate are obtained.

[0063] Specifically, first, the entire production process is divided into multiple processing stages based on process nodes, and each processing stage corresponds to a specific process node, such as copper pipe smelting, casting, extrusion, annealing, and quality inspection, etc. 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 pipe material quality are monitored and recorded. Specific copper pipe production parameters, such as temperature, pressure, speed, material composition, and other important indicators, are collected for each processing stage. Highly accurate sensors and data acquisition are used to obtain real-time data to ensure their authenticity and accuracy. The data of each stage is converted into a unique traceability certificate, which can be encrypted to ensure the uniqueness and tamper resistance of the data. For example, digital signatures or hash value technology can be used to generate these certificates. Based on the sequence of process stages, the traceability certificates generated by each processing stage are merged to construct a copper pipe quality certificate chain. This process can link all traceability certificates into a complete and tamper-resistant chain using the characteristics of blockchain technology, reflecting the quality information of each stage and forming a complete traceability record. In order to realize the quality traceability of large-scale products, the quality certificate chain is further taken as a tree-shaped verification structure of a storage path generation tree. The tree-shaped verification structure establishes a hierarchical relationship between multiple unit product data and realizes the traceability of the storage 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 pipe production data. In response to a copper pipe quality traceability request, the relevant unit product storage path is located through the tree-shaped verification structure. This location 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 a specific copper pipe can be quickly retrieved and analyzed to ensure that quality problems can be effectively identified.

[0064] Through the technical solution of the present application, the problem of traceability evidence chain breakage caused by fluctuation of working conditions in continuous copper pipe production is solved, and precise positioning of defective pipe blanks and process root cause analysis are realized.

[0065] Further, as shown in Figure 2 The traceability certificates of the previous processing stages are merged step by step, including:

[0066] An initial traceability certificate is generated in the first processing stage;

[0067] The concatenation value of the previous traceable voucher and the copper pipe production parameter of the current processing stage is subjected to a one-way operation of a cipher after each processing stage after the first processing stage, to generate the current traceable voucher.

[0068] The initial traceable voucher is generated based on the initial production identification and the first copper pipe production parameter.

[0069] As a preferred embodiment of the above, in the first processing stage of the copper pipe production process, in order to realize effective traceability and data protection of the copper pipe quality, an initial traceable voucher is first generated, which is based on a specific initial production identification, which can be a production batch number, a product number or other unique identification information, and combined with the production parameter of the first processing stage to generate, the production parameter may include the composition of raw materials, processing temperature, time and other key data, these information is input into an encryption function in data form, to generate the first stage traceable voucher, which ensures data integrity and security; In each subsequent processing stage, the traceable voucher generated in the previous stage needs to be concatenated with the copper pipe production parameter data of the current stage, the so-called concatenation is to combine the production parameter of the current stage with the traceable voucher generated in the last stage to form a new data, then, the concatenation data is subjected to a one-way operation of a cipher, the one-way operation of a cipher can choose an irreversible hash algorithm, which can be a secure hash algorithm (SHA) or other functions with cryptographic properties, to ensure that the result obtained is unique and irreversible, each time the operation is performed, a new traceable voucher is generated, which gradually accumulates all the traceable information of the process stage in a chain structure; The innovation of this traceable voucher scheme that merges the traceable vouchers of the process stages step by step lies in that it provides a mechanism for dynamically generating and updating traceable vouchers, ensuring that the production parameters of each process stage can be effectively recorded and traced. Since the generation of the traceable voucher involves irreversible one-way cryptographic operations, this mechanism helps to prevent data from being modified or falsified, improving the reliability and security of the data; The hierarchical nested structure of the traceable voucher is realized through the characteristics of the blockchain technology, which can effectively store and update the data of each stage, and naturally forms a complete quality traceability chain. For the copper pipe manufacturing industry, this scheme not only ensures the security of quality data, but also improves the traceability efficiency, so that any quality problem can be quickly located to a specific production stage.

[0070] Further, the one-way operation of a cipher includes:

[0071] Data association of the previous traceable voucher and the current copper pipe production parameter according to the process sequence from copper melting to forming;

[0072] Performing a one-way conversion operation on the associated data, so that the length of the cipher output corresponds to the standard capacity of the copper pipe quality traceability code, and embedding the identity feature of the current copper pipe blank in the conversion process.

[0073] In the presence of device vibration and electromagnetic interference, the unique correspondence between the conversion result and the input data is maintained.

[0074] As a preferred embodiment of the above, in the process of merging the traceable credentials generated by each processing stage, the one-way operation of the password is used as a key technical step to achieve efficient recording, identity embedding and uniqueness guarantee of the copper pipe production parameters. First, for each processing stage, the previous traceable credentials and the current copper pipe production parameter data are associated according to the strict production process sequence. The production process sequence is set based on the actual process flow of the copper pipe from casting to forming, including raw material smelting, casting forming, cooling treatment, hot extrusion, drawing processing and annealing treatment, etc. The specific implementation of data association is to logically couple the output data of the previous traceable credentials with the current stage production data according to the established process sequence, ensuring that the data is closely combined in sequence and forms a whole data stream. After data association is completed, a one-way conversion operation of the one-way operation of the password is performed. This operation applies encryption algorithms, such as the series of secure hash algorithms, to perform irreversible one-way encryption processing on the associated data to generate a fixed-length traceable credential. The key to this conversion operation is that the length of the generated traceable credential needs to meet the standard capacity requirements of the copper pipe quality traceable code. For example, if the standard of the copper pipe quality traceable code is 256 bits or 512 bits, the encryption algorithm needs to ensure that the output of the traceable credential is the same length standard each time, in order 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 traceable code, the identity features of the corresponding copper pipe blank in the current processing stage are embedded. The identity features of the copper pipe blank can be a unique marker code, such as a two-dimensional code, a multi-bit code, a radio frequency identification tag information, etc. These identity features and processing parameter data participate in the one-way operation of the password, ensuring that the generated traceable credential not only contains the production parameters, but also solidifies the corresponding blank identity information, achieving the goal of tracing to specific materials. Considering the stability problem under complex industrial conditions such as device vibration and electromagnetic interference, data calibration and anti-interference design are introduced to ensure the unique correspondence between the conversion result and the input data. For example, before performing the one-way conversion operation, the real-time calibration module of the data acquisition device automatically corrects the sensor reading deviation caused by device vibration. The arithmetic mean value of the same production parameter is used to filter out noise data caused by electromagnetic interference. In addition, the redundancy design of the encryption algorithm can further enhance the stable mapping relationship between the input data and the output result. For example, a time stamp or a redundancy error correction code is added to the input data, making the generated traceable credential more reliable.

[0075] Further, as Figure 3As shown, the tree-shaped verification structure comprises:

[0076] The tree-shaped verification structure matches the quantity of the pipe blanks of the copper pipe production batch with the layer depth, so that the quantity of the leaf nodes is equal to the total quantity of the pipe blanks produced by the melting and casting furnace on the day;

[0077] The leaf nodes in the tree-shaped verification structure store the end traceability certificate of the copper pipe quality certificate chain of each product;

[0078] The non-leaf nodes in the tree-shaped verification structure are generated by splicing the traceability certificates of the two child nodes and then performing a one-way operation, and the characteristics of the copper pipe surface quality detection results are injected in the one-way operation, so that the root certificate is fused with the defect information;

[0079] The root certificate is the traceability certificate of the topmost non-leaf node, and is stored in the first sub-storage library, and the original process parameters and the corresponding tree-shaped node data are stored in the second sub-storage library.

[0080] As a preferred embodiment of the above-mentioned embodiment, the tree-shaped verification structure aims to efficiently organize and manage the copper pipe quality certificate chain to optimize data processing and traceability efficiency. First, the structure layer depth design is matched according to the number of copper pipe blanks in the production batch, so that the total number of pipe blanks melted in the furnace on the same day is equal to the number of leaf nodes. This design ensures that each pipe blank corresponds to a leaf node, maintaining clear organization and structure of data. In the tree-shaped verification structure, each leaf node is responsible for storing the end traceability certificate of the copper pipe quality certificate chain of a certain product. These traceability certificates are the last result generated from the production process step by step, representing the final quality state. This storage mechanism ensures that the quality information of each copper pipe is traceable and persistent, and easy to locate, achieving precise traceability. For non-leaf nodes, the generation process involves obtaining traceability certificates from two direct child nodes for splicing and processing through one-way operation. In this process, the characteristics of copper pipe surface quality detection results are injected into one-way operation, combining them with production quality data. This improvement integrates additional quality inspection information, such as detected surface defect type, location, size, etc., into the level of the traceability structure, providing a more comprehensive integration of product quality status into the hierarchy of the traceability structure. As for the highest layer of the tree structure, i.e., the root certificate, it is a kind of traceability certificate generated by the topmost non-leaf node. The root certificate is a comprehensive quality representative integrated through the above process and stored in the first sub-storage repository. This sub-storage repository is responsible for saving all root certificates for final integrity verification and batch quality reporting. Its design is suitable for machine intuitive recognition and fast verification, supporting high-speed batch processing and monitoring. At the same time, the second sub-storage repository stores the original process parameters and corresponding tree node data, ensuring the relevance and consistency of basic production information and the verification structure. This allows the initial production parameters to be combined with the final quality information, providing a data foundation for quality analysis and improvement. The two sub-storage repositories work together to form a complete information management and retrieval mechanism, supporting efficient implementation of copper pipe quality management engineering. The preferred implementation of the tree-shaped verification structure manages quality information in layers, ensuring the secure storage of production data and flexible traceability of industrial batches.

[0081] Further, the copper pipe blanks corresponding to adjacent leaf nodes are arranged continuously in physical space, and the end of the traceability certificate stored by the adjacent leaf nodes contains the cooling zone code of the annealing process. The one-way operation of adjacent leaf nodes is forced to embed the zone topology relationship code, so that the generated parent node certificate carries the spatial adjacent characteristics of copper pipe production arrangement.

[0082] As a preferred embodiment of the above, in the process of copper pipe production quality traceability, the design of the tree verification structure not only considers the processing and storage of data, but also emphasizes the relationship of physical space. The copper pipes corresponding to the adjacent leaf nodes are arranged continuously in physical space, which means that in the actual production environment, these copper pipes are arranged in sequence according to the cooling zone position 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 storage method, each leaf node stores the end of the quality certificate chain of a copper pipe, containing the cooling zone position code of the annealing process, which is an important process parameter reflecting the position of the copper pipe in the cooling process and its relative heat treatment environment. These codes can help determine the specific cooling state of the copper pipe in production, and further infer the microscopic changes of material performance, ensuring that the copper pipe quality meets the standard requirements. In order to incorporate the spatial adjacent feature of the copper pipe in the physical arrangement into the overall traceability system, the zone 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 a high-security algorithm that is not easy to tamper with, to ensure that the parent node certificate generated after processing the splicing data of two adjacent leaf nodes can reflect their physical proximity. These zone topology relationship codes indicate the spatial arrangement of the copper pipe in the production process, such as its specific arrangement order and proximity, which has important reference value in quality verification. The generated parent node certificate is not only the summary and processing result of the data of two child nodes, but also carries the spatial adjacent feature of the copper pipe production arrangement. This design means that any related query and verification through the parent node certificate can not only obtain the quality information of the copper pipe, but also analyze its specific environmental impact factors in the production link. By considering the zone code and spatial adjacency feature of the copper pipe, potential quality problems such as local faults or performance decline of production equipment can be identified in advance. In order to ensure accurate transmission of the topology relationship in a complex equipment environment, corresponding verification and confirmation steps are designed, such as cross-verification of multiple spatial codes and automatic calibration function of the equipment, to improve the accuracy and reliability of spatial data. This spatial code and its verification mechanism provides an additional perspective for copper pipe production quality management, enabling traceability to more subtle production details, thereby improving the efficiency and accuracy of the overall quality traceability system.

[0083] Further, 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 raw 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 a cross-subsystem communication protocol.

[0084] As a preferred embodiment of the above, in the copper pipe quality traceability system, the first sub-repository is constructed as a blockchain network, which aims to store the root verification code by taking advantage of the decentralized, highly transparent and tamper-proof nature of the blockchain itself. The write operation in the blockchain network must pass through the 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 throughout the network. During the operation process, nodes reach an agreement 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 entered 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 raw production data in chronological order according to each process stage. These data include but are not limited to production parameters, equipment status, batch information, and node data corresponding to the tree-shaped verification structure. The advantage of time series databases is that they can efficiently handle massive time series data, support fast data retrieval and complex analysis requirements, and meet the functional requirements of real-time monitoring and historical data traceability. 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-shaped verification structure to the first sub-repository. This synchronization not only ensures the accurate correspondence between the blockchain record and the original data, but also maintains the overall consistency and integrity of the system when data is updated. In the implementation process, this protocol can support multi-node distributed data exchange and update across databases, solve the challenges of data heterogeneity and cross-domain communication, and provide continuous data consistency guarantee. This design realizes the combination of the advantages of the two sub-repositories. The blockchain part of the first sub-repository provides a high protection level verification scheme for copper pipe quality traceability, while the time series database in the second sub-repository ensures efficient storage and management of detailed production data. At the same time, through the quasi-real-time data synchronization mechanism, the copper pipe quality information can be consistently and accurately managed in the entire system, thereby improving the reliability and operational efficiency of the overall traceability system.

[0085] Further, when the cross-subsystem communication protocol performs synchronization, it includes:

[0086] Generating an incremental tree structure in the second sub-repository, which contains the copper pipe quality certificate chain of the newly added product;

[0087] Extracting the local root verification code of the incremental tree structure;

[0088] Combining the local root verification code with the historical root verification code of the first sub-repository to calculate a new root verification code;

[0089] When the new root verification code passes the network consensus verification, update the root verification code of the first sub-repository.

[0090] As a preferred embodiment of the above, in the quality traceability process of copper pipe production, as new product production and test data are continuously added, the data storage needs to be updated periodically to maintain its integrity and timeliness, and an incremental tree structure is generated for the new product in the second sub-repository, i.e., the time series database cluster, which contains the copper pipe quality certificate chain of the new product. Since the production process does not stop, the incremental processing of data is the basis for system update, and this incremental tree structure design can better adapt to real-time production data changes, quickly capture and integrate new product quality information; extracting the local root certificate of the incremental tree structure is a key step in updating synchronization. The local root certificate is a comprehensive quality identifier generated by the one-way operation of the tree structure of the new product. By extracting the operation, the integrated quality certificate of all new data is obtained, which comprehensively evaluates the new part of the copper pipe, so that the new data can be consistent with the existing data system; next, the local root certificate is combined with the existing historical root certificate in the first sub-repository to generate a new root certificate, which is an important integration process. Through the merging calculation process, it can ensure the ordered combination of all historical data and new data, reflect the overall quality status of all products, and the merging calculation can use the hash algorithm in cryptography or other secure intensive operations to ensure that the integration process of data is not tampered with or errors occur; finally, when the new root certificate is generated, it needs to be strictly confirmed through the consensus verification program of the blockchain network. Consensus verification involves the participation of multiple nodes, relying on the pre-defined verification mechanism to ensure the authenticity and accuracy of the new root certificate. After the consensus verification, the root certificate of the first sub-repository is updated, which 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.

[0091] Further, as shown in Figure 4 Verifying the continuity of the copper pipe quality certificate chain includes:

[0092] Starting from the traceability certificate of the last process of the target product, the identification of the previous traceability certificate is obtained by performing analysis on the current traceability certificate in reverse, and the corresponding previous traceability certificate and process parameters are called from the second sub-repository. Verify whether the splicing value operation result of the previous traceability certificate and the current process parameters matches the current traceability certificate.

[0093] As a preferred embodiment of the above embodiment, in the quality traceability process, verifying the continuity of the copper pipe quality certificate chain is a key step to verify whether the verification task can be carried out throughout the entire production process. In order to achieve this, starting from the last process of the target product, the traceability certificate of this process is located first. This certificate is obtained through one-way operation and contains all important quality parameters of the process. Next, the operation of analyzing the current traceability certificate is performed in reverse step by step to obtain the identification of the previous traceability certificate. The identification can be a specific code or mark of the previous process stage, representing the position of a process stage in the password chain. The analyzed identification is used to index the relevant data in the second sub-repository, which is the time sequence database. All detailed data of the process stages, including the previous traceability certificate and its production parameters, are stored in time sequence. By calling these data, the process details of the previous stage can be restored to prepare for subsequent verification. When verifying, the operation is performed on the splicing value of the previous traceability certificate and the current process stage. The splicing value is not just a simple addition of numerical values, but rather a combination of the current process parameters and the previous traceability certificate in a specific order and logic to form a whole data to be verified. When performing the encryption 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 password chain. If a mismatch is found during the verification process, further checking should be performed to analyze the source of data failure or error, such as process record error, data transmission anomaly or equipment failure. Through this strict verification mechanism, the reliability of the data in each link of the password chain can be effectively guaranteed, and the quality control information of each link can be accurately traced to the correct process stage. This verification method not only ensures that the copper pipe quality traceability can be carried out completely, but also identifies potential defects in the production process. Through continuous verification and optimization, the quality monitoring mechanism of copper pipe production can be improved efficiently, and problems can be found quickly for timely adjustment.

[0094] Embodiment two;

[0095] Based on the same inventive concept as the copper pipe quality traceability data storage method in the preceding embodiment, the present application also provides a copper pipe quality traceability data storage system. The system comprises:

[0096] A stage division module divides the copper pipe production process into a plurality of processing stages according to the process nodes, and groups the plurality of processing stages into a process stage sequence.

[0097] A certificate conversion module collects copper pipe production parameters for each processing stage and converts the copper pipe production parameters into a unique traceability certificate.

[0098] A chain generation module generates a copper pipe quality certificate chain by merging the traceability certificates of the processing stages step by step based on the process stage sequence.

[0099] The tree verification module generates a tree verification structure by taking the copper pipe quality certificate chain of multiple unit products as a storage path, and the tree verification structure traces the storage path based on a cross-subsystem communication protocol;

[0100] The quality traceability module locates the storage path of the copper pipe production parameters corresponding to the unit product according to the tree verification structure in response to a copper pipe quality traceability request, and obtains the copper pipe production parameters corresponding to the traceability certificate.

[0101] The above adjustment system in the application can effectively realize a copper pipe quality traceability data storage method, and the technical effects are as described in the above embodiments, which will not be repeated here.

[0102] Further, the tree verification module comprises:

[0103] The node calculation unit matches the pipe blank quantity of the copper pipe production batch with the depth of the tree verification structure, so that the number of leaf nodes is equal to the total number of pipe blanks produced by the melting furnace on the same day;

[0104] The certificate storage unit stores the end traceability certificate of the copper pipe quality certificate chain of each product in the leaf node of the tree verification structure;

[0105] The non-leaf node unit generates the non-leaf node in the tree verification structure by splicing the traceability certificates of its two child nodes and performing one-way operation, and injects the characteristics of the copper pipe surface quality detection result into the one-way operation to make the root certificate fuse the defect information;

[0106] The data storage unit stores the traceability certificate of the root certificate, which is the traceability certificate of the topmost non-leaf node, in the first sub-storage library, and stores the original process parameters and the corresponding tree node data in the second sub-storage library.

[0107] Similarly, the above optimization scheme of the system can also correspondingly realize the optimization effect of the method in Embodiment 1, which will not be repeated here.

[0108] Although the present application is described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the present application. Accordingly, the specification and drawings are merely illustrative of the exemplary embodiments of the present application, and are considered to cover any and all modifications, variations, combinations or equivalents that fall within the scope of the present application. Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalents, the present application is intended to include these modifications and variations.

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, locating the storage path of the copper tube production parameters of the corresponding unit product according to the tree-shaped verification structure, and obtaining the copper tube production parameters corresponding to the traceability certificate; 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.

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 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.

5. The copper tube quality traceability data storage method according to claim 1 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.

6. The copper tube quality traceability data storage method according to claim 5 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.

7. 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 credentials, 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.

8. 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, in response 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; 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

  • Anti-counterfeiting tracing method for steel pipe and anti-counterfeiting steel pipe

    CN118246934A

  • Food information tracing method and system based on Internet data

    CN120218958A