CN109104420B - Data rapid transmission method based on EPC communication protocol - Google Patents

Data rapid transmission method based on EPC communication protocol Download PDF

Info

Publication number
CN109104420B
CN109104420B CN201810854508.6A CN201810854508A CN109104420B CN 109104420 B CN109104420 B CN 109104420B CN 201810854508 A CN201810854508 A CN 201810854508A CN 109104420 B CN109104420 B CN 109104420B
Authority
CN
China
Prior art keywords
value
query
tag
communication protocol
time slot
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
CN201810854508.6A
Other languages
Chinese (zh)
Other versions
CN109104420A (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.)
Taiyuan University of Technology
Original Assignee
Taiyuan University of Technology
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 Taiyuan University of Technology filed Critical Taiyuan University of Technology
Priority to CN201810854508.6A priority Critical patent/CN109104420B/en
Publication of CN109104420A publication Critical patent/CN109104420A/en
Application granted granted Critical
Publication of CN109104420B publication Critical patent/CN109104420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/26Special purpose or proprietary protocols or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a data rapid transmission method based on an EPC communication protocol, belonging to the technical field of data rapid transmission methods based on the EPC communication protocol; the technical problem to be solved is as follows: the method for rapidly transmitting the data based on the EPC communication protocol is provided; the technical scheme for solving the technical problem is as follows: the method comprises the following steps: the method comprises the following steps: determining the number of the tags as m, and using the POW wave as a carrier wave to broadcast a Query command by the reader to allocate a Q value to the tags; step two: after receiving the Query command, the tag executes the Query Rep and Query Adjust commands to adjust the value of the time slot, and the reader increases the replicable time slot value from 0 in sequence to enable each time slot to be capable of communicating; step three: the label which meets the communication requirement firstly replies to the RN16= n, the value of n is compared with the value of m, when n is less than m, the label is commanded to carry out burst transmission, when n is more than m, the label is kept silent, and the acquisition of the value of n of the label RN16 is waited again; the invention is applied to the EPC communication protocol.

Description

