A method and system for traceability management of industrial products
By reading the operating count value and timestamp of production equipment to generate equipment segment information, and combining it with the scanning number to establish a continuous relationship, the problem of difficulty in judging the node order in traditional traceability management is solved, and the accurate association and continuous expression of industrial product traceability information is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- LONGYAN UNIV
- Filing Date
- 2026-04-20
- Publication Date
- 2026-05-26
AI Technical Summary
Traditional industrial product traceability management methods struggle to accurately determine the sequence of nodes and production stage characteristics in scenarios with multiple flow nodes, resulting in limited accuracy in traceability data association. This is especially true in environments where production equipment operates continuously or multiple production tasks run in parallel, making it difficult to distinguish the origin of products at different stages of operation.
By reading the operation count value and timestamp of the production equipment, and combining it with the operation segment interval table, the equipment operation segment information is generated. By combining the scan number and the preceding number, a continuous relationship is established, and the equipment operation segment is associated with the product code, thus constructing a continuous link between the production stage and the logistics flow.
It enhances the ability to present production status and sequence, reduces the impact of mis-ordered records on product origin judgment, and achieves continuous expression and accurate association of product traceability information.
Smart Images

Figure CN122089345A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of logistics technology, and in particular to a traceability management method and system for industrial products. Background Technology
[0002] The field of logistics technology involves the management of information on the flow of goods during production, warehousing, transportation, distribution, and sales. Specifically, it includes production batch registration, warehouse entry registration, transportation node records, distribution records, and sales records. Through barcode identification records, RFID tag identification records, warehouse entry and exit registration, transportation document records, and product flow ledger registration, data generated by products in multiple circulation stages are collected, stored, and managed. Based on product codes and batch numbers, product flow records are established to achieve product circulation process management. Traditional traceability management methods for industrial products refer to tracking the origin of industrial products during production, warehousing, transportation, and sales. During production, product batch numbers are generated and barcodes are printed on the product packaging. During warehousing, barcodes are scanned using a barcode scanner to record the entry time and storage location number. During transportation, the product batch number, shipping time, and destination information are recorded on transport documents. During sales, barcodes are scanned at sales terminals to record the sales time and sales outlet information. A backend database is used to create a circulation record table based on the product batch number, recording production, warehousing, transportation, and sales information. By querying the corresponding record data for the product batch number, the traceability of the industrial product's origin and circulation process information can be achieved.
[0003] Traditional industrial product circulation records primarily rely on batch numbers and barcodes for identification. Product circulation management focuses on registering single scan results and recording node times. Data from each circulation node is stored as independent records, lacking a stable sequential relationship between node information. In scenarios with a large number of logistics nodes or frequent scanning operations, discrepancies in registration times or node order are prone to occur. For example, in cases of repeated scanning at transit warehouses or supplementary recording at transportation nodes, the system struggles to determine the true sequence of nodes based on the existing record structure, further impacting the continuous representation of the product circulation trajectory. Furthermore, product identification primarily reflects basic identification information and lacks the ability to express characteristic information of different production stages. In environments with continuous operation of production equipment or multiple parallel production tasks, it is difficult to distinguish the origin of products corresponding to different operating stages, thus limiting the accuracy of traceability data association. Summary of the Invention
[0004] To address the technical problems existing in the prior art, embodiments of the present invention provide a traceability management method based on industrial products; To achieve the above objectives, the present invention adopts the following technical solution: a traceability management method for industrial products, comprising the following steps: S1: Read the equipment operation count value through the production equipment control terminal register, read the timestamp second value according to the production time, determine the equipment operation count value range according to the operation segment interval table, match the segment number, connect the production line equipment number sequence, and obtain the equipment operation segment information; S2: Based on the equipment operation segment information, read the production batch code and product serial number, split the production batch code segment and write it into the equipment operation segment information to obtain product traceability barcode information; S3: Based on the product traceability barcode information, obtain the vehicle number, node number, entry time information and exit time information, compare the order of entry and exit time information, and obtain the product node flow information; S4: Based on the product node flow information, read the scan number sequence and the corresponding scan number and the previous scan number, compare the scan number order, associate the node number with the scan number order, and obtain the product node supplementary information; S5: Based on the supplementary information of the product nodes, obtain the node number sequence and read the batch number and product sequence number corresponding to the product identification code, associate the equipment operation segment number with the product identification code, and obtain product traceability information.
[0005] As a further embodiment of the present invention, the equipment operation segment information includes equipment operation count interval value, segment number identifier, production line equipment number sequence, reading timestamp in seconds, and equipment operation segment matching mark; the product traceability barcode information includes batch identification segment code, equipment operation segment writing identifier, product serial number code, timestamp in minutes, and production batch segment identifier; the product node flow information includes vehicle number identifier, logistics node number identifier, node entry time record, node departure time record, and barcode association identifier; the product node supplementary information includes scan number sequence identifier, previous scan number identifier, node number matching identifier, scan interval relationship identifier, and node supplementary record identifier; and the product traceability information includes equipment operation segment number identifier, product identification code identifier, node number sequence identifier, node flow content identifier, and node supplementary content identifier.
[0006] As a further aspect of the present invention, the equipment operation count value range refers to the numerical range of the production equipment operation count value in the operation segment range table, and determines the current operation segment to which the equipment belongs; The matching segment number refers to the identifier number corresponding to the device's operating count value range, which identifies the operating segment currently matched by the device.
[0007] As a further aspect of the present invention, the production line equipment numbering sequence refers to the numbering sequence formed by arranging the equipment on the production line according to the process flow; The scan number sequence refers to the sequence of scan numbers generated according to time and order during the scanning process of logistics nodes.
[0008] As a further aspect of the present invention, the specific steps of S1 are as follows: S101: Obtain the equipment operation count value recorded in the production equipment control terminal register, read the timestamp second value according to the production time record, compare the equipment operation count value with the operation segment interval table, retrieve the corresponding segment number, and obtain the equipment operation segment number; S102: Based on the equipment operation segment number, detect the production line equipment number and match the sequence, connect the equipment operation segment number with the production line equipment number sequence to obtain the segment equipment number sequence; S103: Based on the segment device number sequence, call the timestamp second value and associate it with the segment device number sequence to map the timestamp second value with the order of the segment device number sequence to obtain the device operation segment information.
[0009] As a further aspect of the present invention, the specific steps of S2 are as follows: S201: Based on the equipment operation segment information, obtain the production batch code of the industrial product assembly station conveyor belt record, split the production batch code segment, extract the batch identification segment and sequence segment, call the equipment operation segment information and write it into the batch identification segment, and obtain the batch segment code sequence by corresponding to the batch identification segment and the equipment operation segment information position. S202: Based on the batch segment coding sequence, collect the product serial number output by the industrial product packaging barcode printing terminal, obtain the production time record timestamp minute value, match the sequence position according to the batch segment coding sequence, and write the product serial number and timestamp minute value into the batch segment coding sequence according to the coding position order. Corresponding to the batch segment coding sequence and the product serial number sequence, the product identification coding sequence is obtained. S203: Based on the product identification coding sequence, retrieve the coding segment order, associate the batch identification segment, equipment operation segment information, product serial number and timestamp minute value coding position, and concatenate the coding segments according to the barcode coding order to obtain the product traceability barcode information.
[0010] As a further aspect of the present invention, the specific steps of S3 are as follows: S301: Based on the product traceability barcode information, detect the logistics node scanning terminal, identify the product traceability barcode information, parse the product traceability barcode information encoding, extract the product identification code field and scan the identification node, match the product identification code field with the node scanning record position to obtain the node scanning identification record; S302: Based on the node scanning and identification records, obtain the vehicle number, node number, entry time information and exit time information. According to the corresponding number in the node scanning and identification records, compare the time order of the entry time information and the exit time information, associate the vehicle number with the node number position, and obtain the node vehicle time sequence. S303: Based on the time sequence of the node vehicles, associate the product traceability barcode information, and map the vehicle number, node number, entry time information and exit time information fields to the node positions of the vehicle number, node number and product identification code fields to obtain the product node flow information.
[0011] As a further aspect of the present invention, the specific steps of S4 are as follows: S401: Based on the product node flow information, retrieve the scan number sequence, read the scan number sequence order, extract the corresponding scan number and the previous scan number, compare the scan number and the previous scan number order to obtain the scan number sequence order. S402: Based on the scanned number sequence, read the node number from the logistics node number table, retrieve the node number item by item, determine the interval position correspondence between the node number and the scanned number sequence, map the node number and the position of the scanned number sequence, and obtain the node number corresponding sequence. S403: Based on the sequence corresponding to the node number, call the product node flow information, associate the execution order of the node number and the scan number sequence, map the sequence corresponding to the node number and the node position of the product node flow information, and obtain supplementary product node information.
[0012] As a further aspect of the present invention, the specific steps of S5 are as follows: S501: Based on the supplementary information of the product nodes, retrieve the node number order, read the node number order, obtain the product identification code and parse the corresponding product batch number and product sequence number, and obtain the product identification sequence according to the position of the corresponding product batch number and product sequence number in the node number order; S502: Based on the product identification sequence, call the device operation segment number, match the device operation segment number with the product identification code field position, and associate the device operation segment number with the product identification sequence according to the node number order to obtain the segment code node sequence; S503: Based on the segment code node sequence, call the product node supplementary information, and map the device operation segment number, product identification code and node number sequence node position to obtain product traceability information.
[0013] A traceability management system for industrial products includes: The equipment segment identification module obtains the equipment operation count value recorded in the production equipment control terminal register, reads the timestamp second value according to the production time record, determines the equipment operation count value range according to the operation segment interval table, matches the segment number, connects the production line equipment number sequence, and obtains the equipment operation segment information; Based on the equipment operation segment information, the barcode information generation module collects the production batch code recorded on the conveyor belt of the industrial product assembly station, reads the product serial number, splits the production batch code segment and writes it into the equipment operation segment information, and simultaneously writes the product serial number and the timestamp minute value to obtain the product traceability barcode information. The node flow record module obtains the vehicle number, node number, entry time information and exit time information based on the product traceability barcode information, compares the order of entry time information and exit time information, and associates the vehicle number, node number, entry time information and exit time information to obtain product node flow information; Based on the product node flow information, the node supplementation identification module reads the scan number sequence and the corresponding scan number and the previous scan number, compares the scan number order, associates the node number with the scan number order, and obtains the product node supplementation information. The traceability information association module obtains the node number sequence and reads the batch number and product sequence number corresponding to the product identification code based on the product node supplementary information, and associates the equipment operation segment number with the product identification code to obtain product traceability information.
[0014] Compared with the prior art, the advantages and positive effects of the present invention are as follows: In this invention, equipment operation count values are read and matched with timestamps and operation segment interval tables to generate equipment operation segment information. This information is then combined with the production line equipment number sequence and written into the product identifier, improving the ability to present production status and sequence. In the logistics flow, the sequence of entry and exit times is compared, and a continuous relationship is established by combining scan numbers with preceding numbers. The node sequence is then associated with the equipment operation segment and product code, constructing a continuous link between production stages and logistics flow, reducing the impact of mis-ordered records on product origin determination. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the steps of the present invention; Figure 2 This is a detailed schematic diagram of S1 of the present invention; Figure 3 This is a detailed schematic diagram of S2 of the present invention; Figure 4 This is a detailed schematic diagram of S3 of the present invention; Figure 5 This is a detailed schematic diagram of S4 of the present invention; Figure 6 This is a detailed schematic diagram of S5 of the present invention; Figure 7 This is a system module diagram of the present invention. Detailed Implementation
[0017] The technical solution of the present invention will now be described with reference to the accompanying drawings.
[0018] To make the technical problems, technical solutions and advantages of the present invention clearer, a detailed description will be given below in conjunction with the accompanying drawings and specific embodiments.
[0019] Please see Figure 1 This invention provides a traceability management method for industrial products, comprising the following steps: S1: Read the equipment operation count value through the production equipment control terminal register, read the timestamp second value according to the production time record, perform interval judgment on the equipment operation count value according to the operation segment interval table, match the corresponding segment number, connect the segment number with the production line equipment number sequence, and write the timestamp second value to obtain the equipment operation segment information; S2: Based on the equipment operation segment information, read the production batch code recorded on the conveyor belt of the industrial product assembly station, read the product serial number through the industrial product packaging barcode printing terminal, split the production batch code segment, write the equipment operation segment information into the batch identification segment, and write the product serial number and timestamp minute value to obtain the product traceability barcode information; S3: Based on the product traceability barcode information, the product traceability barcode information is read through the logistics node scanning terminal, and the vehicle number, node number, entry time information and departure time information are obtained simultaneously. The order of entry time information and departure time information is compared, and the vehicle number, node number, entry time information, departure time information and product traceability barcode information are associated to obtain the product node flow information. S4: Based on the product node flow information, read the scan number sequence, the scan number corresponding to the product node flow information and the previous scan number, compare the scan number with the previous scan number, read the node number one by one in the logistics node number table and make a corresponding judgment with the scan number interval relationship, associate the corresponding node number with the node number corresponding to the scan number to obtain the product node supplementary information. S5: Based on the supplementary information of product nodes, read the node number sequence, and read the product batch number and product serial number corresponding to the product identification code. Insert the node number corresponding to the supplementary content into the node number sequence position. At the same time, read the equipment operation segment number, product identification code, node flow content and node supplementary content, and associate them with the equipment operation segment number, product identification code and node number sequence to obtain product traceability information.
[0020] Equipment operation segment information includes equipment operation count interval value, segment number identifier, production line equipment number sequence, read timestamp in seconds, and equipment operation segment matching mark. Product traceability barcode information includes batch identification segment code, equipment operation segment write identifier, product serial number code, timestamp in minutes, and production batch segment identifier. Product node flow information includes vehicle number identifier, logistics node number identifier, node entry time record, node departure time record, and barcode association identifier. Product node supplementary information includes scan number sequence identifier, previous scan number identifier, node number matching identifier, scan interval relationship identifier, and node supplementary record identifier. Product traceability information includes equipment operation segment number identifier, product identification code identifier, node number sequence identifier, node flow content identifier, and node supplementary content identifier.
[0021] Please see Figure 2 The specific steps of S1 are as follows: S101: Obtain the equipment operation count value recorded in the production equipment control terminal register, read the timestamp second value according to the production time record, compare the equipment operation count value with the operation segment interval table, retrieve the corresponding segment number, and obtain the equipment operation segment number; First, the internal register value is retrieved in real time through the communication interface of the production equipment control terminal. This value represents the cumulative number of running pulses since the start of the current production cycle. Then, the current production time record is synchronously obtained through the clock interface and converted into an absolute timestamp value in seconds. During execution, the equipment running count value in the production equipment control terminal register is retrieved. For example, if the real-time count value is 4500, the timestamp value in seconds in the current production time record is read as 1741484010 seconds. This process matches the obtained equipment running count value with a pre-set running segment interval table. This interval table presets multiple consecutive value ranges, each range corresponding to a specific segment number. The first interval is set to 0 to 2000 times, corresponding to segment number 101; the second interval is set to 2001 to 5000 times, corresponding to segment number 102; and the third interval is set to 5001 to 8000 times, corresponding to segment number 103. By comparing the current device operation count of 4500 with the interval in the table, it is determined that it falls within the range of 2001 to 5000 in the second interval, thus retrieving and locking the corresponding segment number as 102. Finally, the device operation segment number is obtained by outputting the corresponding segment number obtained from the retrieval.
[0022] S102: Based on the equipment operation segment number, detect the production line equipment number and match the sequence, connect the equipment operation segment number with the production line equipment number sequence to obtain the segment equipment number sequence; First, based on the obtained equipment operation segment number, the physical sensors on the production line are scanned via industrial Ethernet to detect the currently active production line equipment numbers, and the physical arrangement order of these devices is matched according to the production process flow chart. For example, if the detected equipment numbers involved in the current production line are Assembly Machine 1, Inspection Machine 2, and Packaging Machine 3, their preset process matching order is 1, 2, 3 respectively. The equipment operation segment number 102 obtained in the previous steps is logically concatenated with the detected production line equipment numbers and their order. In specific execution, the segment number is used as a prefix, the production line equipment number as the main body, and the equipment sequence index as a suffix for combination. For example, when the equipment operation segment number is 102, the production line equipment number is machine number 501, and the matching order of this equipment in the current segment is position 03, these three elements are concatenated through a field concatenation operation. This process reads the equipment topology relationship in the production line configuration database and binds the logical operating segment with the physical equipment entity. Specifically, the calculation process is to merge the segment number 102, the equipment number 501, and the sequence number 03 according to the string concatenation logic. The calculation result is 10250103, which gives the segment equipment number sequence.
[0023] S103: Based on the segment device number sequence, call the timestamp second value and associate it with the segment device number sequence to map the timestamp second value with the segment device number sequence order to obtain the device operation segment information; First, the timestamp (seconds) value generated in the previous steps is retrieved and associated with the generated equipment segment and equipment number sequence. During execution, the timestamp (seconds) value of 1741484010 is obtained, and the equipment segment and equipment number sequence of 10250103 is read. The timestamp represents the specific time when production occurred, and the equipment number sequence identifies the corresponding equipment segment information. The timestamp (seconds) value and the equipment segment and equipment number sequence are combined according to a preset format to establish a correspondence between time information and equipment segment information, thereby achieving a unified identification of the equipment's operating status. For example, the timestamp 1741484010 and the equipment sequence 10250103 are connected using the hyphen "-" to form the identifier 1741484010-10250103, which represents the equipment operating segment information corresponding to that time point. This ensures that each production record can simultaneously contain both a time identifier and an equipment segment identifier, facilitating the recording and tracing of the equipment operation process and obtaining the equipment operating segment information.
[0024] Please see Figure 3 The specific steps of S2 are as follows: S201: Based on the equipment operation segment information, obtain the production batch code of the conveyor belt record of the industrial product assembly station, split the production batch code segment, extract the batch identification segment and sequence segment, call the equipment operation segment information and write it into the batch identification segment, and obtain the batch segment code sequence by corresponding to the position of the batch identification segment and the equipment operation segment information. First, the production batch code on the conveyor belt of the industrial product assembly station is acquired using an industrial camera or RFID reader. This code is generated by the factory resource planning process and affixed to the batch tray. For example, the acquired original production batch code is "Batch 20260309 Bus 001". Next, the production batch code is parsed, removing the text identification information and extracting the corresponding numerical code portion. The numerical segment 20260309, representing the production date or batch identifier, is used as the batch identification segment, and the final sequence number 001 is used as the sequence segment. Subsequently, the equipment operation segment information 1741484010-10250103 generated in the previous steps is called, and this equipment operation segment information is associated with the extracted batch identification segment, so that the batch information simultaneously includes the production batch identifier and equipment operation status information. Finally, the batch identification segment 20260309, the equipment segment number 10250103, and the sequence segment 001 are combined and arranged in a preset order to obtain the batch segment code sequence.
[0025] S202: Based on the batch segment coding sequence, collect the product serial number output by the industrial product packaging barcode printing terminal, obtain the production time record timestamp minute value, match the sequence position according to the batch segment coding sequence, and write the product serial number and timestamp minute value into the batch segment coding sequence according to the coding position order. Corresponding to the batch segment coding sequence and the product serial number sequence, the product identification coding sequence is obtained. First, a laser scanner is used to collect the product serial number output by the industrial product packaging barcode printing terminal. This serial number is a unique identifier for each product. For example, the collected product serial number is 88592. Simultaneously, the timestamp information corresponding to the production time record is obtained from the operation log. Given a timestamp value of 1741484010 seconds, it is converted to a timestamp value of 29024733 minutes using integer division, representing the time of product generation. Based on the aforementioned batch segment coding sequence 20260309-10250103-001, the coding segment is correspondingly expanded. The timestamp minute value and the product serial number are written into the coding structure in a predetermined order. The timestamp minute value is embedded as a time identifier in the middle layer of the coding, and the product serial number is appended to the end of the coding sequence. The original sequence segment 001 is retained to maintain the integrity of the batch coding structure. By combining the batch identification segment 20260309, equipment segment number 10250103, sequence segment 001, timestamp minute value 29024733, and product serial number 88592 in sequence, a complete product identification code 20260309-10250103-001-29024733-88592 is formed, resulting in the product identification code sequence.
[0026] S203: Based on the product identification coding sequence, retrieve the coding segment order, associate the batch identification segment, equipment operation segment information, product serial number and timestamp minute value coding position, and concatenate the coding segments according to the barcode coding order to obtain the product traceability barcode information; First, based on the product identification code sequence, a retrieval operation is performed to determine the arrangement structure of each data field in the final barcode. Through an association program, the coding positions of the batch identification segment 20260309, equipment operation segment information 10250103, timestamp minute value 29024733, and product serial number 88592 are uniformly configured. Then, a character concatenation operation is performed, combining the data fields sequentially according to the preset coding structure. The batch identification segment identifies the production batch to which the product belongs, the equipment operation segment information identifies the corresponding production equipment segment, the timestamp minute value records the product's generation time, and the product serial number identifies the unique sequence of each individual product. By continuously concatenating these fields in a predetermined order, the various identification fields are integrated into a complete character sequence, resulting in the concatenation result 20260309102501032902473388592. Finally, by characterizing and integrating the batch information, equipment information, time information, and product serial number information, the product traceability barcode information is obtained.
[0027] Please see Figure 4 The specific steps of S3 are as follows: S301: Based on product traceability barcode information, detect logistics node scanning terminals, identify product traceability barcode information, parse product traceability barcode information encoding, extract product identification encoding field and scan identification nodes, match product identification encoding field with node scanning record position to obtain node scanning identification record; First, the scanning terminals at logistics nodes distributed across various transfer centers are detected. When a product passes through a conveyor belt or manual inspection station, the product traceability barcode information acquired by the scanning terminal is identified. For example, the scanning terminal acquires barcode information 20260309102501032902473388592. Then, the encoding structure of this barcode information is parsed, and the data is truncated according to a preset field length. The product identification code field is extracted, including the product serial number 88592. Simultaneously, the current logistics node is scanned and identified. If the current node is detected as Shanghai No. 1 Distribution Center, its corresponding node number is node 201. Through matching logic, the extracted product identification code field is associated with the scan record location of the current node. This process performs a location matching judgment to verify whether the product should appear at the current node. By querying the preset logistics path database, if the standard logistics path of product number 88592 includes node 201, a successful match is determined. Finally, through verification of the identification action and the preset path, the node scan identification record is obtained.
[0028] S302: Based on node scanning and identification records, obtain vehicle number, node number, entry time information and exit time information. According to the corresponding number of the node scanning and identification record, compare the time order of entry time information and exit time information, associate the vehicle number with the node number position, and obtain the node vehicle time sequence. First, the associated vehicle number, node number, entry time, and departure time information are extracted from the node scan records. For example, the vehicle number responsible for the transfer is identified as Factory A6688, and the current node number is Node 201. The entry time is recorded as 10:30, and the departure time is recorded as 12:45. Based on the product number corresponding to the node scan identification record, a time sequence comparison operation is performed. The entry and departure times are converted into values in minutes and subtracted, i.e., 765 minutes minus 630 minutes, to calculate the product's residence time within the node as 135 minutes. The preset normal processing time threshold for the node is 120 minutes; by comparison, it is determined that the node is currently in an overloaded state. By associating the vehicle number with the node number, a correspondence between vehicles and logistics hubs is established. Finally, by associating the time-series data with the transportation vehicles, the node vehicle time sequence is obtained.
[0029] S303: Based on the time series of node vehicles, associate product traceability barcode information, map the vehicle number, node number, entry time information and exit time information fields to the node positions of the vehicle number, node number and product identification code fields to obtain product node flow information; First, the generated product traceability barcode information is retrieved and deeply correlated with the time series of the node vehicles. A mapping operation is performed on fields such as vehicle number (factory A6688), node number (node 201), entry time (10:30), and departure time (12:45). The serial number 88592 in the product identification code field is mapped to the specific location in the node vehicle time series. For example, through index lookup, product number 88592 is located in the 3rd loading bay of vehicle A6688, corresponding to the 5th scanning gate of node 201. This mapping logic not only associates products with vehicles but also pinpoints the physical operation location within the node. Through this association mapping, the individual code is bound to the dynamic flow trajectory, obtaining the product node flow information.
[0030] Please see Figure 5 The specific steps of S4 are as follows: S401: Based on product node flow information, retrieve the scan number sequence, read the scan number sequence order, extract the corresponding scan number and the previous scan number, compare the scan number with the previous scan number order, and obtain the scan number sequence order. First, the scan number sequence throughout the product's entire lifecycle is retrieved. This sequence arranges all scan actions performed by the product in chronological order. The original order of the scan number sequence is read, for example, scan sequence 001, scan 002, scan 003. The currently processed scan number is extracted, for example, scan 003, and its preceding scan number, scan 002, is extracted. The order of the scan number is compared with the preceding scan number. By querying the scan timestamp, it is determined whether the time of scan 003 is later than that of scan 002. For example, the timestamp of scan 002 is 14:00, and the timestamp of scan 003 is 16:00. The time difference is calculated to be 120 minutes. Since the difference is positive, it conforms to the logical order. This process performs a consistency check on all adjacent scan nodes through logical verification. If a subsequent scan is found to be earlier than a previous scan, a logical anomaly alarm is triggered. Finally, by chronologically arranging all scan records, the scan number sequence is obtained.
[0031] S402: Based on the scanned number sequence, read the node number from the logistics node number table, retrieve the node number item by item, determine the interval position correspondence between the node number and the scanned number sequence, map the node number and the position of the scanned number sequence, and obtain the node number corresponding sequence. First, all preset node numbers in the logistics node number table are read, such as node 101, node 201, and node 301. These node numbers are retrieved item by item, and their correspondence with the previously generated scan number sequence is determined. A location mapping operation is performed to determine whether the geographic coordinates of each scan occur within the service area of a preset node. For example, when scan 002 occurs, the terminal reports latitude and longitude coordinates of 121.47 degrees east longitude and 31.23 degrees north latitude, which are matched with the geofence of node 201 in the logistics node database. This process determines the correspondence by calculating the distance between the scan point and the node center point; if the distance is less than 500 meters, a mapping relationship is established. Through this mapping process, the time chain is matched with the geographic grid to obtain the node number correspondence sequence.
[0032] S403: Based on the sequence corresponding to the node number, call the product node flow information, associate the execution order of the node number and the scan number sequence, map the sequence corresponding to the node number and the node position of the product node flow information to obtain supplementary product node information; First, the product node flow information is retrieved, and the execution order of the node number and scan number sequence is associated. A mapping operation is performed, fusing the geographical attributes in the node number sequence with the business attributes in the product node flow information. The node number sequence is then mapped to the node location in the product node flow information. For example, sensor data such as the geographical coordinates, ambient temperature, and humidity of node 201 are added to the product identification code record corresponding to that node. If sensor records show that the product's highest temperature during its stay at node 201 was 25 degrees Celsius and the average humidity was 60%, these environmental parameters are encapsulated and written into the node's flow information. This process, through multi-source data fusion, adds environmental and status dimensions to each logistics node. Finally, by fusing the static attributes and dynamic parameters of the flow nodes, supplementary product node information is obtained.
[0033] Please see Figure 6 The specific steps of S5 are as follows: S501: Based on the supplementary information of product nodes, retrieve the node number order, read the node number order, obtain the product identification code and parse the corresponding product batch number and product sequence number, and obtain the product identification sequence according to the position of the corresponding product batch number and product sequence number in the node number order; First, based on supplementary information about product nodes, the complete logical order of node numbers is retrieved, reading all node numbers from the starting production point to the final delivery point, for example, in the order of node 101, node 201, node 301, and node 401. The product identification code sequence 20260309-10250103-29024733-88592 is obtained, and the product batch number 20260309 and product sequence number 88592 are extracted according to a preset parsing protocol. Following the order of node numbers, the product batch numbers and product sequence numbers are spatially distributed. Specifically, a data pointer is created for each node, pointing to the global identification code of that batch of products. For example, at node 101, the original production parameters of batch 20260309 are associated; at node 201, the logistics status of sequence 88592 is associated. Finally, the product identification sequence is obtained through the arrangement of node order and identification identifiers.
[0034] S502: Based on the product identification sequence, call the device operation segment number, match the device operation segment number with the product identification code field position, and associate the device operation segment number with the product identification sequence according to the node number order to obtain the segment code node sequence; First, the initially generated device operation segment number 102 is retrieved and matched to its logical position in the product identification coding field. Device operation segment number 102 is then associated with the product identification sequence according to the node number order. Field embedding is performed to inject the device's operating parameters into the logistics identification sequence. For example, at the first node 101 of the product identification sequence, device operation segment number 102 and its associated original operation count value of 4500 are inserted. By deeply coupling device-side data with node flow data, each node can trace back to its initial device operating state. Finally, through field association, device features and logistics nodes are reassembled in a chain to obtain the segment-coded node sequence.
[0035] S503: Based on the segment code node sequence, call the product node supplementary information, and map the device operation segment number, product identification code and node number sequence node position to obtain product traceability information; First, the product node supplementary information is retrieved, precisely mapping the recorded environmental parameters, vehicle dynamics, and node number sequence. This mapping includes all node positions within the equipment operation segment number 102, the product identification code sequence, and the node number sequence. The final data aggregation operation is then performed, multi-dimensionally mapping the equipment segment information during production, the node flow information during distribution, and the environmental status information for logistics supplementation. For example, the processing parameters of equipment segment 102, the driving trajectory data of vehicle A6688, and the temperature and humidity data of node 201 are all normalized into the traceability file of product 88592. This process uses globally unique identifiers for data reorganization, ensuring that the running counts during processing, the dwell time at each logistics node, and environmental parameters can be retrieved simultaneously. Finally, through the full spatiotemporal convergence of multi-dimensional data, product traceability information is obtained.
[0036] Please see Figure 7 A traceability management system based on industrial products includes: The equipment segment identification module obtains the equipment operation count value recorded in the production equipment control terminal register, reads the timestamp second value according to the production time record, determines the equipment operation count value range according to the operation segment interval table, matches the segment number, connects the production line equipment number sequence, and obtains the equipment operation segment information; The barcode information generation module collects the production batch code recorded on the conveyor belt of the industrial product assembly station based on the equipment operation segment information, reads the product serial number, splits the production batch code segment and writes it into the equipment operation segment information, and writes the product serial number and timestamp minute value to obtain the product traceability barcode information. The node flow record module obtains vehicle number, node number, entry time information and exit time information based on product traceability barcode information, compares the order of entry time information and exit time information, and associates vehicle number, node number, entry time information and exit time information to obtain product node flow information; The node supplementation identification module reads the scan number sequence and the corresponding scan number and the previous scan number based on the product node flow information, compares the scan number order, associates the node number with the scan number order, and obtains the product node supplementation information. The traceability information association module supplements product node information, obtains the node number sequence, reads the batch number and product sequence number corresponding to the product identification code, associates the equipment operation segment number and product identification code, and obtains product traceability information.
[0037] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A traceability management method for industrial products, characterized in that, Includes the following steps: S1: Read the equipment operation count value through the production equipment control terminal register, read the timestamp second value according to the production time, determine the equipment operation count value range according to the operation segment interval table, match the segment number, connect the production line equipment number sequence, and obtain the equipment operation segment information; S2: Based on the equipment operation segment information, read the production batch code and product serial number, split the production batch code segment and write it into the equipment operation segment information to obtain product traceability barcode information; S3: Based on the product traceability barcode information, obtain the vehicle number, node number, entry time information and exit time information, compare the order of entry and exit time information, and obtain the product node flow information; S4: Based on the product node flow information, read the scan number sequence and the corresponding scan number and the previous scan number, compare the scan number order, associate the node number with the scan number order, and obtain the product node supplementary information; S5: Based on the supplementary information of the product nodes, obtain the node number sequence and read the batch number and product sequence number corresponding to the product identification code, associate the equipment operation segment number with the product identification code, and obtain product traceability information.
2. The traceability management method for industrial products according to claim 1, characterized in that, The equipment operation segment information includes equipment operation count interval value, segment number identifier, production line equipment number sequence, read timestamp in seconds, and equipment operation segment matching mark. The product traceability barcode information includes batch identification segment code, equipment operation segment write identifier, product serial number code, timestamp in minutes, and production batch segment identifier. The product node flow information includes vehicle number identifier, logistics node number identifier, node entry time record, node departure time record, and barcode association identifier. The product node supplementary information includes scan number sequence identifier, previous scan number identifier, node number matching identifier, scan interval relationship identifier, and node supplementary record identifier. The product traceability information includes equipment operation segment number identifier, product identification code identifier, node number sequence identifier, node flow content identifier, and node supplementary content identifier.
3. The traceability management method for industrial products according to claim 1, characterized in that, The equipment operation count value range refers to the numerical range of the production equipment operation count value in the operation segment range table, which determines the current operation segment to which the equipment belongs; The matching segment number refers to the identifier number corresponding to the device's operating count value range, which identifies the operating segment currently matched by the device.
4. The traceability management method for industrial products according to claim 1, characterized in that, The production line equipment numbering sequence refers to the numbering sequence formed by arranging the equipment on the production line according to the process flow. The scan number sequence refers to the sequence of scan numbers generated according to time and order during the scanning process of logistics nodes.
5. The traceability management method for industrial products according to claim 1, characterized in that, The specific steps of S1 are as follows: S101: Obtain the equipment operation count value recorded in the production equipment control terminal register, read the timestamp second value according to the production time record, compare the equipment operation count value with the operation segment interval table, retrieve the corresponding segment number, and obtain the equipment operation segment number; S102: Based on the equipment operation segment number, detect the production line equipment number and match the sequence, connect the equipment operation segment number with the production line equipment number sequence to obtain the segment equipment number sequence; S103: Based on the segment device number sequence, call the timestamp second value and associate it with the segment device number sequence to map the timestamp second value with the order of the segment device number sequence to obtain the device operation segment information.
6. The traceability management method for industrial products according to claim 1, characterized in that, The specific steps of S2 are as follows: S201: Based on the equipment operation segment information, obtain the production batch code of the industrial product assembly station conveyor belt record, split the production batch code segment, extract the batch identification segment and sequence segment, call the equipment operation segment information and write it into the batch identification segment, and obtain the batch segment code sequence by corresponding to the batch identification segment and the equipment operation segment information position. S202: Based on the batch segment coding sequence, collect the product serial number output by the industrial product packaging barcode printing terminal, obtain the production time record timestamp minute value, match the sequence position according to the batch segment coding sequence, and write the product serial number and timestamp minute value into the batch segment coding sequence according to the coding position order. Corresponding to the batch segment coding sequence and the product serial number sequence, the product identification coding sequence is obtained. S203: Based on the product identification coding sequence, retrieve the coding segment order, associate the batch identification segment, equipment operation segment information, product serial number and timestamp minute value coding position, and concatenate the coding segments according to the barcode coding order to obtain the product traceability barcode information.
7. The traceability management method for industrial products according to claim 1, characterized in that, The specific steps for S3 are as follows: S301: Based on the product traceability barcode information, detect the logistics node scanning terminal, identify the product traceability barcode information, parse the product traceability barcode information encoding, extract the product identification code field and scan the identification node, match the product identification code field with the node scanning record position to obtain the node scanning identification record; S302: Based on the node scanning and identification records, obtain the vehicle number, node number, entry time information and exit time information. According to the corresponding number in the node scanning and identification records, compare the time order of the entry time information and the exit time information, associate the vehicle number with the node number position, and obtain the node vehicle time sequence. S303: Based on the time sequence of the node vehicles, associate the product traceability barcode information, and map the vehicle number, node number, entry time information and exit time information fields to the node positions of the vehicle number, node number and product identification code fields to obtain the product node flow information.
8. The traceability management method for industrial products according to claim 1, characterized in that, The specific steps of S4 are as follows: S401: Based on the product node flow information, retrieve the scan number sequence, read the scan number sequence order, extract the corresponding scan number and the previous scan number, compare the scan number and the previous scan number order to obtain the scan number sequence order. S402: Based on the scanned number sequence, read the node number from the logistics node number table, retrieve the node number item by item, determine the interval position correspondence between the node number and the scanned number sequence, map the node number and the position of the scanned number sequence, and obtain the node number corresponding sequence. S403: Based on the sequence corresponding to the node number, call the product node flow information, associate the execution order of the node number and the scan number sequence, map the sequence corresponding to the node number and the node position of the product node flow information, and obtain supplementary product node information.
9. The traceability management method for industrial products according to claim 1, characterized in that, The specific steps of S5 are as follows: S501: Based on the supplementary information of the product nodes, retrieve the node number order, read the node number order, obtain the product identification code and parse the corresponding product batch number and product sequence number, and obtain the product identification sequence according to the position of the corresponding product batch number and product sequence number in the node number order; S502: Based on the product identification sequence, call the device operation segment number, match the device operation segment number with the product identification code field position, and associate the device operation segment number with the product identification sequence according to the node number order to obtain the segment code node sequence; S503: Based on the segment code node sequence, call the product node supplementary information, and map the device operation segment number, product identification code and node number sequence node position to obtain product traceability information.
10. A traceability management system for industrial products, characterized in that, The system is used to implement the traceability management method for industrial products according to any one of claims 1-9, the system comprising: The equipment segment identification module obtains the equipment operation count value recorded in the production equipment control terminal register, reads the timestamp second value according to the production time record, determines the equipment operation count value range according to the operation segment interval table, matches the segment number, connects the production line equipment number sequence, and obtains the equipment operation segment information; Based on the equipment operation segment information, the barcode information generation module collects the production batch code recorded on the conveyor belt of the industrial product assembly station, reads the product serial number, splits the production batch code segment and writes it into the equipment operation segment information, and simultaneously writes the product serial number and the timestamp minute value to obtain the product traceability barcode information. The node flow record module obtains the vehicle number, node number, entry time information and exit time information based on the product traceability barcode information, compares the order of entry time information and exit time information, and associates the vehicle number, node number, entry time information and exit time information to obtain product node flow information; Based on the product node flow information, the node supplementation identification module reads the scan number sequence and the corresponding scan number and the previous scan number, compares the scan number order, associates the node number with the scan number order, and obtains the product node supplementation information. The traceability information association module obtains the node number sequence and reads the batch number and product sequence number corresponding to the product identification code based on the product node supplementary information, and associates the equipment operation segment number with the product identification code to obtain product traceability information.
Citation Information
Patent Citations
A traditional Chinese medicine quality tracing method based on big data technology
CN105701672A
Tracing information implantation method and system
CN113888196A
Fiber fabric production tracing system and method based on Internet of Things
CN120355439A
Copper pipe quality tracing data storage method and system
CN120631904A
Real-time monitoring method and system for milk powder production and processing
CN121352445A