A radio frequency identification-based clothing item traceability method, device, and medium

CN122948520APending Publication Date: 2026-10-20HANGZHOU LIJIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611161746.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-03
Publication Date
2026-10-20

AI Technical Summary

Technical Problem

[0005]因此,本发明提供了一种基于射频识别的服装单品溯源方法解决了现有技术存在的流转事件逻辑一致性校验维度单一以及缺乏动态可信度评估机制的问题

Benefits of technology

[0016]第三方面,本发明提供了一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如本发明第一方面所述的基于射频识别的服装单品溯源方法的任一步骤。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

This invention discloses a method, device, and medium for tracing individual garment items based on radio frequency identification (RFID), relating to the field of supply chain traceability technology. The method includes: generating an RFID tag code for each garment item and writing it into the tag; binding it with initial master data to form an initial traceability record; generating an initial tag verification mark; and establishing a traceability rule parameter set. When a garment item passes through a transfer node, the RFID tag code is read, garment transfer events are collected, a garment transfer event record is formed, and a garment transfer sequence is generated in chronological order. Based on the traceability rule parameter set, the rationality of time sequence, location path, business actions, document association, state transition, and node dwell time is verified; the final credibility value is calculated; and a credible traceability chain or anomaly alert record is generated. According to query permission rules, the garment item traceability results are output, achieving precise filing and anti-counterfeiting at the garment level, complete recording throughout the entire lifecycle, dynamic credibility assessment, and differentiated traceability display.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of supply chain traceability technology, and in particular to a method, equipment and medium for tracing individual clothing items based on radio frequency identification. Background Technology

[0002] In the apparel industry, item-level traceability management is crucial for brand anti-counterfeiting, supply chain transparency, and quality responsibility traceability. Currently, the industry commonly uses technologies such as one-dimensional barcodes, two-dimensional quick-response (QR) codes, and high-frequency radio frequency identification (HFRFID) tags. Among these, barcode technology is widely used in apparel hangtag systems due to its low cost and ease of deployment, enabling item information entry and retrieval through optical scanning; QR codes, on the other hand, facilitate information interaction with consumers via mobile terminals. Furthermore, some companies have introduced RFID technology, using radio waves to non-contactly read embedded tags on apparel hangtags, supporting batch inventory and inbound / outbound operations, and improving data collection efficiency in the distribution process.

[0003] However, conventional traceability methods still have certain limitations in practical applications. On the one hand, optically based barcodes and QR codes are susceptible to physical wear, oil stains, or light obstruction, leading to scanning failures and requiring manual re-entry, which reduces the continuity of operations in the circulation process. On the other hand, they focus more on improving reading efficiency and lack a system verification mechanism for the logical consistency of the time sequence, location path, business actions, state transitions, and node dwell time between circulation events, making it difficult to effectively identify credibility decline issues caused by equipment misreading, label duplication, or abnormal business processes. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides a method for tracing the origin of clothing items based on radio frequency identification, which solves the problems of the existing technology having a single dimension for verifying the logical consistency of circulation events and lacking a dynamic credibility assessment mechanism.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0007] In a first aspect, the present invention provides a method for tracing individual garment items based on radio frequency identification (RFID), comprising: generating an RFID tag code for each garment item; writing the RFID tag code into an RFID tag and binding it with initial master data to form an initial traceability record; simultaneously generating an initial tag verification mark and establishing a traceability rule parameter set; when the garment item passes through production, warehousing, logistics, store sales, or after-sales nodes, reading the RFID tag code, collecting the occurrence time, location, business action, business document number, flow direction, and individual item business status of the flow event, forming an individual item flow event record, and generating an individual item flow sequence in chronological order; performing time sequence, location path, business action, document association, state transition, and node dwell rationality verification on the individual item flow sequence based on the traceability rule parameter set, calculating the final credibility value, and generating an individual item credible traceability chain or anomaly prompt record; and calling the initial traceability record, individual item flow sequence, final credibility value, individual item credible traceability chain, and anomaly prompt record according to query permission rules, and outputting the garment item traceability result.

[0008] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the traceability rule parameter set includes location path rules, business action sequence rules, document association rules, state transition rules, node dwell time rules, anomaly weight parameters, trust thresholds, and query permission rules.

[0009] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the step of forming an item circulation event record includes: when an apparel item passes through any circulation node, the RFID reading device of the circulation node reads the RFID tag of the apparel item to obtain the current reading code; the initial traceability record is retrieved based on the current reading code; if the current reading code matches the initial traceability record, the apparel item is determined to be a documented apparel item, and the business data of the current circulation node is collected; if the current reading code does not match the initial traceability record, the apparel item is determined to be an undocumented apparel item, and an undocumented reading record is formed, which does not enter the normal item circulation sequence.

[0010] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the step of generating an item circulation sequence in chronological order includes: after completing the RFID tag encoding reading, occurrence time acquisition, occurrence location determination, business action determination, business document number acquisition, circulation direction determination, and item business status determination, forming an item circulation event record; the item circulation event record includes the RFID tag encoding, the occurrence time of the circulation event, the occurrence location of the circulation event, the business action of the circulation event, the business document number of the circulation event, and the circulation direction of the circulation event. The system tracks the status of individual items after the completion of each item's transfer event. Based on time windows and business actions, the system performs deduplication on the reading results of the same garment item. When the same RFID tag code is read by the same reading device or the same transfer node within the deduplication time window, and the corresponding business actions are the same, the earliest item transfer event record is retained. For item transfer event records marked as non-duplicate after repeated reading, the data processing end writes the item transfer event record into the item transfer record set of the RFID tag code and sorts them according to the occurrence time to generate an item transfer sequence.

[0011] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the step of verifying the time sequence, location path, business action, document association, state transition, and node dwell rationality of the item flow sequence based on the traceability rule parameter set includes: calling the initial label verification mark and traceability rule parameter set corresponding to the apparel item, and determining whether the total number of valid flow event records is greater than or equal to one; when the total number of valid flow event records is zero, if the initial label verification mark passes, the final confidence value is set to one, and the apparel item is marked as archived but not yet forming a flow chain; if the initial label verification mark fails, the final confidence value is set to one. The initial value is set to zero, and an initial label error message record is generated. When the total number of valid flow event records is greater than or equal to one, the data processing end selects two adjacent records for verification in sequence. Based on the location path rules, business action sequence rules, document association rules, state transition rules, and node dwell time rules in the traceability rule parameter set, the two adjacent records are subjected to time sequence verification, location path verification, business action verification, document association verification, state transition verification, and node dwell time rationality verification, respectively, to obtain the number of time sequence anomalies, the number of location path anomalies, the number of business action anomalies, the number of document association anomalies, the number of state transition anomalies, and the number of node dwell time anomalies.

[0012] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the specific steps for calculating the final credibility value and generating a single-item credible traceability chain or anomaly alert record are as follows: Based on the number of time-series anomalies, location-path anomalies, business action anomalies, document association anomalies, state transition anomalies, and node dwell anomalies, combined with the anomaly weight parameters in the traceability rule parameter set, the initial credibility value of the apparel item is calculated; the initial credibility value is then limited to obtain the final credibility value; wherein, when the initial credibility value is less than zero, the final credibility value is set to zero; when the initial credibility value is between zero and one, the initial credibility value is used as the final credibility value; and when the initial credibility value is greater than one, the final credibility value is set to one; the final credibility value is compared with the credibility threshold in the traceability rule parameter set; when the final credibility value is not lower than the credibility threshold, a single-item credible traceability chain is generated based on the single-item circulation sequence; when the final credibility value is lower than the credibility threshold, the already formed single-item circulation sequence is retained, and anomaly alert record is generated.

