A Blockchain-Based Method and System for Traceability Management of Raw Materials for Belt Pulleys

By constructing a parent-child batch relay chain on the blockchain and injecting atomic tokens, the problem of raw material batch identifier update sequence depending on local nodes is solved, and the stable connection of batch flow path is realized, ensuring the accuracy of traceability management and the credibility of data.

CN121599682BActive Publication Date: 2026-04-03LONGYAN ASSET AUTO PARTS MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-01-28
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

In blockchain-based raw material traceability management, the batch identification update sequence of raw materials is prone to relying on the timestamps or cache order of local nodes, which can lead to misalignment of chain segment splicing logic, resulting in duplicate identification or lost paths, disrupting batch continuity, and affecting the accuracy and stability of traceability management.

Method used

By extracting time anchors and sequence differences to generate parent-child batch mapping relationships, constructing parent-child batch relay chains and injecting atomic tokens, establishing a dual-track on-chain buffer process, executing breathing-style phase traction control, eliminating phase differences, and ensuring stable connection of batch flow paths on the time axis.

Benefits of technology

It enables the synchronous locking of time and inheritance relationships during the batch flow of raw materials, avoids batch identification misalignment, ensures data traceability and consistency, and improves the data integrity and reliability of the traceability chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121599682B_ABST
    Figure CN121599682B_ABST
Patent Text Reader

Abstract

This invention discloses a blockchain-based method and system for traceability management of raw materials for pulleys, relating to the field of manufacturing supply chain management technology. The method includes the following steps: throughout the entire raw material traceability management process, from the raw material warehousing stage to the raw material feeding stage, time anchors and sequence differences are extracted; the flow nodes corresponding to each raw material batch are recorded; and a time-series anchoring list corresponding to the mapping relationship between parent and child batches is generated based on the time anchors and sequence differences. This invention achieves time and inheritance synchronization locking of the raw material batch flow process through time anchor and sequence difference extraction, parent-child batch relay chains, and the construction of atomic token sequences, ensuring continuous and consistent on-chain data. Through dual-track on-chain buffering and breathing-style phase traction control, the phase difference of batch identifiers is eliminated, enabling adaptive convergence of chain segment splicing, thus improving the temporal stability and reliable integrity of traceability data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of manufacturing supply chain management technology, specifically to a blockchain-based method and system for tracing and managing the source of raw materials for pulleys. Background Technology

[0002] Belt pulley raw material traceability management based on blockchain and big data processing refers to a management method that utilizes the decentralized, immutable, and traceable characteristics of blockchain's distributed ledger, combined with the efficient analysis and correlation mining capabilities of big data processing, to record and verify information throughout the entire process of raw material production, from procurement, transportation, warehousing, processing to delivery. By generating a unique digital identifier at each stage and storing raw material batch information, supplier data, test reports, and flow records on the blockchain, and then using big data processing to achieve multi-dimensional data aggregation analysis and risk prediction, multi-node synchronization and real-time sharing of data are achieved, constructing a trustworthy, transparent, and counterfeit-proof raw material traceability system. This method can not only track the source and quality status of raw materials used in belt pulleys, but also quickly locate the responsible link when quality problems occur, improving the visualization and management accuracy of the manufacturing supply chain.

[0003] Existing technologies have the following shortcomings: In existing technologies, raw materials typically need to be split or merged after entering the warehouse, based on production rhythm, process requirements, or inventory strategies. However, in blockchain-based raw material traceability management, the identifier update sequence often relies on the timestamps or cache order of local nodes. When the order of the original batches is not strictly locked, logical misalignments in chain segment splicing are easily caused. Once this problem occurs, the records of raw material flow on the blockchain will overlap or break, manifesting as some raw materials being repeatedly identified on the chain or losing their corresponding paths, leading to false flow directions or traceability blind spots in the traceability chain. Such anomalies not only undermine the batch continuity principle upon which existing technologies rely but also cause subsequent quality traceability, responsibility determination, and risk analysis processes to lose their data credibility foundation, seriously affecting the accuracy and stability of blockchain-based raw material lifecycle management.

[0004] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a blockchain-based method and system for tracing and managing raw materials for pulleys, in order to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a blockchain-based method for tracing and managing the raw materials of pulleys, comprising the following steps:

[0007] Throughout the entire process of raw material traceability management, time anchors and sequence differences are extracted from the raw material warehousing stage to the raw material feeding stage. The flow nodes corresponding to the raw material batches are recorded, and a time-series anchor list corresponding to the mapping relationship between the parent batch and the child batch is generated based on the time anchors and sequence differences.

[0008] A parent-child batch relay chain is constructed based on the time-series anchored list. The parent-child batch relay chain is used to solidify the raw material batch splitting relationship and the raw material batch merging relationship. An inheritance guide index is generated based on the parent-child batch relay chain.

[0009] Based on the inheritance guide index, a single-use atomic token is injected during each raw material batch splitting process and each raw material batch merging process. The boundary relationship between the parent batch and the child batch is locked through the atomic token, forming an atomic token sequence corresponding to the inheritance guide index.

[0010] A dual-track on-chain buffer process is established based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track.

[0011] Based on the blockchain segment splicing draft, a breathing-style phase traction control is implemented. The phase difference between raw material batch identifiers is eliminated by time slot compression, enabling adaptive convergence of the blockchain segment splicing results.

[0012] Preferably, the steps for extracting time anchors and sequence differences and generating a time-series anchoring list from the raw material warehousing stage to the raw material feeding stage are as follows:

[0013] A warehousing event triggering mechanism is set up during the raw material warehousing stage. Based on the warehousing event number, the supply source, transportation batch number, arrival time, warehousing location number, environmental parameters, inspection report number, operator identification and warehousing confirmation time of the raw materials are recorded, and a time anchor is generated based on the warehousing confirmation time.

[0014] During the raw material storage and production preparation stages, the operation sequence of each flow node is extracted, and the sequence difference is calculated based on the occurrence time of the node event and the time anchor interval. The node number, event type, operator identification, and process step identification are recorded.

[0015] Based on time anchors and sequence differences, the flow nodes of raw material batches are continuously recorded, and the parent batch number and child batch number of splitting and merging events are registered accordingly.

[0016] Generate a time-series anchor list between parent and child batches based on all flow records, and establish a mapping relationship between parent and child batches based on the time anchor number and sequence position difference.

[0017] Preferably, the steps for constructing a parent-child batch relay chain based on the time-series anchored list and generating an inheritance guide index are as follows:

[0018] Based on the time-series anchor list, the mapping records of parent batch number and child batch number are extracted and collected, and parent batch relationship set and child batch relationship set are established respectively. The time anchor number, sequence difference, flow node number and node occurrence time are recorded.

[0019] Construct a parent-child batch relay chain based on the parent batch relationship set and the child batch relationship set, and establish a chain connection record with the time anchor number as the time connection benchmark, the sequence difference value as the order basis, and the flow node number as the connection position;

[0020] The splitting and merging relationships are solidified through the parent-child batch relay chain, and a connection identifier is generated for each connection record and bound to the parent batch number, child batch number, time anchor number and operation information;

