A method and system for ownership correction of RFID tags in a paper cup production process

CN123013984APending Publication Date: 2026-10-30ZHEJIANG XINDEBAO INTELLIGENT IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610942267.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0004]但是,在实际生产过程中,RFID标签被读写器读取到的时刻并不一定与对应纸杯经过读取区域的预计时刻完全一致

Benefits of technology

本发明通过在纸杯序位与读取序位的初始对齐关系下量化第j个标签读取事件的时间偏离情况,并据此确定对应的候选归属窗口,使RFID标签的归属判断不再仅依赖读取先后顺序与纸杯输送先后顺序。由此,在RFID标签的实际读取时刻相对于纸杯理论到达时刻发生提前或滞后时,能够将可能归属的纸杯序位限定在与该时间偏离相适应的范围内;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123013984A_ABST
    Figure CN123013984A_ABST
Patent Text Reader

Abstract

The application discloses a kind of paper cup production process in the attribution correction method and system of RFID label, its method includes: along paper cup conveying direction respectively constructs paper cup arrival event sequence and label reading event sequence, extracts theoretical arrival time and actual reading time, calculates initial alignment deviation, obtains effective extension time interval, and compares effective extension time interval with the initial alignment deviation, calculates the window expansion length of jth label reading event, constructs the candidate attribution window of G paper cup arrival events in paper cup arrival event sequence that can cover, respectively calculates G candidate time deviation and G candidate interval deviation, obtains the attribution total deviation of G paper cup sequence position, carries out attribution correction to RFID label;The application can reduce the possibility that RFID label is wrongly attributed to other paper cups in reading coverage range due to reading time advance or lag, improve the attribution accuracy between RFID label and paper cup in paper cup production process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of paper cup production, specifically to a method and system for attribution correction of RFID tags during the paper cup production process. Background Technology

[0002] In the paper cup production process, to achieve product traceability, batch management, or anti-counterfeiting identification, RFID tags are usually attached to the paper cups. As the paper cups are continuously transported along the production line, RFID readers installed on the production line read the tag codes from the RFID tags carried by the paper cups. The tag codes may include electronic identification information such as EPC codes, TID codes, or unique codes written into the RFID tags during production, used to identify the corresponding RFID tags.

[0003] In existing paper cup production lines, multiple paper cups are typically arranged continuously along the conveying direction and pass sequentially through the reading area of ​​an RFID reader. To establish the correspondence between RFID tags and paper cups, a common method is to match the order in which the paper cups pass through the reading area with the order in which the RFID tags are read. For example, if the paper cups are conveyed stably and the RFID tags can be read promptly, the j-th RFID tag read can usually be associated with the j-th paper cup that passes through the reading area.

[0004] However, in actual production, the time when an RFID tag is read by the reader does not necessarily coincide perfectly with the predicted time when the corresponding paper cup passes through the reading area. Factors such as fluctuations in the paper cup conveying speed, changes in the spacing between adjacent paper cups, changes in the paper cup's posture, the coverage area of ​​the reading area, antenna sensing delay, or interference from adjacent RFID tags can all cause the actual reading time of the RFID tag to be earlier or later than the predicted time of the paper cup's passage. In this case, if the reading order is still matched solely with the paper cup conveying order, or if the judgment is based solely on the closeness between a single reading time and a single predicted passage time, it is easy to mistakenly associate the RFID tag with other paper cups within the reading coverage area, thereby reducing the accuracy of the assignment between RFID tags and paper cups during the paper cup production process. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method and system for correcting the assignment of RFID tags during paper cup production. In a continuous paper cup conveying scenario, a candidate assignment window is adaptively constructed based on the initial alignment deviation. Within this window, the paper cup assignment sequence of the RFID tag is corrected by combining single-point time deviation and sequential deviation of the preceding and following cycles, thereby solving the technical problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: In a first aspect, the present invention discloses a method for attribution correction of RFID tags during the paper cup production process, comprising the following steps: S1. Construct the paper cup arrival event sequence and the label reading event sequence along the paper cup conveying direction, respectively; The paper cup arrival event sequence and the label reading event sequence contain the initial aligned paper cup position and the reading position, respectively. S2. Based on the initial alignment of the j-th paper cup sequence and the j-th reading sequence, extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence, and the actual reading time of the j-th label reading event in the label reading event sequence; S3. Based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event, calculate the initial alignment deviation of the j-th label reading event; S4. Obtain the effective extended time interval of the j-th paper cup arrival event, and compare the effective extended time interval with the initial alignment deviation; S5. If the effective extension time interval is less than the initial alignment deviation, then continue to select the next preceding event and the next following event along both sides of the j-th paper cup arrival event; otherwise, calculate the window extension length of the j-th label reading event based on the effective extension time interval. S6. Based on the window extension length of the j-th label reading event, construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence; The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. S7. Based on the G paper cup arrival events within the candidate attribution window, calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th tag reading event; where each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event. S8. Align and merge the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. S9. Select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.

[0007] In some embodiments, the steps for constructing the paper cup arrival event sequence include: S1-A1. On the paper cup production line, N consecutively arranged paper cups and their corresponding N paper cup positions are anchored along the paper cup conveying direction. The paper cup sequence number is used to characterize the arrangement order of the corresponding paper cups along the paper cup conveying direction, as well as the order in which the corresponding paper cups pass the RFID reading and writing reference position. S1-A2: Obtain the N theoretical arrival times of N paper cup positions passing through the RFID read / write reference position; S1-A3: Pair the N theoretical arrival times with the corresponding paper cup positions to form N paper cup arrival events; S1-A4: Arrange the N paper cup arrival events according to their paper cup order to generate the N paper cup arrival event sequences.

