CN107832649B - Label inventory method and equipment - Google Patents

Label inventory method and equipment Download PDF

Info

Publication number
CN107832649B
CN107832649B CN201711071218.6A CN201711071218A CN107832649B CN 107832649 B CN107832649 B CN 107832649B CN 201711071218 A CN201711071218 A CN 201711071218A CN 107832649 B CN107832649 B CN 107832649B
Authority
CN
China
Prior art keywords
rfid reader
working mode
mode
tag
inventory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711071218.6A
Other languages
Chinese (zh)
Other versions
CN107832649A (en
Inventor
刘光曹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN201711071218.6A priority Critical patent/CN107832649B/en
Publication of CN107832649A publication Critical patent/CN107832649A/en
Application granted granted Critical
Publication of CN107832649B publication Critical patent/CN107832649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10198Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves setting parameters for the interrogator, e.g. programming parameters and operating modes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Landscapes

  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Near-Field Transmission Systems (AREA)

Abstract

The invention discloses a label inventory method and label inventory equipment, which are used for improving the efficiency of label inventory. The method comprises the following steps: when the radio frequency identification RFID reader-writer performs frequency hopping, the current first working mode is switched to a second working mode; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer; and the RFID reader-writer performs inventory of the tag through the second working mode so as to obtain the EPC number of the electronic product code in the tag.

Description

Label inventory method and equipment
Technical Field
The invention relates to the technical field of Radio Frequency Identification (RFID), in particular to a label inventory method and equipment.
Background
At present, the conventional tape bar code is gradually replaced by the RFID technology because of its disadvantages such as small storage capacity and inability to be rewritten. The RFID system using the RFID technology generally includes one RFID reader and a plurality of Electronic tags, where the RFID reader sends a read command to the Electronic tags to read Electronic Product Code (EPC) numbers in the Electronic tags, and obtains information of items corresponding to the tags according to the EPC numbers, where the information may be, for example, the types and placement positions of the items.
In order to prevent the same RFID product from occupying a Frequency point for a long time and prevent other nearby RFID products from communicating through the Frequency point, the radio management part specifies that the RFID product occupies a Frequency point for a longest time, and therefore, the conventional RFID product usually uses a Frequency-Hopping Spread Spectrum (FHSS) technology to continuously switch the Frequency point used in the working process of the RFID product. However, in the frequency hopping process, there are generally processes of turning off the radio frequency carrier and turning on the radio frequency carrier, and a certain time is consumed in this process, and the tag inventory cannot be performed, so that the efficiency of the tag inventory is not high. Also, RFID products generally have a low read rate when the distance over which the tag can be read is increased; when the reading rate of the RFID product is large, the distance that the RFID product can read the tag is limited, and if the switching between the fastest reading rate mode and the farthest reading distance mode is required in the prior art, a certain amount of time needs to be additionally consumed, so that the efficiency of the tag inventory is further reduced.
Disclosure of Invention
The embodiment of the invention provides a label inventory method and label inventory equipment, which are used for improving the efficiency of label inventory.
In a first aspect, a method for inventorying a label is provided, which includes:
when the radio frequency identification RFID reader-writer performs frequency hopping, the current first working mode is switched to a second working mode; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer;
and the RFID reader-writer performs inventory of the tag through the second working mode so as to obtain the EPC number of the electronic product code in the tag.
Optionally, the step of performing frequency hopping by the RFID reader includes:
and when the EPC number of the label and the number of the labels, which are subjected to inventory reading by the RFID reader-writer through the first working mode, are not changed, the RFID reader-writer performs frequency hopping.
Optionally, the step of performing frequency hopping by the RFID reader includes:
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the RFID reader hops to a remote frequency point, wherein the remote frequency point is a frequency point, the distance of which can read a label is not less than a preset distance threshold value;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the RFID reader hops to the remote frequency point or the close frequency point, wherein the close frequency point is a frequency point, the distance of which can read the label is smaller than a preset distance threshold value.
Optionally, the query command further includes information for setting an encoding mode, where distances that can read the tag are different corresponding to different encoding modes;
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader-writer in the second working mode is a long-distance encoding mode; the encoding mode is used for transmitting data to the RFID reader-writer by the label; the remote coding mode is a coding mode that the distance for reading the label is not less than a preset distance threshold;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader in the second working mode is a long-distance encoding mode or a short-distance encoding mode, and the short-distance encoding mode is an encoding mode in which the distance from which the tag can be read is smaller than a preset distance threshold.
Optionally, a value of the sending rate of the RFID reader is a maximum value in a first range, where the first range is determined according to the feedback rate, and the sending rate of the RFID reader is a rate at which the RFID reader sends a query command or a read command.
Optionally, after the RFID reader performs the inventory of the tag through the second operating mode, the method further includes:
when the EPC number of the tag which is inventively read by the RFID reader-writer through a second working mode and the number of the tags are not changed, the RFID reader-writer performs frequency hopping and is switched to the first working mode from the second working mode;
and the RFID reader-writer performs inventory of the label through the first working mode.
In a second aspect, there is provided a label stock device, comprising:
the switching unit is used for switching the current first working mode to the second working mode when the label inventory equipment performs frequency hopping; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer;
and the inventory unit is used for performing inventory of the label through the second working mode so as to obtain the EPC number in the label.
Optionally, the tag inventory device further includes a frequency hopping unit;
and the frequency hopping unit is used for carrying out frequency hopping when the EPC number of the label and the number of the labels, which are used for the inventory reading of the RFID reader-writer through the first working mode, are not changed.
Optionally, the frequency hopping unit is specifically configured to:
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the RFID reader hops to a remote frequency point, wherein the remote frequency point is a frequency point, the distance of which can read a label is not less than a preset distance threshold value;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the RFID reader hops to the remote frequency point or the close frequency point, wherein the close frequency point is a frequency point, the distance of which can read the label is smaller than a preset distance threshold value.
Optionally, the query command further includes information for setting an encoding mode, where distances that can read the tag are different corresponding to different encoding modes;
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader-writer in the second working mode is a long-distance encoding mode; the encoding mode is used for transmitting data to the RFID reader-writer by the label; the remote coding mode is a coding mode that the distance for reading the label is not less than a preset distance threshold;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader in the second working mode is a long-distance encoding mode or a short-distance encoding mode, and the short-distance encoding mode is an encoding mode in which the distance from which the tag can be read is smaller than a preset distance threshold.
Optionally, a value of a sending rate of the tag inventory device is a maximum value in a first range, where the first range is determined according to the feedback rate, and the sending rate of the RFID reader is a rate at which the RFID reader sends a query command or a read command.
Alternatively to this, the first and second parts may,
the switching unit is further configured to, when the EPC number of the tag and the number of the tags, which are subjected to inventory reading by the RFID reader in the second working mode, are not changed, perform frequency hopping by the RFID reader, and switch from the second working mode to the first working mode;
the inventory unit is further used for the RFID reader to inventory the tag through the first working mode.
In a third aspect, a computer apparatus is provided, the apparatus comprising at least one processor configured to implement the steps of the tag inventory method as provided in the first aspect when executing a computer program stored in a memory.
In a fourth aspect, a computer readable storage medium is provided, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the tag inventory method as provided in the first aspect.
In the embodiment of the invention, the working modes are switched while the RFID reader-writer performs frequency hopping, wherein in different working modes, the rates of the tag for feeding back data to the RFID reader-writer are different, so that the reading rates of the RFID reader-writer are different in different working modes. Therefore, in the embodiment of the invention, the frequency hopping time is fully utilized, and the working modes are switched at the same time, so that the time consumed by inventory is reduced, and the inventory efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is an application scenario diagram provided in an embodiment of the present invention;
fig. 2 is a schematic flow chart of a tag inventory method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation process of a tag inventory method according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating a comparison of feedback rates before and after switching the operating modes according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a tag inventory apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
The technical background of the embodiments of the present invention is described below.
At present, in the frequency hopping process, the processes of closing the radio frequency carrier and opening the radio frequency carrier generally exist, and the label inventory can not be carried out in the process of consuming a certain time, so that the efficiency of the label inventory is not high. Also, RFID products generally have a low read rate when the distance over which the tag can be read is increased; when the reading rate of the RFID product is large, the distance that the RFID product can read the tag is limited, and if the switching between the fastest reading rate mode and the farthest reading distance mode is required in the prior art, extra time is consumed, so that the efficiency of the tag inventory is further reduced.
In view of this, an embodiment of the present invention provides a tag inventory method, in which an RFID reader performs frequency hopping and simultaneously performs switching of working modes, where rates of data feedback from a tag to the RFID reader are different in different working modes, so that reading rates of the RFID reader are different in different working modes. Therefore, in the embodiment of the invention, the frequency hopping time is fully utilized, and the working modes are switched at the same time, so that the time consumed by inventory is reduced, and the inventory efficiency is improved.
Please refer to fig. 1, which is an application scenario diagram provided in the embodiment of the present invention. The RFID reader-writer and the tag both comprise antennas for communication, the forward link is a communication link for the RFID reader-writer to send data to the tag, and the reverse link is a communication link for the tag to send data to the RFID reader-writer. It should be noted that, in fig. 1, a scenario including only one tag is taken as an example, but in an actual application, more tags may also be included, and the embodiment of the present invention does not limit this.
The technical scheme provided by the embodiment of the invention is described below by combining the accompanying drawings.
Referring to fig. 2, an embodiment of the invention provides a method for checking a tag. The method comprises the following steps:
step 201: when the radio frequency identification RFID reader-writer performs frequency hopping, the current first working mode is switched to a second working mode; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer.
Step 202: and the RFID reader-writer performs inventory of the tag through a second working mode to acquire the EPC number in the tag.
In the embodiment of the invention, the tags are all electronic tags in an RFID system. Specifically, the tags may be Passive tags (Passive tags) or Active tags (Active tags). The passive tag provides working energy for the passive tag through a command and a carrier wave sent by the RFID reader-writer; the active tag is internally provided with an energy source, and an RFID reader-writer is not required to provide working energy for the active tag.
In the embodiment of the present invention, the RFID reader may include at least two working modes, and the first working mode and the second working mode may be any two different working modes of the at least two working modes. Wherein, the feedback rates corresponding to any two working modes in the at least two working modes are different. For example, the RFID reader may include a first operating mode and a second operating mode, where a feedback rate corresponding to the first operating mode is greater than a feedback rate corresponding to the second operating mode; or the feedback rate of the first working mode is smaller than the feedback rate corresponding to the second working mode.
In the embodiment of the invention, when the RFID reader-writer works at different frequency points, the distances at which the RFID reader-writer can read the tags are different, so that the frequency points at which the RFID reader-writer works can be divided into long-distance frequency points and short-distance frequency points, wherein the long-distance frequency points are the frequency points at which the distance at which the tags can be read is not less than the preset distance threshold, and the short-distance frequency points are the frequency points at which the distance at which the tags can be read is less than the preset distance threshold. The preset distance threshold may be set empirically; or set according to the test result.
Specifically, when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the RFID reader may preferentially hop to the remote frequency point when performing frequency hopping, so as to read a tag at a longer distance, that is, equivalently, the working mode with a slower feedback rate is bound with the remote frequency point.
When the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the feedback rate of the second working mode is faster, namely, the feedback rate is used for reading most tags with shorter distances, and the distance of the tags which can be read by the frequency point is not limited, so that the RFID reader-writer can hop to a long-distance frequency point or a short-distance frequency point when hopping.
In practical application, the frequency band used by the RFID reader is usually in the range of 920MHz to 925MHz, and the approximate reading distance of the frequency point in this range can be measured through testing. Specifically, during testing, a plurality of labels can be arranged in different distance ranges of the RFID reader-writer, then the inventory process of the labels is carried out through different frequency points, the number of the labels read by inventory is recorded, and finally the distances from which the labels can be read at different frequency points are determined according to the number of the labels read. Generally, the frequency point with the largest reading number is the frequency point with the farthest reading distance, for example, the frequency point with the farthest reading distance may be the frequency point with the frequency of 920 MHz. When the working mode with the slower feedback rate is switched, frequency hopping can be preferentially carried out to the frequency point with the longer distance for reading the label, namely, the working mode with the slower feedback rate is bound with the remote frequency point, and when the working mode with the slower feedback rate is switched, the frequency hopping is preferentially carried out to the remote frequency point, so that the RFID reader-writer is more effective in reading the label with the longer distance.
In the embodiment of the invention, because the encoding modes configured when the RFID reader-writer returns data for the tag are different, the distance that the RFID reader-writer can read the tag is also different, namely the encoding modes can be divided into a long-distance encoding mode and a short-distance encoding mode. The long-distance coding mode is a coding mode that the distance for reading the tag is not less than a preset distance threshold, and the short-distance coding mode is a coding mode that the distance for reading the tag is less than the preset distance threshold. And the encoding mode is used for returning data to the RFID reader-writer in the inventory cycle corresponding to the query command by the tag.
Specifically, when the feedback rate corresponding to the first operating mode is greater than the feedback rate corresponding to the second operating mode, the encoding mode corresponding to the query command sent by the RFID reader in the second operating mode is preferentially a long-distance encoding mode, that is, when the first operating mode is switched to the second operating mode, an encoding mode capable of enabling a reading distance to be longer may also be preferentially configured for the tag. The information for setting the encoding mode may be carried in the query command, and then, a distance that the RFID reader can read the tag in the encoding mode corresponding to the query command sent in the second working mode may be greater than a distance that the RFID reader can read the tag in the encoding mode corresponding to the query command sent in the first working mode.
When the feedback rate corresponding to the first working mode is lower than the feedback rate corresponding to the second working mode, because the feedback rate of the second working mode is higher, that is, the feedback rate is used for reading most tags with a short distance, the distance between the tags which can be read by the frequency points is not limited, and then the encoding mode corresponding to the query command sent by the RFID reader in the second working mode can be a long-distance encoding mode or a short-distance encoding mode.
In practical application, the approximate reading distance of different encoding modes can be measured through testing. Specifically, during testing, a plurality of tags can be arranged in different distance ranges of the RFID reader, the encoding modes set in the query command sent to the tags during the inventory process are different, the number of tags read by the inventory is recorded, and finally the distances from which the tags can be read by different encoding modes are determined according to the number of the tags read. Generally, the encoding method corresponding to the maximum number of read tags is the encoding method with the farthest reading distance. For example, the encoding modes most commonly used at present are FM0, Miller2, Miller4 and Miller8, and the sequencing of the distances that labels can be read by the encoding modes measured by tests is Miller4 > Miller8 > Miller2 > FM 0. Then, when the operation mode is switched to the operation mode with the slower feedback rate, the encoding mode configured by the RFID reader for the tag may be Miller4, that is, the operation mode with the slower feedback rate is bound to the encoding mode with the longer reading distance, and when the operation mode is switched to the operation mode with the slower feedback rate, the encoding mode capable of enabling the RFID reader to read the longer reading distance is preferentially configured for the tag, so that the RFID reader is more effective in reading the tag with the longer reading distance.
Of course, for different RFID products, the corresponding remote frequency points and the encoding modes with longer reading distances are different, and the actual setting needs to be performed with reference to different RFID products. For example, the frequency band used by another RFID reader may be 860 to 930MHz, the remote frequency point measured by the test may include 902.75MHz, and when the encoding mode configured for the tag by the RFID reader is Miller8, the distance read by the RFID reader is the farthest, then when the RFID reader is switched to the operating mode with the slower feedback rate, the frequency may be hopped to 902.75MHz preferentially, and the encoding mode configured for the tag is Miller 8.
Fig. 3 is a schematic flow chart illustrating an execution process of the tag inventory method according to an embodiment of the present invention. It should be noted that, in fig. 3, the scheme of the embodiment of the present invention is specifically described by taking an example that the RFID reader includes a first operating mode and a second operating mode, and the feedback rate corresponding to the first operating mode is greater than the feedback rate corresponding to the second operating mode. Of course, the embodiment of the present invention is not limited to that the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, and the feedback rate corresponding to the first working mode may also be less than the feedback rate corresponding to the second working mode.
S301: and the RFID reader-writer performs inventory on the label through a first working mode.
In the embodiment of the invention, the RFID reader-writer can firstly inventory the tag through the first working mode. The RFID reader-writer can comprise at least two working modes, and when the RFID reader-writer is in different working modes, the feedback rates of the RFID reader-writer for the label configuration are different.
Specifically, when the RFID reader performs inventory, the RFID reader first needs to send an inquiry (Query) command, where the RFID reader does not know the total number of tags existing around the RFID reader, so that the inquiry command is broadcast to the periphery of the RFID reader, and after the tags around the RFID reader receive the inquiry command, a random number is generated according to the inquiry command and returned to the RFID reader.
The query command may include information for setting a feedback rate of the tag, where the feedback rate is a rate at which the tag sends data to the RFID reader in an inventory cycle corresponding to the query command, and then, since the RFID reader is in the first working mode at this time, the feedback rate set by the query command sent at this time is the feedback rate corresponding to the first working mode. After the tag receives the query command, the feedback rate when returning data to the RFID reader may be determined according to the information for setting the feedback rate included in the query command, and the data to be fed back may be returned through the feedback rate, where the data may include, for example, a random number and an EPC number.
In the embodiment of the present invention, the Query command sent by the RFID reader may include Q value information, where the Q value information is used to indicate that the tag returns a random number in the inventory cycle, and one Q value corresponds to the 2QOne inventory cycle. After receiving the Query command and acquiring the Q value, the tag will take out the last Q bit from the binary storage value of its own random number and determine in which inventory cycle the tag returns the random number. For example: the current Q value is 4, the tag random number binary value is "0011010110100010", and finally Q is 4 bits "0010", the tag returns the random number in the 2 nd inventory cycle. Wherein the setting of the Q value may be such that 2QClose to the value corresponding to the number of tags to be inventoried. Wherein, in 2QIn each inventory cycle, the inventory command sent in the first cycle adopts a Query command which contains Q value information as the starting inventory cycle, and the next 2QThe inventory command sent in 1 inventory cycle no longer includes the Q value information in a repeat query (QueryRep) command. If the Query command is sent before, and if the Q value is required to be modified subsequently, then a new 2 needs to be startedQAnd storing the cycle, and sending the modified Q value by adjusting a query (QueryAdjust) command, wherein the QueryAdjust command contains information of a new Q value change amount, for example, Q may be Q +1, or Q may be Q-1, and of course, the Q value may be kept unchanged.
In each inventory cycle in which one tag EPC number is successfully collected, after the RFID reader sends an inventory command, the RFID reader receives a tag return random number, and then sends a response including the random number to the tag that returns the random number, and further performs Cyclic Redundancy Check (CRC) Check on the number after the EPC number returned by the tag can be received.
Of course, there may be a case that the EPC number of the tag cannot be successfully collected, in this case, the RFID reader usually does not normally receive the random number returned by the tag after sending the inventory command; or the RFID reader-writer receives the random number returned by the label and sends a response containing the random number to the label, but does not normally receive the EPC number returned by the label; or, if the RFID reader receives the EPC number returned by the tag, but the CRC of the number is incorrect, the RFID reader needs to send a Negative Acknowledgement (NAK) command to the tag. Due to the above circumstances, the inventory of the tags usually needs to acquire EPC numbers of a plurality of tags to be inventoried by repeatedly going through the above-mentioned plurality of inventory cycles.
S302: when the EPC numbers of more tags cannot be read through the first working mode, the RFID reader-writer performs frequency hopping, and switches from the first working mode to the second working mode while hopping.
In the embodiment of the present invention, after the inventory is performed in the first working mode, because the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, when the feedback rate is greater, the distance of the tag that can be read by the RFID reader/writer is limited, so that the tag that can be read in the first working mode can be quickly read in the first working mode, but some tags that are far away may not be read in the first working mode. Therefore, when the RFID reader cannot read the EPC numbers of more tags through the first operating mode, the RFID reader may switch to an operating mode capable of reading tags at a longer distance, that is, a second operating mode with a smaller feedback rate. When the RFID reader does not obtain the EPC number of the new tag, the current Q value of the RFID reader may be 2QNo new EPC number is read in each inventory cycle; or repeated for a plurality of times at 2 of the current Q valueQNone of the inventory cycles reads the new EPC number.
In the embodiment of the invention, when the RFID reader-writer can not read EPC numbers of more tags through the first working mode, frequency hopping can be carried out, and the RFID reader-writer can be switched from the current first working mode to the second working mode while frequency hopping is carried out. In the working process of the RFID reader, the time consumed by frequency hopping is unavoidable, so that the working mode can be switched by using the frequency hopping process in order to save the time consumed by inventory. Specifically, the timing of switching the operation modes may be when the RFID reader cannot read the EPC numbers of more tags in the first operation mode, and then the timing of performing frequency hopping may also be when the EPC numbers of more tags cannot be read in the first operation mode.
S303: and the RFID reader-writer performs inventory of the tag through a second working mode.
In the embodiment of the present invention, after the RFID reader is switched to the second working mode, since the feedback rate configured for the tag in the second working mode is smaller, correspondingly, the distance that the RFID reader can read the tag may be longer, and the RFID reader can read the tag at a longer distance. Fig. 4 is a schematic diagram showing a comparison of feedback rates before and after switching. Therein, it can be seen that the feedback rate is faster in the first mode of operation and smaller in the second mode of operation.
Specifically, the process of performing inventory by the RFID reader in the second working mode is the same as the process of performing inventory in the first working mode, so the description of performing inventory in the first working mode may be referred to for the process, and details are not repeated here.
S304: the RFID reader determines whether to stop tag inventory.
S305: and when the determination result is yes, the RFID reader-writer finishes the tag inventory.
In the embodiment of the present invention, after passing through the second working mode, the EPC numbers of all the tags may have been read, that is, the tag inventory is completed, and then the RFID reader may stop the tag inventory; or, the RFID reader may stop the tag inventory when receiving a shutdown instruction or a stop instruction from an operator.
S306: and if the determination result is negative, and when the RFID reader-writer cannot read EPC numbers of more tags through the second working mode, the RFID reader-writer performs frequency hopping, and the second working mode is switched to the first working mode while the frequency hopping is performed.
In the embodiment of the present invention, after the RFID reader completes reading the longer-distance tags through the second working mode, the RFID reader completes inventory of all the tags that can be read by the RFID reader, that is, when the RFID reader cannot read EPC numbers of more tags through the second working mode, the RFID reader may continue to perform frequency hopping, and while frequency hopping, switching of the working mode may also be performed, that is, switching from the second working mode to the first working mode, and inventory tags through the first working mode. For example, when the RFID reader includes two working modes, in each frequency hopping, the working mode may be switched once, that is, after the RFID reader rapidly reads most of the tags around the RFID reader through the first working mode with a faster feedback rate, the frequency hopping may be performed, and at the same time, the second working mode with a slower feedback rate but a longer reading distance is switched to read the tags with a longer distance, and after the reading of the tags with a longer distance is completed, the frequency hopping may be performed, and at the same time, the first working mode is switched to read the tags newly entering the reading range of the RFID reader. For example, after a batch of tag reads on the pipeline is completed, the next batch of tag reads is performed. By using the frequency hopping process, the working modes are switched, so that the time consumed by inventory is saved.
In the embodiment of the invention, the value of the sending rate of the RFID reader-writer is the maximum value in a first range, wherein the first range is determined according to the feedback rate, and the sending rate of the RFID reader-writer is the rate at which the RFID reader-writer sends the query command or the read command.
Specifically, the feedback rate is a reverse Link Frequency (BLF), that is, a rate when the tag sends data to the RFID reader, and a certain constraint relationship exists between the forward Link rate and the reverse Link rate, that is, the forward Link rate can only be set to a value within a range allowed by the reverse Link rate, and then when the reverse Link rate is determined, a value range of the forward Link rate can be correspondingly determined.
To further improve the inventory efficiency of the RFID reader, the transmission rate of the RFID reader may be set to the maximum value in the first range. The sending rate is a forward link rate, that is, a rate when the RFID reader sends data to the tag. In practical application, for a forward link of a passive tag, what has an influence on a reading distance is a radio frequency charging effect on the tag, wherein main influence factors are a duty ratio of data sent by an RFID reader to the tag and a carrier carrying the data, so that a forward link rate does not influence the reading distance of the tag, and then the forward link rate can be set to be the maximum to improve inventory efficiency of the RFID reader, especially in a second working mode, a feedback rate is low, and at this time, a corresponding forward link rate does not need to be correspondingly set to be the minimum, that is, the forward link rate can be kept to be the maximum in a first range.
For example, when the reverse link rate in the second operating mode is 250kHz, the relationship TRcal DR/BLF ≦ 3RTcal, where RTcal is the forward link calibrator, TRcal is the reverse link calibrator, and DR can only take the value of 64/3 or 8, and if the forward link rate is to be increased, RTcal and TRcal must be decreased, then DR needs to be selected as the minimum value, that is, DR is 8, and TRcal 8/250kHz ≦ 32 us. In this case, RTcal may be set to the minimum value of the selectable range, i.e., 18.75us, when TRcal 32us <3RTcal 3 us 18.75us is satisfied. RTcal is 18.75us and corresponds to a time reference (Tari) of 6.25us, which is used to characterize the time length of 0 in the transmitted rf signal, and the forward link rate can be maximized. Therefore, the forward link rate in the second operation mode can be set to be higher, so that the inventory efficiency of the RFID reader-writer is higher.
In summary, in the embodiment of the present invention, the RFID reader performs frequency hopping and simultaneously performs switching of the working modes, where in different working modes, the rates at which the tag feeds back data to the RFID reader are different, so that the reading rates of the RFID reader are different in different working modes. Therefore, in the embodiment of the invention, the frequency hopping time is fully utilized, and the working modes are switched at the same time, so that the time consumed by inventory is reduced, and the inventory efficiency is improved.
Referring to fig. 5, based on the same inventive concept, an embodiment of the present invention provides a label stock device 50, including:
the switching unit 501 is configured to switch a current first working mode to a second working mode when the tag inventory device performs frequency hopping; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer;
an inventory unit 502, configured to inventory the tag through the second operating mode to obtain the EPC number in the tag.
Optionally, the tag inventory device further includes a frequency hopping unit 503;
the frequency hopping unit 503 is configured to perform frequency hopping when the EPC number of the tag and the number of tags that are inventorily read by the RFID reader in the first operating mode are not changed.
Optionally, the frequency hopping unit 503 is specifically configured to:
when the feedback rate corresponding to the first working mode is greater than that corresponding to the second working mode, the RFID reader-writer hops to a remote frequency point, wherein the remote frequency point is a frequency point, the distance of which can read the label is not less than a preset distance threshold value;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the RFID reader-writer hops to a remote frequency point or a close frequency point, wherein the close frequency point is a frequency point, the distance of which can read the label is smaller than a preset distance threshold value.
Optionally, the query command further includes information for setting a coding mode, where distances that can read the tag are different corresponding to different coding modes;
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader-writer in the second working mode is a long-distance encoding mode; the encoding mode is used for transmitting data to the RFID reader-writer by the label; the long-distance coding mode is a coding mode that the distance for reading the label is not less than a preset distance threshold;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader in the second working mode is a long-distance encoding mode or a short-distance encoding mode, and the short-distance encoding mode is an encoding mode in which the distance for reading the tag is smaller than a preset distance threshold.
Optionally, a value of the sending rate of the tag inventory device is a maximum value in a first range, where the first range is determined according to the feedback rate, and the sending rate of the RFID reader is a rate at which the RFID reader sends the query command or the read command.
Alternatively to this, the first and second parts may,
the switching unit 501 is further configured to, when the EPC number of the tag and the number of the tags, which are accessed and read by the RFID reader in the second working mode, are not changed, perform frequency hopping by the RFID reader, and switch from the second working mode to the first working mode;
the inventory unit 502 is further configured to inventory the tag by the RFID reader in the first operating mode.
The device may be configured to execute the method provided in the embodiment shown in fig. 2 and 3, and therefore, for functions and the like that can be realized by each functional module of the device, reference may be made to the description of the embodiment shown in fig. 2 and 3, which is not described in detail. Here, the frequency hopping unit 503 is not an optional functional module, and is shown by a dotted line in fig. 5.
Referring to fig. 6, an embodiment of the present invention further provides a computer apparatus, where the computer apparatus includes at least one processor 601, and the at least one processor 601 is configured to implement the steps of the tag inventory method according to the embodiment of the present invention when executing the computer program stored in the memory.
Optionally, at least one processor 601 may specifically include a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), one or more integrated circuits for controlling program execution, a hardware circuit developed by using a Field Programmable Gate Array (FPGA), and a baseband processor.
Optionally, at least one processor 601 may include at least one processing core.
Optionally, the computer apparatus further comprises a memory 602, and the memory 602 may include a Read Only Memory (ROM), a Random Access Memory (RAM), and a disk memory. The memory 602 is used for storing data required by the at least one processor 601 during operation. The number of the memories 602 is one or more. The memory 602 is also shown in fig. 6, but it should be understood that the memory 602 is not an optional functional module, and is therefore shown in fig. 6 by a dotted line.
In the embodiments of the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the described unit or division of units is only one division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical or other form.
The functional units in the embodiments of the present invention may be integrated into one processing unit; or the units may each be a separate physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as a universal serial bus flash drive (usb flash drive), a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above embodiments are only used to describe the technical solutions of the present application in detail, but the above embodiments are only used to help understanding the method of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. Variations or substitutions that may be readily apparent to one skilled in the art are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for inventorying a label, comprising:
when the radio frequency identification RFID reader-writer performs frequency hopping, the current first working mode is switched to a second working mode; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer;
the RFID reader-writer performs inventory of the tag through the second working mode to obtain an Electronic Product Code (EPC) number in the tag;
wherein, the RFID reader-writer carries out frequency hopping, including:
when the EPC number of the tag and the number of the tags that are inventoried and read by the RFID reader in the first operating mode are not changed, the RFID reader performs frequency hopping, which specifically includes:
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the RFID reader hops to a remote frequency point, wherein the remote frequency point is a frequency point, the distance of which can read a label is not less than a preset distance threshold value;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the RFID reader hops to the remote frequency point or the close frequency point, wherein the close frequency point is a frequency point, the distance of which can read the label is smaller than the preset distance threshold value.
2. The method of claim 1, wherein the query command further includes information for setting encoding modes, wherein distances at which tags can be read are different for different encoding modes;
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader-writer in the second working mode is a long-distance encoding mode; the encoding mode is used for transmitting data to the RFID reader-writer by the label; the long-distance coding mode is a coding mode that the distance for reading the label is not less than the preset distance threshold;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader in the second working mode is a long-distance encoding mode or a short-distance encoding mode, and the short-distance encoding mode is an encoding mode in which the distance for reading the tag is smaller than the preset distance threshold.
3. The method of claim 1, wherein a value of the transmission rate of the RFID reader is a maximum value in a first range, wherein the first range is determined according to the feedback rate, and the transmission rate of the RFID reader is a rate at which the RFID reader transmits the query command or the read command.
4. The method of any of claims 1-3, wherein after the RFID reader performs the inventory of the tag via the second mode of operation, the method further comprises:
when the EPC number of the tag which is inventively read by the RFID reader-writer through a second working mode and the number of the tags are not changed, the RFID reader-writer performs frequency hopping and is switched to the first working mode from the second working mode;
and the RFID reader-writer performs inventory of the label through the first working mode.
5. A label inventory apparatus, comprising:
the switching unit is used for switching the current first working mode to the second working mode when the label inventory equipment performs frequency hopping; when the RFID reader-writer is in different working modes, the information for setting the feedback rate in the transmitted query command is different, and the feedback rate is the rate at which the tag transmits data to the RFID reader-writer;
the inventory unit is used for carrying out inventory on the label through the second working mode so as to obtain an EPC number in the label;
the tag inventory device further includes a frequency hopping unit, configured to perform frequency hopping when the EPC number of the tag and the number of tags, which are inventory-read by the RFID reader through the first working mode, are not changed, specifically configured to:
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the RFID reader hops to a remote frequency point, wherein the remote frequency point is a frequency point, the distance of which can read a label is not less than a preset distance threshold value;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the RFID reader hops to the remote frequency point or the close frequency point, wherein the close frequency point is a frequency point, the distance of which can read the label is smaller than a preset distance threshold value.
6. The device of claim 5, wherein the query command further includes information for setting encoding modes, wherein distances at which tags can be read are different for different encoding modes;
when the feedback rate corresponding to the first working mode is greater than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader-writer in the second working mode is a long-distance encoding mode; the encoding mode is used for transmitting data to the RFID reader-writer by the label; the remote coding mode is a coding mode that the distance for reading the label is not less than a preset distance threshold;
or when the feedback rate corresponding to the first working mode is smaller than the feedback rate corresponding to the second working mode, the encoding mode corresponding to the query command sent by the RFID reader in the second working mode is a long-distance encoding mode or a short-distance encoding mode, and the short-distance encoding mode is an encoding mode in which the distance from which the tag can be read is smaller than a preset distance threshold.
7. The device of claim 5, wherein a value of a transmission rate of the tag inventory device is a maximum value in a first range, wherein the first range is determined according to the feedback rate, and the transmission rate of the RFID reader is a rate at which the RFID reader transmits the query command or the read command.
8. The apparatus according to any of claims 5 to 7,
the switching unit is further configured to, when the EPC number of the tag and the number of the tags, which are subjected to inventory reading by the RFID reader in the second working mode, are not changed, perform frequency hopping by the RFID reader, and switch from the second working mode to the first working mode;
the inventory unit is further used for the RFID reader to inventory the tag through the first working mode.
9. A computer arrangement, characterized in that the arrangement comprises a processor for implementing the steps of the method according to any of claims 1-4 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1-4 when executed by a processor.
CN201711071218.6A 2017-11-03 2017-11-03 Label inventory method and equipment Active CN107832649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711071218.6A CN107832649B (en) 2017-11-03 2017-11-03 Label inventory method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711071218.6A CN107832649B (en) 2017-11-03 2017-11-03 Label inventory method and equipment