Data rapid transmission method based on EPC communication protocol
Technical Field
The invention discloses a data fast transmission method based on an EPC communication protocol, and belongs to the technical field of data fast transmission methods based on the EPC communication protocol.
Background
With the development of the internet of things, the application field of Radio Frequency Identification (RFID) technology is wider, but because the traditional passive Sensing tag has a single function, only simple Identification can be performed on an object, and the Sensing capability is poor, a passive Sensing and identifying Platform (WISP) is used for making up for the defects.
Because the WISP platform follows the EPC C1G2 communication protocol and is not suitable for simultaneously transmitting a large amount of data, a transmission conflict between a large amount of parallel data exists in the communication process between a multi-tag and a reader; the WISP platform integrates a controller and a sensor, and is increasingly a development trend of a future radio frequency identification technology due to the advantages of passivity, perception, calculation and communication, but signal transmission efficiency and energy utilization rate are low due to collision caused when a reader communicates with multiple tags in the communication process, so that a data parallel transmission method and mechanism need to be optimized.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to solve the technical problems that: the method for rapidly transmitting the data based on the EPC communication protocol is provided; in order to solve the technical problems, the invention adopts the technical scheme that: a data fast transmission method based on EPC communication protocol includes the following steps:
the method comprises the following steps: determining the number of the tags as m, and using the POW wave as a carrier wave to broadcast a Query command by the reader to allocate a Q value to the tags;
step two: after receiving a Query command, the tag executes a Query Rep command and a Query Adjust command, wherein the Query Rep enables the number of the tag time slots to be-1, and the Q value is quickly adjusted by utilizing the Query Adjust, and the reader sequentially increases the replicable time slot value from 0 so that each time slot can be communicated;
step three: the tag which first meets the communication requirement replies to the own RN16 being equal to n, compares n with the value of m, commands the tag to perform burst transmission when n is less than m, and keeps silent when n is greater than m, and waits for acquiring the n value of the tag RN16 again.
Compared with the prior art, the invention has the beneficial effects that: the invention provides an optimization scheme aiming at data conflict during parallel transmission, in order to solve the problems of low throughput and low energy utilization rate caused by low communication efficiency during signal parallel transmission in a passive sensing system; the application aims at influencing the communication quality of the whole passive sensing system if burst conflict occurs when the tag communicates with the reader, so that the prevention of the burst conflict is the key for improving the throughput of the passive sensing system.
Drawings
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of the present invention.
Detailed Description
As shown in fig. 1, the present invention provides a method for fast transmitting data based on EPC communication protocol, including the following steps:
the method comprises the following steps: determining the number of the tags as m, and using the POW wave as a carrier wave to broadcast a Query command by the reader to allocate a Q value to the tags;
step two: after receiving a Query command, the tag executes a Query Rep command and a Query Adjust command, wherein the Query Rep enables the number of the tag time slots to be-1, and the Q value is quickly adjusted by utilizing the Query Adjust, and the reader sequentially increases the replicable time slot value from 0 so that each time slot can be communicated;
step three: the tag which first meets the communication requirement replies to the own RN16 being equal to n, compares n with the value of m, commands the tag to perform burst transmission when n is less than m, and keeps silent when n is greater than m, and waits for acquiring the n value of the tag RN16 again.
The invention is substantially improved on the basis of the prior EPC protocol; in the conventional EPC protocol, in order to prevent collision in the multi-tag data transmission process, the Q value is important in the Query command, and the Q value defines that the number of time slots in one round is 2Q-1, wherein 0. ltoreq. Q.ltoreq.15; the tag generates a non-negative random time slot counter in the range specified by the Q value, and the reader selects the Q value, so that the efficiency of replying the reader by the tag is higher, and the energy utilization rate can be better improved.
After the tag completes the execution of the Query command, the QueryRep and QueryAdjust commands are executed, the QueryRep command can enable the time slot value to be-1 and can trigger the tag to respond, the QueryAdjust adjusts the current Q value through +1 or-1, and when the time slot value is reduced to 0, the tag starts to reply an ACK signal to the reader.
The key parameter controlling the efficiency of the EPC protocol is the Q value, the consumed energy of which is calculated by:
Eround=Equery+(2Q+A-1)gErep+ngEadjust
wherein A represents the adjusted number, and n represents the number of turns of adjustment;
it can be seen that as the Q value increases, the energy consumed in a round of communication is mainly caused by Reps and adjust.
Since the EPC protocol has a valid data amount of 12 bytes during transmission, the actual throughput is calculated by the following equation:
Figure GDA0002763709750000021
the formula considers the execution duration of three commands of Query, QueryRep and QueryAdjust;
according to the above formula, it is known that, due to improper selection of Q value in EPC protocol, communication efficiency is low due to excessive empty slots, and therefore, it is necessary to improve current EPC protocol and propose a new anti-collision scheme.
The communication efficiency of the whole passive sensing system is improved by adjusting the corresponding mode of the tag, the tag can communicate with the reader without adjusting the time slot to 0 after receiving the Query command, and each time slot can respond; on the tag side, the tag can be responded by Query, QueryRep or QueryAdjust by using an improved protocol.
During specific operation, each time slot is set to enable the CRFID sensor to communicate with the reader, and sequential response is carried out, namely the sequential response is sequentially increased from 0 time slot on the basis of the existing EPC protocol, so that each time slot can be communicated, the number of rounds of receiving QueryRep commands by the tags can be reduced, the problem of collision caused in the parallel transmission process is well solved, and energy consumption can be reduced.
When the tags communicate with the reader, if burst conflict occurs, the communication quality of the whole passive sensing system is affected, the burst conflict is avoided, the RN16 needs to be divided into n parts, and the value range of m of the number of the taken tags is 0 < m < 216The m value is the number of CRFID sensors specifically deployed, and a fixed value is selected at compile time; the label randomly generates an RN16 to divide n value, compares the n value with the m value, if n is less than m, the sensor carries out burst transmission, otherwise, the silence is kept to avoid collision of parallel transmission of data.
When the reader does not communicate with the tags, broadcasting signals to all the tags by using POW (power optimized wave) power optimized waveforms as carriers, and once one tag communicates with the tag, the reader transmits signals with CW (continuous wave) carriers to communicate with the tag; after the reader and a tag finish communication, the signal transmission is carried out by taking the POW wave as a carrier wave continuously.
When a tag already communicates with the reader, if another tag receives an ACK command within the range of the burst RN16 and detects that the received carrier wave is a CW wave, the tag is considered to be in burst transmission, and the mute state is maintained to avoid collision; if the slot contains an RN16 outside this range, it may start burst transmitting information after the current slot; after the tag is in the silent state, the receiving of the Query command is restarted, which is equivalent to that the communication with the reader is not completed.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (1)

