CN116347407A - Processing method of passive RFID system, RFID tag and receiver - Google Patents

Processing method of passive RFID system, RFID tag and receiver Download PDF

Info

Publication number
CN116347407A
CN116347407A CN202111598679.5A CN202111598679A CN116347407A CN 116347407 A CN116347407 A CN 116347407A CN 202111598679 A CN202111598679 A CN 202111598679A CN 116347407 A CN116347407 A CN 116347407A
Authority
CN
China
Prior art keywords
rfid tag
state
tag
random number
receiver
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.)
Pending
Application number
CN202111598679.5A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202111598679.5A priority Critical patent/CN116347407A/en
Publication of CN116347407A publication Critical patent/CN116347407A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

The invention provides a processing method of a passive RFID system, an RFID tag and a receiver, wherein the method comprises the following steps: the RFID tag receives a query instruction sent by an exciter; the RFID tag selects a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag; the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, the tag time slot of the RFID tag is 0; according to the embodiment of the invention, the problem that the RFID tag jumps to the arbitration state once recognizing the wrong ACK or overtime without receiving the right instruction and can respond only after a new round of counting is avoided by adding the waiting state, so that the overall working performance of the RFID system is improved, and the reliability of data transmission is improved.

Description

Processing method of passive RFID system, RFID tag and receiver
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a processing method of a passive RFID system, an RFID tag, and a receiver.
Background
The existing signaling flow and state machine jump of the ultrahigh frequency passive RFID work all follow the following mechanisms:
the RFID tag is in a ready state when powered on;
after receiving the inquiry command, the tag with the time slot of 0 returns a random number (RN 16) and becomes a reply (reply) state, and the tag with the time slot of not 0 becomes an arbitration (arbitration) state and waits for a subsequent command;
after receiving the RN16, the receiver returns an ACK (RN 16) to the tag in the reply state, and if the tag receives a valid ACK, the tag returns data information and becomes an Acknowledgement (ACK) state, and if an invalid ACK is received, the tag becomes an aperture state.
If it is desired to obtain the information of the arbitrate state tag, a new query command needs to be sent to the tag, including a new Q value, so that the tag responds when the slot is 0. The process has no influence on scenes with no requirement on real-time performance, but has serious influence on the efficiency of data acquisition on scenes with high requirement on real-time performance, such as production data acquisition, fault data acquisition and the like.
Disclosure of Invention
The embodiment of the invention aims to provide a processing method of a passive RFID system, an RFID tag and a receiver, so as to solve the problem of low process efficiency of acquiring information of tags in an arbitration state in the prior art.
In order to solve the above problems, an embodiment of the present invention provides a processing method of a passive radio frequency identification RFID system, the passive RFID system including: a receiver, an exciter, and respective RFID tags disposed on the managed items; the method is performed by an RFID tag, the method comprising:
receiving a query instruction sent by an exciter;
selecting a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
Wherein, the service type identifier comprises any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
Wherein the method further comprises:
and storing the service type identifier on the RFID tag in a mode of issuing or presetting in advance by an exciter.
According to the query instruction and the service type identifier stored in the RFID tag, selecting a second mode to perform state jump and data transmission, wherein the method comprises the following steps:
If the tag time slot of the RFID tag is 0, the RFID tag returns a first random number to the receiver, and the RFID tag jumps from a ready state to a response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a first confirmation signal carrying the first random number sent by the receiver, the RFID tag returns EPC and data to the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
the RFID tag receives a third confirmation signal returned by the receiver after receiving EPC and data in a first time period, and the RFID tag jumps to an arbitration state from a waiting state;
if the RFID tag does not receive the third confirmation signal in the first time period, retransmitting the EPC and the data, and keeping a waiting state by the RFID tag; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
The RFID tag selects a second mode to perform state jump and data transmission according to the inquiry instruction and the service type identifier stored in the RFID tag, and the method comprises the following steps:
If the tag time slot of the RFID tag is 0, the RFID tag returns a second random number to the receiver, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a fourth confirmation signal carrying the second random number sent by the receiver, the RFID tag returns to the EPC, and the RFID tag is converted from a response state to a confirmation state; or after the RFID tag receives a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from a response state to a waiting state;
after receiving the repeated inquiry command, the RFID tag in the waiting state returns to the third random number, and the RFID tag keeps the waiting state; or, after receiving the repeated inquiry instruction, the RFID tag in the arbitration state subtracts 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returns a fourth random number, and the RFID tag jumps from the arbitration state to the response state;
the RFID tag sending the third random number receives a fifth confirmation signal carrying the third random number sent by the receiver, returns to the EPC, and jumps from the waiting state to the confirmation state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
The RFID tag which transmits the fourth random number receives a seventh confirmation signal which is transmitted by the receiver and carries the fourth random number, returns to the EPC, and jumps from the response state to the confirmation state; or the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, and the RFID tag jumps from the response state to the waiting state.
After the RFID tag receives the fifth acknowledgement signal carrying the wrong random number sent by the receiver, the RFID tag transitions from the response state to the waiting state, and the method further includes:
and if the RFID tag in the waiting state does not receive the fourth confirmation signal carrying the second random number within the preset tag response time, the random number generated by the RFID tag is sent to the receiver again.
The embodiment of the invention also provides a processing method of the passive radio frequency identification RFID system, and the passive RFID system comprises the following steps: a receiver, an exciter, and respective RFID tags disposed on the managed items; the method is performed by a receiver, the method comprising:
a query instruction is sent to the RFID tag by the actuator,
according to the state machine mode which is selected by the RFID tag and corresponds to the service type identifier stored in the RFID tag, carrying out data transmission;
The state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
Wherein, the service type identifier comprises any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
Wherein the method further comprises:
and transmitting the service type identifier applicable to the RFID tag through an exciter.
According to a second mode selected by the RFID tag and corresponding to the service type identifier stored in the RFID tag, performing data transmission includes:
after receiving a first random number returned by an RFID tag with a tag time slot of 0, sending a first confirmation signal carrying the first random number to the RFID tag;
or alternatively, the process may be performed,
and after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
Wherein the method further comprises:
and sending the first confirmation signal to the RFID tag for a plurality of times.
Wherein the method comprises the following steps:
and if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times, determining that the RFID tag is a problem tag.
The embodiment of the invention also provides an RFID tag, which comprises:
the first receiving module is used for receiving the query instruction sent by the exciter;
the processing module is used for selecting a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
Wherein, the service type identifier comprises any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
Wherein, the RFID tag further includes:
and the storage module is used for storing the service type identifier to the RFID tag in a mode of issuing or presetting in advance by the exciter.
Wherein the processing module comprises:
the first sub-module is used for returning a first random number to the receiver if the tag time slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
the second sub-module is used for returning EPC and data to the receiver after receiving a first confirmation signal carrying the first random number sent by the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
a third sub-module, configured to receive a third acknowledgement signal returned after the receiver receives EPC and data in a first period, and jump the RFID tag from a waiting state to an arbitrating state;
a fourth sub-module, configured to retransmit the EPC and the data if the RFID tag does not receive the third acknowledgement signal within the first period of time, where the RFID tag remains in a waiting state; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
Wherein the processing module comprises:
a fifth sub-module, configured to return a second random number to the receiver if the tag slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
a sixth sub-module, configured to return to the EPC after receiving a fourth acknowledgement signal carrying the second random number sent by the receiver, and switch the RFID tag from a response state to an acknowledgement state; or after receiving a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from the response state to the waiting state;
a seventh sub-module, configured to return to the third random number after the RFID tag in the waiting state receives the repeated query instruction, where the RFID tag remains in the waiting state; or after the RFID tag in the arbitration state receives the repeated inquiry instruction, subtracting 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returning a fourth random number, and jumping the RFID tag from the arbitration state to the response state;
an eighth sub-module, configured to send a fifth acknowledgement signal carrying the third random number sent by the receiver and received by the RFID tag of the third random number, return to the EPC, and jump from the waiting state to the acknowledgement state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
A ninth submodule, configured to receive a seventh acknowledgement signal carrying the fourth random number sent by the receiver when the RFID tag sending the fourth random number returns to the EPC, and the RFID tag jumps from the response state to the acknowledgement state; or when the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, the RFID tag jumps from the response state to the waiting state.
Wherein, the RFID tag further includes:
the random number sending module is used for sending the random number generated by the RFID tag to the receiver again when the RFID tag in the waiting state does not receive the fourth confirmation signal carrying the second random number within the preset tag response time.
The embodiment of the invention also provides a receiver of the passive radio frequency identification RFID system, which comprises:
a transmitting module for transmitting a query instruction to the RFID tag through the exciter,
the data transmission module is used for carrying out data transmission according to the state machine mode which is selected by the RFID tag and corresponds to the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
Wherein, the service type identifier comprises any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
Wherein the receiver further comprises:
and the identification transmitting module is used for transmitting the service type identification applicable to the RFID tag through the exciter.
Wherein, the data transmission module includes:
the first sending submodule is used for sending a first confirmation signal carrying the first random number to the RFID tag after receiving the first random number returned by the RFID tag with the tag time slot of 0;
or after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
Wherein the receiver further comprises:
and the second transmitting module is used for transmitting the first confirmation signal to the RFID tag for a plurality of times.
Wherein the receiver further comprises:
and the determining module is used for determining the RFID tag as a problem tag if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times.
The embodiment of the invention also provides an RFID tag, which comprises a memory, a processor and a program stored in the memory and capable of running on the processor, wherein the processing method of the passive RFID system is realized when the processor executes the program.
The embodiment of the invention also provides a receiver, which comprises a memory, a processor and a program stored in the memory and capable of running on the processor, wherein the processor realizes the processing method of the passive RFID system when executing the program.
The embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the processing method of a passive RFID system as described above.
The technical scheme of the invention has at least the following beneficial effects:
according to the processing method, the RFID tag and the receiver of the passive RFID system, the service type identifier is added in the RFID tag, different state machine modes can be selected according to different service types through the tag state conversion machine facing the service requirements, the problem that the RFID tag can only respond after a new round of counting once the RFID tag recognizes an incorrect ACK or overtime does not receive a correct instruction is avoided by adding the waiting (wait) state, the overall working performance of the RFID system is improved, and the reliability of data transmission is improved.
Drawings
FIG. 1 illustrates a schematic architecture of a passive RFID system provided by an embodiment of the present invention;
FIG. 2 is a flowchart showing steps of a method for processing a passive RFID system according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a state machine jump of the Waiting state according to an embodiment of the present invention;
FIG. 4 is a diagram showing an exemplary structure of an RFID tag according to an embodiment of the present invention;
fig. 5 shows a schematic diagram of writing a service type tag of an RFID tag according to an embodiment of the present invention;
FIG. 6 illustrates an exemplary diagram of production data acquisition for a passive RFID system provided by an embodiment of the present invention;
fig. 7 is a diagram showing an example of correspondence between an RFID tag and a tag slot of a passive RFID system according to an embodiment of the present invention;
FIG. 8 shows an exemplary asset inventory diagram of a passive RFID system provided by an embodiment of the present invention;
FIG. 9 is a diagram of an exemplary redundant transmission of a passive RFID system provided by an embodiment of the present invention;
FIG. 10 is a second flowchart illustrating a processing method of a passive RFID system according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an RFID tag according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a receiver according to an embodiment of the invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a processing method of a passive Radio Frequency Identification (RFID) system, as shown in fig. 1, the passive RFID system comprises: a receiver, an exciter, and respective RFID tags disposed on the managed items; such as RFID tag 1, suitable for non-real time transmission traffic; an RFID tag 2 adapted to rapidly transmit a service; the RFID tag 3 is adapted for reliable transmission of traffic.
As shown in fig. 2, a processing method of a passive RFID system provided by an embodiment of the present invention is performed by an RFID tag, and the method includes:
step 201, receiving a query instruction sent by an exciter;
step 202, selecting a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag;
wherein the state machine modes include a first mode having no wait (wait) state and a second mode having a wait state; in the wait (wait) state, the tag slot of the RFID tag is 0.
As shown in fig. 3, the state machine jump after adding the Waiting state is as follows:
1) Tags in reply state: receiving an invalid random number (namely an invalid RN 16), and keeping a reply state, wherein slot=0; receiving the effective RN16, returning EPC+ data, and converting from reply to waiting state (waiting for ACK information of data receiving confirmation fed back by the reader-writer side);
2) Tags in waiting state:
A. receiving ACK (without carrying RN 16), and converting the state from waiting to an acknowledge state;
B. receiving Query, starting a new inventory period, returning a label with slot=0 to the RN16, converting the label from wait to reply state, and converting the label with slot not equal to 0 from wait to arbitrate state;
C. if ACK is not received (RN 16 is not carried) within time t, returning EPC+ data again;
and receiving other instructions, namely, the error instructions, and performing no operation.
As an optional embodiment, the service type identifier includes any one of the following:
a first identification of a non-real time service (e.g., asset inventory);
a second identification of reliable traffic (e.g., in-out management);
a third identification of real-time reliable service (e.g., production data acquisition);
and fourth identification of other expandable services.
FIG. 4 is a diagram showing an exemplary structure of an RFID tag, in which a service type identifier is stored; the state machine mode selection module is used to execute step 202. For example, pattern recognition is skipped by a set state machine. The normal state machine mode (i.e. the first mode) is a non-real-time service, and the state machine mode (i.e. the second mode) with the waiting state is a reliable service or a real-time reliable service.
The passive RFID tag in the embodiment of the invention comprises the identification of non-real-time service (asset inventory) or reliable service (warehouse in and warehouse out management) or the identification of real-time reliable service (production data acquisition), and the restarting of a state machine or the stay in an arbitrate state when the tag does not receive a correct instruction is avoided by increasing the waiting state.
As an alternative embodiment, the method further comprises:
and storing the service type identifier on the RFID tag in a mode of issuing or presetting in advance by an exciter. For example, the service type identification is placed in XTID bits in TID or xpc_w1 or xpc_w2 bits (16 bits, respectively, preferably using xpc_w1 bits) in EPC (Electric Product Code, electronic product code).
Since the RFID tag placed on the device or article is not typically replaced without damaging the RFID tag, the service type identification delivery need only be configured when the RFID tag is first attached to the device or article, and no subsequent operations are required.
Alternatively, the service type identifier may be written into an extension of the Query (Query) instruction or the select (select) instruction sent by the exciter; for example, the service type identification field is placed before the CRC (cyclic redundancy check) field. For example, the first flag is "00": non-real-time traffic; the second designation is "01": real-time reliable service; the third designation is "10": reliable service; the fourth designation is "11": and other services can be expanded.
For example, by a Query instruction or a select instruction, a label that needs to be configured for a service type identifier is indicated in a SEL field, a Target field, or a Target field in the select instruction in the Query, the service type identifier is written into the service field, the Query instruction or the select instruction is issued, the label that receives the Query instruction or the select instruction matches label information according to the specified information in the Query instruction or the select instruction, and if the label corresponds to the label information of the label, the service type identifier is written into XTID in TID or XPC bit in EPC.
On one hand, the embodiment of the invention combines different working scenes of the RFID, selects the state machine mode of the tag according to service requirements, including reliable transmission, real-time reliable transmission, normal operation and the like, expands the application scene of the RFID, and removes the limitation of the existing RFID mainly used for asset inventory scenes; on the other hand, through the optimized signaling mode, state machine jump mode, label side function improvement and the like, the complex process that the RFID label needs to wait for a new Q value and restart the inventory flow when receiving an error instruction is avoided, and the overall working efficiency of the RFID system is improved.
For real-time reliable service (such as production data collection) or reliable service (such as in-out management), in step 202, according to the query instruction and the service type identifier stored in the RFID tag, a second mode is selected to perform state jump and data transmission, including:
If the tag time slot of the RFID tag is 0, the RFID tag returns a first random number to the receiver, and the RFID tag jumps from a ready state to a response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a first confirmation signal carrying the first random number sent by the receiver, the RFID tag returns EPC and data to the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
the RFID tag receives a third confirmation signal returned by the receiver after receiving EPC and data in a first time period, and the RFID tag jumps to an arbitration state from a waiting state;
if the RFID tag does not receive the third confirmation signal in the first time period, retransmitting the EPC and the data, and keeping a waiting state by the RFID tag; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
The third acknowledgement signal may be understood as an acknowledgement mechanism for the data transmission, and the RFID tag may jump from the waiting state to the arbitrated state only after receiving the third acknowledgement signal of the data.
In the embodiment of the invention, since EPC+data is larger (more than or equal to 96 bits), and the ACK returned by the receiver if the receiver receives the data is relatively smaller (maximum 18 bits). Although the reliability of data transmission can be guaranteed by transmitting epc+data multiple times, the working efficiency of the system is affected, and therefore, an upper limit n of the number of repeated transmissions needs to be set. In practical application, whether the repeated transmission mode is applied can also be selected according to the service requirement. It is possible, if no repeated transmission mode is applied, to understand that n is equal to 0.
Example one, RFID tag based production data acquisition
The RFID tag is combined with a voltage sensor, a current sensor, a vibration sensor and the like, and the production state monitoring is realized by monitoring the voltage, the current sensor, the vibration sensor and the like of industrial production equipment. The management platform periodically transmits working instructions to the receiver and the exciter, and the exciter transmits excitation signals to activate the RFID tag combined with the sensor and collect RFID tag information and sensor data.
(1) As shown in fig. 5, service type identifier is issued
When the RFID label combined with the sensor is placed on production line equipment for the first time, the RFID label is subjected to service information configuration. Assuming that the initial inventory tag of the tag is A, the exciter sends an extended Query instruction to the tag, 10 is written in a service type field (reliable transmission service), 00 is written in a Sel field (all tags), A is written in a target field, and the expanded Query instruction is issued. The Query instruction at this time is shown in Table 1:
Command DR M TRext Sel session target Q Service type CRC
1000 0 00 0 00 01 A 13 10 1110
TABLE 1
After receiving a Query instruction with a service type field, the RFID tag extracts the service type field from all tags with the existing inventory tag being A, writes the service type field into an XPC-W1 field in an EPC area, and completes service type identification issuing.
The generated data acquisition flow is as shown in fig. 6:
(1) when data needs to be collected, the platform sends a working instruction to the exciter again through the receiver, and the exciter sends a Query instruction, wherein the instruction is shown in the table 2:
Command DR M TRext Sel session target Q service type CRC
1000 0 00 0 00 01 A 13 FF 1110
TABLE 2
At this time, the inventory tag is the tag response of A, and any value in [ 0-213-1 ] is randomly selected as slot.
Alternatively, two Query instructions can be identified on the tag side by: both Query instructions carry a service type field, and if the service type field is not FF, the service type is considered as a service type issuing instruction; if FF is the inventory command.
(2) The label with slot=0 returns to RN16, the label from ready- > reply state; tags with slots not equal to 0, from the ready- > arbitrate state.
(3) And after receiving the RN16, the receiver returns an ACK signal with the RN16 to realize bidirectional confirmation of the reader-writer and the tag.
Alternatively, to avoid erroneous ACK (RN 16) information, the transceiver may choose to make redundant transmissions, e.g., three consecutive transmissions, of the ACK (RN 16).
(4) After receiving the ACK signal, the tag matched with the RN16 immediately returns data acquired by the EPC+ sensor, and the tag is in a reply-waiting state; if the ACK is invalid, the Q value is unchanged, and the tag is still in a reply state;
(5) if the receiver receives EPC+data, immediately returning ACK with the RN16, indicating that the data returned by the tag which currently stores the RN16 is received, and the tag is in a status from waiting- > arbitrate;
if the receiver does not receive EPC+data, no information is returned. If the tag in the wait state has not received the ACK after the tag wait time t, the epc+data is retransmitted. In order to avoid the situation that the tag cannot jump out when the tag is in a timeout retransmission state due to system faults, the maximum retransmission times n are set, and if the tag still does not receive ACK after the tag retransmits EPC+data for n times, the tag is in a wait-to-arbitrate state.
(6) After the data acquisition of one tag is completed, the exciter sends out a QueryRep instruction, the tag with the slot not equal to 0 receives the QueryRep instruction and then slots-1, the tag with the slot not equal to 0 overturns the inventory mark, namely from A- > B, and the processes (2) - (5) are repeated until the data acquisition of all the tags is completed.
For non-real-time service (such as asset inventory service), when the label with slot=0 receives the RN16 carried by the ACK and errors occur, the label is converted from a reply state to an arbit state; when the QueryRep instruction is accepted again, the slot will change from 0 to 0x7FFF (a very large value, which will not normally respond in the current round of inventory anymore), and therefore wait for the receiver to issue a new Query instruction to adjust the Q value. Inventory efficiency can be impacted, resulting in a large number of QueryRep instructions in-between, with no tag response. In view of the above problem, as shown in fig. 8, in step 202 provided by the embodiment of the present invention, according to the query instruction and the service type identifier stored in the RFID tag, the RFID tag selects a second mode to perform state jump and data transmission, where the method includes:
If the tag time slot of the RFID tag is 0, the RFID tag returns a second random number to the receiver, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a fourth confirmation signal carrying the second random number sent by the receiver, the RFID tag returns to the EPC, and the RFID tag is converted from a response state to a confirmation state; or after the RFID tag receives a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from a response state to a waiting state;
after receiving the repeated inquiry command, the RFID tag in the waiting state returns to the third random number, and the RFID tag keeps the waiting state; or, after receiving the repeated inquiry instruction, the RFID tag in the arbitration state subtracts 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returns a fourth random number, and the RFID tag jumps from the arbitration state to the response state;
the RFID tag sending the third random number receives a fifth confirmation signal carrying the third random number sent by the receiver, returns to the EPC, and jumps from the waiting state to the confirmation state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
The RFID tag which transmits the fourth random number receives a seventh confirmation signal which is transmitted by the receiver and carries the fourth random number, returns to the EPC, and jumps from the response state to the confirmation state; or the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, and the RFID tag jumps from the response state to the waiting state.
Briefly, in the embodiment of the present invention, when an error occurs in RN16 carried by a slot=0 tag receiving ACK, the state is changed from the reply state to the wait state; when the QueryRep instruction is accepted again, the slot is still 0. Since the different labels are in the range of 0 to 2 Q -1]One number is randomly selected as the own slot, so that a blank slot is necessarily present in the middle. The purpose of the Waiting state at this time is to enable the tag in the Waiting state to respond in a blank slot, so that the response efficiency of the RFID tag is improved.
As an alternative embodiment, after the RFID tag receives the fifth acknowledgement signal carrying the wrong random number sent by the receiver, the method further includes, after the RFID tag transitions from the response state to the waiting state:
optionally, when the number of the RFID tags is smaller, the blank time slots are considered to be larger, if the RFID tag in the waiting state does not receive the fourth acknowledgement signal carrying the second random number within the preset tag response time, the random number generated by the RFID tag is sent to the receiver again.
For example, the time for the RFID tag to respond to ACK (RN 16) is t1+t3, and the preset tag response time for the tag in the waiting state is set to { (t1+t3)/2, t1+t3}; the tag in the waiting state returns its own random number (RN 16) if it does not receive the ACK broadcast signal carrying RN16 sent by the receiver within the time { (t1+t3)/2, t1+t3 }. Alternatively, the preset tag response time of the waiting status tag may be formulated as required, and is not specifically limited herein.
Fig. 7 shows the correspondence between RFID tags and tag slots. If the tag T3 receives the wrong ACK, the state of jumping to the waiting state is skipped; after the exciter sends out the QueryRep instruction, the label with the slot not equal to 0 receives the QueryRep instruction and then slots-1, then the labels T3 and T5 return the random number of the label at the same time, and the receiver selects one response, for example, selects the label T5; the tag T3 still receives the wrong ACK, and then keeps the waiting state; after the exciter sends out the QueryRep instruction, the tag with the slot not equal to 0 receives the QueryRep instruction and then slots-1, as shown in FIG. 7, when the tag with the slot=0 is only the tag T3, the tag T3 returns a random number and receives the response of the receiver.
When the number of the labels is large, if a large number of labels exist during the input-output-input-storage inventory of the round, the labels are inventory to be problematic when the labels are not received yet after m times of transmission (m=3 for example in the example) by a method of retransmitting ACK, and a receiver reports the label with the problem to a platform.
For example, as shown in fig. 9, the receiver sends an ACK carrying a random number a plurality of times, and the tag that received the invalid or erroneous ACK for the first time jumps from the reply state to the wait state; the tag in the waiting state receives the effective or wrong ACK again, and then the waiting state is maintained; if the label in the waiting state receives the correct ACK, returning to the EPC of the label; if the receiver still does not receive the EPC reply after sending the ACK for m times, the label corresponding to the reporting platform is a problem label.
In summary, the embodiment of the invention designs a new jump flow of the RFID state machine, and avoids the problem that the RFID label jumps to the arbitrate state once recognizing the wrong ACK or overtime without receiving the correct instruction and can only respond in a new round of counting by adding the wait state; on the other hand, the mechanism of receiving data confirmation, overtime retransmission and the like is designed aiming at the industrial data transmission scene, so that the overall working performance of the RFID system is improved, and the reliability of data transmission is improved; in addition, the embodiment of the invention considers the business requirements of different industry scenes, improves the working mechanism of the traditional RFID system, ensures that the RFID system can meet the requirements of scenes such as quick data transmission, reliable data transmission, common data transmission and the like to a certain extent, expands the application scene of the RFID system, meets the business requirements of industry diversification, and can further reduce the cost and the power consumption of industry production management.
As shown in fig. 10, the embodiment of the present invention further provides a processing method of a passive radio frequency identification RFID system, where the passive RFID system includes: a receiver, an exciter, and respective RFID tags disposed on the managed items; the method is performed by a receiver, the method comprising:
step 901, sending a query instruction to the RFID tag via the exciter,
step 902, performing data transmission according to a state machine mode selected by the RFID tag and corresponding to a service type identifier stored in the RFID tag;
wherein the state machine modes include a first mode having no wait (wait) state and a second mode having a wait state; in the wait (wait) state, the tag slot of the RFID tag is 0.
As an optional embodiment, the service type identifier includes any one of the following:
a first identification of a non-real time service (e.g., asset inventory);
a second identification of reliable traffic (e.g., in-out management);
a third identification of real-time reliable service (e.g., production data acquisition);
and fourth identification of other expandable services.
As an alternative embodiment, the method further comprises:
and transmitting the service type identifier applicable to the RFID tag through an exciter.
Since the RFID tag placed on the device or article is not typically replaced without damaging the RFID tag, the service type identification delivery need only be configured when the RFID tag is first attached to the device or article, and no subsequent operations are required.
Alternatively, the service type identifier may be written into an extension of the Query (Query) instruction or the select (select) instruction sent by the exciter; for example, the service type identification field is placed before the CRC (cyclic redundancy check) field. For example, the first flag is "00": non-real-time traffic; the second designation is "01": real-time reliable service; the third designation is "10": reliable service; the fourth designation is "11": and other services can be expanded.
For example, by a Query instruction or a select instruction, a label that needs to be configured for a service type identifier is indicated in a SEL field, a Target field, or a Target field in the select instruction in the Query, the service type identifier is written into the service field, the Query instruction or the select instruction is issued, the label that receives the Query instruction or the select instruction matches label information according to the specified information in the Query instruction or the select instruction, and if the label corresponds to the label information of the label, the service type identifier is written into XTID in TID or XPC bit in EPC.
In at least one embodiment of the present invention, according to a second mode selected by the RFID tag and corresponding to a service type identifier stored in the RFID tag, data transmission is performed, including:
after receiving a first random number returned by an RFID tag with a tag time slot of 0, sending a first confirmation signal carrying the first random number to the RFID tag;
or alternatively, the process may be performed,
and after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
Optionally, the method further comprises:
and sending the first confirmation signal to the RFID tag for a plurality of times.
When the number of the labels is large, if a large number of labels exist during the input-output-input-storage inventory of the round, the labels are inventory to be problematic when the labels are not received yet after m times of transmission (m=3 for example in the example) by a method of retransmitting ACK, and a receiver reports the label with the problem to a platform. Namely, the method comprises the following steps:
and if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times, determining that the RFID tag is a problem tag.
For example, as shown in fig. 9, the receiver sends an ACK carrying a random number a plurality of times, and the tag that received the invalid or erroneous ACK for the first time jumps from the reply state to the wait state; the tag in the waiting state receives the effective or wrong ACK again, and then the waiting state is maintained; if the label in the waiting state receives the correct ACK, returning to the EPC of the label; if the receiver still does not receive the EPC reply after sending the ACK for m times, the label corresponding to the reporting platform is a problem label.
In summary, the embodiment of the invention designs a new jump flow of the RFID state machine, and avoids the problem that the RFID label jumps to the arbitrate state once recognizing the wrong ACK or overtime without receiving the correct instruction and can only respond in a new round of counting by adding the wait state; on the other hand, the mechanism of receiving data confirmation, overtime retransmission and the like is designed aiming at the industrial data transmission scene, so that the overall working performance of the RFID system is improved, and the reliability of data transmission is improved; in addition, the embodiment of the invention considers the business requirements of different industry scenes, improves the working mechanism of the traditional RFID system, ensures that the RFID system can meet the requirements of scenes such as quick data transmission, reliable data transmission, common data transmission and the like to a certain extent, expands the application scene of the RFID system, meets the business requirements of industry diversification, and can further reduce the cost and the power consumption of industry production management.
As shown in fig. 11, an embodiment of the present invention further provides an RFID tag, including:
a first receiving module 1001, configured to receive a query instruction sent by an exciter;
the processing module 1002 is configured to select, according to the query instruction and the service type identifier stored in the RFID tag, a state machine mode corresponding to the service type identifier to perform state skipping and data transmission;
The state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
As an optional embodiment, the service type identifier includes any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
As an alternative embodiment, the RFID tag further includes:
and the storage module is used for storing the service type identifier to the RFID tag in a mode of issuing or presetting in advance by the exciter.
As an alternative embodiment, the processing module includes:
the first sub-module is used for returning a first random number to the receiver if the tag time slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
the second sub-module is used for returning EPC and data to the receiver after receiving a first confirmation signal carrying the first random number sent by the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
A third sub-module, configured to receive a third acknowledgement signal returned after the receiver receives EPC and data in a first period, and jump the RFID tag from a waiting state to an arbitrating state;
a fourth sub-module, configured to retransmit the EPC and the data if the RFID tag does not receive the third acknowledgement signal within the first period of time, where the RFID tag remains in a waiting state; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
As an alternative embodiment, the processing module includes:
a fifth sub-module, configured to return a second random number to the receiver if the tag slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
a sixth sub-module, configured to return to the EPC after receiving a fourth acknowledgement signal carrying the second random number sent by the receiver, and switch the RFID tag from a response state to an acknowledgement state; or after receiving a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from the response state to the waiting state;
A seventh sub-module, configured to return to the third random number after the RFID tag in the waiting state receives the repeated query instruction, where the RFID tag remains in the waiting state; or after the RFID tag in the arbitration state receives the repeated inquiry instruction, subtracting 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returning a fourth random number, and jumping the RFID tag from the arbitration state to the response state;
an eighth sub-module, configured to send a fifth acknowledgement signal carrying the third random number sent by the receiver and received by the RFID tag of the third random number, return to the EPC, and jump from the waiting state to the acknowledgement state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
a ninth submodule, configured to receive a seventh acknowledgement signal carrying the fourth random number sent by the receiver when the RFID tag sending the fourth random number returns to the EPC, and the RFID tag jumps from the response state to the acknowledgement state; or when the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, the RFID tag jumps from the response state to the waiting state.
As an alternative embodiment, the eighth submodule is further configured to:
and the RFID tag which transmits the third random number receives a fifth confirmation signal which is transmitted by the receiver and carries the third random number within the preset tag response time, and returns to the EPC.
On one hand, the embodiment of the invention designs a new RFID state machine jump flow, and avoids the problem that the RFID tag jumps to an arbitrate state once recognizing an incorrect ACK or overtime without receiving a correct instruction and can only respond in a new round of counting by adding the wait state; on the other hand, the mechanism of receiving data confirmation, overtime retransmission and the like is designed aiming at the industrial data transmission scene, so that the overall working performance of the RFID system is improved, and the reliability of data transmission is improved; in addition, the embodiment of the invention considers the business requirements of different industry scenes, improves the working mechanism of the traditional RFID system, ensures that the RFID system can meet the requirements of scenes such as quick data transmission, reliable data transmission, common data transmission and the like to a certain extent, expands the application scene of the RFID system, meets the business requirements of industry diversification, and can further reduce the cost and the power consumption of industry production management.
It should be noted that, if the RFID tag provided in the embodiment of the present invention is an RFID tag capable of executing the above processing method, all embodiments of the processing method of the passive RFID system described above are applicable to the RFID tag, and the same or similar beneficial effects can be achieved.
As shown in fig. 12, an embodiment of the present invention further provides a receiver of a passive radio frequency identification RFID system, including:
a transmitting module 1101 for transmitting a query instruction to the RFID tag through the actuator,
the data transmission module 1102 is configured to perform data transmission according to a state machine mode selected by the RFID tag and corresponding to a service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
As an optional embodiment, the service type identifier includes any one of the following:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
As an alternative embodiment, the receiver further comprises:
and the identification transmitting module is used for transmitting the service type identification applicable to the RFID tag through the exciter.
As an alternative embodiment, the data transmission module includes:
the first sending submodule is used for sending a first confirmation signal carrying the first random number to the RFID tag after receiving the first random number returned by the RFID tag with the tag time slot of 0;
Or after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
As an alternative embodiment, the receiver further comprises:
and the second transmitting module is used for transmitting the first confirmation signal to the RFID tag for a plurality of times.
As an alternative embodiment, the receiver further comprises:
and the determining module is used for determining the RFID tag as a problem tag if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times.
On one hand, the embodiment of the invention designs a new RFID state machine jump flow, and avoids the problem that the RFID tag jumps to an arbitrate state once recognizing an incorrect ACK or overtime without receiving a correct instruction and can only respond in a new round of counting by adding the wait state; on the other hand, the mechanism of receiving data confirmation, overtime retransmission and the like is designed aiming at the industrial data transmission scene, so that the overall working performance of the RFID system is improved, and the reliability of data transmission is improved; in addition, the embodiment of the invention considers the business requirements of different industry scenes, improves the working mechanism of the traditional RFID system, ensures that the RFID system can meet the requirements of scenes such as quick data transmission, reliable data transmission, common data transmission and the like to a certain extent, expands the application scene of the RFID system, meets the business requirements of industry diversification, and can further reduce the cost and the power consumption of industry production management.
It should be noted that, the receiver provided in the embodiment of the present invention is a receiver capable of executing the above processing method, and all embodiments of the processing method of the passive RFID system are applicable to the receiver, and the same or similar beneficial effects can be achieved.
The embodiment of the invention also provides an RFID tag, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes each process in the processing method embodiment of the passive RFID system when executing the program and can achieve the same technical effect, and the repetition is avoided, so that the description is omitted.
The embodiment of the invention also provides a receiver, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes each process in the processing method embodiment of the passive RFID system when executing the program and can achieve the same technical effect, and the repetition is avoided, so that the description is omitted.
The embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, where the program when executed by a processor implements each process in the processing method embodiment of the passive RFID system as described above, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-readable storage media (including, but not limited to, magnetic disk storage and optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block or blocks.
These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (27)

1. A method of processing a passive radio frequency identification, RFID, system, the passive RFID system comprising: a receiver, an exciter, and respective RFID tags disposed on the managed items; the method is performed by an RFID tag, the method comprising:
receiving a query instruction sent by an exciter;
selecting a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
2. The method of claim 1, wherein the service type identification comprises any one of:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
3. The method according to claim 1, wherein the method further comprises:
and storing the service type identifier on the RFID tag in a mode of issuing or presetting in advance by an exciter.
4. The method of claim 1, wherein selecting the second mode for state hopping and data transmission based on the query instruction and the service type identification stored in the RFID tag comprises:
if the tag time slot of the RFID tag is 0, the RFID tag returns a first random number to the receiver, and the RFID tag jumps from a ready state to a response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a first confirmation signal carrying the first random number sent by the receiver, the RFID tag returns EPC and data to the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
the RFID tag receives a third confirmation signal returned by the receiver after receiving EPC and data in a first time period, and the RFID tag jumps to an arbitration state from a waiting state;
if the RFID tag does not receive the third confirmation signal in the first time period, retransmitting the EPC and the data, and keeping a waiting state by the RFID tag; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
5. The method of claim 1, wherein the RFID tag selects a second mode for state hopping and data transmission based on the query instruction and a service type identifier stored in the RFID tag, comprising:
if the tag time slot of the RFID tag is 0, the RFID tag returns a second random number to the receiver, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
after receiving a fourth confirmation signal carrying the second random number sent by the receiver, the RFID tag returns to the EPC, and the RFID tag is converted from a response state to a confirmation state; or after the RFID tag receives a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from a response state to a waiting state;
after receiving the repeated inquiry command, the RFID tag in the waiting state returns to the third random number, and the RFID tag keeps the waiting state; or, after receiving the repeated inquiry instruction, the RFID tag in the arbitration state subtracts 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returns a fourth random number, and the RFID tag jumps from the arbitration state to the response state;
The RFID tag sending the third random number receives a fifth confirmation signal carrying the third random number sent by the receiver, returns to the EPC, and jumps from the waiting state to the confirmation state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
the RFID tag which transmits the fourth random number receives a seventh confirmation signal which is transmitted by the receiver and carries the fourth random number, returns to the EPC, and jumps from the response state to the confirmation state; or the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, and the RFID tag jumps from the response state to the waiting state.
6. The method of claim 5, wherein after the RFID tag receives the fifth acknowledgement signal carrying the wrong random number sent by the receiver, the RFID tag transitions from the reply state to the wait state, the method further comprising:
and if the RFID tag in the waiting state does not receive the fourth confirmation signal carrying the second random number within the preset tag response time, the random number generated by the RFID tag is sent to the receiver again.
7. A method of processing a passive radio frequency identification, RFID, system, the passive RFID system comprising: a receiver, an exciter, and respective RFID tags disposed on the managed items; the method is performed by a receiver, the method comprising:
a query instruction is sent to the RFID tag by the actuator,
according to the state machine mode which is selected by the RFID tag and corresponds to the service type identifier stored in the RFID tag, carrying out data transmission;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
8. The method of claim 7, wherein the service type identification comprises any one of:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
9. The method of claim 7, wherein the method further comprises:
and transmitting the service type identifier applicable to the RFID tag through an exciter.
10. The method of claim 7, wherein transmitting data according to the second mode selected by the RFID tag and corresponding to the service type identifier stored in the RFID tag comprises:
After receiving a first random number returned by an RFID tag with a tag time slot of 0, sending a first confirmation signal carrying the first random number to the RFID tag;
or alternatively, the process may be performed,
and after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
11. The method according to claim 10, wherein the method further comprises:
and sending the first confirmation signal to the RFID tag for a plurality of times.
12. The method according to claim 11, characterized in that the method comprises:
and if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times, determining that the RFID tag is a problem tag.
13. An RFID tag, comprising:
the first receiving module is used for receiving the query instruction sent by the exciter;
the processing module is used for selecting a state machine mode corresponding to the service type identifier to perform state jump and data transmission according to the query instruction and the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
14. The RFID tag of claim 13, wherein the service type identification includes any one of:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
15. The RFID tag of claim 13, wherein the RFID tag further comprises:
and the storage module is used for storing the service type identifier to the RFID tag in a mode of issuing or presetting in advance by the exciter.
16. The RFID tag of claim 13, wherein the processing module comprises:
the first sub-module is used for returning a first random number to the receiver if the tag time slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
the second sub-module is used for returning EPC and data to the receiver after receiving a first confirmation signal carrying the first random number sent by the receiver, and the RFID tag jumps from a response state to a waiting state; or after the RFID tag receives a second confirmation signal carrying the error random number sent by the receiver, the Q value is unchanged, and the RFID tag keeps a response state;
A third sub-module, configured to receive a third acknowledgement signal returned after the receiver receives EPC and data in a first period, and jump the RFID tag from a waiting state to an arbitrating state;
a fourth sub-module, configured to retransmit the EPC and the data if the RFID tag does not receive the third acknowledgement signal within the first period of time, where the RFID tag remains in a waiting state; if the third acknowledgement signal is not received after the EPC and the data are retransmitted n times, the RFID tag jumps from the waiting state to the arbitrating state, and n is an integer.
17. The RFID tag of claim 13, wherein the processing module comprises:
a fifth sub-module, configured to return a second random number to the receiver if the tag slot of the RFID tag is 0, and the RFID tag jumps from the ready state to the response state; or if the tag time slot of the RFID tag is not 0, the RFID tag jumps from the ready state to the arbitrated state;
a sixth sub-module, configured to return to the EPC after receiving a fourth acknowledgement signal carrying the second random number sent by the receiver, and switch the RFID tag from a response state to an acknowledgement state; or after receiving a fifth confirmation signal carrying the error random number sent by the receiver, the RFID tag is switched from the response state to the waiting state;
A seventh sub-module, configured to return to the third random number after the RFID tag in the waiting state receives the repeated query instruction, where the RFID tag remains in the waiting state; or after the RFID tag in the arbitration state receives the repeated inquiry instruction, subtracting 1 from the tag time slot, if the tag time slot is 0 after subtracting 1, returning a fourth random number, and jumping the RFID tag from the arbitration state to the response state;
an eighth sub-module, configured to send a fifth acknowledgement signal carrying the third random number sent by the receiver and received by the RFID tag of the third random number, return to the EPC, and jump from the waiting state to the acknowledgement state; or the RFID tag which transmits the third random number receives a sixth confirmation signal which is transmitted by the receiver and carries the error random number, and the RFID tag is kept in a waiting state;
a ninth submodule, configured to receive a seventh acknowledgement signal carrying the fourth random number sent by the receiver when the RFID tag sending the fourth random number returns to the EPC, and the RFID tag jumps from the response state to the acknowledgement state; or when the RFID tag transmitting the fourth random number receives an eighth confirmation signal carrying the wrong random number transmitted by the receiver, the RFID tag jumps from the response state to the waiting state.
18. The RFID tag of claim 17, wherein the RFID tag further comprises:
the random number sending module is used for sending the random number generated by the RFID tag to the receiver again when the RFID tag in the waiting state does not receive the fourth confirmation signal carrying the second random number within the preset tag response time.
19. A receiver for a passive radio frequency identification RFID system, comprising:
a transmitting module for transmitting a query instruction to the RFID tag through the exciter,
the data transmission module is used for carrying out data transmission according to the state machine mode which is selected by the RFID tag and corresponds to the service type identifier stored in the RFID tag;
the state machine mode comprises a first mode without a waiting state and a second mode with a waiting state; in the waiting state, a tag slot of the RFID tag is 0.
20. The receiver of claim 19, wherein the service type identification comprises any one of:
a first identification of non-real time traffic;
a second identification of the reliable service;
a third identifier of the real-time reliable service;
and fourth identification of other expandable services.
21. The receiver of claim 19, wherein the receiver further comprises:
and the identification transmitting module is used for transmitting the service type identification applicable to the RFID tag through the exciter.
22. The receiver of claim 19, wherein the data transmission module comprises:
the first sending submodule is used for sending a first confirmation signal carrying the first random number to the RFID tag after receiving the first random number returned by the RFID tag with the tag time slot of 0;
or after receiving the first random number returned by the RFID tag with the tag time slot of 0, sending a second confirmation signal carrying the error random number to the RFID tag.
23. The receiver of claim 22, wherein the receiver further comprises:
and the second transmitting module is used for transmitting the first confirmation signal to the RFID tag for a plurality of times.
24. The receiver of claim 23, wherein the receiver further comprises:
and the determining module is used for determining the RFID tag as a problem tag if the EPC sent by the RFID tag is not received after the first confirmation signal is sent for a plurality of times.
25. An RFID tag comprising a memory, a processor, and a program stored on the memory and executable on the processor; a method of processing a passive RFID system as claimed in any one of claims 1-6, characterized in that the processor executes the program.
26. A receiver comprising a memory, a processor, and a program stored on the memory and executable on the processor; a method of processing a passive RFID system as claimed in any one of claims 7-12, characterized in that the processor executes the program.
27. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, realizes steps in a method of processing a passive RFID system according to any one of claims 1-6 or steps in a method of processing a passive RFID system according to any one of claims 7-12.
CN202111598679.5A 2021-12-24 2021-12-24 Processing method of passive RFID system, RFID tag and receiver Pending CN116347407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111598679.5A CN116347407A (en) 2021-12-24 2021-12-24 Processing method of passive RFID system, RFID tag and receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111598679.5A CN116347407A (en) 2021-12-24 2021-12-24 Processing method of passive RFID system, RFID tag and receiver

Publications (1)

Publication Number Publication Date
CN116347407A true CN116347407A (en) 2023-06-27

Family

ID=86875078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111598679.5A Pending CN116347407A (en) 2021-12-24 2021-12-24 Processing method of passive RFID system, RFID tag and receiver

Country Status (1)

Country Link
CN (1) CN116347407A (en)

Similar Documents

Publication Publication Date Title
US6456191B1 (en) Tag system with anti-collision features
KR100667344B1 (en) RFID tag and RFID reader for anti-collision and operating method thereof
US20030052161A1 (en) Method of communication in a radio frequency identification system
US20050237159A1 (en) RFID tag systems, RFID tags and RFID processes with reverse link burst mode
JPH0894746A (en) Protocol for identifying tags for plurality of item radio frequencies
WO2009065311A1 (en) Binary tree method for multi-tag anti-collision
CN107516057B (en) Label anti-collision method and active radio frequency identification label
JP2007533016A (en) Method for selecting one or more transponders
CN103020569A (en) Radio-frequency identification multi-label anti-collision method
CN101499119B (en) Label recognition method, system and apparatus based on radio frequency recognition
CN101377820B (en) Method for searching label in radio frequency recognition system and reader-writer
US20050237158A1 (en) RFID tag systems, RFID tags and RFID processes using N-ary FSK
US8963690B2 (en) Identification system
CN109740394B (en) Radio frequency identification anti-collision method
US9785803B2 (en) Method, apparatus and system for collecting tags using bit map in RFID system
CN101916354A (en) Radio frequency identification method and reader
CN116347407A (en) Processing method of passive RFID system, RFID tag and receiver
CN102298684B (en) Method, system and reader for avoiding signal interference in radial frequency identification system
KR100926130B1 (en) Method for reading aloha based tag in radio frequency identification system
CN102479312A (en) Method for avoiding signal interference in radio frequency identification system
CN101286193B (en) Radio frequency recognition system and its anticollision counting method
CN102479310A (en) Radio frequency identification method
CN117933277A (en) Label inventory method, device, node and storage medium
CN116782337B (en) Method and system for inquiring and responding group electronic price tag
EP4109325A1 (en) Tag identification and inventory method and apparatus, reader, medium and computer program

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