Publications (2)

Publication Number Publication Date
CN107832649A CN107832649A (en) 2018-03-23
CN107832649B true CN107832649B (en) 2020-12-18

Family

ID=61653701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711071218.6A Active CN107832649B (en) 2017-11-03 2017-11-03 Label inventory method and equipment

Country Status (1)

Country Link
CN (1) CN107832649B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255273A (en) * 2018-08-31 2019-01-22 连云港伍江数码科技有限公司 Storage equipment, storage equipment control method, device, refrigerating equipment and system
CN112686065B (en) * 2020-12-24 2021-10-08 深圳市成为信息技术有限公司 Data reading and writing method, system and computer readable storage medium
CN113705258B (en) * 2021-08-24 2023-05-16 电子科技大学 Method for exchanging data between reader and RFID tag
CN116743212A (en) * 2022-03-02 2023-09-12 华为技术有限公司 Communication method and communication device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1740815A (en) * 2005-09-22 2006-03-01 西安电子科技大学 Coding frequency-hopping high-resolution ratio range finding and velocity measuring method and radar
KR20060089507A (en) * 2005-02-04 2006-08-09 삼성전자주식회사 Method for allocating resource in a cellular network and thereof transceiver
CN2904118Y (en) * 2006-02-16 2007-05-23 深圳市先施科技有限公司 High-speed remote-passive RF tag reader-writer
KR100807109B1 (en) * 2006-04-19 2008-02-26 주식회사 하이온콥 Reader of rfid system and controlling methdo therefore
US7592897B2 (en) * 2006-04-25 2009-09-22 Impinj, Inc. RFID readers system and methods for early hopping out of a frequency channel in the presence of RF interference
CN101852854A (en) * 2010-06-07 2010-10-06 华南理工大学 Underwater multi-beam sounding system and method
CN101950348A (en) * 2009-08-07 2011-01-19 上海锦诺信息科技有限公司 Radio-frequency card reader

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060089507A (en) * 2005-02-04 2006-08-09 삼성전자주식회사 Method for allocating resource in a cellular network and thereof transceiver
CN1740815A (en) * 2005-09-22 2006-03-01 西安电子科技大学 Coding frequency-hopping high-resolution ratio range finding and velocity measuring method and radar
CN2904118Y (en) * 2006-02-16 2007-05-23 深圳市先施科技有限公司 High-speed remote-passive RF tag reader-writer
KR100807109B1 (en) * 2006-04-19 2008-02-26 주식회사 하이온콥 Reader of rfid system and controlling methdo therefore
US7592897B2 (en) * 2006-04-25 2009-09-22 Impinj, Inc. RFID readers system and methods for early hopping out of a frequency channel in the presence of RF interference
CN101950348A (en) * 2009-08-07 2011-01-19 上海锦诺信息科技有限公司 Radio-frequency card reader
CN101852854A (en) * 2010-06-07 2010-10-06 华南理工大学 Underwater multi-beam sounding system and method