1. A data fast transmission method based on EPC communication protocol is characterized in that: the method comprises the following steps:
the method comprises the following steps: determining the number of the tags as m, and using the POW wave as a carrier wave to broadcast a Query command by the reader to allocate a Q value to the tags;
step two: after receiving a Query command, the tag executes a Query Rep command and a Query Adjust command, wherein the Query Rep enables the number of the tag time slots to be-1, and the Q value is quickly adjusted by utilizing the Query Adjust, and the reader sequentially increases the replicable time slot value from 0 so that each time slot can be communicated;
step three: the tag which first meets the communication requirement replies to own RN16= n, compares n with the value of m, commands the tag to perform burst transmission when n < m, and remains silent when n > m, and waits again for the acquisition of the value of n of tag RN 16.
CN201810854508.6A 2018-07-30 2018-07-30 Data rapid transmission method based on EPC communication protocol Active CN109104420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810854508.6A CN109104420B (en) 2018-07-30 2018-07-30 Data rapid transmission method based on EPC communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810854508.6A CN109104420B (en) 2018-07-30 2018-07-30 Data rapid transmission method based on EPC communication protocol

Publications (2)

Publication Number Publication Date
CN109104420A CN109104420A (en) 2018-12-28
CN109104420B true CN109104420B (en) 2021-01-08

Family

ID=64848217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810854508.6A Active CN109104420B (en) 2018-07-30 2018-07-30 Data rapid transmission method based on EPC communication protocol

Country Status (1)

Country Link
CN (1) CN109104420B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343617B (en) * 2020-01-20 2023-02-10 太原理工大学 EPC protocol improvement method for improving CRFID data transmission rate
CN113225734A (en) * 2021-03-30 2021-08-06 太原理工大学 Base station-like type energy supply encryption method based on RFID passive transmission

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609672A (en) * 2012-02-22 2012-07-25 南京邮电大学 Anti-collision method of radio frequency identification (RFID) system
KR101220025B1 (en) * 2011-12-19 2013-01-09 엘에스산전 주식회사 Tag anti-collision method of rfid system
CN106650538A (en) * 2016-12-28 2017-05-10 北京安拓思科技有限责任公司 RFID reader anti-collision method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101220025B1 (en) * 2011-12-19 2013-01-09 엘에스산전 주식회사 Tag anti-collision method of rfid system
CN102609672A (en) * 2012-02-22 2012-07-25 南京邮电大学 Anti-collision method of radio frequency identification (RFID) system
CN106650538A (en) * 2016-12-28 2017-05-10 北京安拓思科技有限责任公司 RFID reader anti-collision method and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
An Enhanced Q algorithm Based on EPC-C1G2 RFID Protocol;Cunliang Niu等;《Modeling, Simulation and Optimization Technologies and Applications(MSOTA 2016)》;20161231;全文 *
一种UHF RFID多标签处理算法的改进;齐国强等;《智能处理与应用》;20180430;全文 *
基于EPC-C1G2标准的标签防碰撞算法;刘宣等;《长春工业大学学报(自然科学版)》;20110630;第32卷(第3期);全文 *

Also Published As

Publication number Publication date
CN109104420A (en) 2018-12-28

Similar Documents

Publication Publication Date Title
US8228173B2 (en) Interrogating radio frequency tags
US7733229B2 (en) Ultra wideband radio frequency identification techniques
EP2238559B1 (en) Method and apparatus for providing energy to passive tags in a radio -frequency identification system
US20080122581A1 (en) Passive rfid reader and operation control method therefor
CN109104420B (en) Data rapid transmission method based on EPC communication protocol
WO2012119028A2 (en) Method and apparatus for query-based congestion control
WO2014110842A1 (en) Method and device for rapidly identifying electronic tag
CN103500348B (en) A kind of RFID communication method of enhancing
US8717147B2 (en) Passive RFID system and method
US9330284B1 (en) Broadcast refresh of RFID tag persistence
CN110309686B (en) RFID anti-collision method based on equal area division
EP2827280B1 (en) System and method for polling NFC-A devices alongside RF barcodes
CN103136498B (en) The method of reading electronic labels data and device under multi reader/writer environment
US8081998B2 (en) Communication apparatus and communication control method with power adjustment to avoid interference between apparatuses on first and second networks
CN107659341B (en) Near field communication-type B device
US7102488B2 (en) Method for selecting transponders
CN106022185B (en) A kind of anti-collision algorithms being suitable for EPC Gen2 agreements based on continuous testing mechanism
KR20070020869A (en) RFID tag reader and It&#39;s Identification Method of multiple RFID tags
CN115618914B (en) Synchronous communication method and device based on RFID
JP2001298381A (en) Method for transmitting data
EP2737737B1 (en) Communication apparatus, communication method, and communication program for reducing current consumption during a period of a master apparatus detection process
Luan et al. A simple novel idle slot prediction and avoidance scheme using prediction bits for dfsa in rfid
WO2008037140A1 (en) A multi-label access method for rf recognition
Song et al. An improved reader anti-collision algorithm based on pulse protocol with slot occupied probability in dense reader mode
CN115618898B (en) Method and device for detecting RFID (radio frequency identification) tag

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