[0013] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the output of the apparel item traceability result includes: the querying entity initiates an apparel item traceability query request through an RFID reading device, store POS terminal, after-sales processing terminal, mobile query terminal, or regulatory query terminal; after receiving the query request, the data processing terminal determines the querying entity type based on the querying entity's identity identifier; the data processing terminal retrieves the initial traceability record based on the RFID tag code in the query request; if no corresponding initial traceability record is found, it is determined that the RFID tag code has not been properly filed, and an unfiled tag prompt is output; if an unfiled reading record has been formed at the circulation node, the reading time, reading location, and reading device number in the unfiled reading record are output to indicate the risk of unfiled use, copied tags, or incorrect tags.

[0014] As a preferred embodiment of the RFID-based apparel item traceability method of the present invention, the output of the apparel item traceability result further includes: when the corresponding initial traceability record is found according to the RFID tag code, the data processing terminal calls the item circulation sequence, final credibility value, item credible traceability chain, abnormal prompt record, and query permission rules corresponding to the RFID tag code; if the item circulation sequence only includes the initial traceability record and there is no item circulation event record, the production filing information of the apparel item, the initial tag verification mark, and the prompt that a complete circulation record has not yet been formed are output; if there is an item circulation event record in the item circulation sequence, the data processing terminal compares the final credibility value with the credibility threshold in the traceability rule parameter set, and determines the traceability output status according to the comparison result; wherein, when the final credibility value is not lower than the credibility threshold, the traceability output status is credible output, and when the final credibility value is lower than the credibility threshold, the traceability output status is abnormal output; the final apparel item traceability result is generated according to the traceability output status and the query permission rules.

[0015] In a second aspect, the present invention provides a computer device including a memory and a processor, wherein the memory stores a computer program, and the computer program, when executed by the processor, implements any step of the RFID-based apparel item traceability method described in the first aspect of the present invention.

[0016] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any step of the RFID-based apparel item traceability method described in the first aspect of the present invention.

[0017] The beneficial effects of this invention are as follows: By using unique RFID tag encoding and initial tag verification, it achieves precise filing and source anti-counterfeiting at the single-item level, improving the initial credibility of traceability data; by collecting multi-dimensional circulation events and generating deduplicated time series, it achieves complete recording of the entire lifecycle, avoiding interference from duplicate data; by using six-dimensional logical verification and anomaly weight calculation, it achieves dynamic credibility assessment of the circulation link, accurately identifying abnormal nodes and business conflicts; by using credibility threshold comparison and hierarchical output of permissions, it achieves differentiated traceability result display, taking into account both consumer verification and in-depth supply chain monitoring. Attached Figure Description

[0018] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the 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.

[0019] Figure 1This is a flowchart of a method for tracing the origin of clothing items based on radio frequency identification.

[0020] Figure 2 A flowchart for the formation of single-item circulation event records and the generation of single-item circulation sequences.

[0021] Figure 3 This is a flowchart for verifying the consistency of a single product's circulation sequence and generating the final credibility value.

[0022] Figure 4 A flowchart for outputting the traceability results of individual clothing items.

[0023] Figure 5 This is a comparison chart of the detection rates of abnormal processes in multi-node flow.

[0024] Figure 6 This is a graph showing the completion rate of high-density turnover box inventory readings. Detailed Implementation

[0025] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0026] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and those skilled in the art can make similar extensions without departing from the spirit of the invention. Therefore, the invention is not limited to the specific embodiments disclosed below.

[0027] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The phrase "in one embodiment" appearing in different places in this specification does not necessarily refer to the same embodiment, nor is it a single or selective embodiment that is mutually exclusive with other embodiments.

[0028] Reference Figures 1-6 This is one embodiment of the present invention, which provides a method for tracing the origin of clothing items based on radio frequency identification, including the following steps:

[0029] S1. For each garment item, generate an RFID tag code, write the RFID tag code into the RFID tag, and bind it with the initial master data to form an initial traceability record. At the same time, generate an initial tag verification mark and establish a traceability rule parameter set.

[0030] Furthermore, after the garments have completed production, sewing, ironing, quality inspection, and entered the finished product filing stage, each garment item undergoes RFID tag initialization processing.

[0031] The clothing items can include tops, trousers, skirts, coats, children's wear, sportswear, or other clothing products with independent sales attributes. Each clothing item is assigned a unique radio frequency identification (RFID) tag code before entering the warehouse, enabling it to be uniquely identified during subsequent processes such as production and warehousing, shelving, logistics handover, store sales, and after-sales returns and exchanges.

[0032] In this embodiment, the brand information, category information, style information, color and size information, production batch information and production flow information corresponding to the clothing item are first obtained, and radio frequency identification tag codes are generated according to fixed coding rules.

[0033] The RFID tag code is formed by combining the brand code, category code, style code, color and size code, production batch code, individual item serial number code, and verification code in sequence.

[0034] Among them, the brand code is used to indicate the brand to which the clothing belongs; the category code is used to indicate the category to which the clothing belongs; the style code is used to indicate the style of the clothing; the color and size code is used to indicate the combination of color and size of the clothing; the production batch code is used to indicate the production batch to which the clothing belongs; the single item serial number code is used to distinguish different clothing items within the same production batch; and the verification code is used to determine whether there are reading errors, writing errors or human tampering in the RFID tag code.

[0035] To improve the error prevention capability of RFID tag coding, the verification code is calculated based on the brand code, category code, style code, color and size code, production batch code, and individual item serial number code.

[0036] In one embodiment, a verification code is generated, represented as follows: ;

[0037] in, Indicates the verification code; Indicates the number of participants in the verification calculation The numerical value of a bit-encoded character; Indicates the first Verification weight of bit-encoded characters; Indicates the total number of encoded characters involved in the check calculation; This represents the modulo parameter.

[0038] It should be noted that the verification weight is a set positive integer, with a value range of 1 to 9; in one implementation, integers from 1 to 9 are cyclically assigned as the verification weights of the corresponding bits according to the position order of the encoded characters, and each verification weight is stored together with the encoding rules in the traceability rule parameter set.

[0039] It should be noted that the modulo parameter is predetermined based on the number of bits and the encoding base of the check code. For example, when the check code is represented by a single decimal digit, the modulo parameter is set to 10; when the check code is represented by two decimal digits, the modulo parameter is set to 100. The modulo parameter is stored in the traceability rule parameter set along with the encoding rules.

[0040] It should be noted that by using the verification code, the verification code can be recalculated when reading the RFID tag code in the future, and the recalculated verification code can be compared with the verification code carried in the code to determine whether there is a reading error or code tampering.

[0041] After generating the RFID tag code, the RFID tag code is written into the RFID tag attached to the clothing item.

[0042] Radio frequency identification (RFID) tags can be placed on clothing hang tags, care labels, packaging labels, or other locations that do not affect the sale and wear of the clothing.

[0043] During the writing process, the RFID writing device reads the production task information of the garment item to be documented and writes the generated RFID tag code into the writable storage area of ​​the corresponding RFID tag.

[0044] In one embodiment, only the RFID tag code is written into the RFID tag, and complete business data such as fabric batch number, accessory batch number, quality inspection conclusion, and production entity code are not directly written into it.

[0045] Complete business data is stored in the apparel traceability data processing terminal and accessed through radio frequency identification tag encoding.

[0046] Writing via RFID tags can avoid the problems of limited storage capacity of RFID tags, difficulty in subsequent changes to business data, and leakage of complete business data after the tag is illegally read.

[0047] After the writing is completed, the RF writing device will generate a writing log containing the writing time, device number, operator identification, and writing result.

[0048] The log entries are associated with the RFID tag encoding and stored together for subsequent determination of whether the tag writing process is complete.

[0049] After the RFID tag code is written, the RFID tag code is bound to the initial master data of the clothing item to form the initial traceability record.

[0050] Initial master data includes fabric batch number, accessory batch number, cutting batch number, sewing station number, quality inspection conclusion, production time, production location, production entity code, and initial single-item business status.