Also Published As

Publication number Publication date
CN107832649A (en) 2018-03-23

Similar Documents

Publication Publication Date Title
CN107832649B (en) Label inventory method and equipment
Buettner et al. An empirical study of UHF RFID performance
US8362879B2 (en) Apparatus and method for integrated reader and tag
US8427315B2 (en) Ahead-of-time scheduling of commands in RFID reader systems
US8653946B2 (en) Passive RFID reader and operation control method therefor
US8570157B1 (en) Local processing of received RFID tag responses
US8742899B2 (en) Methods and apparatuses to identify devices
US7830262B1 (en) Adjusting communication parameters while inventorying RFID tags
US20090243813A1 (en) Wireless programming of non-volatile memory with near-field uhf coupling
US20070236331A1 (en) Preventing timeout of RFID tag in timed state of air-interface protocol
CN103577784B (en) Active RFID reader collision-proof method and system based on multi-radio
EP2680617A1 (en) Emulation of multiple devices in an NFCdevice
KR101007084B1 (en) Method of recogniging rfid tag for the purpose of preventing throughput inversion and rfid reader performing the same
EP2183699B1 (en) A method and reader to conduct a label query in a radio frequency identification system
CN105260690A (en) Method and system for identifying electronic label through multi-antenna RFID reader
JP4594250B2 (en) Communication device
CN101916354A (en) Radio frequency identification method and reader
CN112528688B (en) Radio frequency tag control method, response method and device, storage medium, reader and radio frequency tag
EP2830000A1 (en) Wireless card reader and method for storing data
US20190019073A1 (en) Radio tag reading device and radio tag reading method
US20150052264A1 (en) Wireless expansion card and method for data storage
CN116502655A (en) Communication method and device based on wireless radio frequency identification
US11120232B2 (en) Early collision detection and handling in CDMA-based RFID systems
CN102479310A (en) Radio frequency identification method
CN101661547B (en) Method for writing data to tag in radio frequency identification system and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant