Disclosure of Invention
In view of the above, the present invention is to provide a method for implementing dual-standard RFID tag identification.
In order to solve the technical problems, the invention adopts the following technical scheme: an RFID tag identification method for implementing dual standards, comprising the steps of:
s1, a radio frequency module takes out a first member from an original time queue containing n time members, obtains the identity type of the first member, and obtains corresponding working parameters from a parameter configuration management module according to the identity type of the first member; when the first member of the original time queue is taken away, all the remaining members move forward by one bit;
s2, the radio frequency module obtains a reading result according to the working parameters in a fixed time T;
and S3, adding sequence members after the last member of the queue according to the member scheduling strategy according to the reading result to form an adjustment queue, and returning the adjustment queue as a new original time queue to the step S1.
In the present invention, preferably, the identity types include a first identity type and a second identity type.
In the present invention, preferably, the member scheduling policy is specifically to add a one-bit sequence member after the last member of the queue when the reading result is successful or failed, and add a two-bit sequence member after the last member of the queue when the reading result is non-responsive.
In the invention, preferably, when the reading result is no response, determining the sequence of adding two-bit sequence members after the last member of the queue according to the identity type of the first member, specifically, if the identity type of the first member is the first identity type, sequentially adding two-bit sequence members of the second identity type and the first identity type after the last member of the queue; if the identity type of the first member is the second identity type, sequentially adding two-bit sequence members of the first identity type and the second identity type after the last member of the queue.
In the present invention, preferably, the first identity type is set to 6C and the second identity type is set to GB.
In the present invention, preferably, in a fixed time T, the radio frequency module obtains n=t/T times of reading results in a reading working period T, and each time of reading is performed once according to working parameters.
In the invention, preferably, the radio frequency module interacts with the air interface for multiple times in a single tag to obtain the reading result, wherein the reading result comprises successful reading, failed reading and no response.
In the present invention, preferably, before the radio frequency module performs the work of reading the RFID tag each time, the corresponding working parameters are set by the parameter management configuration module.
In the present invention, preferably, the operating parameters include a transmission power, an operating frequency point, a coding mode, a frequency hopping switch, a Q value, CCN, and CIN.
The invention has the advantages and positive effects that: the invention can respectively realize the reading operation of the RFID tag specified by the ISO/IEC 18000-6C standard and the GB-29768 standard, dynamically adjust the working time of the reading operation of the two standard specifications, improve the successful reading times of the tag existing in the working area, and quickly adjust the different conditions of the standard of the tag in the working area of the reader-writer after the condition of the tag in the field changes, thereby reducing the possibility of losing the reading result of the other tag due to improving the reading working time of one tag and improving the working efficiency.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It will be understood that when an element is referred to as being "fixed to" another element, it can be directly on the other element or intervening elements may also be present. When a component is considered to be "connected" to another component, it can be directly connected to the other component or intervening components may also be present. When an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
As shown in fig. 1, the present invention provides a method for implementing dual-standard RFID tag identification, including the steps of:
s1, a radio frequency module takes out a first member from an original time queue containing n time members, obtains the identity type of the first member, and obtains corresponding working parameters from a parameter configuration management module according to the identity type of the first member; when the first member of the original time queue is taken away, all the remaining members move forward by one bit;
s2, the radio frequency module obtains a reading result according to the working parameters in a fixed time T;
and S3, adding sequence members after the last member of the queue according to the member scheduling strategy according to the reading result to form an adjustment queue, and returning the adjustment queue as a new original time queue to the step S1.
In this embodiment, further, the identity types include a first identity type and a second identity type.
As shown in fig. 2, in this embodiment, further, the member scheduling policy is specifically to add a member of a bit sequence after the last member of the queue when the reading result is successful or failed; and when the reading result is no response, adding two-bit sequence members after the last-bit member of the queue.
In this embodiment, further, when the reading result is no response, determining, according to the identity type of the first member, a sequence of adding two-bit sequence members after the last member of the queue, specifically, if the identity type of the first member is the first identity type, sequentially adding two-bit sequence members of the second identity type and the first identity type after the last member of the queue; if the identity type of the first member is the second identity type, sequentially adding two-bit sequence members of the first identity type and the second identity type after the last member of the queue.
In this embodiment, further, the first identity type is set to 6C, and the second identity type is set to GB.
In this embodiment, further, in a fixed time T, the radio frequency module obtains n=t/T times of reading results in a reading working period T, and each time of reading performs a tag reading operation according to the working parameters.
In this embodiment, further, the method adopts a dynamic adjustment manner to increase the successful recognition times of the tags under different situations, and obtains the recognition results through multiple air interface interactions in the radio frequency module and the single tag, and the recognition results are classified into three types, wherein the recognition results comprise successful recognition, failure recognition and no response. Successful reading means that a 6C standard or GB standard RFID tag is arranged in the working area of the reader-writer, and information is successfully obtained. The failure of reading refers to that a 6C standard or GB standard RFID label exists in the working area of the reader-writer, but the reader-writer cannot analyze the RFID label because the working state of the label is incorrect or the data in the interaction process cannot pass verification and the like due to interference. The non-responsive finger reader does not receive any possible RFID tag signals, and it is assumed that no such RFID tag is within the operating area that meets such standard specifications. The radio frequency module tries to read the 6C standard or the GB standard once, and the operation that the reading is successful, the reading is failed or the reading is unresponsive is generally regarded as taking a fixed time T, and in the maximum reading working period T, the result can be obtained at most n=t/T times. The number of successful reading is increased by dynamically adjusting and reasonably distributing working time of the two standards.
In this embodiment, further, before the radio frequency module performs the task of reading the RFID tag each time, the corresponding working parameters are set by the parameter management configuration module.
In this embodiment, further, the operating parameters include, but are not limited to, a transmitting power, an operating frequency point, a coding mode, a frequency hopping switch, a Q value, CCN, and CIN, one subset of the parameters is used in performing 6C inventory reading, the other subset of the parameters is used in performing GB inventory reading, an intersection of the two subsets of the parameters is not null, and a union of the two subsets is a full set of the parameters.
In this embodiment, the scheduling policy module manages an ordered raw time queue that includes two members, a first identity type member (6C member) and a second identity type member (GB member). The length of the original time queue is long enough to be a first-in first-out ordered original time queue. The original time queue has n time members in the initial state, and the parameter management configuration module can always take out the member positioned at the first position of the original time queue and prepare the corresponding basic configuration for the radio frequency module. When the first member of the original time queue is removed, all the remaining members move forward by one bit, and after each reading, the radio frequency module reports the reading result to the scheduling policy module. According to the report of the radio frequency module, the scheduling strategy module adds new sequence members at the last position of the original time queue: if a successful result of one time of 6C tag reading or a failed result of one time of tag reading is reported, adding a 6C member after the last member of the queue; if a GB tag reading success result or a tag reading failure result is reported, adding a GB member behind the last member of the queue; if a non-response result of 6C tag reading is reported, adding a GB member and a 6C member in sequence after the last member of the queue; if a GB tag read no-response result is reported, a 6C member and a GB member are added in sequence after the last member of the queue.
In this embodiment, and referring specifically to FIG. 3, a normal overall workflow of one embodiment of a dual standard RFID tag identification system is described. When the system starts to work, firstly, the radio frequency module takes out the first member from the original time queue, and according to the identity of the member, parameters required by executing corresponding standards are obtained from the parameter configuration management module. And then the radio frequency module performs a tag reading operation according to the parameters. This operation is in accordance with a standard specification, after the radio frequency module performs the operation, not only the upper layer is notified of this operation, but also the result of this tag identification operation is reported to the scheduling policy module, and three results are reported: and the dispatch strategy module adds a certain number of members to the team tail according to the member dispatch strategy according to different recognition results.
FIG. 4 is a schematic business logic diagram of an embodiment of a dual-standard RFID tag identification system, wherein the parameter configuration management module is centered on the RF module and provides working parameters as required according to the requirements of the RF module. The radio frequency module always acquires a queue member from the first position of the queue and distinguishes the identity of the queue member, and the identity of the queue member can influence the requirement of the radio frequency module on parameters, so that the radio frequency module is perceived as executing the RFID tag identification work of which standard. The scheduling policy module adds new members to the tail of the team after receiving the report from the radio frequency module. After the queue is taken out of one member, the whole is moved forward by one position, a new first member is ready, and the acquisition of the radio frequency module is waited.
After receiving the report, the scheduling management module adds the specific strategies of the queue members as follows: if a 6C identification operation success or failure report is received, a member with the identity of 6C is added to the tail of the team. If a non-response report of the 6C reading operation is received, a member with the identity of GB is added to the tail of the team, and then the member with the identity of 6C is added. If a GB reading operation success or failure report is received, a member with the identity of GB is added to the tail of the team. If a GB reading operation non-response report is received, a member with the identity of 6C is added to the tail of the team, and then a member with the identity of GB is added.
In summary, the method of the invention can support the reading of the dual-standard UHF RFID tag, and designs an operation time for dynamically adjusting different standard specifications, thereby increasing the reading times and improving the reading efficiency. The double-standard RFID tag identification method can respectively realize the identification operation of the RFID tags specified by the ISO/IEC 18000-6C standard and the GB-29768 standard, dynamically adjust the working time of the identification operation of the two standard specifications and improve the successful identification times of the tags existing in the working area. After the condition of the label in the field changes, the label can be adjusted more rapidly under different conditions of the standard of the label in the working area of the reader-writer. The possibility of losing the reading result of one label because the reading working time of the other label is improved is reduced, and the working efficiency is improved.
The foregoing describes the embodiments of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by this patent.