[0008] In some embodiments, the step of constructing the tag reading event sequence includes: S1-B1: Collect the actual reading time, reading sequence, and label code corresponding to N paper cups along the paper cup conveying direction; S1-B2: Pair the actual reading times of N paper cups with the corresponding reading sequence and label code to form N label reading events; Wherein, the reading sequence position represents the order in which the tag code of the RFID tag is read, and the j-th reading sequence position is initially aligned with the j-th paper cup sequence position, j=1,2,…,N; S1-B3: Arrange the N tag reading events according to their corresponding reading order to generate a tag reading event sequence.

[0009] In some embodiments, obtaining the effective extended time interval of the j-th paper cup arrival event includes: S4-1. Mark the j-th paper cup arrival event in the paper cup arrival event sequence as the center event; S4-2. Along both sides of the central event in the paper cup arrival event sequence, pair the central event with the preceding event and the following event in turn to form preceding event pairs and following event pairs respectively. Among them, the preceding and following events of the same pair are located on both sides of the central event, and have the same paper cup sequence difference with the central event; S4-3. Based on the theoretical arrival times of the preceding and following event pairs, calculate the preceding extended time interval of the preceding event pair and the following extended time interval of the following event pair, respectively. S4-4. Anchor the smaller of the preceding and subsequent extension time intervals, and mark it as the effective extension time interval for the j-th paper cup arrival event.

[0010] In some embodiments, calculating the window expansion length for the j-th tag read event includes: S5-1, Anchor the preceding or following event pair corresponding to the effective extended time interval; S5-2. In the preceding event pair or the following event pair, extract the first paper cup sequence position corresponding to the preceding event or the following event, and the second paper cup sequence position corresponding to the center event, respectively. S5-3. Calculate the paper cup sequence difference between the first paper cup sequence and the second paper cup sequence, and mark the paper cup sequence difference as the window expansion length of the j-th label reading event.

[0011] In some embodiments, constructing a candidate attribution window that covers G paper cup arrival events in a sequence of paper cup arrival events includes: S6-1. Set the j-th label reading event and the j-th paper cup arrival event as the first endpoint and the second endpoint, respectively; S6-2. Set a connecting line between the first endpoint and the second endpoint to form the window center line between the connecting label reading event sequence and the paper cup arrival event sequence; S6-3. Using the center line of the window as a reference, extend the window length along both sides of the j-th paper cup arrival event in the paper cup arrival event sequence to construct the candidate belonging window corresponding to the j-th label reading event.

[0012] In some embodiments, the calculation steps for the G candidate time deviations include: S7-A1, Anchor candidate attribution window covers G paper cup arrival events in the paper cup arrival event sequence; S7-A2, Extract the theoretical arrival times of the G paper cup arrival events; S7-A3. Calculate the difference between the theoretical arrival time of each of the G paper cup arrival events and the actual reading time of the j-th label reading event to generate G candidate time deviations for the j-th label reading event.

[0013] In some embodiments, the calculation steps for the G candidate interval deviations include: S7-B1. For each of the G paper cup arrival events in the candidate attribution window, set G candidate indices that are continuously and monotonically increasing, g=1,2,...,G, and anchor the g-th paper cup arrival event. S7-B2. Based on the g-th paper cup arrival event, anchor the preceding and following arrival events adjacent to the g-th paper cup arrival event in the paper cup arrival event sequence; S7-B3. Based on the preceding arrival event, the following arrival event, and the theoretical arrival time of the g-th paper cup arrival event, calculate the preceding arrival interval and the following arrival interval of the g-th paper cup arrival event. S7-B4, Anchor the preceding and following read events adjacent to the j-th tag read event from the tag read event sequence; S7-B5. Based on the preceding read event, the following read event, and the actual read time of the j-th tag read event, calculate the preceding read interval and the following read interval of the j-th tag read event; S7-B6. Based on the preceding reading interval of the j-th label reading event and the preceding arrival interval of the g-th paper cup arrival event, and the following reading interval of the j-th label reading event and the following arrival interval of the g-th paper cup arrival event, calculate the difference between the preceding and following intervals of the g-th label reading event and the following arrival interval of the g-th paper cup arrival event, respectively. S7-B7: Traverse the G candidate indices, and under the same candidate index, sum the preceding interval difference and the following interval difference corresponding to the candidate index to generate the candidate interval deviation of the paper cup arrival event corresponding to the candidate index, until the G candidate interval deviations of the G paper cup arrival events are obtained.

[0014] This invention provides a method and system for RFID tag attribution correction during the paper cup production process, which has the following beneficial effects: This invention quantifies the time deviation of the j-th tag reading event based on the initial alignment relationship between the paper cup sequence and the reading sequence, and determines the corresponding candidate assignment window accordingly. This makes the assignment of RFID tags no longer solely dependent on the reading order and the paper cup delivery order. Therefore, when the actual reading time of the RFID tag is earlier or later than the theoretical arrival time of the paper cup, the possible paper cup sequence can be limited to a range adapted to this time deviation. Furthermore, this invention simultaneously utilizes candidate time deviation and candidate interval deviation within the candidate attribution window to determine the total attribution deviation. This ensures that the attribution determination of RFID tags considers not only the single-point time deviation between the actual reading time and the theoretical arrival time, but also the continuity deviation between consecutive reading cycles and consecutive arrival cycles. Therefore, it can reduce misattribution that occurs when judging solely based on a single reading time.

[0015] Furthermore, this invention selects the assigned paper cup sequence based on the total assignment deviation, and performs assignment correction on the RFID tag corresponding to the tag code based on the assigned paper cup sequence. This reduces the possibility of RFID tags being incorrectly assigned to other paper cups within the reading coverage area due to premature or delayed reading, thus improving the accuracy of assignment between RFID tags and paper cups during the paper cup production process.

