CN107798270B - A kind of computer readable storage medium and the radio-frequency identification reader using the medium - Google Patents

A kind of computer readable storage medium and the radio-frequency identification reader using the medium Download PDF

Info

Publication number
CN107798270B
CN107798270B CN201710891112.4A CN201710891112A CN107798270B CN 107798270 B CN107798270 B CN 107798270B CN 201710891112 A CN201710891112 A CN 201710891112A CN 107798270 B CN107798270 B CN 107798270B
Authority
CN
China
Prior art keywords
identified
tags
time slot
label
readable storage
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
CN201710891112.4A
Other languages
Chinese (zh)
Other versions
CN107798270A (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.)
Chu Tianlong Co., Ltd.
Original Assignee
GUANGDONG CHUTIAN DRAGON SMART CARD CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGDONG CHUTIAN DRAGON SMART CARD CO Ltd filed Critical GUANGDONG CHUTIAN DRAGON SMART CARD CO Ltd
Priority to CN201710891112.4A priority Critical patent/CN107798270B/en
Publication of CN107798270A publication Critical patent/CN107798270A/en
Application granted granted Critical
Publication of CN107798270B publication Critical patent/CN107798270B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10019Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves resolving collision on the communication channels between simultaneously or concurrently interrogated record carriers.
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0032Apparatus for automatic testing and analysing marked record carriers, used for examinations of the multiple choice answer type

Landscapes

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

Abstract

The present invention relates to RF tags to identify that there is computer program in field, the more particularly to radio-frequency identification reader of a kind of computer readable storage medium and the application medium, the dielectric memory, which can be executed by the processor of radio-frequency identification reader.The present invention in tag match step by recording identified number of tags m, the end-tag identification process when identified number of tags m reaches the value of all number of tags M to be identified, guarantee will not omit unrecognized label, and can reduce the overall time of tag recognition.The present invention is based on time slot technologies come the method for the tag recognition of anti-collision when realizing to identifying multiple labels in the short time, by CRC check, UID matchings and number of tags self-test, this judges three times, the problem of largely avoiding the unrelated label of misrecognition during anti-collision is checked and omit respective labels.

Description