[0021] An inheritance guide index is generated based on the connection records in the relay chain. The time position and direction relationship of the batch inheritance path are defined based on the connection identifier, time anchor number, sequence difference and flow node number.

[0022] Preferably, each inheritance guide record in the inheritance guide index is arranged sequentially based on the difference between the parent batch sequence and the difference between the child batch sequence. In the splitting scenario, the inheritance sequence number is generated based on the difference between the parent batch sequence and the child batch sequence number in the merging scenario. This ensures that the inheritance paths between the parent batch and the child batch are arranged continuously in the time dimension and maintains the consistency of the inheritance direction.

[0023] Preferably, the steps for injecting a single-use atomic token based on the inheritance guide index and generating an atomic token sequence are as follows:

[0024] Based on the inheritance guide index, an atomic token injection list is established, recording the parent batch number, child batch number, time anchor number, sequence difference, flow node number, node occurrence time, inheritance direction and inheritance sequence number, and arranged in chronological order;

[0025] When a batch of raw materials enters the splitting or merging stage, a single-use atomic token is generated based on the atomic token injection list, and a one-to-one binding relationship is established between the atomic token and the inheritance guide index.

[0026] After completing the splitting or merging operation, the boundary relationship between the parent batch number and the child batch number is locked based on the flow node number, and the locking time and locking operation information are recorded.

[0027] Based on the inheritance sequence number and time anchor number of the inheritance guide index, all locked atomic tokens are arranged in chronological order to generate an atomic token sequence corresponding to the inheritance guide index.

[0028] Preferably, during the generation and locking of atomic tokens, different token binding strategies are executed for splitting events and merging events according to the event type. In splitting events, independent tokens are generated for each sub-batch number using the parent batch number as the primary key. In merging events, independent tokens are generated for each parent batch number using the sub-batch number as the primary key. This ensures that the boundary locking of different batches in multi-directional flow has a unique correspondence.

[0029] Preferably, the steps for establishing a dual-track on-chain buffer process based on atomic token sequences and generating a chain segment splicing draft are as follows:

[0030] A dual-track on-chain buffer structure is established based on the atomic token sequence. A front-track buffer channel and a back-track buffer channel are created in each buffer unit, and the time window range is set using the atomic token number as the binding index.

[0031] Collect new identification data of raw material batches in the front rail buffer channel, generate batch identification records based on parent batch number and child batch number and bind them with atomic token number;

[0032] Maintain the temporal continuity of the parent-child batch relay chain in the rear rail buffer channel, record the connection information between the parent batch termination state and the child batch start state, and generate a connection record.

[0033] Based on the data correspondence between the front and rear rail buffer channels, the new identification record and the relay chain record are integrated to generate a chain segment splicing draft, and a sorting index is established based on the time anchor number and inheritance sequence number.

[0034] Preferably, during the generation of the chain segment splicing draft, the new identifier records collected by the front rail buffer channel and the relay chain records maintained by the back rail buffer channel are integrated one-to-one through atomic token numbers, and arranged according to the time order of the parent batch time anchor number and the child batch time anchor number, so that each parent-child batch inheritance relationship forms a continuous time connection structure in the chain segment splicing draft, ensuring the orderly alignment and logical continuity of the on-chain data in the time dimension.

[0035] Preferably, the steps for performing breathing-type phase traction control based on the chain segment splicing draft and achieving adaptive convergence of the chain segment splicing results are as follows:

[0036] Based on the chain segment splicing draft, a time mapping environment for respiratory phase traction is established, a time mapping list and a time interval distribution table are generated, and a respiratory regulation number is assigned to each chain segment;

[0037] Phase offset identification is performed based on the respiratory control number, the time offset corresponding to the parent batch number and the child batch number is recorded, and a phase control list is generated.

[0038] According to the phase control list, respiratory phase traction control is performed, and the time adjustment of the contraction and expansion phases is performed alternately to gradually reduce the phase difference between chain segments;

[0039] After the breathing phase traction is completed, the time slot compression operation is performed. The time positions of the chain segments are rearranged according to the adjusted time anchor numbers, and the chain segment splicing result set is generated and written into the blockchain data structure.

[0040] The blockchain-based raw material traceability management system for pulleys includes a time-series anchoring module, a batch inheritance module, a boundary token module, a dual-track buffer module, and a phase convergence module.

[0041] The time-series anchoring generation module extracts time anchors and sequence differences from the raw material warehousing stage to the raw material feeding stage throughout the entire raw material traceability management process. It records the flow nodes corresponding to the raw material batches and generates a time-series anchoring list corresponding to the mapping relationship between the parent batch and the child batch based on the time anchors and sequence differences.

[0042] The batch inheritance module constructs a parent-child batch relay chain based on the time-series anchored list. It solidifies the raw material batch splitting relationship and raw material batch merging relationship through the parent-child batch relay chain and generates an inheritance guidance index based on the parent-child batch relay chain.

[0043] The boundary token module, based on the inheritance guide index, injects a single-use atomic token during each raw material batch splitting process and each raw material batch merging process. The atomic tokens lock the boundary relationship between the parent batch and the child batch, forming an atomic token sequence corresponding to the inheritance guide index.

[0044] The dual-track buffer module establishes a dual-track on-chain buffer process based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track.

[0045] The phase convergence module performs breathing-style phase traction control based on the chain segment splicing draft. It eliminates the phase difference between raw material batch identifiers through time slot compression, enabling adaptive convergence of the chain segment splicing results in the blockchain.

[0046] The technical effects and advantages provided by the present invention in the above technical solution are as follows:

[0047] This invention introduces a time anchor and sequence difference extraction mechanism throughout the entire process from raw material warehousing to feeding, and constructs a parent-child batch relay chain and atomic token sequence. This achieves synchronous locking of the time relationship and inheritance relationship during the raw material batch flow, ensuring the uniqueness and continuity of the boundary states of batch splitting and merging in the blockchain. This method ensures that each raw material flow path maintains a stable connection logic on the timeline, avoiding problems such as batch identifier misalignment, path breakage, and duplicate identification, thereby guaranteeing the traceability and consistency of on-chain data in a multi-node concurrent environment.

[0048] This invention establishes a dual-track on-chain buffer process and implements breathing-style phase traction control, enabling the collection of new identifiers for raw material batches and the maintenance of the parent-child batch relay chain to be coordinated in the time dimension. Furthermore, it eliminates phase differences in chain segment splicing through time slot compression, achieving adaptive convergence of blockchain records. This method effectively improves the temporal stability and splicing accuracy of on-chain data, forming a closed loop in data recording, structural connection, and time alignment of the raw material traceability chain, thereby enhancing the integrity and reliability of traceability data throughout the entire manufacturing process. Attached Figure Description

[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0050] Figure 1 This is a flowchart of the blockchain-based raw material traceability management method for pulleys according to the present invention.

[0051] Figure 2 This is a schematic diagram of the modules of the blockchain-based raw material traceability management system for pulleys according to the present invention. Detailed Implementation

[0052] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that the description of this disclosure will be more complete and fully convey the concept of the exemplary embodiments to those skilled in the art.

[0053] This invention provides, for example Figure 1 The blockchain-based raw material traceability management method for pulleys shown includes the following steps:

[0054] Throughout the entire process of raw material traceability management, time anchors and sequence differences are extracted from the raw material warehousing stage to the raw material feeding stage. The flow nodes corresponding to the raw material batches are recorded, and a time-series anchor list corresponding to the mapping relationship between the parent batch and the child batch is generated based on the time anchors and sequence differences.

[0055] To ensure the continuity of raw material batch flow throughout the entire process from warehousing to material feeding, a time anchor and sequence difference method is used to fully record the flow nodes of raw material batches at each production stage. Based on the time anchor and sequence difference, a time-series mapping relationship between parent and child batches is established, generating a time-series anchor list. This provides a stable time constraint foundation for the construction of subsequent batch relay chains. The specific implementation steps are as follows:

[0056] During the raw material receiving stage, a receiving event trigger mechanism is set up to extract data for each batch of raw materials receiving operations. Whenever raw materials arrive at the factory or storage area, the receiving management terminal first generates a unique receiving event number and records the supply source, purchase contract number, transportation batch number, arrival time, receiving warehouse location number, warehouse temperature and humidity environmental parameters, inspection report number, receiving operator identification, and receiving confirmation time for that batch of raw materials. Subsequently, the receiving confirmation time is used as the time anchor for that batch. This time anchor links all the above-mentioned receiving-related information together, forming a traceable time benchmark for that batch on the blockchain. Each time anchor corresponds to a unique raw material batch number and is stored in a time anchor data structure. This data structure includes fields such as time anchor number, raw material batch number, supplier identification, transportation batch number, receiving location, receiving time, operator identification, and quality inspection number, thus ensuring that each batch has complete time and source information when entering the production system. The key to this process is that the time anchor not only records the time point, but also carries the context information corresponding to that time point, so that all subsequent operations involving this batch can be traced back to the same benchmark in the time dimension.

[0057] During the raw material warehousing and production preparation phase, the sequence difference is calculated by extracting the operational sequence of the batch at each flow node. Each flow node corresponds to a specific operational event, such as warehousing transfer, inspection and verification, batching and weighing, pre-processing, or material preparation. When each node event occurs, the system records the node number, event type, occurrence time, operator identifier, process step identifier, warehousing location identifier, material status parameters, and the associated previous node number. Subsequently, the sequence difference is calculated based on the time interval between the node's time information and the warehousing time anchor. This sequence difference characterizes the relative positional order of the node with respect to the warehousing event, thus forming a temporal sequence of raw materials throughout the entire traceability cycle. To ensure consistency of temporal data across different industries, each node record includes a sequence difference field, which explicitly records the time offset of the node occurrence, the preceding node number, and the event execution sequence identifier. In this way, the sequential structure of raw materials from warehousing to material preparation can be accurately reflected in the time dimension, ensuring a one-to-one correspondence between each event and a time anchor.

[0058] Based on the extraction results of time anchors and sequence differences, the flow nodes of raw material batches are continuously recorded and archived. Each flow record uses a time anchor as the primary index and a sequence difference as the sorting basis, arranged sequentially according to the order of event occurrence. For each batch of raw materials, the record content includes batch number, node number, event type, event trigger time, operator identifier, equipment identifier, operation location, material status change information, input material number, output material number, and responsibility unit information. If a batch of raw materials is split into multiple sub-batches during the production process, the parent batch identifier corresponding to the warehousing time anchor is used as the superior related item in the record, and the sub-batch numbers generated after splitting are used as derived items. The flow record also indicates the node number where the split occurred, the splitting time, the splitting quantity, and the unique identifier of each sub-batch after splitting. Similarly, when multiple batches of raw materials are merged into a new batch at a certain node, the parent batch numbers involved in the merge are recorded in the merge node, and a new time anchor identifier is created for the generated merged batch to maintain the temporal continuity of the merge relationship. In this way, all events involving splitting and merging can obtain a clear hierarchical relationship on the timeline, and each batch evolution path can be indexed to a specific flow node through time anchors, thus forming a complete batch evolution trajectory.

[0059] After obtaining all flow node records, a time-series anchoring list between parent and child batches is generated based on the correspondence between time anchors and sequence differences. The time-series anchoring list uses batch numbers as its foundation and time anchor numbers and sequence differences as its primary indexes, listing the mapping relationships between parent and child batches in chronological order. Each record in the list includes the parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated node number, node time, node type, flow direction, and batch status information. During list generation, the time anchors of each pair of child and parent batches are paired, and their adjacent sequence difference intervals on the timeline are calculated to determine their connection position in the time dimension. In this way, a strict parent-child batch time-series mapping structure is formed in the list, accurately reflecting the time evolution relationship of each batch from warehousing to material delivery. Structurally, the list is organized as a doubly linked list, allowing for both top-down tracking of raw material flow and bottom-up tracing of origin.

[0060] A parent-child batch relay chain is constructed based on the time-series anchored list. The parent-child batch relay chain is used to solidify the raw material batch splitting relationship and the raw material batch merging relationship. An inheritance guide index is generated based on the parent-child batch relay chain.

[0061] To maintain temporal continuity and logical consistency between batches even when raw material batches are split or merged, a parent-child batch relay chain is constructed based on a time-series anchoring list. This solidifies the mapping relationship between each parent and child batch using a fixed connection structure, and an inheritance guide index is generated on this basis to clearly record the direction, boundaries, and temporal connections of the batch evolution path. The specific implementation steps are as follows:

[0062] Based on the established parent-child batch mapping relationships in the time-series anchoring list, each mapping record is extracted and aggregated to form a basic data set that facilitates the construction of a relay chain. In this step, for each time-series anchoring list record, the following are extracted: parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, flow node occurrence time, node operation type, batch status information, and flow direction information. After extraction, using the parent batch number as the aggregation primary key, all child batch mapping records corresponding to the same parent batch are merged into a parent batch relationship set, and the corresponding child batch mapping records are arranged in chronological order within each parent batch relationship set. Simultaneously, using the child batch number as the primary key, a reverse child batch relationship set is established, merging all parent batch mapping records from the same child batch source into a child batch relationship set, and recording the time anchor number and sequence difference corresponding to each parent batch in this set. For records involving splitting operations, the parent batch number remains unchanged, and all corresponding sub-batch numbers are listed as subordinate entries. Each sub-batch entry is labeled with its sub-batch time anchor number, sub-batch sequence difference, and the node number where the split occurred. For records involving merging operations, the sub-batch number remains unchanged, and all parent batch numbers are listed as source entries. Each parent batch entry is labeled with its parent batch time anchor number, parent batch sequence difference, and the node number where the merge occurred. Through these operations, each mapping relationship, after aggregation, forms a complete time-series correspondence structure from parent batch to sub-batch, or from multiple parent batches to a single sub-batch, providing complete time and associated node information for the construction of subsequent relay chains.