[0016] Secondly, this invention discloses an RFID tag attribution correction system for the paper cup production process, the system comprising: A dual-sequence construction module is used to construct the paper cup arrival event sequence and the label reading event sequence along the paper cup conveying direction, respectively. The paper cup arrival event sequence and the label reading event sequence contain the initial aligned paper cup position and the reading position, respectively. The dual-moment extraction module is used to extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence and the actual reading time of the j-th label reading event in the label reading event sequence, based on the j-th paper cup sequence position and the j-th reading sequence position of the initial alignment. The alignment deviation calculation module is used to calculate the initial alignment deviation of the j-th label reading event based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event. The extended time interval comparison module is used to obtain the effective extended time interval of the j-th paper cup arrival event and compare the effective extended time interval with the initial alignment deviation. The extended length calculation module is used to determine whether, if the effective extended time interval is less than the initial alignment deviation, the next preceding event and the next following event are selected along both sides of the j-th paper cup arrival event; otherwise, the window extended length of the j-th label reading event is calculated based on the effective extended time interval. The attribution window construction module is used to construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence, based on the window expansion length of the event read by the j-th label. The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. The dual-deviation calculation module is used to calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th label reading event based on the G paper cup arrival events within the candidate attribution window; wherein each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event; The total deviation fusion module is used to align and fuse the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. The tag assignment correction module is used to select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.

[0017] Compared with the prior art, the beneficial effects of the RFID tag attribution correction system in the paper cup production process of the present invention are the same as those of the RFID tag attribution correction method in the paper cup production process described above, so they will not be repeated here. Attached Figure Description

[0018] Figure 1 This is a flowchart illustrating the method for correcting the attribution of RFID tags during the paper cup production process according to the present invention. Figure 2 This is a schematic diagram of the marking process for effectively extending the time interval as described in this invention; Figure 3 This is a schematic diagram of the marking process for the window extension length described in this invention; Figure 4 This is a schematic diagram illustrating the construction process of the candidate attribution window according to the present invention; Figure 5 This is a schematic diagram of the process for generating the candidate interval deviation described in this invention; Figure 6 This is a structural block diagram of an RFID tag attribution correction system for the paper cup production process according to the present invention. Detailed Implementation

[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0020] Example 1: Please refer to Figure 1 This invention provides a method for attribution correction of RFID tags during the paper cup production process, comprising the following steps: S1. Construct a paper cup arrival event sequence and a label reading event sequence along the paper cup conveying direction; wherein, the paper cup arrival event sequence and the label reading event sequence contain the initially aligned paper cup position and reading position, respectively; Specifically, the initial alignment refers to establishing a sequence correspondence between the order in which paper cups are delivered and the order in which RFID tags are read, before RFID tag attribution correction is performed. This initial alignment is used to provide an initial reference position between the j-th reading sequence and the j-th paper cup sequence, and does not indicate that the RFID tag corresponding to the tag code in the j-th tag reading event has been determined to belong to the j-th paper cup sequence.

[0021] S2. Based on the initial alignment of the j-th paper cup sequence and the j-th reading sequence, extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence, and the actual reading time of the j-th label reading event in the label reading event sequence; Specifically, the paper cup arrival event is a theoretical event based on the paper cup sequence and the theoretical arrival time; the label reading event is an actual event based on the reading sequence, the actual reading time, and the label code. The tag encoding is the electronic identification information of the RFID tag, which is used to uniquely identify the corresponding RFID tag. The electronic identification information includes at least one of EPC code, TID code, or a unique code written into the RFID tag during the production process.

[0022] S3. Based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event, calculate the initial alignment deviation of the j-th label reading event; Specifically, the initial alignment deviation is used to characterize the degree of time deviation between the actual reading time of the j-th label reading event and the theoretical arrival time of the j-th paper cup arrival event under the initial alignment relationship between the j-th reading sequence position and the j-th paper cup sequence position; therefore, the initial alignment deviation is determined by subtracting the theoretical arrival time from the actual reading time and taking the absolute value.

[0023] S4. Obtain the effective extended time interval of the j-th paper cup arrival event, and compare the effective extended time interval with the initial alignment deviation; S5. If the effective extension time interval is less than the initial alignment deviation, then continue to select the next preceding event and the next following event along both sides of the j-th paper cup arrival event; otherwise, calculate the window extension length of the j-th label reading event based on the effective extension time interval. S6. Based on the window extension length of the j-th label reading event, construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence; The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. It should be noted that, in order to ensure that the number G of paper cup arrival events covered by the candidate home window is odd, when selecting N consecutive paper cups, there can be no less than K paper cup arrival events on both sides of the j-th paper cup arrival event; when the j-th paper cup arrival event is located near the boundary of the paper cup arrival event sequence, the anchoring range of the N consecutive paper cups can be expanded so that the number of paper cup arrival events on both sides of the j-th paper cup arrival event satisfies the number of paper cup arrival events corresponding to the window expansion length, thereby making the candidate home window cover 2K+1 paper cup arrival events.

[0024] S7. Based on the G paper cup arrival events within the candidate attribution window, calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th tag reading event; where each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event. Specifically, the candidate time deviation is used to characterize the degree of deviation between the actual reading time of the j-th tag reading event and the theoretical arrival time of a certain paper cup arrival event within the candidate attribution window, so as to determine which paper cup sequence position the RFID tag corresponding to the tag code read by the current RFID reader is closer to at a single point reading time.