[0051] Among them, the fabric batch number is used to trace the source of the fabric used in the garment; the accessory batch number is used to trace the source of accessories such as buttons, zippers, hang tags, and sewing threads; the cutting batch number is used to indicate the cutting batch corresponding to the garment; the sewing station number is used to indicate the production station that performs the main sewing operations; the quality inspection conclusion is used to indicate whether the garment is qualified before leaving the factory; the production time is used to indicate the time when the garment's production and filing are completed; the production location is used to indicate the location where the garment is produced or the finished product is filed; the production entity code is used to indicate the manufacturer or processing entity; and the initial single-item business status is used to indicate the current business status of the single garment item.

[0052] In this embodiment, the initial status of a single product business is set to "filed and awaiting warehousing".

[0053] The initial traceability record includes the RFID tag code, fabric batch number, accessory batch number, cutting batch number, sewing station number, quality inspection conclusion, production time, production location, production entity code, and initial single-item business status.

[0054] By binding the RFID tag code to the initial master data of an individual garment, the RFID tag code becomes a unified index for the garment's production origin data, quality responsibility data, and subsequent circulation data. Any subsequent circulation node only needs to read the RFID tag code to access the initial traceability record corresponding to that garment.

[0055] After the initial traceability record is formed, the RFID tag that has been written is read for the first time using an RFID reader to obtain the initial read code.

[0056] It should be noted that the radio frequency reading device can be a fixed radio frequency reading device, a handheld radio frequency reading device, a channel radio frequency reading device, or a radio frequency reading device configured at the store's cashier.

[0057] The initial read code is compared with the written RFID tag code, and the check code in the initial read code is recalculated to determine whether the RFID tag is written correctly and the reading is stable.

[0058] Specifically, the rules for determining whether an RFID tag is written correctly and read stably are as follows: When the initial read code matches the written RFID tag code, and the verification code recalculated based on the initial read code matches the verification code carried in the RFID tag code, it indicates that the RFID tag is written correctly and the reading result is reliable. In this case, the initial tag verification flag is set to 1, indicating that the initial tag verification has passed. When the initial read code does not match the written RFID tag code, or the verification code recalculated based on the initial read code does not match the verification code carried in the RFID tag code, it indicates that the RFID tag may have a writing error, a reading error, or that the code has been tampered with. In this case, the initial tag verification flag is set to 0, indicating that the initial tag verification has failed.

[0059] Furthermore, when the initial label verification mark is 1, it means that the initial label verification has passed and the garment item is allowed to enter the subsequent warehousing and circulation process; when the initial label verification mark is 0, it means that the initial label verification has failed, the garment item is marked as "label review status", the entry into the subsequent warehousing and circulation process is suspended, and an initial label abnormality prompt record is generated.

[0060] By comparing the initial code reading, RFID tags with writing errors, reading anomalies, or tampered codes can be removed before clothing items enter the supply chain, preventing subsequent circulation records from being contaminated by erroneous tags.

[0061] After completing the RFID tag encoding, initial master data binding, and initial tag verification, a set of traceability rule parameters corresponding to the brand, category, and distribution channel of each garment item is established.

[0062] The traceability rule parameter set is used for subsequent consistency verification of the individual product circulation sequence and for determining the range of output fields during the final traceability query.

[0063] The traceability rule parameter set includes location path rules, business action sequence rules, document association rules, state transition rules, node dwell time rules, anomaly weight parameters, trust thresholds, and query permission rules.

[0064] Location path rules are used to define the permissible flow of apparel items from production location, warehouse location, logistics location, store location, consumer return location, to after-sales repair location. For example, an item may be allowed to enter a warehouse location after production; it may enter a logistics location or store location after a warehouse location; and it may enter a consumer location or after-sales repair location after a store location. If a subsequent flow event does not conform to the location path rules, it will be recorded as a location path anomaly during subsequent consistency checks.

[0065] Business action sequence rules are used to define the permissible order of actions such as filing, receiving, shelving, picking, shipping, handover, receiving, sales, returns, and repairs. For example, receiving is allowed after "filed and awaiting receiving," shelving or picking is allowed after receiving, and returns or repairs are only allowed after sales.

[0066] Document association rules are used to specify the types of business documents that should be matched for different business actions. For example, an inbound action should be matched with an inbound order number, an outbound action should be matched with an outbound order number, a logistics handover action should be matched with a logistics tracking number, a sales action should be matched with a sales order number, and a return or repair action should be matched with an after-sales order number.

[0067] State transition rules are used to limit the allowed transition relationships between individual product business states. For example, the initial individual product business state "filed and awaiting warehousing" can be transitioned to "warehousing"; "warehousing" can be transitioned to "shelved" or "picked"; "sold" can be transitioned to "returned" or "under repair".

[0068] The node dwell time rule is used to limit the reasonable dwell time range for individual apparel items between different business nodes. For different combinations of adjacent business actions, minimum and maximum allowable dwell times are set separately. For example, the dwell time between warehouse picking and sales outbound should fall within the preset picking processing time range, the dwell time between logistics handover and store receiving should fall within the preset transportation time range, and the dwell time between sales and returns should fall within the preset after-sales period range.

[0069] The anomaly weight parameter is used to determine the degree of impact of different anomaly types on the credibility value. The anomaly weight parameters include time sequence anomaly weight, location path anomaly weight, business action anomaly weight, document association anomaly weight, state transition anomaly weight, and node dwell anomaly weight. Higher weights can be set for anomaly types with significant impact, such as tag duplication, business document conflicts, or state transition errors; lower weights can be set for anomaly types with less impact that can be corrected manually.

[0070] The credibility threshold is used to determine whether the final credibility value generated subsequently meets the requirements for credible traceability. Query permission rules are used to limit the range of traceability fields that different query subjects can obtain. For example, consumers can query clothing category, style, color, size, production batch, main fabric information, production location, manufacturing time, and authenticity verification results; brand owners, distributors, or regulators can query the complete node path, business document number, transfer entity, location of abnormal events, abnormality type, and abnormality description; stores or after-sales personnel can query sales records, return and exchange status, repair status, and current single-item business status.

[0071] S2. When a garment item passes through the production, warehousing, logistics, store sales or after-sales nodes, read the RFID tag code, collect the occurrence time, location, business action, business document number, flow direction and single item business status of the flow event, form a single item flow event record, and generate a single item flow sequence in chronological order.

[0072] Furthermore, when a garment passes through any circulation node, the radio frequency reading device at the circulation node reads the radio frequency identification tag of the garment to obtain the current reading code.

[0073] The data processing end retrieves the initial traceability record formed in the preceding sequence based on the current read encoding.

[0074] If the current read code can match the initial traceability record, the clothing item is determined to be a documented clothing item, and the collection of business data at the current flow node is allowed; if the current read code cannot match the initial traceability record, the clothing item is determined to be an undocumented clothing item, and an undocumented read record is generated.

[0075] Undocumented read records include the current read code, read time, read location, read device number, node type, and the operating entity to which the node belongs. Undocumented read records do not enter the normal product circulation sequence, but serve as the basis for subsequent anomaly alerts and manual verification.

[0076] For clothing items that can be matched with the initial traceability record, the data processing terminal collects the occurrence time of the current circulation event.

[0077] The occurrence time is determined by the local clock of the RF reading device, the node service system time, or the data processing terminal reception time.

[0078] In a preferred embodiment, to avoid misjudgment of time sequence verification due to clock deviations at different nodes, the data processing end receiving time is used as the primary time, and the local clock of the radio frequency reading device is used as the auxiliary time.

[0079] If the difference between the local clock of the RF reading device and the receiving time of the data processing terminal does not exceed the time deviation threshold, the local clock of the RF reading device is taken as the occurrence time of the flow event; if the difference between the two exceeds the time deviation threshold, the receiving time of the data processing terminal is taken as the occurrence time of the flow event, and the flow event is marked as "time pending verification".