[0063] Based on the parent batch relationship set and child batch relationship set formed by aggregation, a parent-child batch relay chain is constructed. The parent-child batch relay chain uses time anchor numbers as the time connection benchmark, sequence difference as the order basis, and associated flow node numbers as the connection positions. Continuous batch connection is achieved by establishing chain-like connections between parent and child batches on the timeline. Specifically, when constructing the splitting scenario, the parent batch number is used as the upstream endpoint of the chain, and each corresponding child batch number is used as the downstream endpoint. A parent-child connection record is created between the parent and child batch numbers, and this record contains the parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, splitting node number, splitting node occurrence time, splitting node type, and the number of child batches after splitting. This ensures that each connection record accurately reflects the starting point of the parent batch splitting behavior in time, its spatial position, and its structural derivation relationship. For constructing the merged scenario, each parent batch number is used as the upstream endpoint, and the corresponding child batch number is used as the downstream endpoint. Multiple connection records are created, each containing the parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, merge node number, merge node occurrence time, merge node type, and the number of parent batches before the merge. This allows the convergence relationship of multiple parent batches to the same child batch to be reflected in the relay chain. After writing all connection records, these chain records from parent batches to child batches are arranged in chronological order of time anchor numbers, forming a continuous batch relay chain structure from the raw material warehousing stage to the material feeding stage.

[0064] The splitting and merging relationships of raw material batches are solidified through a parent-child batch relay chain, transforming the batch connection relationship from a dynamic event record into a static chain structure. The solidification process involves generating a unique connection identifier for each connection record in the parent-child batch relay chain and binding this identifier to the corresponding parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, node occurrence time, node type, operator number, and operation location number. For splitting relationships, during solidification, multiple connection records under the same parent batch number are grouped and marked with the same splitting node number, maintaining a logically fixed one-to-many structure between the parent batch number and multiple child batch numbers. Each splitting connection record maintains an independent number in the relay chain, and its subordinate parent batch number and corresponding child batch number are indicated in the fields. For merging relationships, during solidification, multiple connection records under the same child batch number are grouped and marked with the same merging node number, maintaining a logically fixed many-to-one structure between multiple parent batch numbers and the same child batch number. Each merge connection record has a unique number and records the corresponding parent batch number and target sub-batch number. Through this solidification method, each parent-child connection in the relay chain becomes a uniquely referenced temporal connection unit, and the upper and lower batch boundaries of all split and merge events are fixed, ensuring that the temporal and logical continuity between different batches is not disrupted.

[0065] After the parent-child batch relay chain is solidified, an inheritance guidance index is generated based on the structural information of each connection record in the chain. This index guides the batch inheritance path calls during subsequent chain segment splicing. The inheritance guidance index uses the connection identifier as the primary key, the parent batch number and child batch number as index dimensions, the parent batch time anchor number and child batch time anchor number as time positioning information, the parent batch sequence difference and child batch sequence difference as sequence positioning information, and the associated flow node number and node occurrence time as event positioning information, forming a complete inheritance guidance record. Each inheritance guidance record clearly identifies the directional relationship from the parent batch to the child batch, indicating the location and specific occurrence time of the flow node where inheritance occurs, thus defining the parent-child batch inheritance path in both time and structural dimensions. In the splitting scenario, multiple inheritance guidance records corresponding to the same parent batch number are arranged in ascending order of parent batch sequence difference, and an inheritance sequence number is written for each inheritance guidance record, ensuring a continuous sequence of inheritance paths for all sub-batches. In the merging scenario, multiple inheritance guidance records corresponding to the same sub-batch number are arranged in ascending order of parent batch sequence difference, and an inheritance sequence number is written, ensuring that the convergence paths of multiple parent batches maintain consistency in time sequence. Finally, all inheritance guidance records are sorted as a whole according to the time anchor number of the chain, forming a complete inheritance guidance index set from warehousing to material feeding. Through the generation of the above inheritance guidance index, all connection relationships in the parent-child batch relay chain are transformed into directly referenceable inheritance path data, enabling subsequent steps to accurately determine the time position and logical direction of the parent-child batch connection based on the inheritance guidance index. This achieves continuous inheritance and time alignment of raw material batches under multi-stage splitting and merging conditions, thus providing a stable temporal foundation for chain segment splicing and adaptive convergence of traceability paths.

[0066] Based on the inheritance guide index, a single-use atomic token is injected during each raw material batch splitting process and each raw material batch merging process. The boundary relationship between the parent batch and the child batch is locked through the atomic token, forming an atomic token sequence corresponding to the inheritance guide index.

[0067] To ensure the uniqueness and continuity of the boundary relationship between parent and child batches during the splitting and merging of raw material batches, and to avoid duplicate batch identification or gaps in connection, a single-use atomic token is injected based on the inheritance guide index to lock the boundary between parent and child batches. After locking, a sequence of atomic tokens corresponding one-to-one with the inheritance guide index is generated, giving the evolutionary relationship of raw material batches a uniquely identifiable boundary constraint and a sustainable time structure in the blockchain record. The specific steps are as follows:

[0068] An atomic token injection list is built based on the inheritance guide index. The inheritance guide index records the inheritance relationship between each parent batch and child batch, including the parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, node occurrence time, inheritance direction information, inheritance sequence number, operator number, operating device number, and event type information. Based on this information, each inheritance guide record is extracted one by one to form the atomic token injection list. Each record in the atomic token injection list corresponds to a specific inheritance guide path, and the record content includes the inheritance path identifier, parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, node occurrence time, inheritance direction, inheritance sequence number, event type, and effective status fields. To ensure that the atomic token injection order is consistent with the batch time order, the atomic token injection list is sorted according to the parent batch time anchor number and inheritance sequence number. For splitting scenarios, the parent batch number is used as the primary key in the list to generate an independent record entry for each child batch number. Each entry includes the child batch time anchor number and the child batch sequence difference. For merging scenarios, the child batch number is used as the primary key in the list to generate an independent record entry for each parent batch number. Each entry includes the parent batch time anchor number and the parent batch sequence difference. This ensures that each inheritance relationship forms an independent injection unit in the list, guaranteeing that subsequent atomic token generation has clear batch correspondence and time positioning information.

[0069] When a raw material batch enters the splitting or merging stage, a single-use atomic token is generated based on the contents of the atomic token injection list. For the splitting process, after the parent batch is identified as entering the splitting state by the system, all records in the atomic token injection list with the parent batch number as the primary key are read, and a unique atomic token is generated for the sub-batch number in each record. Each atomic token contains the following fields: parent batch number, sub-batch number, parent batch time anchor number, sub-batch time anchor number, parent batch sequence difference, sub-batch sequence difference, associated flow node number, node occurrence time, inheritance direction, inheritance sequence number, event type, effective status, generation time, generation operator number, generation equipment number, and batch operation description. After generation, each atomic token is bound to its corresponding inheritance guide index record, ensuring a one-to-one correspondence between atomic tokens and inheritance paths. For the merging process, when a sub-batch is identified as entering the merging generation state, all records in the atomic token injection list with the sub-batch number as the primary key are read, and a unique atomic token is generated for the parent batch number in each record. The atomic token contains field information identical to that in the splitting scenario, ensuring consistency in the record structure across different types of inheritance relationships. Each atomic token, once generated, is marked as pending locking and temporarily stored in the corresponding event's flow node dataset, awaiting the node's execution to enter the locking phase.

[0070] When a raw material batch undergoes splitting or merging during production, the system locks the boundary relationship between parent and child batches based on injected atomic tokens. The locking process is triggered by the associated flow node number recorded in the inheritance guide index. When the splitting or merging event status corresponding to a flow node is updated to complete, the system automatically reads all atomic tokens in the pending-locking state under that node and executes the locking operation item by item according to the association information in the atomic token injection list. For splitting events, the system starts from the parent batch number and sequentially locks each corresponding child batch number, updating the effective status of the atomic token from pending to locked. Simultaneously, it writes the locking time, locking node number, locking operator number, locking operation equipment number, number of locked batches, and a description of the locking operation to the token record. For merging events, the system starts from the child batch number and sequentially locks all corresponding parent batch numbers, similarly updating the effective status of the atomic tokens to locked and writing the locking time, locking node number, locking operator number, locking operation equipment number, number of parent batches participating in the merge, and an operation description. Once locked, the state of each atomic token cannot be changed again, and its corresponding inheritance path will be confirmed as a valid inheritance path. If a parent batch or child batch is split or merged again in a subsequent stage, a new inheritance path will be generated using a new atomic token, thereby preventing the reuse of old tokens or logical overlap.

[0071] After all atomic tokens for splitting and merging events are locked, all locked atomic tokens are arranged chronologically according to the inheritance sequence number and time anchor number of the inheritance guide index, generating an atomic token sequence corresponding to the inheritance guide index. The arrangement of the atomic token sequence is based on the order of the parent batch time anchor numbers as the main line and the order of the inheritance sequence numbers as the secondary line, so that each parent-child relationship forms a continuous chain in time. Each record element in the atomic token sequence includes the parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, node occurrence time, inheritance direction, inheritance sequence number, event type, effective status, locking time, locking operator number, locking operation device number, generation time, generation operator number, generation device number, operation description information, batch status information, and traceability path number. For splitting events, the atomic token sequence is represented by multiple child batch numbers under the same parent batch number arranged chronologically; for merging events, the atomic token sequence is represented by multiple parent batch numbers pointing to the same child batch number in chronological order. After generation, the atomic token sequence is recorded in the continuous data structure of the blockchain in the form of a time chain, so that each batch evolution path corresponds to a unique token record, and the generation time, locking time and inheritance path of all token records are strictly consistent.

[0072] A dual-track on-chain buffer process is established based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track.

[0073] To ensure timely collection of new identifier information for each raw material batch during the on-chain recording process, and to maintain continuity and temporal consistency in the inheritance relationship between parent and child batches, a dual-track on-chain buffer process based on atomic token sequences is established. This process involves two parallel channels: a front track for collecting new identifier data corresponding to each raw material batch, and a back track for maintaining the inheritance relationship and temporal continuity between parent and child batches. Finally, the data from the front and back tracks are integrated to form a draft chain segment. The entire process uses atomic token sequences as the execution thread, ensuring logical continuity, time traceability, and tamper-proof recording of on-chain data even in a multi-batch, multi-node parallel operation environment. The specific steps are as follows:

[0074] A dual-track on-chain buffer structure is established based on the content of the atomic token sequence. The atomic token sequence records key attributes of each batch during the inheritance process, including parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, associated flow node number, node occurrence time, inheritance direction, inheritance sequence number, event type, effective status, lock time, generation time, operator number, and operating device number. Based on this data, the system allocates a unique on-chain buffer unit for each atomic token sequence, and simultaneously creates a front-track buffer channel and a back-track buffer channel within this unit. The front-track buffer channel is used to collect the identification information of the current batch or newly generated child batch, while the back-track buffer channel is used to maintain the chain continuity on the timeline of the existing parent-child batch relationship. To ensure data coordination between the two channels, the dual-track buffer structure uses the atomic token number as the binding index, ensuring that each front-track and back-track buffer record can be referenced simultaneously during execution. Each buffer unit has a time window range, which is set according to the minimum and maximum values ​​of the parent batch time anchor number and the child batch time anchor number. This time window is used to limit the time period for data acquisition and chain maintenance, ensuring that all on-chain data is completed within a unified time sequence. Through this structured allocation method, the on-chain preparation stage of raw material batches can complete channel division at the initial moment of data generation, providing a stable execution environment for subsequent parallel data acquisition and chain updates.

[0075] The acquisition and generation of new batch identifiers for raw materials are performed in the front-track buffer channel. The front-track buffer channel is activated sequentially according to the inheritance sequence number in the atomic token sequence. For parent batches in a split state, the front-track buffer channel reads the corresponding parent batch number and child batch number information from the atomic token sequence, generating a new batch identifier record for each child batch. This batch identifier record includes the child batch number, production batch number, raw material category code, production stage number, material feeding order number, test report number, operator number, operating equipment number, acquisition time, acquisition node number, acquisition sequence difference, batch status description, quality inspection result identifier, and environmental parameter record. For child batches in a merge state, the front-track buffer channel generates new batch identifier data for each parent batch participating in the merge, based on the correspondence between the child batch number and multiple parent batch numbers in the atomic token sequence. This data includes the parent batch number, raw material combination number, merge node number, merge operation time, merged batch number, child batch time anchor number, merged status number, environmental temperature and humidity parameter number, testing personnel number, merged inspection number, and quality report index. Each batch identifier record is immediately written to the front-rail buffer after collection and bound to the corresponding atomic token number. The binding includes the atomic token number, new identifier number, collection time, collection node number, batch status number, collection operator number, collection device number, and data source number. Through this step, the front-rail buffer channel can achieve real-time collection and standardization of newly generated batch data, ensuring that the new identifier data is corresponding to the time anchor and sequence difference information at the same time as its formation, providing complete basic data for the on-chain record.

[0076] The back-end buffer channel continuously maintains the temporal continuity and inheritance structure integrity of the parent-child batch relay chain. The back-end buffer channel primarily uses the parent batch number, child batch number, inheritance direction, associated flow node number, node occurrence time, and inheritance sequence number from the atomic token sequence as its execution basis. It automatically retrieves the corresponding parent and child batch status information each time an on-chain task is triggered. For splitting events, the back-end buffer channel associates the termination state of the parent batch with the initial state of each child batch. During the association process, it records the parent batch's termination time, termination node number, termination operator number, termination device number, number of termination batches, and termination batch status description, and simultaneously records the child batch's start time, start node number, start operator number, start device number, start sequence difference, start batch status description, and number of start batches. Subsequently, an inheritance identifier field and an inheritance direction field are inserted between the parent batch termination state and the child batch start state to clarify the relay relationship between the parent and child batches. For merge events, the back-end buffer channel connects the termination status of multiple parent batches with the generation status of a child batch, recording the termination time, termination node number, termination operation information, termination operator number, termination operation equipment number, and termination status description for each parent batch. Simultaneously, it records the generation time, generation node number, generation operator number, generation operation equipment number, generation sequence difference, generation batch status description, generation environment parameter number, and generation quality inspection number for each child batch. After completing the recording of each inheritance relationship, the back-end buffer channel generates a connection record, including the parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, inheritance identifier number, inheritance direction, operation time, operator number, operation equipment number, and connection status description. This connection record is bound to the new identifier record collected by the front-end buffer channel using atomic token numbers, ensuring that each inheritance path has complete parent-child information before being uploaded to the blockchain.