[0025] The candidate interval deviation is used to characterize the degree of deviation between the reading cycle before and after the j-th tag reading event in the tag reading event sequence and the arrival cycle before and after the corresponding paper cup arrival event in the paper cup arrival event sequence, so as to determine whether the RFID tag corresponding to the currently read tag code is suitable to be assigned to the corresponding paper cup sequence position in the continuous conveying cycle.

[0026] S8. Align and merge the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. Specifically, in this embodiment, for the arrival event of the g-th paper cup in the candidate assignment window, the total assignment deviation of the corresponding paper cup sequence is determined by the following formula:

[0027] in: This represents the total deviation in the cup order corresponding to the arrival event of the g-th cup; This represents the candidate time deviation corresponding to the arrival event of the g-th paper cup, used to characterize the degree of deviation between the actual reading time of the j-th tag reading event and the theoretical arrival time of the g-th paper cup arrival event; This represents the candidate interval deviation corresponding to the arrival event of the g-th paper cup, used to characterize the degree of deviation between the reading interval before and after the j-th tag reading event and the arrival interval before and after the g-th paper cup arrival event; This represents the local conveying cycle time corresponding to the arrival event of the g-th paper cup; specifically, the local conveying cycle time is determined based on the preceding and following arrival intervals of the g-th paper cup arrival event, i.e.:

[0028] in, This represents the preceding arrival interval of the g-th paper cup arrival event. This represents the subsequent arrival interval of the g-th paper cup arrival event; and This indicates a preset weighting coefficient, and the sum of the two is 1; This is a preset minimum positive number to avoid a denominator of 0; in one embodiment, the value can be 10. -6 , In the above embodiments, candidate time deviation This reflects the single-point time deviation between the j-th tag reading event and the g-th paper cup arrival event. The deviation scale corresponds to one paper cup conveying cycle time, and is therefore normalized using the local conveying cycle time. (Candidate interval deviation) It is formed by the combined difference between the preceding and following intervals, and its deviation scale corresponds to the conveying cycle time in both directions before and after the arrival of the g-th paper cup. Therefore, it is achieved by doubling the local conveying cycle time. Perform normalization processing; Furthermore, the normalized candidate time deviation and candidate interval deviation are squared to amplify the candidate cup sequence positions that deviate significantly from the cup conveying rhythm, so that the candidate cup sequence positions with large deviations in actual reading time or poor continuity between reading rhythms obtain a larger total assignment deviation; then, through weighted fusion, the total assignment deviation of the g-th cup sequence position relative to the j-th tag reading event is obtained.

[0029] S9. Select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.

[0030] Specifically, after determining the assigned paper cup sequence of the j-th tag reading event, the reading sequence of the j-th tag reading event is retained, and the assigned paper cup sequence is written into the assigned sequence field of the j-th tag reading event. Alternatively, an association relationship is established between the tag code in the tag reading event and the assigned paper cup sequence to indicate that the RFID tag corresponding to the tag code is corrected from the paper cup sequence corresponding to the initial reading sequence to the actual assigned paper cup sequence.

[0031] This embodiment compares the time deviation and interval deviation between the j-th tag reading event and multiple paper cup arrival events under the initial alignment relationship, and selects the paper cup sequence with the smallest total assignment deviation from the candidate assignment window. Therefore, the RFID tag corresponding to the tag code read by the RFID reader can be corrected from the initial reading sequence correspondence to a more matching paper cup sequence, improving the accuracy of RFID tag and paper cup assignment during the paper cup production process.

[0032] Example 2: See Figures 2 to 5 This embodiment further explains the specific implementation methods of each step based on Embodiment 1. The specific implementation methods of each step are described below.

[0033] Specifically, in this embodiment, the steps for constructing the paper cup arrival event sequence include: S1-A1. On the paper cup production line, N consecutively arranged paper cups and their corresponding N paper cup positions are anchored along the paper cup conveying direction. The paper cup sequence number is used to characterize the arrangement order of the corresponding paper cups along the paper cup conveying direction, as well as the order in which the corresponding paper cups pass the RFID reading and writing reference position. It should be noted that the paper cup sequence is not a fixed equipment station in the paper cup production line, but rather an index of the arrangement of paper cups during continuous conveying. Since N paper cups are arranged continuously along the paper cup conveying direction and pass through the RFID read / write reference position in sequence, the paper cup sequence represents both the front-to-back order of the paper cups in the conveying direction and the order in which the paper cups pass through the RFID read / write reference position.

[0034] S1-A2: Obtain the N theoretical arrival times of N paper cup positions passing through the RFID read / write reference position; Specifically, in this embodiment, the theoretical arrival time is determined based on at least one of the following: the reference time when the reference paper cup passes the RFID reading and writing reference position, the conveying cycle between adjacent paper cup positions, the paper cup conveying speed, the encoder pulse signal, and the position signal output by the assembly line control system.

[0035] For example, on a paper cup production line, the paper cup corresponding to the qth paper cup sequence position is selected as the reference paper cup, and the reference time when the reference paper cup passes the RFID reading and writing reference position is recorded. When the paper cup production line conveys paper cups at a stable conveying cycle T, the theoretical arrival time corresponding to the i-th paper cup sequence position is determined by the following formula:

[0036] In other words, the theoretical arrival time corresponding to the i-th paper cup position is determined by superimposing the reference time tq and the conveying cycle corresponding to the position difference iq.

[0037] in: This represents the theoretical arrival time of the i-th paper cup sequence position after passing the RFID read / write reference position; This represents the reference time when the reference paper cup corresponding to the q-th paper cup position passes through the RFID read / write reference position; Indicates the paper cup sequence number corresponding to the reference paper cup; T represents the conveying cycle time between adjacent paper cup positions; it is determined by the ratio of the conveying distance to the conveying speed along the paper cup conveying direction between adjacent paper cup positions, or the ratio of the encoder pulse number to the encoder pulse frequency between adjacent paper cup positions.