A kind of computer readable storage medium and the radio-frequency identification reader using the medium
Technical field
The present invention relates to RF tag identification field, more particularly to a kind of computer readable storage medium and using the medium Radio-frequency identification reader, which has computer program, which can be by the processing of radio-frequency identification reader Device executes.
Background technology
As Internet of Things develops rapidly, radio frequency identification (RFID, Radio Frequency Identification) technology It is widely used in current automatic recognition collecting data fields.It is mainly applied using the Radio Frequency Identification Technology of intelligent label at present In identifying a specific target in the short period in radio frequency identification region, and needed shorter in the case of some complexity The multiple and different target of identification in time, such as the commodity in supermarket and warehouse are made an inventory clearing automatically, the books in library and bookstore Inflow and outflow is checked.Assuming that there is m the label identified is needed to appear in the radio frequency field of reader, these labels are shorter Response reader simultaneously sends out signal in time, and since these labels are mutual indepedent and shared radio communication channel, they are returned If signal sent out in synchronization, aliasing will occur between label signal, cause multi-tag collide (Collision).More marks Label collision will make current primary communication fall flat, and need the communication for restarting a new round, therefore label anti-collision agreement It is most important to the reader identification of RFID system, it can accurately and not identify institute again while ensureing recognition efficiency with omitting Label is the problem of needing concern in multi-tag identification technology.
Since the anti-collision algorithms in ISO/IEC14443TypeA standards are not directed at the anti-collision about multi-tag Reason method, thus in physical tags reading process, to avoid clashing, the mode of generally use time slot.The so-called time The mode of slot during reader initiation is sought to identify label, is divided into the read access time of reader sought every time N number of time slot unit, each label send answer signal to reader, time slot each in this way in randomly selected time slot Number of labels in unit is few, and the conflict incidence of tag recognition is also just minimum.The unique identifier UID of each label is matched The successful then label enters HALT (forcing tag sleep state), which does not retransmit answer signal.Reader is initiated multiple It seeks, seeking rear reader until continuous several times does not all receive answer signal, that is, thinks that all labels are all identified.But this It is longer that kind judges on the one hand the whether all identified method of label takes, on the other hand, it is understood that there may be multiple labels are continuous more It is secondary seek during all clash, that is to say, that reader is continuously sought several times does not all receive answer signal to judge The case where tag recognition terminates will omit unrecognized label.
Invention content
The purpose of the present invention is to provide a kind of fast and accurately to judge what all tag recognitions were completed for reader Method and reader for realizing this method.
The purpose of the present invention is achieved through the following technical solutions:
A kind of computer readable storage medium is provided, is stored with and multi-tag anti-collision radio frequency is realized based on time slot technology The computer program of identification, the program realize following steps when being executed by processor:
UID obtaining steps:It is all to be identified to obtain being stored with that it obtains the unique identifier UID of label to be identified All number of labels to be identified are recorded as M by the libraries UID of the unique identifier UID of label;
Time slot partiting step:Its read access time sought is divided into N number of time slot unit;
Tag match step:It judges the label in each time slot unit according to the time sequencing of N number of time slot unit Whether successful match, label of the label shutdown signal to successful match is sent if successful match, records identified number of tags m Value be m+1;
Above-mentioned tag match step includes UID verification steps:It judges that the unique identifier UID of the label currently identified is It is no in the libraries UID, if being judged as YES the tag match success;
Recycle matching step:It compares identified number of tags m and is needed after the completion of N number of time slot unit compares The size of the number of tags M of identification jumps to time slot partiting step if m is less than M, if m is identified equal to M end-tags.
Wherein, the tag match step includes CRC check step:It receives the answer signal that the label is sent out, right The answer signal carries out CRC check, tag match success if being successfully if CRC check result.
Wherein, the time slot unit number N is more than or equal to all number of tags M to be identified.
Wherein, if currently performed time slot partiting step is not to execute for the first time, the value of time slot unit number N is not less than All number of tags M to be identified subtract the value of identified number of tags m.
Wherein, it if currently performed cycle matching step is not to execute for the first time, has been compared in each time slot unit Cheng Hou compares the size of identified number of tags m and all number of tags M to be identified, and jumping to time slot if m is less than M draws Step by step, end-tag identifies if m is equal to M.
A kind of radio-frequency identification reader, including processor and above computer readable storage medium storing program for executing, the computer are also provided Computer program on readable storage medium storing program for executing can be executed by processor.
Beneficial effects of the present invention:By recording identified number of tags m in tag match step, a mark is often identified The value of label m is increased by 1, waits for that identified number of tags m reaches the value of all number of tags M to be identified, means that all labels It has been identified, so that it may which, with end-tag identification process, guarantee will not omit unrecognized label, and can reduce label The overall time of identification.
Description of the drawings
Fig. 1 is that the anti-collision for multi-tag of the present invention checks process flow diagram flow chart;
Fig. 2 is improved digital baseband controller tag state transition diagram.
Specific implementation mode
The make an inventory automatically books inflow and outflow of clearing, library and bookstore of commodity in supermarket and warehouse such as checks at the scenes Under, using reader come read commodity, the electronic tag on books, to be completed in a short time make an inventory clearing or the book of commodity Nationality checks work.As shown in Figure 1, the unique identifier UID in labeled targets quantity M and all labels to be read can be from being In the case that system obtains, as follows, based on time slot technology come erosion control when realizing to identifying multiple labels in the short time Prominent tag recognition.
UID obtaining steps:Reader obtains the unique identifier UID of label to be identified to be stored from system All number of labels to be identified are recorded as M by the libraries UID for being had the unique identifier UID of label to be identified.
Time slot partiting step:Reader is divided into the read access time sought N number of according to all number of tags M to be identified Time slot unit, wherein time slot unit number N is more than or equal to all number of tags M to be identified.
Tag match step:Reader is matched with the label in N number of time slot unit respectively sequentially in time.Such as Shown in Fig. 2, when label does not enter into the radio frequency field of reader, label is under POWER-OFF states, is carried due to lacking Wave, label are not activated and do not emit subcarrier.Reader emits the electricity of 13.56MHz by radio circuit to target place Magnetic wave, the request command REQA of internus A pass to the label of radio frequency field.When label enters the radio frequency field of reader Afterwards, after receiving REQA orders, label absorbs the state of the baseband controller inside energy driving by the coupled antenna of periphery It redirects, specifically, by POWER-OFF state transitions to IDLE state, (i.e. multi-tag is in each time slot after label acquisition energy The idle state kept in anti-collision ring).Reader chooses the label of radio frequency field, label to be read as unit of each time slot It reads to enter READY state after device is chosen, while returning to response message to reader, unique mark of the label is included in response message Know symbol UID.Reader is decoded according to the answer signal that label returns and carries out CRC check (cyclic redundancy check) to determine The validity of the data of reception, then in response message unique identifier UID and the unique identifier that is stored in the libraries UID UID is compared, if be matched in the libraries UID there are unique identifier UID, generates the tag match success flag, is led to It crosses serial ports, network or wireless mode the tag match success flag is sent to server and be further processed, and return and sleep Order of sleeping makes the label enter HALT states (forcing tag sleep state), and under HALT states, label is not responding to any instruction. As soon as often identifying a label, the identified number of tags m of reader record adds 1.It is completed until N number of time slot unit compares, One wheel seeks end.
Recycle matching step:After a wheel is sought, reader compares identified number of tags m and all to be identified The size of number of tags M, if comparison the result is that m be less than M, illustrate also have label do not recognize, reader jumps to time slot Partiting step starts next round and seeks, when the value of m reaches the value of all number of tags M to be identified, illustrates all labels It has identified that, reader is identified with regard to end-tag, and the signal that transmission tag recognition task terminates is to server.It is visited from the second wheel Seek beginning, the value of time slot unit number N all take all number of tags M to be identified and it is last round of at the end of identified number of tags m Difference A, or take a value, the quantity of time slot to subtract between the value of all number of tags M to be identified in this difference A It is few, also just reduce the time of reader identification label.Moreover, since being sought the second wheel, it can be in each time slot unit (or after number of tags m is changed) all compares primary identified number of tags m and all labels to be identified after the completion of comparison The size of number M, the value that all number of tags M to be identified are reached once the value of m is identified with regard to end-tag, is all identified in all labels After the completion, reader need not be sought again.
It is above-mentioned based on time slot technology come the side of the tag recognition of anti-collision when realizing to identifying multiple labels in the short time Method, by CRC check, UID matchings and number of tags self-test, this judges three times, largely avoids anti-collision and checks process In the unrelated label of misrecognition and omit respective labels the problem of.Compared to the common mode only with time slot, this scheme is first The correctness for first passing through CRC check verification label return instruction frame, prevents during air borne loss of data to influence Reading of the reader to label UID data;And then it is verified whether in matching reader by comparing the UID of Echo Tag The libraries UID ensure that accuracy of the reader when carrying out tag recognition;Finally sought in reader has label less than on-site In the case of, then by reader self-test, it is confirmed whether that all respective labels to be identified are all identified and check completion, to have Effect avoids omitting label.