[0080] It should be noted that the time deviation threshold is determined based on the historical time deviation records after the radio frequency reading devices and data processing terminals of each transfer node have completed clock synchronization. Specifically, the sum of the average value and standard deviation of the absolute value of the time deviation of the same type of nodes within the statistical period is taken as the maximum allowable time deviation, i.e., the time deviation threshold; the value range is usually from 1 to 300 seconds.

[0081] The data processing end determines the location of the transfer event based on the node identity information of the current transfer node.

[0082] The location of the event can be represented by the node location, warehouse location, store location, logistics handover location, or after-sales service location.

[0083] In one embodiment, the location of the event is not directly entered manually, but is obtained by matching the RFID device number with a pre-stored node location table.

[0084] The pre-stored node location table records the correspondence between the RF reading device number and the node location.

[0085] After the reading device completes the tag reading, the data processing terminal queries the pre-stored node location table based on the reading device number to determine the location where the current circulation event occurred.

[0086] It should be noted that obtaining the location of an event through the correspondence between the device number and the node location table can reduce manual input errors and allow the location of the event to be directly used in subsequent location path verification.

[0087] The data processing end determines the business action corresponding to the current flow event based on the node type of the current flow node, the business system trigger command, or the business process selected by the operator.

[0088] Business operations include warehousing, shelving, picking, outbound, handover, receiving, sales, returns, and repairs.

[0089] At the production receiving stage, if the current garment item moves from the completed production state to the finished goods warehouse, the business action is determined as receiving; at the warehousing stage, if the current garment item is placed on a shelf or storage location, the business action is determined as shelving; if the current garment item is picked out and prepared for shipment to a store or distributor, the business action is determined as picking; if the current garment item leaves the storage location, the business action is determined as outbound; at the logistics stage, if the current garment item is delivered from one operating entity to another, the business action is determined as handover; at the store stage, if the store receives the garment item, the business action is determined as receiving; if the garment item enters the store shelf, the business action is determined as shelving; if the garment item is purchased by a consumer, the business action is determined as sale; at the after-sales stage, if a consumer returns the garment item, the business action is determined as return; if the garment item enters the repair or quality handling process, the business action is determined as repair.

[0090] It should be noted that, to ensure consistency between business actions and actual business processes, the data processing end associates the RFID tag codes it reads with inbound orders, outbound orders, logistics handover orders, sales orders, or after-sales orders in the business system. Only when a business process corresponding to a specific apparel item exists in the current business system will the corresponding business action be written into the item's circulation event record.

[0091] After the business action is determined, the data processing terminal collects the business document number corresponding to the current business action.

[0092] The business document number is determined according to the type of business action: the inbound action corresponds to the inbound document number, the outbound action corresponds to the outbound document number, the logistics handover action corresponds to the logistics document number, the receiving action corresponds to the receiving document number, the sales action corresponds to the sales order number, the return action corresponds to the return document number, and the repair action corresponds to the after-sales repair document number.

[0093] In one embodiment, the business document number is automatically provided by the business system of the current node, rather than being manually entered by the operator. The data processing end queries the current business system for a matching business document based on the RFID tag code. If a unique matching business document exists, the business document number is used as the business document number for the current flow event; if no matching business document exists, or if two or more conflicting business documents exist, a flow event record is still generated, but the business document number field is marked as "pending review," and recorded as a document association anomaly in subsequent document association verification.

[0094] It should be noted that by matching business document numbers, the actual read events can be preserved, while avoiding the complete loss of flow events due to missing business documents.

[0095] The data processing end determines the flow direction corresponding to the current flow event based on the location of the previous flow event, the location of the current flow event, the previous single product business status, and the current business action.

[0096] The flow direction includes one of the following: from production end to warehousing end, from warehousing end to logistics end, from logistics end to store end, from store end to consumer end, from consumer end to after-sales service end, and from after-sales service end to store end.

[0097] In one embodiment, if the current circulation event is the first circulation event of a single garment item, the production location in the initial traceability record is taken as the previous location, the initial single item business status is taken as the previous status, and the circulation direction is determined based on the current location and the current business action.

[0098] If the current transfer event is not the first transfer event, the location and business status of the previous transfer event record for the clothing item are retrieved, and the transfer direction is determined together with the current location and current business action.

[0099] In one specific implementation, the flow direction is determined according to a direction mapping table.

[0100] The direction mapping table includes at least the previous node type, the current node type, the current business action, and the corresponding flow direction. The data processing end queries the direction mapping table based on the previous node type, the current node type, and the current business action to obtain the flow direction corresponding to the current flow event. If the corresponding flow direction cannot be found, the flow direction is marked as "unknown direction" and used as the basis for anomaly judgment in subsequent location path verification or business action verification.

[0101] By determining the flow direction through flow events, the flow direction is not entered into isolated data, but is determined by the preceding and following nodes and business actions. This can be used to subsequently determine whether there are reverse flow, cross-regional anomalies, or suspected cross-selling issues for individual clothing items.

[0102] The data processing terminal determines the product business status after the completion of the current flow event based on the current business action, the previous product business status, and the status transition rules. The product business status includes: filed and awaiting warehousing, already in stock, already shelved, already picked, already shipped, in transit, received by store, already shelved by store, already sold, already returned, under repair, and after-sales service completed.

[0103] In one embodiment, if the current business action is warehousing, the current item's business status is determined to be warehousing; if the current business action is shelving and the current node is a warehouse node, the current item's business status is determined to be shelving; if the current business action is picking, the current item's business status is determined to be picking; if the current business action is outbound, the current item's business status is determined to be outbound; if the current business action is handover and the current node is a logistics node, the current item's business status is determined to be in transit; if the current business action is receiving and the current node is a store node, the current item's business status is determined to be store received; if the current business action is sales, the current item's business status is determined to be sold; if the current business action is returns, the current item's business status is determined to be returned; if the current business action is repair, the current item's business status is determined to be repairing.

[0104] If the current business action does not conform to the state transition rules of the previous single product business status, the data processing end will still form a single product flow event record, but mark the flow event as "status pending review" and record it as a state transition anomaly in the subsequent state transition verification.

[0105] After completing the reading of RFID tag codes, collection of occurrence time, determination of occurrence location, determination of business action, collection of business document number, determination of flow direction, and determination of individual product business status, the data processing terminal generates an individual product flow event record.

[0106] The individual product circulation event record includes the RFID tag code, the time of occurrence of the circulation event, the location of the circulation event, the business action of the circulation event, the business document number of the circulation event, the circulation direction of the circulation event, and the individual product business status after the completion of the circulation event.

[0107] To avoid duplicate records caused by the same clothing item being read multiple times by the RFID reader in a short period of time at the same node, the data processing end also performs deduplication based on time windows and business actions.

[0108] Specifically, if the same RFID tag code is read by the same reading device or the same transfer node within the deduplication time window, and the corresponding business actions are the same, then the earliest read-formed single-item transfer event record is retained, and subsequent repeated reads are only saved as read logs and are not written into the single-item transfer sequence.

[0109] Specifically, the duplicate read judgment rule is determined based on the code, business action, location, and time interval of the same garment item in two adjacent reads. If the RFID tag code of the current read is the same as the RFID tag code of the adjacent read, the business action corresponding to the current read is the same as the business action corresponding to the adjacent read, the location corresponding to the current read is the same as the location corresponding to the adjacent read, and the time difference between the current read time and the adjacent read time is less than or equal to the deduplication time window, it is judged as "duplicate," the duplicate read judgment flag is set to 1, and it is not written into the garment circulation sequence as a new item circulation event. Conversely, if any condition is not met, it is judged as "non-duplicate," the duplicate read judgment flag is set to 0, and it is written into the garment circulation sequence as a valid circulation event.

[0110] It should be noted that the duplicate reading judgment method uses the collected RFID tag code, business action, location and time of occurrence for judgment, without the need for additional hardware, which can reduce the interference of repeated readings of the same node on subsequent credibility judgment.