[0038] S1-A3: Pair the N theoretical arrival times with the corresponding paper cup positions to form N paper cup arrival events; S1-A4: Arrange the N paper cup arrival events according to their paper cup order to generate the N paper cup arrival event sequences.

[0039] This embodiment pairs N consecutively transported paper cups with their respective cup positions and theoretical arrival times, forming a sequence of paper cup arrival events arranged according to their cup positions. This allows the theoretical time relationship of the paper cups passing through RFID read / write reference positions to be recorded, ensuring that each cup position has a corresponding theoretical arrival time.

[0040] Specifically, in this embodiment, the steps for constructing the tag reading event sequence include: S1-B1: Collect the actual reading time, reading sequence, and label code corresponding to N paper cups along the paper cup conveying direction; S1-B2: Pair the actual reading times of N paper cups with the corresponding reading sequence and label code to form N label reading events; Wherein, the reading sequence position represents the order in which the tag code of the RFID tag is read, and the j-th reading sequence position is initially aligned with the j-th paper cup sequence position, j=1,2,…,N; It should be noted that the tag reading event occurs at the RFID read / write reference position, which is a fixed reference position on the paper cup production line used to read the tag code of the RFID tag carried by the paper cup; Furthermore, the j-th reading sequence position corresponds to the j-th paper cup sequence position, which represents the initial sequence position correspondence established based on the reading order and the paper cup delivery order. However, it does not mean that the RFID tag corresponding to the tag code in the j-th tag reading event necessarily belongs to the j-th paper cup sequence position.

[0041] S1-B3: Arrange the N tag reading events according to their corresponding reading order to generate a tag reading event sequence.

[0042] This embodiment pairs the actual reading time, reading sequence, and tag code collected by the RFID reader to form a tag reading event sequence arranged by reading sequence. Thus, the tag code, reading order, and actual reading time of the RFID tag can be recorded, ensuring that each RFID tag corresponding to a read tag code has a corresponding tag reading event.

[0043] Specifically, in this embodiment, obtaining the effective extended time interval of the arrival event of the j-th paper cup includes: S4-1. Mark the j-th paper cup arrival event in the paper cup arrival event sequence as the center event; S4-2. Along both sides of the central event in the paper cup arrival event sequence, pair the central event with the preceding event and the following event in turn to form preceding event pairs and following event pairs respectively. Among them, the preceding and following events of the same pair are located on both sides of the central event, and have the same paper cup sequence difference with the central event; Furthermore, the cup sequence difference is used to characterize the difference between the cup sequence position corresponding to the preceding or subsequent event and the cup sequence position corresponding to the central event; when the cup sequence difference is r, it indicates that the preceding or subsequent event differs from the central event by r cup sequence positions. Since the cup sequence position simultaneously characterizes the arrangement order of the cups along the conveying direction and the order in which they pass the RFID reading and writing reference position, the cup sequence difference can be used to represent the sequence span of the preceding or subsequent event relative to the central event.

[0044] S4-3. Based on the theoretical arrival times of the preceding and following event pairs, calculate the preceding extended time interval of the preceding event pair and the following extended time interval of the following event pair, respectively. Specifically, the preceding extended time interval is used to characterize the time interval between the preceding event and the central event at the theoretical arrival time, and the following extended time interval is used to characterize the time interval between the following event and the central event at the theoretical arrival time.

[0045] S4-4. Anchor the smaller of the preceding and subsequent extension time intervals and mark it as the effective extension time interval of the j-th paper cup arrival event; Since the preceding and following events in the same pair have the same cup order difference, when the preceding and following extension times are equal, either extension time can be selected as the effective extension time.

[0046] This embodiment calculates the preceding and following extension time intervals successively along both sides of the paper cup arrival event sequence, taking the j-th paper cup arrival event as the center, and selects the smaller time interval as the effective extension time interval. Therefore, even when the theoretical arrival times of the paper cups on both sides of the central event are not perfectly symmetrical, the time interval on the closer side can be used as the effective extension time interval, making the effective extension time interval more closely match the arrival rhythm of the paper cups near the central event.

[0047] Specifically, in this embodiment, calculating the window expansion length for the j-th tag reading event includes: S5-1, Anchor the preceding or following event pair corresponding to the effective extended time interval; In other words, the preceding event pair corresponding to the effective extension time interval consists of a preceding event and a central event, and the following event pair corresponding to the effective extension time interval consists of a central event and a following event. The cup sequence difference between the preceding or following event and the central event is used to determine the window extension length.

[0048] S5-2. In the preceding event pair or the following event pair, extract the first paper cup sequence position corresponding to the preceding event or the following event, and the second paper cup sequence position corresponding to the center event, respectively. S5-3. Calculate the paper cup sequence difference between the first paper cup sequence and the second paper cup sequence, and mark the paper cup sequence difference as the window expansion length of the j-th label reading event.

[0049] Specifically, the window extension length is used to characterize the number of cup positions that the candidate attribution window expands along the forward and backward directions, centered on the j-th cup arrival event, on one side of the cup arrival event sequence. The window extension length is not the physical distance on the cup production line, but rather the sequence extension length in units of cup position differences.

[0050] This embodiment obtains the window extension length of the j-th label reading event by anchoring the preceding or following event pair corresponding to the effective extension time interval and calculating the cup position difference between the preceding or following event and the center event. Thus, the time range corresponding to the effective extension time interval can be converted into a window extension length expressed as the cup position difference.