[0077] A chain segment splicing draft is generated based on the corresponding data in the front and back buffer channels. The generation process uses the time anchor number of the atomic token sequence as the sorting thread and the inheritance sequence number as the execution order, integrating the new identifier record collected from the front track with the relay chain record maintained by the back track one by one. During integration, a new identifier record corresponding to a specific atomic token number is first read from the front track buffer, and simultaneously, the parent-child batch relay record corresponding to the same atomic token number is read from the back track buffer. Then, the time anchor number, sequence difference, associated node number, node occurrence time, operator number, operating equipment number, status number, and inheritance direction fields of both are spliced ​​according to a unified structure to generate a complete chain segment splicing draft record. Each chain segment splicing draft record includes the parent batch number, child batch number, parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, front rail new identifier number, rear rail connection number, associated flow node number, node occurrence time, splicing operator number, splicing operation equipment number, splicing time, splicing status, inheritance direction, inheritance sequence number, batch status description, data source number, and splicing version number. For splitting events, the parent batch number recorded in the chain segment splicing draft corresponds to multiple child batch numbers, forming a one-to-many chain splicing structure, and each parent-child correspondence clearly records its time and node position; for merging events, the child batch number recorded in the chain segment splicing draft corresponds to multiple parent batch numbers, forming a many-to-one chain splicing structure, and the connection path of each parent batch exists as an independent record. After generation, the chain segment splicing draft is written to a temporary buffer and sorted according to the time anchor number and inheritance sequence number to form a sorting index, which is used as the input basis for subsequent breathing-type phase traction control.

[0078] Based on the blockchain segment splicing draft, breathing-style phase traction control is implemented, and the phase difference between raw material batch identifiers is eliminated by time slot compression, so as to enable the adaptive convergence of the blockchain segment splicing results.

[0079] To address the phase difference issue in the time dimension of raw material batch identifiers in an environment with multiple batches and multiple nodes concurrently uploading to the blockchain, and to enable adaptive alignment and continuous convergence of the chain segment splicing drafts on the time axis, a breathing-style phase traction control method is implemented based on the chain segment splicing drafts. This method dynamically adjusts the time intervals between chain segments through periodic compression and expansion processes, thereby eliminating the phase difference between raw material batch identifiers through time slot compression. This allows the chain segment splicing results in the blockchain to achieve adaptive convergence of the time series. The specific steps are as follows:

[0080] A breathing-style phase-traction time mapping environment is established based on the chain segment splicing draft. The chain segment splicing draft includes the time anchor number, sequence difference, associated flow node number, node occurrence time, inheritance direction, inheritance sequence number, operator number, operating equipment number, splicing time, splicing status, batch status description, splicing version number, and interconnected chain segment identifiers for each parent batch and child batch. To achieve breathing-style phase-traction time control, firstly, all recorded time anchor numbers in the chain segment splicing draft are uniformly time-sequentially processed, arranging all chains in chronological order to form a time mapping list. This time mapping list uses the time anchor number as an index and the node occurrence time as the time base, recording the start time, end time, duration, parent batch number, child batch number, inheritance sequence number, and inheritance direction of each chain segment. Subsequently, the time gap value between adjacent chains is calculated based on the position of each chain segment in the time mapping list, and a time gap distribution table is generated. Each record in the time gap distribution table includes the starting segment number, target segment number, time gap duration, time difference direction, associated flow node number, node occurrence time, participating batch number, and operator number. To facilitate subsequent phase adjustments, a breathing control number is assigned to each segment splicing draft in the time mapping list, and a corresponding relationship is established between them in the time gap distribution table. This number serves as an identification identifier for breathing-based phase traction control, used to determine the adjustment position and magnitude of each segment during the control process, thus providing a complete time structure and execution basis for subsequent phase traction.

[0081] Phase offset identification is performed on the chain segment splicing draft based on the breathing control number to clarify the phase difference range between raw material batch identifiers. The phase offset identification process determines the time offset of each chain segment relative to its preceding and following chain segments by reading data from the time mapping list and time gap distribution table. For chain segments that have undergone splitting operations, the time anchor number of the parent batch number is earlier than the time anchor numbers of all child batch numbers. The system identifies this difference as a positive offset range, indicating a time lag phenomenon of the child batch identifiers. For chain segments that have undergone merging operations, the time anchor numbers of multiple parent batch numbers are distributed in different time periods. The system identifies their time distribution difference as an aggregate offset range, indicating that the parent batch identifiers are dispersed in time. To accurately describe these offset phenomena, the system records the parent batch time anchor number, child batch time anchor number, parent batch sequence difference, child batch sequence difference, node occurrence time, inheritance direction, inheritance sequence number, operator number, operating equipment number, time offset start point, time offset end point, and offset duration of each chain segment splicing draft in the phase control list. The establishment of the phase control list clearly expresses the offset status of each chain segment in the time dimension. For offset information of split chain segments, the system creates an offset record for each sub-batch number in the list, using the parent batch number as the primary key; for offset information of merged chain segments, the system creates an aggregated offset record for each parent batch number, using the sub-batch number as the primary key. All offset records are arranged in chronological order, forming a phase offset path from raw material warehousing to material feeding, providing a traceable time positioning basis for subsequent breathing-type traction.

[0082] Based on a phase control list, a breathing-style phase traction control is performed, gradually reducing the phase difference between chain segments through a periodic contraction and expansion time adjustment process. The breathing-style phase traction process consists of two alternating phases: a contraction phase and an expansion phase. First, in the contraction phase, the system adjusts the time anchor numbers of the chain segment splicing draft according to the offset interval recorded in the phase control list, based on the magnitude of the time offset. For split chain segments, the time anchor numbers corresponding to the sub-batch numbers are moved towards the time anchor numbers of the parent batch numbers according to the proportion of the offset interval, gradually bringing the sub-batch time closer to the parent batch's end time, thus reducing the time gap between them. For merged chain segments, the time anchor numbers corresponding to multiple parent batch numbers are moved towards the time anchor numbers of the sub-batch numbers according to the proportion of the offset interval, gradually converging the parent batch's end time to near the sub-batch's start time. Each contraction operation records the time anchor number before adjustment, the time anchor number after adjustment, the adjustment magnitude, the adjustment time, the operator number, the operating equipment number, the participating batch number, and the inheritance direction field. After the contraction phase is completed, the system enters the expansion phase. The purpose of the expansion phase is to prevent time overlap between segments after initial convergence by restoring reasonable time intervals through the reallocation of time gaps between adjacent segments. During expansion, the system calculates the minimum interval between the new time anchor numbers of all segment splicing drafts and postpones the start time of some segments to ensure that the minimum interval between adjacent segments is greater than the minimum allowable time value. The expansion operation also records the time before expansion, the time after expansion, the adjustment range, the adjustment time, the operator number, and the operating equipment number. Through alternating execution of breathing-like contraction and expansion, the time intervals of the segment splicing draft gradually reach equilibrium over multiple cycles, thus forming a dynamic time self-adjustment mechanism that makes the segment splicing draft tend to be stable and continuous in time structure.