[0111] For repeated readings of single-item circulation event records marked as non-repeating, the data processing end writes the single-item circulation event records into the single-item circulation record set corresponding to the RFID tag code, sorts them according to the occurrence time, and generates a single-item circulation sequence.

[0112] It should be noted that if two single-item circulation event records occur at the same time, they will be sorted according to the order of business actions; if they occur at the same time and the order of business actions cannot be distinguished, they will be sorted according to the time of business document generation or the time of data processing terminal reception.

[0113] S3. Based on the traceability rule parameter set, perform time sequence, location path, business action, document association, state transition and node dwell rationality verification on the single product circulation sequence, calculate the final credibility value, and generate a single product credible traceability chain or abnormal prompt record.

[0114] Furthermore, after forming the individual item circulation sequence for each garment item, the data processing end calls the initial label verification mark and traceability rule parameter set corresponding to that garment item to perform consistency verification on the individual item circulation sequence.

[0115] Consistency checks include time sequence checks, location path checks, business action checks, document association checks, state transition checks, and node dwell time reasonableness checks.

[0116] Specifically, before performing consistency verification, the data processing end first determines whether the total number of valid flow event records is greater than or equal to 1.

[0117] When the total number of valid transfer event records is 0, it indicates that the garment item only has an initial traceability record and has not yet formed subsequent garment transfer event records. In this case, the consistency check between adjacent events is not performed. If the initial label verification is marked as passed, the final confidence value is set to 1, and the garment item is marked as "filed but no transfer chain has been formed"; if the initial label verification is marked as failed, the final confidence value is set to 0, and an initial label exception prompt record is generated.

[0118] When the total number of valid transfer event records is greater than or equal to 1, the data processing end selects two adjacent records for verification in sequence.

[0119] For the Group of adjacent records, the previous record of a single item circulation event is The next record is ,in, The value range is 1 to .when At that time, the previous record is the initial traceability record, and the next record is the record of the first single-item circulation event. Among them, Indicates the first Single item circulation record event Indicates the first This is a record of events related to the circulation of a single item.

[0120] Furthermore, the time sequence check is used to determine whether the circulation events of individual clothing items occur in a reasonable chronological order. The data processing end reads the occurrence time from the previous record and the occurrence time from the next record, and determines whether the occurrence time of the next record is later than the occurrence time of the previous record.

[0121] If the occurrence time of the next record is later than the occurrence time of the previous record, the adjacent records in the current group are determined to pass the time order check; if the occurrence time of the next record is earlier than or equal to the occurrence time of the previous record, the adjacent records in the current group are determined to have a time order anomaly, and the time order anomaly count is increased by one.

[0122] It should be noted that by verifying the time sequence, it is possible to identify reversed records, incorrect timestamps, delayed entries that are not marked, and possible abnormal data insertion.

[0123] Furthermore, location path verification is used to determine whether clothing items flow according to location path rules. The data processing end calls the location path rules from the traceability rule parameter set and reads the occurrence location of the previous record, the occurrence location of the next record, and the corresponding flow direction of the next record.

[0124] Location routing rules are used to define the permissible flow relationships between production locations, warehousing locations, logistics locations, store locations, consumer return locations, and after-sales repair locations. For example, a production location may be allowed to enter a warehousing location; a warehousing location may be allowed to enter a logistics location or store location; a logistics location may be allowed to enter a store location; a store location may be allowed to enter the consumer location; and the consumer location may be allowed to enter the after-sales repair location.

[0125] If the path from the previous location to the next location conforms to the location path rules, and the flow direction of the next record is consistent with the actual flow relationship between the two locations, then the adjacent records in the current group are deemed to have passed the location path verification. If the path from the previous location to the next location does not conform to the location path rules, or the flow direction of the next record is inconsistent with the actual flow relationship between the two locations, then the adjacent records in the current group are deemed to have a location path anomaly, and the location path anomaly count is increased by one.

[0126] It should be noted that location path verification can identify situations such as cross-regional anomalies, direct sales without warehousing, sales occurring in stores without logistics handover, and abnormal returns to non-after-sales locations after sales.

[0127] Furthermore, the business action verification is used to determine whether adjacent business actions of a single garment item conform to the preset business action sequence rules. The data processing end calls the business action sequence rules from the traceability rule parameter set and reads the business action corresponding to the previous record, the business action corresponding to the next record, and the flow direction corresponding to the next record.

[0128] Business action sequence rules are used to define the permissible order of actions such as filing, receiving, shelving, picking, shipping, handover, receiving goods, sales, returns, and repairs. For example, receiving is allowed after filing, shelving or picking is allowed after receiving, shipping is allowed after picking, handover is allowed after shipping, store shelving or sales is allowed after receiving goods at the store, and returns or repairs are allowed after sales.

[0129] If the sequence of business actions from one record to the next conforms to the business action sequence rules, and the flow direction of the next record matches the next business action, then the adjacent records in the current group are deemed to have passed the business action verification. If the sequence of business actions from one record to the next does not conform to the business action sequence rules, or the flow direction of the next record does not match the next business action, then the adjacent records in the current group are deemed to have a business action anomaly, and the business action anomaly count is increased by one.

[0130] It should be noted that through business action verification, situations that do not conform to the business logic of apparel circulation, such as goods being shipped out before being received, goods being returned before being sold, logistics handover occurring before goods are shipped out, and goods being put on the shelves for sale before being received, can be identified.

[0131] Furthermore, document association verification is used to determine whether the circulation event of a single garment item has corresponding business document support. The data processing end calls the document association rules from the traceability rule parameter set and reads the business action, occurrence location, single item business status, and business document number corresponding to the next record.

[0132] Document association rules are used to specify the types of business documents that should be matched for different business actions. For example, an inbound action should be matched with an inbound order number, an outbound action should be matched with an outbound order number, a logistics handover action should be matched with a logistics order number, a store receiving action should be matched with a receiving order number, a sales action should be matched with a sales order number, a return action should be matched with a return order number, and a repair action should be matched with an after-sales repair order number.

[0133] If the document number in the next record can be uniquely associated with the document corresponding to the business action, location, and item business status, then the adjacent records in the same group are deemed to have passed the document association verification. If the document number is missing, the document number does not match the business action, the document number does not match the location, or the same RFID tag code corresponds to two conflicting document numbers in the same business process, then the adjacent records in the current group are deemed to have document association anomalies, and the document association anomaly count is increased by one.

[0134] It should be noted that document association verification can identify situations such as no document circulation, inconsistent documents and locations, mismatch between sales orders and clothing items, and mismatch between after-sales documents and sales records.

[0135] Furthermore, state transition verification is used to determine whether changes in the business state of individual apparel items conform to state transition rules. The data processing end calls the state transition rules from the traceability rule parameter set and reads the individual item business state after the completion of the previous record and the individual item business state after the completion of the next record.

[0136] State transition rules are used to define the allowed transition relationships between different product business states. For example, "Filed and awaiting warehousing" can transition to "Warehousing"; "Warehousing" can transition to "Shelved" or "Picked"; "Picked" can transition to "Outbound"; "Outbound" can transition to "Transporting"; "Transporting" can transition to "Received by Store"; "Received by Store" can transition to "Shelved by Store"; "Shelved by Store" can transition to "Sold"; "Sold" can transition to "Returned" or "Repaired".

[0137] If the transition from the previous product's business state to the next product's business state conforms to the state transition rules, then the adjacent records in the current group are deemed to have passed the state transition check. If the transition from the previous product's business state to the next product's business state does not conform to the state transition rules, then the adjacent records in the current group are deemed to have a state transition anomaly, and the state transition anomaly count is increased by one.

[0138] It should be noted that state transition verification can identify situations such as changes in the business status of individual apparel items, reverse state changes, missing key nodes, or abnormal after-sales status.

