RFID anti-interference identification processing method, system and terminal
By dynamically adjusting the reading frequency and feature coding judgment, the problem of low reading accuracy of RFID tags in multi-label environments is solved, and high-precision reading of RFID tags is achieved.
Patent Information
- Application Number
- CN202411980038.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-25
AI Technical Summary
When there are a large number of RFID tags in the working environment of the reader and writer, reading with fixed power can easily lead to tags other than the target tag being read, thereby reducing the accuracy of reading and recognition of RFID tags.
By triggering the wake-up signaling of the reading device, the reading frequency of the reading device is dynamically adjusted, and whether the tag contains a preset feature encoding. If included, cache the tag; if not included, output responds to the sleep command and discards the tag.
By adjusting the reading frequency and feature encoding judgment in real time, the reading recognition accuracy of RFID tags is improved and the reading of non-target tags is reduced.
Smart Images

Figure CN119886177A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to an RFID anti-interference identification processing method, system and terminal. Background Art
[0002] Wireless communication technology is a communication method that uses the property of electromagnetic wave signals that can propagate in free space to exchange information.
[0003] Radio frequency identification technology (RFID) usually includes a tag for storing data, a reader for activating and communicating with the tag, and an antenna for transmitting radio frequency signals between the tag and the reader. When the reader sends out a radio frequency signal of a certain frequency through the antenna, if a nearby RFID tag enters the coverage range of the radio frequency signal, the antenna in the RFID tag will receive the signal and generate electricity to activate the tag chip. The tag chip modulates the stored information and sends its own code and other information to the reader. The reader collects the information sent by the RFID tag and transmits it to the computer host for processing, thereby quickly reading and identifying the data stored in the RFID tag.
[0004] When there are a large number of RFID tags in the working environment of the reader, it is easy to read tags other than the target tag using fixed power reading, which leads to a decrease in the reading and recognition accuracy of the RFID tags. Summary of the invention
[0005] In order to improve the reading and identification accuracy of RFID tags, the present invention provides an RFID anti-interference identification processing method, system and terminal.
[0006] In a first aspect, the present invention provides an RFID anti-interference identification processing method, which adopts the following technical solution:
[0007] An RFID anti-interference identification processing method, comprising:
[0008] Trigger the wake-up signaling of the reading device;
[0009] Dynamically adjust the reading frequency of the reading device to read the tag;
[0010] Determine whether the tag contains a preset feature code;
[0011] If yes, cache the label when the feature encoding is correct;
[0012] If not, output a preset response sleep instruction to the tag and discard the tag.
[0013] Optionally, a specific method for dynamically adjusting the reading frequency includes:
[0014] Obtain the reading frequency at the current time, the tag reading information corresponding to the tag read, and the reading position of the reading device;
[0015] Retrieving location environment information based on the read location point;
[0016] Determine the signal interference value according to the location environment information;
[0017] Retrieve the tag number value and signal strength value based on the tag reading information;
[0018] Calculate the sum of the signal strength value and the signal interference value and use it as the signal strength adjustment value;
[0019] According to the correspondence between the signal strength adjustment value and the preset estimated distance value, the estimated distance value corresponding to the signal strength adjustment value is determined;
[0020] The adjustment frequency is determined according to the number of tags and the estimated distance value, and the reading frequency is updated based on the adjustment frequency.
[0021] Optionally, a method for determining the adjustment frequency includes:
[0022] Determine whether the tag value is greater than the preset reading reference value;
[0023] If yes, sort the estimated distance values from small to large, and use the estimated distance value that ranks first as the selected distance value;
[0024] According to the correspondence between the selected distance value and the preset selected distance requirement frequency, the selected distance requirement frequency corresponding to the selected distance value is determined, and the selected distance requirement frequency is used as the adjustment frequency;
[0025] If not, then according to the corresponding relationship between the reading frequency and the preset current reading distance value, the current reading distance value corresponding to the reading frequency is determined;
[0026] Calculate the sum of the current reading distance value and the preset reading increase reference distance value and use it as the reading increase adjustment distance value;
[0027] According to the correspondence between the read increase adjustment distance value and the preset increase adjustment distance requirement frequency, the increase adjustment distance requirement frequency corresponding to the read increase adjustment distance value is determined, and the increase adjustment distance requirement frequency is used as the adjustment frequency.
[0028] Optionally, a method for reading a tag includes:
[0029] After adjusting the reading frequency, reacquire the tag reading information and use it as the tag adjustment information;
[0030] Retrieve label adjustment values based on label adjustment information;
[0031] Determine whether the tag adjustment value is greater than the preset reading reference value;
[0032] If yes, then retrieve the label adjustment strength value based on the label adjustment information;
[0033] Sort the tags from large to small based on the tag adjustment strength values, and use the tag corresponding to the first-ranked tag adjustment strength value as the selected tag, and read the selected tag;
[0034] If not, continue to dynamically adjust the reading frequency.
[0035] Optionally, the method further includes a step after taking the label corresponding to the label adjustment strength value ranked first as the selected label, which is specifically as follows:
[0036] Get the allowed number of values to read;
[0037] Determine whether the allowed value of reading is one;
[0038] If yes, continue to output the selected label;
[0039] If not, the difference between each label adjustment intensity value is calculated and used as the label adjustment intensity deviation value;
[0040] The tags are sorted from small to large based on the tag adjustment strength deviation value, and the tags corresponding to the tag adjustment strength deviation values with the highest sorting are selected from the sorting results as the allowed number tag set based on the read allowed number value, and the selected tags are updated with the allowed number tag set.
[0041] Optionally, the feature encoding method includes:
[0042] Get the label benchmark information of the label;
[0043] Retrieve category information, production date information and serial number information based on label reference information;
[0044] According to the correspondence between the category information and the preset category code, the category code corresponding to the category information is determined;
[0045] According to the corresponding relationship between the production date information and the preset production date code, the production date code corresponding to the production date information is determined;
[0046] According to the correspondence between the serial number information and the preset serial number code, the serial number code corresponding to the serial number information is determined;
[0047] Based on the category code, production date code and serial number code, a base code is formed by combining;
[0048] The verification code is determined according to the category code, production date code and serial number code, and the reference code and the verification code are combined to form a characteristic code.
[0049] Optionally, the method for determining the checksum code includes:
[0050] According to the correspondence between the category code and the preset category reference value, the category reference value corresponding to the category code is determined;
[0051] Calculate the remainder between the production date code and the category reference value and use it as the production date reference value;
[0052] Calculate the remainder between the serial number code and the category reference value and use it as the serial number reference value;
[0053] Calculate the sum of the category reference value, the production date reference value and the serial number reference value and use it as the comprehensive reference value;
[0054] Determine whether the comprehensive reference value is greater than a preset benchmark reference value;
[0055] If yes, the difference between the comprehensive reference value and the benchmark reference value is calculated and used as the reference deviation value;
[0056] Calculate the residual between the reference deviation value and the category reference value and use it as the deviation reference value;
[0057] According to the correspondence between the deviation reference value and the preset deviation reference code, the deviation reference code corresponding to the deviation reference value is determined, and the deviation reference code is used as the verification code;
[0058] If not, the integrated reference code corresponding to the integrated reference value is determined according to the corresponding relationship between the integrated reference value and the preset integrated reference code, and the integrated reference code is used as the verification code.
[0059] Optionally, the steps after reading the tag are also included, as follows:
[0060] Reading a session identifier based on the tag;
[0061] Determining whether the session identifier is consistent with a preset reference identifier;
[0062] If yes, continue to determine whether the tag contains the preset feature code;
[0063] If not, get the processing status of the current time;
[0064] When the processing state is a preset update state, updating the session identifier based on the base identifier;
[0065] When the processing state is not a preset update state, a preset response sleep instruction is output to the tag.
[0066] In a second aspect, the present invention provides an RFID anti-interference identification and processing system, which adopts the following technical solution:
[0067] An RFID anti-interference identification processing system, comprising:
[0068] An acquisition module is used to acquire the reading frequency, tag reading information, reading position point, tag adjustment information, reading allowable value, tag reference information and processing status;
[0069] A memory, used to store a program of the RFID anti-interference identification processing method as described in any one of the first aspects;
[0070] The processor loads and executes the program in the memory.
[0071] In a third aspect, the present invention provides an intelligent terminal, which adopts the following technical solution:
[0072] An intelligent terminal comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the RFID anti-interference identification processing method as described in any one of the first aspects.
[0073] In summary, the present invention includes at least one of the following beneficial technical effects:
[0074] 1. By triggering the wake-up signal of the reading device and dynamically adjusting the reading frequency to read the tag, it is then determined whether the tag contains the characteristic code. If it does, the tag is cached when the characteristic code is correct. If it does not, a preset response sleep instruction is output to the tag and the tag is discarded. The tag is read and cached by adjusting the reading frequency and the condition of containing the characteristic code in real time, thereby improving the reading and recognition accuracy of the RFID tag;
[0075] 2. The signal interference value is determined by obtaining the reading frequency, tag reading information and reading location point and retrieving the location environment information. The tag number value and signal strength value are retrieved through the tag reading information, and then the signal strength adjustment value is calculated to query and determine the estimated distance value. The adjustment frequency is determined through the tag number value and the estimated distance value and the reading frequency is updated to facilitate the subsequent reading of the tag;
[0076] 3. By reading the session identifier and determining whether it is consistent with the preset reference identifier, if it is consistent, continue to determine whether the tag contains the preset feature code. If it is inconsistent, obtain the processing status and update the session identifier according to the processing status or output the preset response sleep instruction to the tag, thereby further eliminating the interference signals of other electronic tags and improving the reading and recognition accuracy of RFID tags. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 is a flow chart of a method for RFID anti-interference identification processing according to an embodiment of the present application;
[0078] Figure 2 is a flow chart of a specific adjustment method for dynamically adjusting the reading frequency according to an embodiment of the present application;
[0079] Figure 3 is a flow chart of a method for determining an adjustment frequency according to an embodiment of the present application;
[0080] Figure 4 is a flow chart of a method for reading a tag according to an embodiment of the present application;
[0081] Figure 5 is a method flow chart of the step after taking the label corresponding to the first-ranked label adjustment strength value as the selected label in the embodiment of the present application;
[0082] Figure 6 is a flow chart of a method for formulating feature codes according to an embodiment of the present application;
[0083] Figure 7 is a flow chart of a method for determining a check code according to an embodiment of the present application;
[0084] Figure 8 It is a method flow chart of the steps after reading the tag according to an embodiment of the present application. DETAILED DESCRIPTION
[0085] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0086] An RFID anti-interference identification processing method dynamically adjusts the reading frequency and selects tags for reading by acquiring reading frequency, tag reading information, reading position point, tag adjustment information, reading allowable value, tag reference information and processing status. The method caches the session identifier read only when it is consistent with the preset reference identifier and contains a feature code, thereby improving the reading and identification accuracy of the RFID tag.
[0087] Reference Figure 1 The embodiment of the present invention discloses an RFID anti-interference identification processing method, which includes:
[0088] Step S100: triggering a wake-up signaling of a reading device.
[0089] The reading device refers to a device that can read RFID tags, and the reading device can be a reader / writer. The wake-up signal refers to a signal instruction used to wake up the RFID tags within the range that the reading device can affect. The wake-up signal can be triggered by the operator pressing a physical button in the reading device, or it can be automatically triggered by the reading device at a set interval.
[0090] Step S101: dynamically adjusting the reading frequency of the reading device to read the tag.
[0091] The reading frequency refers to the working frequency of the reading device when reading the RFID tag to be read, and the RFID tag is read by dynamically adjusting the reading frequency of the reading device in real time. The specific steps of dynamically adjusting the reading frequency refer to steps S200 to S206, and the specific steps corresponding to the reading method adopted when reading the tag refer to steps S400 to S405.
[0092] Step S102: Determine whether the tag contains a preset feature code. If yes, execute step S103; if no, execute step S104.
[0093] The feature code refers to the unique code corresponding to the indicating feature of different RFID tags. The feature code is preset by the operator and stored in the RFID tag. The method for formulating the feature code refers to steps S600 to S606.
[0094] By judging whether the tag contains a preset characteristic code, it is judged whether the RFID tag read at the current time is another electronic tag.
[0095] Step S103: Cache the tag when the feature encoding is correct.
[0096] Among them, when the tag contains a preset feature code, it means that the RFID tag read at this time is not another electronic tag, so the feature code originally contained in the tag is re-formulated, and it is determined whether the re-formulated feature code is consistent with the feature code originally contained in the RFID tag. If they are consistent, it means that the feature code is correct at this time, so the data in the read RFID tag is cached. If they are inconsistent, it means that the feature code is wrong at this time, so the RFID tag continues to be read, thereby improving the reading and recognition accuracy of the RFID tag.
[0097] Step S104: output a preset response sleep instruction to the tag and discard the tag.
[0098] The response sleep instruction refers to the signal instruction corresponding to the control of the responding RFID tag to sleep, and the response sleep instruction is obtained after pre-input. When the tag does not contain the preset feature code, it means that the RFID tag read at the current time is another electronic tag, so the preset response sleep instruction is output to the tag and the tag is discarded, thereby reducing the response of tags that do not meet the reading requirements, thereby improving the reading and recognition accuracy of RFID tags.
[0099] exist Figure 1 In step S101, in order to further ensure the rationality of the reading frequency, it is necessary to further analyze and calculate the reading frequency. Figure 2 The steps shown are explained in detail.
[0100] Reference Figure 2 , the specific adjustment method for dynamically adjusting the reading frequency includes the following steps:
[0101] Step S200: obtaining the reading frequency at the current time, the tag reading information corresponding to the read tag, and the reading position point of the reading device.
[0102] Among them, the tag reading information refers to the number of RFID tags that can be read at the current time and the signal strength and other information. The reading position point refers to the position point of the reading device at the current time. The reading position point can be detected and obtained by the position sensor preset in the reading device, and the reading position point can also be obtained by pre-input. By obtaining the reading frequency, tag reading information and reading position point, it is convenient for subsequent use.
[0103] Step S201: Retrieve location environment information based on the read location point.
[0104] Among them, the location environment information refers to the corresponding equipment, number of people, area and other information in the surrounding environment of the reading location point. By reading the location point, the surrounding environment corresponding to the reading location point is queried from the preset map database and used as the location environment information for subsequent use. The map database stores different locations and the corresponding environment conditions of the locations, and the map database is obtained after the operator pre-inputs.
[0105] Step S202: Determine a signal interference value according to the location environment information.
[0106] Among them, the signal interference value refers to the interference value corresponding to the interference generated when the RFID tag is read. The signal interference value is obtained by querying from a database that stores different location environment information and corresponding signal interference values. The database is obtained after pre-input, and the signal interference value is determined by querying the location environment information to facilitate subsequent use.
[0107] Furthermore, in order to improve the accuracy of the acquired signal interference value, the method for determining the signal interference value includes the following steps.
[0108] Step S2020: Retrieve the influencing equipment information, personnel historical situation information and environmental area value based on the location environment information.
[0109] Among them, the influencing device information refers to the Wi-Fi, metal and other device information that affects the reading of RFID tags, the personnel historical situation information refers to the number of people in the surrounding environment of the reading location in the historical time, and the environmental area value refers to the area value corresponding to the surrounding environment of the reading location. The influencing device information, personnel historical situation information and environmental area value are retrieved through the location environment information for subsequent use.
[0110] Step S2021: determining the influencing device unit interference value corresponding to the influencing device information according to the correspondence between the influencing device information and the preset influencing device unit interference value.
[0111] The unit interference value of the influencing device refers to the interference value corresponding to the interference effect of the influencing device on the reading of the RFID tag when the influencing device is used by a unit number of people. The unit interference value of the influencing device is obtained by querying from a database storing different influencing device information and the corresponding unit interference values of the influencing device, and the database is obtained after pre-input. The unit interference value of the influencing device is determined by querying the influencing device information, which is convenient for subsequent use.
[0112] Step S2022: Based on the historical personnel information, retrieve the historical personnel value corresponding to the current time.
[0113] Among them, the historical number of people in the same period refers to the number of people in the historical time corresponding to the current time. The number of people in the historical time corresponding to the current time is queried and retrieved through the historical personnel information and used as the historical number of people in the same period to facilitate subsequent use.
[0114] Step S2023: Calculate the product of the historical headcount value and the unit interference value of the influencing equipment and use it as the comprehensive interference value of the influencing equipment.
[0115] Among them, the comprehensive interference value of the influencing device refers to the comprehensive interference value corresponding to the interference effect caused by the influencing device on the reading of the RFID tag. The product value between the historical human value in the same period and the unit interference value of the influencing device is calculated and used as the comprehensive interference value of the influencing device for subsequent use.
[0116] Step S2024: Calculate the quotient between the environmental area value and the historical population value for the same period and use it as the area population density value.
[0117] Among them, the area population density value refers to the population density value corresponding to the historical population value during the same period is within the environmental area value. The quotient between the environmental area value and the historical population value during the same period is calculated and used as the area population density value for subsequent use.
[0118] Step S2025: determining the population density interference value corresponding to the area population density value according to the correspondence between the area population density value and the preset population density interference value.
[0119] The crowd density interference value refers to the interference value corresponding to the interference effect of the crowd density on the reading of the RFID tag. The crowd density interference value is obtained by querying from a database storing different area crowd density values and corresponding crowd density interference values. The database is obtained after pre-input. The crowd density interference value is determined by querying the area crowd density value to facilitate subsequent use.
[0120] Step S2026: Calculate the sum of the comprehensive interference value of the influencing equipment and the interference value of the population density and use it as the signal interference value.
[0121] The accuracy of the obtained signal interference value is improved by calculating the sum of the comprehensive interference value of the influencing equipment and the interference value of the population density and using it as the signal interference value.
[0122] Step S203: Retrieve the tag number value and signal strength value based on the tag reading information.
[0123] Among them, the number of tag values refers to the number of RFID tags that can be read at the current time, and the signal strength value refers to the signal strength value corresponding to the RFID tags that can be read at the current time. The number of tag values and signal strength values are retrieved through the tag reading information to facilitate subsequent use.
[0124] Step S204: Calculate the sum of the signal strength value and the signal interference value and use it as the signal strength adjustment value.
[0125] The signal strength adjustment value refers to the adjustment value corresponding to the signal strength after being adjusted when interfered with. The sum of the signal strength value and the signal interference value is calculated and used as the signal strength adjustment value for convenience in subsequent use.
[0126] Step S205: determining the estimated distance value corresponding to the signal strength adjustment value according to the corresponding relationship between the signal strength adjustment value and the preset estimated distance value.
[0127] The estimated distance value refers to the estimated value of the distance between the read RFID tag and the reading device, and the estimated distance value is obtained by querying from a database storing different signal strength adjustment values and corresponding estimated distance values, and the database is obtained after pre-input. The estimated distance value is determined by querying the signal strength adjustment value, which is convenient for subsequent use.
[0128] Step S206: determining an adjustment frequency according to the number of tags and the estimated distance value, and updating the reading frequency based on the adjustment frequency.
[0129] The adjustment frequency refers to the frequency corresponding to the adjustment of the working frequency of the reading device, and the adjustment frequency is obtained by querying from a database storing different tag number values and estimated distance values and corresponding adjustment frequencies, and the database is obtained after pre-input. The adjustment frequency is determined by querying the tag number value and the estimated distance value, and the reading frequency is updated based on the adjustment frequency, thereby improving the accuracy of the obtained reading frequency.
[0130] exist Figure 2 In step S206, in order to further ensure the rationality of the adjustment frequency, it is necessary to further analyze and calculate the adjustment frequency. Figure 3 The steps shown are explained in detail.
[0131] Reference Figure 3 , the method for determining the adjustment frequency includes the following steps:
[0132] Step S300: Determine whether the number of tags is greater than a preset reference number of tags. If yes, execute step S301; if no, execute step S303.
[0133] The reading reference value refers to the reference value corresponding to the reading of the RFID tag, and the reading reference value is obtained after pre-input. By judging whether the tag value is greater than the preset reading reference value, it is judged whether the frequency can be directly selected according to the estimated distance value.
[0134] Step S301: Sort the estimated distance values from small to large, and use the estimated distance value that comes first in the sort as the selected distance value.
[0135] Among them, the selected distance value refers to the distance value corresponding to the estimated distance after selection. When the tag value is greater than the preset reading benchmark value, it means that the frequency can be directly selected according to the estimated distance value. Therefore, the estimated distance values are sorted from small to large, and the estimated distance value ranked first is used as the selected distance value, so as to facilitate subsequent use.
[0136] Step S302: determining a selected distance required frequency corresponding to the selected distance value according to a corresponding relationship between the selected distance value and a preset selected distance required frequency, and using the selected distance required frequency as the adjustment frequency.
[0137] The selected distance required frequency refers to the frequency that the reading device needs to reach when working according to the selected distance. The selected distance required frequency is obtained by querying from a database storing different selected distance values and corresponding selected distance required frequencies, and the database is obtained after pre-input. The selected distance required frequency is determined by querying the selected distance value, and the selected distance required frequency is used as the adjustment frequency to improve the accuracy of the obtained adjustment frequency.
[0138] Step S303: determining the current reading distance value corresponding to the reading frequency according to the corresponding relationship between the reading frequency and the preset current reading distance value.
[0139] Among them, the current reading distance value refers to the maximum distance value that can be read according to the reading frequency. The current reading distance value is obtained by querying from a database that stores different reading frequencies and corresponding current reading distance values. The database is obtained after pre-input. When the number of tags is not greater than the preset reading reference number, it means that the frequency cannot be directly selected according to the estimated distance value at this time, so the current reading distance value is determined by querying the reading frequency for subsequent use.
[0140] Step S304: Calculate the sum of the current reading distance value and the preset reading increase reference distance value and use it as the reading increase adjustment distance value.
[0141] The reading increase reference distance value refers to the adjustment value that needs to be added to the distance when reading according to the reading frequency, and the reading increase reference distance value is obtained after pre-input. The reading increase adjustment distance value refers to the distance value adjusted for the distance corresponding to the reading according to the reading frequency, and the sum of the current reading distance value and the preset reading increase reference distance value is calculated and used as the reading increase adjustment distance value for subsequent use.
[0142] Step S305: determining the required frequency for increasing the adjustment distance corresponding to the read increased adjustment distance value according to the correspondence between the read increased adjustment distance value and the preset required frequency for increasing the adjustment distance, and using the required frequency for increasing the adjustment distance as the adjustment frequency.
[0143] The required frequency of increasing the adjustment distance refers to the frequency that the reading device needs to reach when working according to the reading of the increased adjustment distance value. The required frequency of increasing the adjustment distance is obtained by querying from a database storing different reading increased adjustment distance values and corresponding required frequencies of increasing the adjustment distance, and the database is obtained after pre-input. The required frequency of increasing the adjustment distance is determined by querying the reading of the increased adjustment distance value, and the required frequency of increasing the adjustment distance is used as the adjustment frequency, thereby improving the accuracy of the obtained adjustment frequency.
[0144] exist Figure 1 In step S101, in order to further ensure the rationality of reading the tag, it is necessary to perform further separate analysis and calculation on the read tag. Figure 4 The steps shown are explained in detail.
[0145] Reference Figure 4 , the reading method for reading the tag includes the following steps:
[0146] Step S400: After adjusting the reading frequency, reacquire the tag reading information and use it as the tag adjustment information.
[0147] Among them, the tag adjustment information refers to the number of RFID tags that can be read and the signal strength after the reading frequency is adjusted. After the reading frequency is adjusted, the tag reading information is re-acquired and used as the tag adjustment information for subsequent use.
[0148] Step S401: Retrieve a label adjustment value based on label adjustment information.
[0149] The tag adjustment value refers to the value corresponding to the RFID tag that can be read after the reading frequency is adjusted. The tag adjustment value is retrieved through the tag adjustment information to facilitate subsequent use.
[0150] Step S402: Determine whether the tag adjustment value is greater than the preset reading reference value. If yes, execute step S403; if no, execute step S405.
[0151] Wherein, it is determined whether the tag adjustment value is greater than a preset reading reference value, thereby determining whether the reading frequency needs to be further adjusted.
[0152] Step S403: Retrieve the label adjustment strength value based on the label adjustment information.
[0153] The tag adjustment strength value refers to the signal strength value corresponding to the RFID tag that can be read after the reading frequency is adjusted. When the tag adjustment value is greater than the preset reading reference value, it means that the reading frequency does not need to be adjusted further at this time, so the tag adjustment strength value is retrieved through the tag adjustment information for subsequent use.
[0154] Step S404: Sort the tags from large to small based on their tag adjustment strength values, and use the tag corresponding to the tag adjustment strength value that ranks first as the selected tag, and read the selected tag.
[0155] Among them, selecting a tag refers to selecting the RFID tag corresponding to the one to be read. The tag adjustment strength values are sorted from large to small, and the tag corresponding to the first-ranked tag adjustment strength value is used as the selected tag, and the selected tag is read, thereby improving the accuracy of reading the RFID tag.
[0156] Step S405: Continue to dynamically adjust the reading frequency.
[0157] When the tag adjustment value is not greater than the preset reading reference value, it means that the reading frequency needs to be adjusted further, so the reading frequency is dynamically adjusted, that is, the process continues to jump to step S200 for execution.
[0158] exist Figure 4 After step S404, in order to further ensure the rationality of the selected labels, it is necessary to further analyze and calculate the selected labels. Figure 5 The steps shown are explained in detail.
[0159] Reference Figure 5 The step after taking the label corresponding to the first-ranked label adjustment strength value as the selected label includes the following steps:
[0160] Step S500: Obtain the allowed reading value.
[0161] The allowed number of reads refers to the number of reads that are allowed to be read simultaneously when reading RFID tags. The allowed number of reads is preset and input by an operator and is obtained.
[0162] Step S501: Determine whether the allowed value is 1. If yes, execute step S502; if no, execute step S503.
[0163] Here, by judging whether the allowed reading value is 1, it is judged whether the selection label needs to be adjusted.
[0164] Step S502: Continue to output the selected tags.
[0165] When the allowed value is read as 1, it means that the selection label does not need to be adjusted at this time, so the selection label continues to be output.
[0166] Step S503: Calculate the difference between each label adjustment strength value and use it as the label adjustment strength deviation value.
[0167] The label adjustment strength deviation value refers to the strength deviation value between each label adjustment strength value. By calculating the difference between each label adjustment strength value and using it as the label adjustment strength deviation value, subsequent use is facilitated.
[0168] Step S504: Sort the tags from small to large based on the tag adjustment strength deviation values, and select tags corresponding to the tag adjustment strength deviation values with the highest sorting from the sorting results as the allowed number tag set based on the read allowed number value, and update the selected tags with the allowed number tag set.
[0169] Among them, the allowed number label set refers to the set corresponding to the selection of labels based on the reading of the allowed number value, by sorting the label adjustment strength deviation values from small to large, and selecting the label adjustment strength deviation values corresponding to the number of allowed number values read from the top of the sorting results, and taking the labels corresponding to the selected label adjustment strength deviation values as the allowed number label set, and updating the selected labels with the allowed number label set, thereby improving the accuracy of the obtained selected labels.
[0170] exist Figure 1 In step S102 shown in the figure, in order to further ensure the rationality of the feature coding, it is necessary to further analyze and calculate the feature coding separately, specifically by Figure 6 The steps shown are explained in detail.
[0171] Reference Figure 6 , the method for formulating feature coding includes the following steps:
[0172] Step S600: Acquire tag reference information of the tag.
[0173] The tag reference information refers to reference data information such as category, production date and serial number that needs to be stored in the RFID tag. The tag reference information is obtained after being pre-input by the operator.
[0174] Step S601: Retrieve category information, production date information and serial number information based on label reference information.
[0175] Among them, category information refers to the storage information when the category needs to be stored in the RFID tag, production date information refers to the storage information when the production date needs to be stored in the RFID tag, and serial number information refers to the storage information when the serial number needs to be stored in the RFID tag. The category information, production date information and serial number information are retrieved through the tag reference information for subsequent use.
[0176] Step S602: determining the category code corresponding to the category information according to the correspondence between the category information and the preset category code.
[0177] The category code refers to the code corresponding to the category, and the category code is obtained by querying from a database storing different category information and corresponding category codes, and the database is obtained after pre-input. The category code is determined by querying the category information to facilitate subsequent use.
[0178] Step S603: determining the production date code corresponding to the production date information according to the corresponding relationship between the production date information and the preset production date code.
[0179] The production date code refers to the code corresponding to the production date, which is obtained by querying from a database storing different production date information and corresponding production date codes, and the database is obtained after pre-input. The production date code is determined by querying the production date information, which is convenient for subsequent use.
[0180] Step S604: Determine the serial number code corresponding to the serial number information according to the corresponding relationship between the serial number information and the preset serial number code.
[0181] The serial number code refers to the code corresponding to the serial number, which is obtained by querying from a database storing different serial number information and corresponding serial number codes, and the database is obtained after pre-input. The serial number code is determined by querying the serial number information to facilitate subsequent use.
[0182] Step S605: Combining the category code, the production date code and the serial number code to form a reference code.
[0183] Among them, the reference code refers to the code used to represent reference data such as category, production date and serial number. The reference code is formed by arranging the category code, production date code and serial number code in sequence to facilitate subsequent use.
[0184] Step S606: Determine the verification code according to the category code, the production date code and the serial number code, and combine the reference code with the verification code to form a characteristic code.
[0185] The verification code refers to a code used for verification during subsequent reading, and the verification code is obtained by querying from a database storing different category codes, production date codes, serial number codes and corresponding verification codes, and the database is obtained after pre-input. The verification code is determined by querying the category code, production date code and serial number code, and the reference code is combined with the verification code to form a feature code, thereby improving the accuracy of the acquired feature code.
[0186] exist Figure 6 In step S606, in order to further ensure the rationality of the check code, it is necessary to further analyze and calculate the check code separately. Figure 7 The steps shown are explained in detail.
[0187] Reference Figure 7 , the method for determining the check code includes the following steps:
[0188] Step S700: determining a category reference value corresponding to the category code according to a correspondence between the category code and a preset category reference value.
[0189] The category reference value refers to the calculated reference value corresponding to the category code, and the category reference value is obtained by querying from a database storing different category codes and corresponding category reference values, and the database is obtained after pre-input. The category reference value is determined by querying the category code for subsequent use.
[0190] Step S701: Calculate the remainder between the production date code and the category reference value and use it as the production date reference value.
[0191] Among them, the production date reference value refers to the calculated reference value corresponding to the production date code. The residual value between the production date code and the category reference value is calculated and used as the production date reference value for subsequent use.
[0192] Step S702: Calculate the remainder between the serial number code and the category reference value and use it as the serial number reference value.
[0193] The serial number reference value refers to the calculated reference value corresponding to the serial number code. The residual value between the serial number code and the category reference value is calculated and used as the serial number reference value for subsequent use.
[0194] Step S703: Calculate the sum of the category reference value, the production date reference value and the serial number reference value and use it as the comprehensive reference value.
[0195] Among them, the comprehensive reference value refers to the comprehensive reference value corresponding to the category, production date and serial number. The sum of the category reference value, production date reference value and serial number reference value is calculated and used as the comprehensive reference value for subsequent use.
[0196] Step S704: Determine whether the comprehensive reference value is greater than the preset benchmark reference value. If yes, execute step S705; if no, execute step S708.
[0197] The reference value is a reference value corresponding to the verification code that can be directly obtained, and the reference value is obtained after pre-input. By judging whether the comprehensive reference value is greater than the preset reference value, it is judged whether the verification code can be directly obtained according to the comprehensive reference value.
[0198] Step S705: Calculate the difference between the comprehensive reference value and the benchmark reference value and use it as a reference deviation value.
[0199] Among them, the reference deviation value refers to the deviation value corresponding to the presence of a deviation in the reference value. When the comprehensive reference value is greater than the preset benchmark reference value, it means that the verification code cannot be directly obtained based on the comprehensive reference value at this time. Therefore, the difference between the comprehensive reference value and the benchmark reference value is calculated and used as the reference deviation value for subsequent use.
[0200] Step S706: Calculate the residual between the reference deviation value and the category reference value and use it as the deviation reference value.
[0201] Among them, the deviation reference value refers to the calculated reference value corresponding to the reference deviation value. The residual value between the reference deviation value and the category reference value is calculated and used as the deviation reference value for subsequent use.
[0202] Step S707: Determine the deviation reference code corresponding to the deviation reference value according to the correspondence between the deviation reference value and the preset deviation reference code, and use the deviation reference code as the verification code.
[0203] The deviation reference code refers to the code corresponding to the deviation reference value, and the deviation reference code is obtained by querying from a database storing different deviation reference values and corresponding deviation reference codes, and the database is obtained after pre-input. The deviation reference code is determined by querying the deviation reference value, and the deviation reference code is used as a verification code, thereby improving the accuracy of the obtained verification code.
[0204] Step S708: Determine the integrated reference code corresponding to the integrated reference value according to the corresponding relationship between the integrated reference value and the preset integrated reference code, and use the integrated reference code as the verification code.
[0205] The comprehensive reference code refers to the code corresponding to the comprehensive reference value, and the comprehensive reference code is obtained by querying from a database storing different comprehensive reference values and corresponding comprehensive reference codes, and the database is obtained after pre-input. When the comprehensive reference value is not greater than the preset benchmark reference value, it means that the check code can be directly obtained according to the comprehensive reference value at this time, so the comprehensive reference code is determined by querying the comprehensive reference value, and the comprehensive reference code is used as the check code, thereby improving the accuracy of the obtained check code.
[0206] exist Figure 1 After step S101, in order to further ensure the rationality of the tag reading, it is necessary to perform further separate analysis and calculation after reading the tag. Figure 8 The steps shown are explained in detail.
[0207] Reference Figure 8 , the steps after reading the tag include the following steps:
[0208] Step S800: Reading a session identifier based on the tag.
[0209] The session identifier refers to an identifier for identifying the RFID tag that needs to conduct a session. After reading the tag, the session identifier is read through the read tag to facilitate subsequent use.
[0210] Step S801: Determine whether the session identifier is consistent with the preset reference identifier. If yes, execute step S802; if no, execute step S803.
[0211] The reference identifier is an identifier required for reading, and is obtained by pre-input. By determining whether the session identifier is consistent with the preset reference identifier, it is determined whether the tag can continue to be read.
[0212] Step S802: Continue to execute step S102.
[0213] When the session identifier is consistent with the preset reference identifier, it means that the tag can continue to be read, so step S102 is continued to be executed, thereby improving the speed of tag reading and identification.
[0214] Step S803: Obtain the processing status of the current time.
[0215] The processing state refers to the state corresponding to the tag being updated or read at the current time. The processing state is obtained by the operator inputting the current time when the reading operation is performed. When the session identifier is inconsistent with the preset reference identifier, it means that the tag cannot be read at this time, so the processing state is obtained for subsequent use.
[0216] Step S804: When the processing state is a preset update state, the session identifier is updated based on the reference identifier.
[0217] Among them, the update status refers to the status corresponding to the update processing of the tag at the current time. The update status is obtained after pre-input. When the processing status is the preset update status, it means that the session identifier needs to be updated at this time. Therefore, the session identifier is updated by using the baseline identifier to facilitate subsequent reading.
[0218] Step S805: When the processing state is not the preset update state, output a preset response sleep instruction to the tag.
[0219] When the processing state is the preset update state, it indicates that there is an error in the session identifier at this time, so a preset response sleep instruction is output to the tag, thereby reducing the response of tags that do not meet the reading requirements.
[0220] Based on the same inventive concept, an embodiment of the present invention provides an RFID anti-interference identification and processing system, including:
[0221] An acquisition module is used to acquire the reading frequency, tag reading information, reading position point, tag adjustment information, reading allowable value, tag reference information and processing status;
[0222] Memory, used to store Figures 1 to 8 A program of any one of the RFID anti-interference identification processing methods;
[0223] The processor loads and executes the program in the memory.
[0224] Based on the same inventive concept, an embodiment of the present invention provides an intelligent terminal, including a memory and a processor, wherein the memory stores a program that can be loaded and executed by the processor. Figures 1 to 8 A computer program for any one of the RFID anti-interference identification processing methods described.
[0225] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0226] The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should also be regarded as the protection scope of the present invention.
Claims
1. A RFID anti-interference identification processing method, characterized in that: include: Trigger the wake-up signaling of the reading device; Dynamically adjust the reading frequency of the reading device to read the tag; Determine whether the tag contains a preset feature code; If yes, cache the label when the feature encoding is correct; If not, output a preset response sleep instruction to the tag and discard the tag.
2. The RFID anti-interference identification processing method according to claim 1, characterized in that: The specific adjustment methods for dynamically adjusting the reading frequency include: Obtain the reading frequency at the current time, the tag reading information corresponding to the tag read, and the reading position of the reading device; Retrieving location environment information based on the read location point; Determine the signal interference value according to the location environment information; Retrieve the tag number value and signal strength value based on the tag reading information; Calculate the sum of the signal strength value and the signal interference value and use it as the signal strength adjustment value; According to the correspondence between the signal strength adjustment value and the preset estimated distance value, the estimated distance value corresponding to the signal strength adjustment value is determined; The adjustment frequency is determined according to the number of tags and the estimated distance value, and the reading frequency is updated based on the adjustment frequency.
3. The RFID anti-interference identification processing method according to claim 2, characterized in that: Methods for determining the adjustment frequency include: Determine whether the tag value is greater than the preset reading reference value; If yes, sort the estimated distance values from small to large, and use the estimated distance value that ranks first as the selected distance value; According to the correspondence between the selected distance value and the preset selected distance requirement frequency, the selected distance requirement frequency corresponding to the selected distance value is determined, and the selected distance requirement frequency is used as the adjustment frequency; If not, then according to the corresponding relationship between the reading frequency and the preset current reading distance value, the current reading distance value corresponding to the reading frequency is determined; Calculate the sum of the current reading distance value and the preset reading increase reference distance value and use it as the reading increase adjustment distance value; According to the correspondence between the read increase adjustment distance value and the preset increase adjustment distance requirement frequency, the increase adjustment distance requirement frequency corresponding to the read increase adjustment distance value is determined, and the increase adjustment distance requirement frequency is used as the adjustment frequency.
4. The RFID anti-interference identification processing method according to claim 3, characterized in that: The reading method for reading the tag includes: After adjusting the reading frequency, reacquire the tag reading information and use it as the tag adjustment information; Retrieve label adjustment values based on label adjustment information; Determine whether the tag adjustment value is greater than the preset reading reference value; If yes, then retrieve the label adjustment strength value based on the label adjustment information; Sort the tags from large to small based on the tag adjustment strength values, and use the tag corresponding to the first-ranked tag adjustment strength value as the selected tag, and read the selected tag; If not, continue to dynamically adjust the reading frequency.
5. The RFID anti-interference identification processing method according to claim 4, characterized in that: The step further includes the following steps after taking the label corresponding to the first-ranked label adjustment strength value as the selected label: Get the allowed number of values to read; Determine whether the allowed value of reading is one; If yes, continue to output the selected label; If not, the difference between each label adjustment intensity value is calculated and used as the label adjustment intensity deviation value; The tags are sorted from small to large based on the tag adjustment strength deviation value, and the tags corresponding to the tag adjustment strength deviation values with the highest sorting are selected from the sorting results as the allowed number tag set based on the read allowed number value, and the selected tags are updated with the allowed number tag set.
6. The RFID anti-interference identification processing method according to claim 1, characterized in that: The feature coding method includes: Get the label benchmark information of the label; Retrieve category information, production date information and serial number information based on label reference information; According to the correspondence between the category information and the preset category code, the category code corresponding to the category information is determined; According to the corresponding relationship between the production date information and the preset production date code, the production date code corresponding to the production date information is determined; According to the correspondence between the serial number information and the preset serial number code, the serial number code corresponding to the serial number information is determined; Based on the category code, production date code and serial number code, a base code is formed by combining; The verification code is determined according to the category code, production date code and serial number code, and the reference code and the verification code are combined to form a characteristic code.
7. The RFID anti-interference identification processing method according to claim 6, characterized in that: Methods for determining the checksum code include: According to the correspondence between the category code and the preset category reference value, the category reference value corresponding to the category code is determined; Calculate the remainder between the production date code and the category reference value and use it as the production date reference value; Calculate the remainder between the serial number code and the category reference value and use it as the serial number reference value; Calculate the sum of the category reference value, the production date reference value and the serial number reference value and use it as the comprehensive reference value; Determine whether the comprehensive reference value is greater than a preset benchmark reference value; If yes, the difference between the comprehensive reference value and the benchmark reference value is calculated and used as the reference deviation value; Calculate the residual between the reference deviation value and the category reference value and use it as the deviation reference value; According to the correspondence between the deviation reference value and the preset deviation reference code, the deviation reference code corresponding to the deviation reference value is determined, and the deviation reference code is used as the verification code; If not, the integrated reference code corresponding to the integrated reference value is determined according to the corresponding relationship between the integrated reference value and the preset integrated reference code, and the integrated reference code is used as the verification code.
8. The RFID anti-interference identification processing method according to claim 1, characterized in that: It also includes the steps after reading the tag, as follows: Reading a session identifier based on the tag; Determining whether the session identifier is consistent with a preset reference identifier; If yes, continue to determine whether the tag contains the preset feature code; If not, get the processing status of the current time; When the processing state is a preset update state, updating the session identifier based on the base identifier; When the processing state is not a preset update state, a preset response sleep instruction is output to the tag.
9. An RFID anti-interference identification and processing system, characterized in that: include: An acquisition module is used to acquire the reading frequency, tag reading information, reading position point, tag adjustment information, reading allowable value, tag reference information and processing status; A memory, used to store a program of the RFID anti-interference identification processing method according to any one of claims 1 to 8; The processor loads and executes the program in the memory.
10. An intelligent terminal, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute the RFID anti-interference identification processing method according to any one of claims 1 to 8.