[0051] Specifically, in this embodiment, step S6 includes: S6-1. Set the j-th label reading event and the j-th paper cup arrival event as the first endpoint and the second endpoint, respectively; S6-2. Set a connecting line between the first endpoint and the second endpoint to form the window center line between the connecting label reading event sequence and the paper cup arrival event sequence; Specifically, the window centerline is used to characterize the correspondence between the j-th label reading event and the initially aligned j-th paper cup arrival event. The window centerline is not a physical structure in the paper cup production line, but rather a virtual alignment reference established between the label reading event sequence and the paper cup arrival event sequence, used to determine the center position of the candidate belonging window relative to the j-th paper cup arrival event.

[0052] S6-3. Using the center line of the window as a reference, extend the window length along both sides of the j-th paper cup arrival event in the paper cup arrival event sequence to construct the candidate belonging window corresponding to the j-th label reading event.

[0053] It should be noted that the window extension length is used to characterize the order length of the candidate home window on one side of the cup arrival event sequence relative to the j-th cup arrival event; when the window extension length is K, the candidate home window covers the j-th cup arrival event, K cup arrival events on one side of the cup arrival event sequence, and K cup arrival events on the other side; therefore, the number of cup arrival events covered, G, is odd, and G = 2K + 1.

[0054] This embodiment uses the center line of the window between the j-th label reading event and the j-th paper cup arrival event as a reference, and extends the window length to both sides in the paper cup arrival event sequence to construct a candidate attribution window covering G paper cup arrival events. This allows the formation of a candidate range centered on the initial alignment position and covering the adjacent paper cup positions.

[0055] Specifically, in this embodiment, the calculation steps for the G candidate time deviations include: S7-A1, Anchor candidate attribution window covers G paper cup arrival events in the paper cup arrival event sequence; S7-A2, Extract the theoretical arrival times of the G paper cup arrival events; S7-A3. Calculate the difference between the theoretical arrival time of each of the G paper cup arrival events and the actual reading time of the j-th label reading event to generate G candidate time deviations for the j-th label reading event.

[0056] Specifically, the difference calculation in this embodiment is used to characterize the degree of time deviation, and the obtained candidate time deviation is a non-negative value; in one embodiment, the difference calculation includes calculating the difference between the theoretical arrival time and the actual reading time and taking the absolute value.

[0057] This embodiment obtains the G candidate time deviations by subtracting the theoretical arrival times of the G paper cup arrival events within the candidate assignment window from the actual reading time of the j-th label reading event. This allows for the quantification of the degree of single-point time deviation between the j-th label reading event and each candidate paper cup arrival event.

[0058] Specifically, in this embodiment, the calculation steps for the G candidate interval deviations include: S7-B1. For each of the G paper cup arrival events in the candidate attribution window, set G candidate indices that are continuously and monotonically increasing, g=1,2,...,G, and anchor the g-th paper cup arrival event. S7-B2. Based on the g-th paper cup arrival event, anchor the preceding and following arrival events adjacent to the g-th paper cup arrival event in the paper cup arrival event sequence; S7-B3. Based on the preceding arrival event, the following arrival event, and the theoretical arrival time of the g-th paper cup arrival event, calculate the preceding arrival interval and the following arrival interval of the g-th paper cup arrival event. Specifically, the preceding arrival interval of the g-th paper cup arrival event is determined by the difference between the theoretical arrival time of the g-th paper cup arrival event and the theoretical arrival time of the preceding arrival event; the following arrival interval of the g-th paper cup arrival event is determined by the difference between the theoretical arrival time of the following arrival event and the theoretical arrival time of the g-th paper cup arrival event.

[0059] S7-B4, Anchor the preceding and following read events adjacent to the j-th tag read event from the tag read event sequence; S7-B5. Based on the preceding read event, the following read event, and the actual read time of the j-th tag read event, calculate the preceding read interval and the following read interval of the j-th tag read event; Similarly, the preceding reading interval of the j-th tag reading event is determined by the difference between the actual reading time of the j-th tag reading event and the actual reading time of the preceding reading event; the following reading interval of the j-th tag reading event is determined by the difference between the actual reading time of the following reading event and the actual reading time of the j-th tag reading event.

[0060] S7-B6. Based on the preceding reading interval of the j-th label reading event and the preceding arrival interval of the g-th paper cup arrival event, and the following reading interval of the j-th label reading event and the following arrival interval of the g-th paper cup arrival event, calculate the difference between the preceding and following intervals of the g-th label reading event and the following arrival interval of the g-th paper cup arrival event, respectively. S7-B7: Traverse the G candidate indices, and under the same candidate index, sum the preceding interval difference and the following interval difference corresponding to the candidate index to generate the candidate interval deviation of the paper cup arrival event corresponding to the candidate index, until the G candidate interval deviations of the G paper cup arrival events are obtained.

[0061] This embodiment calculates the preceding and following arrival intervals of the g-th paper cup arrival event in the paper cup arrival event sequence, and the preceding and following reading intervals of the j-th tag reading event in the tag reading event sequence, respectively. Then, it sums the preceding and following interval differences under the same candidate index to obtain the candidate interval deviation. Therefore, the matching relationship between the j-th tag reading event and the g-th paper cup arrival event can be evaluated from the perspective of the consistency of the consecutive conveying cycles, ensuring that the candidate paper cup sequence not only satisfies the requirement of proximity at single points but also meets the requirement of cycle continuity during the continuous paper cup conveying process.