[0139] Furthermore, the node dwell time rationality check is used to determine whether the dwell time of an apparel item between adjacent circulation events conforms to business patterns. The data processing end calls the node dwell time rules from the traceability rule parameter set and reads the occurrence time, occurrence location, business action, and item business status of two adjacent records.

[0140] Specifically, the node dwell time is calculated based on the occurrence time of two adjacent flow events, that is, the first... The occurrence time of the single-item circulation record event and the first The difference between the occurrence times of each item's circulation record event and the occurrence times of the next event is used to obtain the first... The second transfer event to the first Duration of time spent at nodes between subsequent events.

[0141] The data processing end retrieves the corresponding minimum and maximum allowed dwell time from the node dwell time rules based on the previous business action, the next business action, the previous location, the next location, the previous product business status, and the next product business status.

[0142] If the node dwell time is less than the minimum allowed dwell time, it indicates that the flow between adjacent nodes is too fast, which may be due to missed scanning, supplementary recording, or abnormal cross-regional flow. If the node dwell time is greater than the maximum allowed dwell time, it indicates that the clothing item has stayed for too long in a certain stage, which may be due to delay, loss, failure to be recorded in time, or after-sales abnormality. In this case, it is determined that there is an abnormal node dwell time in the adjacent records of the current group, and the number of abnormal node dwell time is increased by one.

[0143] It should be noted that the minimum and maximum allowable dwell time are obtained by the data processing end from the established node dwell time rules based on the previous business action, the next business action, the previous location, the next location, and the corresponding circulation channels. The node dwell time rules are pre-configured based on the apparel company's historical circulation records, logistics and transportation timeliness, warehousing operation time limits, store processing time limits, and after-sales service periods.

[0144] It should be noted that by verifying the reasonableness of node dwell time, problems such as warehouse delays, abnormal transportation time, abnormally short cross-regional returns after sales, and abnormal dwell time for after-sales repairs can be identified using existing occurrence time and business node data without adding additional data collection hardware.

[0145] Furthermore, after completing six types of verifications—time sequence verification, location path verification, business action verification, document association verification, state transition verification, and node dwell rationality verification—the data processing end calculates the initial credibility value of each clothing item based on the number of time sequence anomalies, location path anomalies, business action anomalies, document association anomalies, state transition anomalies, and node dwell anomalies, combined with anomaly weight parameters.

[0146] The initial confidence value is represented as: ;

[0147] in, This indicates the initial confidence value of the clothing item corresponding to the RFID tag code; Indicates the initial tag verification mark. This indicates that the initial label validation has passed. This indicates that the initial label validation failed. Indicates the number of times the time sequence is abnormal; Indicates the number of times the location path is abnormal; Indicates the number of abnormal business actions; Indicates the number of document association anomalies; Indicates the number of state transition exceptions; Indicates the number of times the node stopped abnormally; Indicates the weight of time-order anomalies; Indicates the weight of location path anomalies; Indicates the weight of abnormal business actions; Indicates the weight of document association anomalies; Indicates the weight of state transition anomalies; Indicates the weight of abnormal node dwell time; This indicates the number of adjacent record pairs.

[0148] It should be noted that the weighted anomaly ratio is calculated based on the number of anomalies in the six categories and their corresponding weights. Then, the weighted anomaly ratio is subtracted from 1 to obtain the credibility of the circulation sequence. At the same time, the initial label verification mark is used as a pre-influence factor. When the initial label verification fails, the initial credibility value is directly restricted, thereby preventing erroneous labels from entering the subsequent credibility tracing judgment.

[0149] It should be noted that the weights for time sequence anomalies, location path anomalies, business action anomalies, document association anomalies, state transition anomalies, and node dwell anomalies are determined by the data processing end. First, manually reviewed anomaly sample records are extracted from the historical traceability database. Each sample record is then labeled according to its anomaly type: time sequence anomaly, location path anomaly, business action anomaly, document association anomaly, state transition anomaly, and node dwell anomaly. Next, the number of valid anomalies in each category that have been manually reviewed and confirmed to affect authenticity, cross-selling, after-sales responsibility, or flow integrity is counted. This number is then divided by the total number of valid anomalies to obtain the impact percentage of that category. The impact percentages of each anomaly category are then used as the initial values ​​for the weights of time sequence anomalies, location path anomalies, business action anomalies, document association anomalies, state transition anomalies, and node dwell anomalies. Finally, these initial weight values ​​are written into the anomaly weight parameters in the traceability rule parameter set and are directly called by the data processing end when calculating the initial confidence value. The values ​​typically range from 0 to 1, and the sum of all weights is 1.

[0150] Furthermore, to prevent the initial confidence value from exceeding the range of 0 to 1 due to too many anomalies or differences in weight settings, the data processing end limits the initial confidence value to obtain the final confidence value.

[0151] Specifically, when the initial confidence value is less than 0, the final confidence value is set to 0; when the initial confidence value is between 0 and 1, the initial confidence value is directly used as the final confidence value; when the initial confidence value is greater than 1, the final confidence value is set to 1.

[0152] After obtaining the final credibility value, the data processing end compares the final credibility value with the credibility threshold in the traceability rule parameter set.

[0153] When the final credibility value is not lower than the credibility threshold, the single item circulation sequence of the clothing item is determined to meet the credibility traceability requirements, and a single item credibility traceability chain is generated based on the single item circulation sequence.

[0154] It should be noted that the credibility threshold is set by the clothing business entity based on the distribution of the final credibility values ​​of historical normal circulation samples. Specifically, the lower quantile of the final credibility value of historical normal circulation samples, such as the 80% to 95% quantile, can be taken as the credibility threshold. The credibility threshold is stored in the traceability rule parameter set for subsequent comparison and call. The value range is usually 0 to 1.

[0155] The single-item trusted traceability chain includes the initial traceability record, single-item circulation event records arranged in chronological order, and the occurrence time, location, business action, business document number, circulation direction, and single-item business status corresponding to each circulation node.

[0156] The single-item trusted traceability chain is used to output trusted traceability results to different query subjects in the future.

[0157] When the final credibility value is lower than the credibility threshold, it is determined that there is a credibility risk in the single item circulation sequence of the clothing item. The data processing end retains the already formed single item circulation sequence and generates an abnormal prompt record.

[0158] The exception notification record includes the location of the adjacent record where the exception occurred, the exception type, the exception time, the business document number corresponding to the exception, and the exception description.

[0159] The anomaly types include at least one of the following: time sequence anomaly, location path anomaly, business action anomaly, document association anomaly, state transition anomaly, and node dwell anomaly.

[0160] The exception description is automatically generated based on the exception type. For example, when the location path is abnormal, the exception description includes the previous location, the next location, and the location path rule that does not conform to the exception. When the document association is abnormal, the exception description includes the business document number, the business action, and the reason for the mismatch. When the node stay is abnormal, the exception description includes the actual node stay time, the minimum allowed stay time, and the maximum allowed stay time.

[0161] S4. Based on the query permission rules, retrieve the initial traceability record, single-item circulation sequence, final credibility value, single-item credible traceability chain, and abnormal prompt record, and output the clothing single-item traceability result.

[0162] Furthermore, after completing the initial filing, circulation event collection, and consistency verification of individual garment items, when a querying entity needs to inquire about the source, circulation path, sales status, authenticity status, or after-sales status of an individual garment item, the RFID tag code attached to the garment item is read using an RFID reader. Based on the RFID tag code, the data processing end retrieves the corresponding initial traceability record, item circulation sequence, final credibility value, item trusted traceability chain, anomaly alert record, and query permission rules for the garment item, and outputs the garment item traceability results at the appropriate granularity according to the querying entity's identity type.

[0163] The query subjects include at least one of the following: consumers, store staff, after-sales personnel, brand owners, distributors, and regulators. Different query subjects correspond to different ranges of searchable fields, thereby avoiding the direct exposure of complete business documents, internal circulation entities, or anomaly handling details to unauthorized entities, while ensuring that entities with regulatory or management authority can obtain complete traceability information.