[0083] After completing the breathing-style phase traction control, a time slot compression operation is performed to completely eliminate the phase difference in the chain segment splicing draft, achieving adaptive convergence of the chain segment splicing results in the blockchain. The time slot compression process uses the adjusted time anchor numbers as a basis to reallocate the time position of the chain segment corresponding to each offset record in the phase control list. For split chain segments, the system uses the parent batch termination time as the time base and rearranges all child batch time anchor numbers into a continuous time sequence, making the time anchor numbers of each child batch linearly adjacent to the termination time of the parent batch, thereby eliminating time gaps between child batches. For merged chain segments, the system uses the child batch start time as the time base and rearranges all parent batch termination times before the child batch start time, making the parent batch time sequences closely arranged and non-overlapping. Each time slot compression operation generates a compression record, which includes the chain segment number, parent batch number, child batch number, time anchor number before compression, time anchor number after compression, time offset value, compression magnitude, compression time, operator number, operating device number, inheritance sequence number, and node number. After compression, the system integrates all adjusted chain segment splicing drafts into a chain segment splicing result set. The chain segment splicing result set is arranged in chronological order, with each record reflecting the temporal connection between the compressed parent and child batches. Once the chain segment splicing result set is formed, the system writes it into consecutive blocks in the blockchain data structure, ensuring all chain segments are arranged temporally consecutively on the blockchain, forming a complete traceability time chain. Through this process, the phase difference in the time dimension of raw material batch identifiers is completely eliminated, and the splicing results of all chain segments in the blockchain achieve adaptive convergence. This ensures the temporal continuity and logical consistency of the inheritance path of the traceability chain in a multi-node, multi-event concurrent environment, thus giving the entire pulley raw material traceability system's on-chain records continuous and stable temporal convergence characteristics and a traceable batch association structure.

[0084] This invention introduces a time anchor and sequence difference extraction mechanism throughout the entire process from raw material warehousing to feeding, and constructs a parent-child batch relay chain and atomic token sequence. This achieves synchronous locking of the time relationship and inheritance relationship during the raw material batch flow, ensuring the uniqueness and continuity of the boundary states of batch splitting and merging in the blockchain. This method ensures that each raw material flow path maintains a stable connection logic on the timeline, avoiding problems such as batch identifier misalignment, path breakage, and duplicate identification, thereby guaranteeing the traceability and consistency of on-chain data in a multi-node concurrent environment.

[0085] This invention establishes a dual-track on-chain buffer process and implements breathing-style phase traction control, enabling the collection of new identifiers for raw material batches and the maintenance of the parent-child batch relay chain to be coordinated in the time dimension. Furthermore, it eliminates phase differences in chain segment splicing through time slot compression, achieving adaptive convergence of blockchain records. This method effectively improves the temporal stability and splicing accuracy of on-chain data, forming a closed loop in data recording, structural connection, and time alignment of the raw material traceability chain, thereby enhancing the integrity and reliability of traceability data throughout the entire manufacturing process.

[0086] This invention provides, for example Figure 2 The blockchain-based pulley raw material traceability management system shown includes a time-series anchoring module, a batch inheritance module, a boundary token module, a dual-track buffer module, and a phase convergence module.

[0087] The time-series anchoring generation module extracts time anchors and sequence differences from the raw material warehousing stage to the raw material feeding stage throughout the entire raw material traceability management process. It records the flow nodes corresponding to the raw material batches and generates a time-series anchoring list corresponding to the mapping relationship between the parent batch and the child batch based on the time anchors and sequence differences.

[0088] The batch inheritance module constructs a parent-child batch relay chain based on the time-series anchored list. It solidifies the raw material batch splitting relationship and raw material batch merging relationship through the parent-child batch relay chain and generates an inheritance guidance index based on the parent-child batch relay chain.

[0089] The boundary token module, based on the inheritance guide index, injects a single-use atomic token during each raw material batch splitting process and each raw material batch merging process. The atomic tokens lock the boundary relationship between the parent batch and the child batch, forming an atomic token sequence corresponding to the inheritance guide index.

[0090] The dual-track buffer module establishes a dual-track on-chain buffer process based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track.

[0091] The phase convergence module performs breathing-style phase traction control based on the chain segment splicing draft. It eliminates the phase difference between raw material batch identifiers through time slot compression, enabling adaptive convergence of the chain segment splicing results in the blockchain.

[0092] The blockchain-based raw material traceability management method for pulleys provided in this embodiment of the invention is implemented through the aforementioned blockchain-based raw material traceability management system for pulleys. For details on the specific methods and processes of the blockchain-based raw material traceability management system for pulleys, please refer to the embodiments of the aforementioned blockchain-based raw material traceability management method for pulleys, which will not be repeated here.

[0093] The foregoing has only described certain exemplary embodiments of the present invention by way of illustration. Undoubtedly, those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the foregoing drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

Claims

1. A blockchain-based method for tracing and managing the source of raw materials for pulleys, characterized in that, Includes the following steps: Throughout the entire process of raw material traceability management, time anchors and sequence differences are extracted from the raw material warehousing stage to the raw material feeding stage. The flow nodes corresponding to the raw material batches are recorded, and a time-series anchor list corresponding to the mapping relationship between the parent batch and the child batch is generated based on the time anchors and sequence differences. A parent-child batch relay chain is constructed based on the time-series anchored list. The parent-child batch relay chain is used to solidify the raw material batch splitting relationship and the raw material batch merging relationship. An inheritance guide index is generated based on the parent-child batch relay chain. Based on the inheritance guide index, a single-use atomic token is injected during each raw material batch splitting process or each raw material batch merging process. The boundary relationship between the parent batch and the child batch is locked through the atomic token, forming an atomic token sequence corresponding to the inheritance guide index. A dual-track on-chain buffer process is established based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track. Includes the following steps: A dual-track on-chain buffer structure is established based on the atomic token sequence. A front-track buffer channel and a back-track buffer channel are created in each buffer unit, and the time window range is set using the atomic token number as the binding index. Collect new identification data of raw material batches in the front rail buffer channel, generate batch identification records based on parent batch number and child batch number and bind them with atomic token number; Maintain the temporal continuity of the parent-child batch relay chain in the rear rail buffer channel, record the connection information between the parent batch termination state and the child batch start state, and generate a connection record. Based on the data correspondence between the front and rear rail buffer channels, the batch identification record and the connection record are integrated to generate a chain segment splicing draft, and a sorting index is established based on the time anchor number and the inheritance sequence number. Based on the blockchain segment splicing draft, breathing-style phase traction control is implemented, and the phase difference between raw material batch identifiers is eliminated by time slot compression, so that the blockchain segment splicing results can adaptively converge. Includes the following steps: Based on the chain segment splicing draft, a time mapping environment for respiratory phase traction is established, a time mapping list and a time interval distribution table are generated, and a respiratory regulation number is assigned to each chain segment; Phase offset identification is performed based on the respiratory control number, the time offset corresponding to the parent batch number and the child batch number is recorded, and a phase control list is generated. According to the phase control list, respiratory phase traction control is performed, and the time adjustment of the contraction and expansion phases is performed alternately to gradually reduce the phase difference between chain segments; After the breathing phase traction is completed, the time slot compression operation is performed. The time positions of the chain segments are rearranged according to the adjusted time anchor numbers, and the chain segment splicing result set is generated and written into the blockchain data structure.