[0062] This invention also provides an RFID tag attribution correction system for the paper cup production process. This system is used to implement the above-described method embodiments, and details already described will not be repeated. The terms "module," "unit," and "subunit," etc., used below refer to combinations of software and / or hardware that perform predetermined functions. Although the system described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0063] Figure 6 This is a structural block diagram of an RFID tag attribution correction system for paper cup production according to the present invention. The system includes: A dual-sequence construction module is used to construct a paper cup arrival event sequence and a label reading event sequence along the paper cup conveying direction, respectively; wherein, the paper cup arrival event sequence and the label reading event sequence contain the initially aligned paper cup position and reading position, respectively; The dual-moment extraction module is used to extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence and the actual reading time of the j-th label reading event in the label reading event sequence, based on the j-th paper cup sequence position and the j-th reading sequence position of the initial alignment. The alignment deviation calculation module is used to calculate the initial alignment deviation of the j-th label reading event based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event. The extended time interval comparison module is used to obtain the effective extended time interval of the j-th paper cup arrival event and compare the effective extended time interval with the initial alignment deviation. The extended length calculation module is used to determine whether, if the effective extended time interval is less than the initial alignment deviation, the next preceding event and the next following event are selected along both sides of the j-th paper cup arrival event; otherwise, the window extended length of the j-th label reading event is calculated based on the effective extended time interval. The attribution window construction module is used to construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence, based on the window expansion length of the event read by the j-th label. The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. The dual-deviation calculation module is used to calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th label reading event based on the G paper cup arrival events within the candidate attribution window; wherein each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event; The total deviation fusion module is used to align and fuse the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. The tag assignment correction module is used to select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.

[0064] In the above system, a dual-sequence construction module constructs a paper cup arrival event sequence and a tag reading event sequence; a dual-time extraction module extracts the theoretical arrival time and the actual reading time; an alignment deviation calculation module calculates the initial alignment deviation of the j-th tag reading event; an extended time interval comparison module compares the effective extended time interval with the initial alignment deviation; an extended length calculation module calculates the window extension length of the j-th tag reading event; a home window construction module constructs a candidate home window that can cover G paper cup arrival events in the paper cup arrival event sequence; a dual-deviation calculation module calculates G candidate time deviations and G candidate interval deviations; a total deviation fusion module obtains the total home deviation of the G paper cup positions; and a tag home correction module corrects the home of the RFID tag corresponding to the tag code in the j-th tag reading event. This solves the problem of easily misassigning RFID tags to other paper cups within the reading coverage area.

[0065] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A method for attribution correction of RFID tags during paper cup production, characterized in that, include: S1. Construct the paper cup arrival event sequence and the label reading event sequence along the paper cup conveying direction, respectively; The paper cup arrival event sequence and the label reading event sequence contain the initial aligned paper cup position and the reading position, respectively. S2. Based on the initial alignment of the j-th paper cup sequence and the j-th reading sequence, extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence, and the actual reading time of the j-th label reading event in the label reading event sequence; S3. Based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event, calculate the initial alignment deviation of the j-th label reading event; S4. Obtain the effective extended time interval of the j-th paper cup arrival event, and compare the effective extended time interval with the initial alignment deviation; S5. If the effective extension time interval is less than the initial alignment deviation, then continue to select the next preceding event and the next following event along both sides of the j-th paper cup arrival event; otherwise, calculate the window extension length of the j-th label reading event based on the effective extension time interval. S6. Based on the window extension length of the j-th label reading event, construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence; The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. S7. Based on the G paper cup arrival events within the candidate attribution window, calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th tag reading event; where each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event. S8. Align and merge the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. S9. Select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.

2. The method for attribution correction of RFID tags in the paper cup production process according to claim 1, characterized in that, The steps for constructing the paper cup arrival event sequence include: S1-A1. On the paper cup production line, N consecutively arranged paper cups and their corresponding N paper cup positions are anchored along the paper cup conveying direction. The paper cup sequence number is used to characterize the arrangement order of the corresponding paper cups along the paper cup conveying direction, as well as the order in which the corresponding paper cups pass the RFID reading and writing reference position. S1-A2: Obtain the N theoretical arrival times of N paper cup positions passing through the RFID read / write reference position; S1-A3: Pair the N theoretical arrival times with the corresponding paper cup positions to form N paper cup arrival events; S1-A4: Arrange the N paper cup arrival events according to their paper cup order to generate the N paper cup arrival event sequences.

3. The method for attribution correction of RFID tags in the paper cup production process according to claim 1, characterized in that, The steps for constructing the tag reading event sequence include: S1-B1: Collect the actual reading time, reading sequence, and label code corresponding to N paper cups along the paper cup conveying direction; S1-B2: Pair the actual reading times of N paper cups with the corresponding reading sequence and label code to form N label reading events; Wherein, the reading sequence position represents the order in which the tag code of the RFID tag is read, and the j-th reading sequence position is initially aligned with the j-th paper cup sequence position, j=1,2,…,N; S1-B3: Arrange the N tag reading events according to their corresponding reading order to generate a tag reading event sequence.

4. The method for attribution correction of RFID tags in the paper cup production process according to claim 1, characterized in that, The effective extended time interval for obtaining the arrival event of the j-th paper cup includes: S4-1. Mark the j-th paper cup arrival event in the paper cup arrival event sequence as the center event; S4-2. Along both sides of the central event in the paper cup arrival event sequence, pair the central event with the preceding event and the following event in turn to form preceding event pairs and following event pairs respectively. Among them, the preceding and following events of the same pair are located on both sides of the central event, and have the same paper cup sequence difference with the central event; S4-3. Based on the theoretical arrival times of the preceding and following event pairs, calculate the preceding extended time interval of the preceding event pair and the following extended time interval of the following event pair, respectively. S4-4. Anchor the smaller of the preceding and subsequent extension time intervals, and mark it as the effective extension time interval for the j-th paper cup arrival event.