[0164] Specifically, the inquiring entity can initiate a clothing item traceability inquiry request through radio frequency reading devices, store POS terminals, after-sales processing terminals, mobile inquiry terminals, or regulatory inquiry terminals.

[0165] The query request should include at least the RFID tag code, the identity of the querying entity, the identifier of the querying terminal, and the query time.

[0166] After receiving a query request, the data processing terminal first determines the type of the query subject based on the query subject's identity identifier. If the query subject's identity identifier corresponds to a consumer, the query subject type is determined to be a consumer; if the query subject's identity identifier corresponds to a store account, the query subject type is determined to be a store employee; if the query subject's identity identifier corresponds to an after-sales account, the query subject type is determined to be an after-sales employee; if the query subject's identity identifier corresponds to a brand owner, distributor, or regulator's account, it is determined to be a brand owner, distributor, or regulator, respectively.

[0167] It should be noted that the query request is used to determine the query object and query permissions, and does not change the initial traceability record, item circulation sequence, item trusted traceability chain or abnormal prompt record already formed for the clothing item.

[0168] The data processing unit retrieves the initial traceability record corresponding to the RFID tag code in the query request. If no corresponding initial traceability record is found, it is determined that the RFID tag code has not been properly documented, and an "Undocumented Tag" message is output. If an undocumented read record was previously generated at the transfer node, the read time, read location, and read device number from the undocumented read record are further output to indicate that the tag may be used without documentation, a copied tag, or an incorrect tag.

[0169] If the corresponding initial traceability record is found, the data processing end continues to call the individual product circulation sequence, final credibility value, individual product trusted traceability chain, and anomaly prompt record corresponding to the RFID tag code. If the individual product circulation sequence only includes the initial traceability record and there are no subsequent individual product circulation event records, the production filing information of the clothing item, the initial tag verification mark, and the prompt "Incomplete circulation record has not yet been formed" are output.

[0170] If a subsequent item transfer event record already exists in the item transfer sequence, the data processing end enters the trust status judgment step.

[0171] Specifically, in the trust status determination, the data processing end compares the final trust value with the trust threshold in the traceability rule parameter set, and determines the traceability output status based on the comparison result. That is, when the final trust value is not lower than the trust threshold, the traceability output status is trustworthy output; when the final trust value is lower than the trust threshold, the traceability output status is abnormal output.

[0172] When the query subject is a consumer, the data processing terminal extracts clothing category, style, color and size, production batch, main fabric information, production location and production time from the initial traceability record according to the query permission rules, and generates authenticity verification results based on the final credibility value and the single product's credible traceability chain or abnormal prompt record.

[0173] If the final credibility value is not lower than the credibility threshold, the consumer-side output will include a credibility prompt that "the clothing item has passed the traceability verification" and will display the production source information and sales status. If the final credibility value is lower than the credibility threshold, the consumer-side output will include a risk warning that "the traceability information of the clothing item is abnormal, and it is recommended to contact the brand or sales store for verification," but will not display the details of the internal abnormality rules and the business document number.

[0174] When the query subject is a store employee, the data processing terminal extracts the receiving, shelving, sales, and return records related to the store from the single-item circulation sequence according to the query permission rules, and outputs the current single-item business status. If there are any abnormal prompt records, the abnormal type related to the store's business is output, such as the store selling without receiving the goods, missing sales documents, abnormal return status, or abnormal node dwell.

[0175] When the query subject is after-sales personnel, the data processing terminal extracts sales records, return records, repair records, after-sales document numbers, current product business status, and abnormal message results from the product circulation sequence and abnormal message records. If a clothing product has no sales record but a return or repair request occurs, the system will output a "After-sales pre-processing business record missing" message; if a clothing product has been sold but a return or repair request occurs after the after-sales period is exceeded according to the node dwell time rule, the system will output a "After-sales time limit abnormal" message.

[0176] When the querying entity is a brand owner, distributor, or regulator, the data processing terminal outputs relatively complete traceability information according to the query permission rules.

[0177] The traceability information includes initial traceability records, individual product circulation sequence, final credibility value, individual product credible traceability chain, and anomaly alert records.

[0178] When the final credibility value is not lower than the credibility threshold, output the single-item credibility traceability chain.

[0179] The single-item trusted traceability chain displays all the flow nodes of the garment item in chronological order, from production filing, warehousing, warehouse shelving, picking and shipping, logistics handover, store receiving, store sales to after-sales processing, and displays the corresponding time, location, business action, business document number, flow direction and single-item business status for each node.

[0180] When the final credibility value is lower than the credibility threshold, in addition to outputting the collected product circulation sequence, an abnormal prompt record will also be output.

[0181] The exception notification record includes the location of the adjacent record where the exception occurred, the exception type, the exception time, the business document number corresponding to the exception, and the exception description.

[0182] Brand owners, distributors, or regulators can use anomaly alerts to record and pinpoint problem nodes, such as determining whether there is cross-regional transfer, label duplication, missed scanning, document conflict, status change, or abnormal pause.

[0183] The data processing unit generates the final traceability results for individual clothing items based on the traceability output status and query permission rules.

[0184] The final traceability results for individual clothing items should include at least the information of the query object, the type of the query subject, the set of output fields, the reliable prompt results, and the traceability data content.

[0185] When the traceability output status is "trusted," the final traceability result for a single garment item mainly consists of the item's trusted traceability chain. When the traceability output status is "abnormal," the final traceability result for a single garment item mainly consists of the collected item circulation sequence and abnormal prompt records.

[0186] For entities without query permissions, the final traceability results for individual clothing items will only retain the data fields corresponding to the set of output fields.

[0187] In this embodiment, Figure 5 The results show a comparison between the conventional node record verification method and this solution in terms of the detection rate of multi-node flow anomalies in industrial sites.

[0188] As shown in the figure, during the eight-week trial operation, the anomaly detection rate of the conventional node record verification method remained at around 68% to 73%, with small fluctuations but limited detection capability. This solution uses RFID tag encoding to connect production, warehousing, logistics, store sales and after-sales nodes, and combines six categories of rules for comprehensive verification, including time sequence, location path, business action, document association, status migration and node dwell rationality, so that the anomaly detection rate gradually increased from 86.5% in the first week to 93.8% in the eighth week.

[0189] The results show that this solution can not only record the circulation path of individual garments, but also perform rule-based identification and credible quantification of abnormal nodes, thereby effectively discovering problems such as missed scanning, incorrect scanning, circulation without documents, status jumps, abnormal retention, and suspected cross-selling, and improving the integrity, authenticity, and anomaly early warning capabilities of the garment traceability chain.

[0190] In this embodiment, Figure 6 The results show a comparison of the reading completion rate between conventional barcode or QR manual scanning methods and this solution in a high-density turnover box inventory scenario.

[0191] As shown in the figure, in the continuous inventory batches from B01 to B12, the reading completion rate of conventional barcode or QR manual scanning methods mainly ranged from 82.7% to 86.0%, which was easily affected by clothing stacking, tag obstruction, code wear, light angle, and differences in manual operation. This solution uses RFID tags for contactless reading and binds the RFID tag encoding to the initial traceability record. At the same time, it combines deduplication time windows and business action consistency judgment to process duplicate reading data, so that the reading completion rate is stably maintained between 96.8% and 98.7%.

[0192] The results show that this solution has higher reading stability and operational continuity in high-density stacking and batch inventory of clothing items, which can reduce manual data entry and missed readings, and provide a more complete and reliable data foundation for subsequent generation of single-item circulation sequences, reliability calculation and traceability results output.

[0193] This embodiment also provides a computer device applicable to the case of a clothing item traceability method based on radio frequency identification, including: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the clothing item traceability method based on radio frequency identification as proposed in the above embodiment.

[0194] The computer device can be a terminal, comprising a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, carrier networks, NFC (Near Field Communication), or other technologies. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad on the computer device's casing, or an external keyboard, touchpad, or mouse.