2. The blockchain-based raw material traceability management method for pulleys according to claim 1, characterized in that, Throughout the entire raw material traceability management process, from the raw material warehousing stage to the raw material feeding stage, time anchors and sequence differences are extracted. The flow nodes corresponding to the raw material batches are recorded. Based on the time anchors and sequence differences, the following steps are taken to generate a time-series anchor list corresponding to the mapping relationship between parent and child batches: A warehousing event triggering mechanism is set up during the raw material warehousing stage. Based on the warehousing event number, the supply source, transportation batch number, arrival time, warehousing location number, environmental parameters, inspection report number, operator identification and warehousing confirmation time of the raw materials are recorded, and a time anchor is generated based on the warehousing confirmation time. During the raw material storage and production preparation stages, the operation sequence of each flow node is extracted, and the sequence difference is calculated based on the occurrence time of the node event and the time anchor interval. The node number, event type, operator identification, and process step identification are recorded. Based on time anchors and sequence differences, the flow nodes of raw material batches are continuously recorded, and the parent batch number and child batch number of splitting and merging events are registered accordingly. Generate a time-series anchor list between parent and child batches based on all flow records, and establish a mapping relationship between parent and child batches based on the time anchor number and sequence position difference.

3. The blockchain-based raw material traceability management method for pulleys according to claim 2, characterized in that, A parent-child batch relay chain is constructed based on a time-series anchored list. The batch splitting and merging relationships of raw materials are solidified through the parent-child batch relay chain. The steps for generating an inheritance guide index based on the parent-child batch relay chain are as follows: Based on the time-series anchor list, the mapping records of parent batch number and child batch number are extracted and collected, and parent batch relationship set and child batch relationship set are established respectively. The time anchor number, sequence difference, flow node number and node occurrence time are recorded. Construct a parent-child batch relay chain based on the parent batch relationship set and the child batch relationship set, and establish a chain connection record with the time anchor number as the time connection benchmark, the sequence difference value as the order basis, and the flow node number as the connection position; The splitting and merging relationships are solidified through the parent-child batch relay chain, and a connection identifier is generated for each connection record and bound to the parent batch number, child batch number, time anchor number and operation information; An inheritance guide index is generated based on the connection records in the relay chain. The time position and direction relationship of the batch inheritance path are defined based on the connection identifier, time anchor number, sequence difference and flow node number.

4. The blockchain-based raw material traceability management method for pulleys according to claim 3, characterized in that, Each inheritance guide record in the inheritance guide index is arranged sequentially based on the difference between the parent batch sequence and the child batch sequence. In the splitting scenario, the inheritance sequence number is generated based on the difference between the parent batch sequence and the child batch sequence. In the merging scenario, the inheritance sequence number is generated based on the difference between the child batch sequence and the child batch sequence. This ensures that the inheritance paths between the parent batch and the child batch are arranged continuously in the time dimension and maintains the consistency of the inheritance direction.

5. The blockchain-based raw material traceability management method for pulleys according to claim 3, characterized in that, Based on the inheritance guide index, a single-use atomic token is injected during each raw material batch splitting or merging process. The boundary relationship between the parent and child batches is locked through the atomic tokens, forming an atomic token sequence corresponding to the inheritance guide index. The steps are as follows: Based on the inheritance guide index, an atomic token injection list is established, recording the parent batch number, child batch number, time anchor number, sequence difference, flow node number, node occurrence time, inheritance direction and inheritance sequence number, and arranged in chronological order; When a batch of raw materials enters the splitting or merging stage, a single-use atomic token is generated based on the atomic token injection list, and a one-to-one binding relationship is established between the atomic token and the inheritance guide index. After completing the splitting or merging operation, the boundary relationship between the parent batch number and the child batch number is locked based on the flow node number, and the locking time and locking operation information are recorded. Based on the inheritance sequence number and time anchor number of the inheritance guide index, all locked atomic tokens are arranged in chronological order to generate an atomic token sequence corresponding to the inheritance guide index.

6. The blockchain-based raw material traceability management method for pulleys according to claim 5, characterized in that, During the generation and locking of atomic tokens, different token binding strategies are executed for splitting events and merging events according to the event type. In splitting events, independent tokens are generated for each child batch number using the parent batch number as the primary key. In merging events, independent tokens are generated for each parent batch number using the child batch number as the primary key. This ensures that the boundary locking of different batches in multi-directional flow has a unique correspondence.

7. The blockchain-based raw material traceability management method for pulleys according to claim 1, characterized in that, During the generation of the chain segment splicing draft, the batch identifier record generated by the front buffer channel and the connection record generated by the back buffer channel are integrated one-to-one through atomic token numbers, and arranged according to the time order of the parent batch time anchor number and the child batch time anchor number, so that each parent-child batch inheritance relationship forms a continuous time connection structure in the chain segment splicing draft, ensuring the orderly alignment and logical continuity of the on-chain data in the time dimension.

8. A blockchain-based raw material traceability management system for pulleys, used to implement the blockchain-based raw material traceability management method for pulleys as described in any one of claims 1-7, characterized in that, This includes a timing anchoring module, a batch inheritance module, a boundary token module, a dual-track buffer module, and a phase convergence module. The time-series anchoring generation module extracts time anchors and sequence differences from the raw material warehousing stage to the raw material feeding stage throughout the entire raw material traceability management process. It records the flow nodes corresponding to the raw material batches and generates a time-series anchoring list corresponding to the mapping relationship between the parent batch and the child batch based on the time anchors and sequence differences. The batch inheritance module constructs a parent-child batch relay chain based on the time-series anchored list. It solidifies the raw material batch splitting relationship and raw material batch merging relationship through the parent-child batch relay chain and generates an inheritance guidance index based on the parent-child batch relay chain. The boundary token module, based on the inheritance guide index, injects a single-use atomic token during each raw material batch splitting process or each raw material batch merging process. The atomic tokens lock the boundary relationship between the parent batch and the child batch, forming an atomic token sequence corresponding to the inheritance guide index. The dual-track buffer module establishes a dual-track on-chain buffer process based on atomic token sequences. In the dual-track on-chain buffer process, the front track is used to collect new identifiers corresponding to the batches of raw materials, while the back track is used to maintain the continuity of the parent-child batch relay chain. A chain segment splicing draft is generated based on the front track and the back track. The phase convergence module performs breathing-style phase traction control based on the chain segment splicing draft. It eliminates the phase difference between raw material batch identifiers through time slot compression, enabling the chain segment splicing results in the blockchain to converge adaptively.

Citation Information

Patent Citations

  • Intelligent product oil circulation supervision platform and monitoring method

    CN120812106A

  • Machining tool management method and system based on block chain

    CN121352418A