5. The method for attribution correction of RFID tags in the paper cup production process according to claim 4, characterized in that, The calculation of the window expansion length for the j-th tag read event includes: S5-1, Anchor the preceding or following event pair corresponding to the effective extended time interval; S5-2. In the preceding event pair or the following event pair, extract the first paper cup sequence position corresponding to the preceding event or the following event, and the second paper cup sequence position corresponding to the center event, respectively. S5-3. Calculate the paper cup sequence difference between the first paper cup sequence and the second paper cup sequence, and mark the paper cup sequence difference as the window expansion length of the j-th label reading event.

6. The method for attribution correction of RFID tags in the paper cup production process according to claim 5, characterized in that, The construction of a candidate attribution window that covers G paper cup arrival events in the paper cup arrival event sequence includes: S6-1. Set the j-th label reading event and the j-th paper cup arrival event as the first endpoint and the second endpoint, respectively; S6-2. Set a connecting line between the first endpoint and the second endpoint to form the window center line between the connecting label reading event sequence and the paper cup arrival event sequence; S6-3. Using the center line of the window as a reference, extend the window length along both sides of the j-th paper cup arrival event in the paper cup arrival event sequence to construct the candidate belonging window corresponding to the j-th label reading event.

7. The method for attribution correction of RFID tags in the paper cup production process according to claim 6, characterized in that, The calculation steps for the G candidate time deviations include: S7-A1, Anchor candidate attribution window covers G paper cup arrival events in the paper cup arrival event sequence; S7-A2, Extract the theoretical arrival times of the G paper cup arrival events; S7-A3. Calculate the difference between the theoretical arrival time of each of the G paper cup arrival events and the actual reading time of the j-th label reading event to generate G candidate time deviations for the j-th label reading event.

8. The method for attribution correction of RFID tags in the paper cup production process according to claim 6, characterized in that, The calculation steps for the G candidate interval deviations include: S7-B1. For each of the G paper cup arrival events in the candidate attribution window, set G candidate indices that are continuously and monotonically increasing, g=1,2,...,G, and anchor the g-th paper cup arrival event. S7-B2. Based on the g-th paper cup arrival event, anchor the preceding and following arrival events adjacent to the g-th paper cup arrival event in the paper cup arrival event sequence; S7-B3. Based on the preceding arrival event, the following arrival event, and the theoretical arrival time of the g-th paper cup arrival event, calculate the preceding arrival interval and the following arrival interval of the g-th paper cup arrival event. S7-B4, Anchor the preceding and following read events adjacent to the j-th tag read event from the tag read event sequence; S7-B5. Based on the preceding read event, the following read event, and the actual read time of the j-th tag read event, calculate the preceding read interval and the following read interval of the j-th tag read event; S7-B6. Based on the preceding reading interval of the j-th label reading event and the preceding arrival interval of the g-th paper cup arrival event, and the following reading interval of the j-th label reading event and the following arrival interval of the g-th paper cup arrival event, calculate the difference between the preceding and following intervals of the g-th label reading event and the following arrival interval of the g-th paper cup arrival event, respectively. S7-B7: Traverse the G candidate indices, and under the same candidate index, sum the preceding interval difference and the following interval difference corresponding to the candidate index to generate the candidate interval deviation of the paper cup arrival event corresponding to the candidate index, until the G candidate interval deviations of the G paper cup arrival events are obtained.

9. A system for correcting the attribution of RFID tags during the paper cup production process, characterized in that, include: A dual-sequence construction module is used to construct the paper cup arrival event sequence and the label reading event sequence along the paper cup conveying direction, respectively. The paper cup arrival event sequence and the label reading event sequence contain the initial aligned paper cup position and the reading position, respectively. The dual-moment extraction module is used to extract the theoretical arrival time of the j-th paper cup arrival event in the paper cup arrival event sequence and the actual reading time of the j-th label reading event in the label reading event sequence, based on the j-th paper cup sequence position and the j-th reading sequence position of the initial alignment. The alignment deviation calculation module is used to calculate the initial alignment deviation of the j-th label reading event based on the theoretical arrival time of the j-th paper cup arrival event and the actual reading time of the j-th label reading event. The extended time interval comparison module is used to obtain the effective extended time interval of the j-th paper cup arrival event and compare the effective extended time interval with the initial alignment deviation. The extended length calculation module is used to determine whether, if the effective extended time interval is less than the initial alignment deviation, the next preceding event and the next following event are selected along both sides of the j-th paper cup arrival event; otherwise, the window extended length of the j-th label reading event is calculated based on the effective extended time interval. The attribution window construction module is used to construct a candidate attribution window that can cover G paper cup arrival events in the paper cup arrival event sequence, based on the window expansion length of the event read by the j-th label. The candidate attribution window covers the j-th label reading event in the label reading event sequence and the G paper cup arrival events in the paper cup arrival event sequence, where G is an odd number that changes adaptively. The dual-deviation calculation module is used to calculate the G candidate time deviations and G candidate interval deviations corresponding to the j-th label reading event based on the G paper cup arrival events within the candidate attribution window; wherein each candidate time deviation and each candidate interval deviation is associated with the paper cup sequence of the paper cup arrival event; The total deviation fusion module is used to align and fuse the G candidate time deviations and G candidate interval deviations according to their associated paper cup positions to obtain the total deviation of the G paper cup positions. The tag assignment correction module is used to select the paper cup position with the smallest total assignment deviation from the G paper cup positions, mark it as the assigned paper cup position of the j-th tag reading event, and perform assignment correction on the RFID tag corresponding to the tag code in the j-th tag reading event based on the assigned paper cup position.