[0195] This embodiment also provides a storage medium storing a computer program that, when executed by a processor, implements the method for tracing clothing items based on radio frequency identification as proposed in the above embodiments. The storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0196] In summary, this invention achieves precise single-item-level documentation and source anti-counterfeiting through unique RFID tag encoding and initial tag verification, enhancing the initial credibility of traceability data; it achieves complete lifecycle recording by collecting multi-dimensional circulation events and generating deduplicated time series, avoiding interference from duplicate data; it achieves dynamic credibility assessment of the circulation link through six-dimensional logical verification and anomaly weight calculation, accurately identifying abnormal nodes and business conflicts; and it achieves differentiated traceability result display through credibility threshold comparison and hierarchical permission output, balancing consumer verification and in-depth supply chain monitoring.

[0197] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A method for tracing the origin of individual clothing items based on radio frequency identification, characterized in that, include: For each garment item, generate an RFID tag code, write the RFID tag code into the RFID tag, and bind it with the initial master data to form an initial traceability record. At the same time, generate an initial tag verification mark and establish a traceability rule parameter set. When an apparel item passes through the production, warehousing, logistics, store sales, or after-sales stages, the RFID tag code is read to collect the occurrence time, location, business action, business document number, flow direction, and item business status of the flow event, forming an item flow event record and generating an item flow sequence in chronological order. Based on the traceability rule parameter set, the time sequence, location path, business action, document association, state transition and node dwell rationality of the single product circulation sequence are verified, the final credibility value is calculated, and a single product credible traceability chain or abnormal prompt record is generated. Based on the query permission rules, the system retrieves the initial traceability record, the individual product circulation sequence, the final credibility value, the individual product credible traceability chain, and the anomaly alert record, and outputs the traceability result for the individual apparel product.

2. The method for tracing the origin of clothing items based on radio frequency identification as described in claim 1, characterized in that, The traceability rule parameter set includes location path rules, business action sequence rules, document association rules, state transition rules, node dwell time rules, anomaly weight parameters, trust thresholds, and query permission rules.

3. The method for tracing the origin of individual clothing items based on radio frequency identification as described in claim 1, characterized in that, The formation of the single-item circulation event record includes: When a garment passes through any circulation node, the radio frequency identification (RFID) tag of the garment is read by the RFID reading device at the circulation node to obtain the current reading code; Retrieve the initial source record based on the current read encoding; If the current read code matches the initial traceability record, the clothing item is determined to be a documented clothing item, and the business data of the current circulation node is collected; If the current read code does not match the initial traceability record, the clothing item is determined to be an undocumented clothing item, and an undocumented read record is formed. The undocumented read record does not enter the normal item circulation sequence.

4. The method for tracing the origin of clothing items based on radio frequency identification as described in claim 3, characterized in that, The step of generating a single-item circulation sequence in chronological order includes: After completing the reading of RFID tag codes, collection of occurrence time, determination of occurrence location, determination of business action, collection of business document number, determination of flow direction, and determination of individual product business status, a single product flow event record is generated. The single-item circulation event record includes the RFID tag code, the time of occurrence of the circulation event, the location of the circulation event, the business action of the circulation event, the business document number of the circulation event, the circulation direction of the circulation event, and the single-item business status after the completion of the circulation event; Based on time windows and business actions, the reading results of the same clothing item are deduplicated. When the same RFID tag code is read by the same reading device or the same transfer node within the deduplication time window, and the corresponding business actions are the same, the item transfer event record formed by the earliest reading is retained. For single-item circulation event records marked as non-repeated after repeated reading, the data processing end writes the single-item circulation event records into the single-item circulation record set encoded by the RFID tag, sorts them according to the occurrence time, and generates a single-item circulation sequence.

5. The method for tracing the origin of individual clothing items based on radio frequency identification as described in claim 1, characterized in that, The verification of the time sequence, location path, business action, document association, state transition, and node dwell rationality of the single-item circulation sequence based on the traceability rule parameter set includes: Call the initial label verification mark and traceability rule parameter set corresponding to the clothing item, and determine whether the total number of valid flow event records is greater than or equal to one; When the total number of valid transfer event records is zero, if the initial label verification is marked as passed, the final credibility value is set to one, and the clothing item is marked as filed but has not formed a transfer chain. If the initial label verification is marked as failed, the final credibility value is set to zero, and an initial label exception prompt record is generated. When the total number of valid flow event records is greater than or equal to one, the data processing end selects two adjacent records in sequence for verification. Based on the location path rules, business action sequence rules, document association rules, state transition rules, and node dwell time rules in the traceability rule parameter set, the two adjacent records are subjected to time sequence verification, location path verification, business action verification, document association verification, state transition verification, and node dwell time rationality verification, respectively, to obtain the number of time sequence anomalies, the number of location path anomalies, the number of business action anomalies, the number of document association anomalies, the number of state transition anomalies, and the number of node dwell time anomalies.

6. The method for tracing the origin of individual clothing items based on radio frequency identification as described in claim 1 or 5, characterized in that, The specific steps for calculating the final credibility value and generating a single-item credible traceability chain or anomaly alert record are as follows: Based on the number of time sequence anomalies, location path anomalies, business action anomalies, document association anomalies, state transition anomalies, and node dwell anomalies, and combined with the anomaly weight parameters in the traceability rule parameter set, the initial credibility value of the clothing item is calculated. The initial confidence value is limited to a certain value to obtain the final confidence value; Specifically, when the initial confidence value is less than zero, the final confidence value is set to zero; when the initial confidence value is between zero and one, the initial confidence value is used as the final confidence value; and when the initial confidence value is greater than one, the final confidence value is set to one. The final credibility value is compared with the credibility threshold in the traceability rule parameter set. When the final credibility value is not lower than the credibility threshold, a single-item credible traceability chain is generated based on the single-item circulation sequence. When the final credibility value is lower than the credibility threshold, the existing product circulation sequence is retained, and an anomaly alert record is generated.

7. The method for tracing the origin of individual clothing items based on radio frequency identification as described in claim 1, characterized in that, The output traceability results for individual clothing items include: The inquiring entity can initiate a clothing item traceability inquiry request through radio frequency reading devices, store POS terminals, after-sales processing terminals, mobile inquiry terminals, or regulatory inquiry terminals; After receiving a query request, the data processing terminal determines the type of the query subject based on the identity identifier of the query subject; The data processing end retrieves the initial traceability record based on the RFID tag code in the query request. If no corresponding initial traceability record is found, it is determined that the RFID tag code has not been filed and an unfiled tag prompt is output. If an undocumented reading record is generated at the transfer node, the reading time, reading location, and reading device number in the undocumented reading record will be output to indicate that the RFID tag is used without documentation, the tag is copied, or the tag is incorrect.

8. The method for tracing the origin of clothing items based on radio frequency identification as described in claim 7, characterized in that, The output of the clothing item traceability results also includes: When the corresponding initial traceability record is found based on the RFID tag code, the data processing terminal calls the single product circulation sequence, final credibility value, single product credible traceability chain, abnormal prompt record and query permission rules corresponding to the RFID tag code; If the single-item circulation sequence only includes the initial traceability record and there is no single-item circulation event record, then output the production filing information of the clothing item, the initial label verification mark, and a prompt that a complete circulation record has not yet been formed; If there are single-item circulation event records in the single-item circulation sequence, the data processing end will compare the final confidence value with the confidence threshold in the traceability rule parameter set, and determine the traceability output status based on the comparison result; Specifically, when the final credibility value is not lower than the credibility threshold, the source tracing output status is credible output; when the final credibility value is lower than the credibility threshold, the source tracing output status is abnormal output. The final traceability result for each clothing item is generated based on the traceability output status and query permission rules.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the RFID-based clothing item traceability method according to any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the RFID-based clothing item traceability method according to any one of claims 1 to 8.