Claims (6)

1. a kind of computer readable storage medium is stored with and realizes multi-tag anti-collision radio frequency identification based on time slot technology Computer program, which is characterized in that the program realizes following steps when being executed by processor:
UID obtaining steps:It obtains the unique identifier UID of label to be identified, to obtain being stored with all marks to be identified The quantity of all labels to be identified is recorded as M by the libraries UID of the unique identifier UID of label;
Time slot partiting step:Its read access time sought is divided into N number of time slot unit;
Tag match step:Its according to the time sequencing of N number of time slot unit judge each time slot unit label whether Successful match sends label of the label shutdown signal to successful match if successful match, records the value of identified number of tags m For m+1;
Above-mentioned tag match step includes UID verification steps:Its judge the unique identifier UID of label currently identified whether In the libraries UID, the tag match success if being judged as YES;
Recycle matching step:It compares identified number of tags m and all to be identified after the completion of N number of time slot unit compares Number of tags M size, if m be less than M if jump to time slot partiting step, if m be equal to M end-tags identification.
2. a kind of computer readable storage medium according to claim 1, which is characterized in that the tag match step packet Include CRC check step:It receives the answer signal that the label is sent out, and CRC check is carried out to the answer signal, if CRC check As a result it is successfully then tag match success.
3. a kind of computer readable storage medium according to claim 1, which is characterized in that the time slot unit number N More than or equal to all number of tags M to be identified.
4. a kind of computer readable storage medium according to claim 1, which is characterized in that if currently performed time slot Partiting step is not to execute for the first time, then the value of time slot unit number N subtracts identified not less than all number of tags M to be identified The value of number of tags m.
5. a kind of computer readable storage medium according to claim 1, which is characterized in that if currently performed cycle It is not to execute for the first time with step, then it compares identified number of tags m and needed after the completion of each time slot unit compares The size of the number of tags M of identification jumps to time slot partiting step if m is less than M, if m is identified equal to M end-tags.
6. a kind of radio-frequency identification reader, including processor, it is characterized in that:Further include as described in any one of Claims 1 to 5 Computer readable storage medium, the computer program on the computer readable storage medium can be executed by processor.
CN201710891112.4A 2017-09-27 2017-09-27 A kind of computer readable storage medium and the radio-frequency identification reader using the medium Active CN107798270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710891112.4A CN107798270B (en) 2017-09-27 2017-09-27 A kind of computer readable storage medium and the radio-frequency identification reader using the medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710891112.4A CN107798270B (en) 2017-09-27 2017-09-27 A kind of computer readable storage medium and the radio-frequency identification reader using the medium

Publications (2)

Publication Number Publication Date
CN107798270A CN107798270A (en) 2018-03-13
CN107798270B true CN107798270B (en) 2018-08-07

Family

ID=61532586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710891112.4A Active CN107798270B (en) 2017-09-27 2017-09-27 A kind of computer readable storage medium and the radio-frequency identification reader using the medium

Country Status (1)

Country Link
CN (1) CN107798270B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679099A (en) * 2013-12-13 2014-03-26 浙江银江研究院有限公司 Anti-collision method applied to mass-RFID-label system
CN104794509A (en) * 2015-05-04 2015-07-22 江西理工大学 RFID (radio frequency identification) anti-collision method based on adaptive searching of information bit coding

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB201006907D0 (en) * 2010-04-26 2010-06-09 Cambridge Entpr Ltd RFID TAG interrogation systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679099A (en) * 2013-12-13 2014-03-26 浙江银江研究院有限公司 Anti-collision method applied to mass-RFID-label system
CN104794509A (en) * 2015-05-04 2015-07-22 江西理工大学 RFID (radio frequency identification) anti-collision method based on adaptive searching of information bit coding

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
射频识别系统中的防碰撞算法;刘冬生等;《华中科技大学学报(自然科学版)》;20060930;第34卷(第9期);第57-59页 *

Also Published As

Publication number Publication date
CN107798270A (en) 2018-03-13

Similar Documents

Publication Publication Date Title
US8362879B2 (en) Apparatus and method for integrated reader and tag
US9659196B2 (en) Method, apparatus and system for verifying data
CN101957923A (en) Method and reader for reading data from tags in radio frequency identification system
US20120075075A1 (en) Label anti-collision method and system
CN101866413A (en) Multi-label anti-collision method based on grouping mechanism and jumping dynamic binary recognition
CN104966113B (en) The decoding of RFID read-write system and its label return signal and conflict processing method
CN102722687A (en) Method for detecting departure of non-contact type CPU card from radio frequency field
US20220343089A1 (en) Multipurpose rfid transponder and a system for reading it
CN113553870B (en) NFC tag identification method and device, NFC equipment and storage medium
CN104331679B (en) A kind of RFID tag anti-collision method based on physical-layer network coding
US20150371066A1 (en) Radiofrequency transponder circuit
CN105654010B (en) A kind of RFID tag collision-proof method based on adaptive search strategies
CN107895131B (en) RFID label checking method in accordance with ISO15693 protocol
CN101377820B (en) Method for searching label in radio frequency recognition system and reader-writer
CN105260690B (en) RFID reader multiple antennas identifies the method and system of electronic tag
US20110163856A1 (en) Intelligent rfid tag identifier
CN107798270B (en) A kind of computer readable storage medium and the radio-frequency identification reader using the medium
CN104361370A (en) Method for judging FM0 coding frame header of ultrahigh frequency RFID (radio frequency identification) reader
CN105743826A (en) Miller subcarrier decoding method
CN103679096A (en) Optimized RFID anti-collision method
CN104077551A (en) Radio frequency identification tag identifying method, device and system
CN101739536A (en) Method for reading and writing tags in radio-frequency recognition system and reader-writer
KR101270150B1 (en) Channel aware anti-collision sytem and method with moving rfid tags
CN114611639B (en) Radio frequency communication method and device, radio frequency communication system and storage medium
CN115048950A (en) Radio frequency synchronization method of intelligent book detection device based on CAN bus

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
CP01 Change in the name or title of a patent holder

Address after: 523697 Zhuweitian Yifa Industrial Zone, Fenggang Town, Dongguan City, Guangdong Province

Patentee after: Chu Tianlong Co., Ltd.

Address before: 523697 Zhuweitian Yifa Industrial Zone, Fenggang Town, Dongguan City, Guangdong Province

Patentee before: Guangdong Chutian Dragon Smart Card Co., Ltd.

CP01 Change in the name or title of a patent holder
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Computer readable storage medium and radio frequency identification reader adopting medium

Effective date of registration: 20190507

Granted publication date: 20180807

Pledgee: China Co truction Bank Corp Dongguan branch

Pledgor: Chu Tianlong Co., Ltd.

Registration number: 2019440000173

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20210322

Granted publication date: 20180807

Pledgee: China Co. truction Bank Corp Dongguan branch

Pledgor: CHUTIAN DRAGON Co.,Ltd.

Registration number: 2019440000173

PC01 Cancellation of the registration of the contract for pledge of patent right