CN110457970A - 一种rfid芯片上存储器的自校验方法 - Google Patents

一种rfid芯片上存储器的自校验方法 Download PDF

Info

Publication number
CN110457970A
CN110457970A CN201910858244.6A CN201910858244A CN110457970A CN 110457970 A CN110457970 A CN 110457970A CN 201910858244 A CN201910858244 A CN 201910858244A CN 110457970 A CN110457970 A CN 110457970A
Authority
CN
China
Prior art keywords
odd
tid
sequence number
memory
rfid chip
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
CN201910858244.6A
Other languages
English (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.)
Shanghai Mingsi Microelectronics Co Ltd
Original Assignee
Shanghai Mingsi Microelectronics 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 Shanghai Mingsi Microelectronics Co Ltd filed Critical Shanghai Mingsi Microelectronics Co Ltd
Priority to CN201910858244.6A priority Critical patent/CN110457970A/zh
Publication of CN110457970A publication Critical patent/CN110457970A/zh
Pending legal-status Critical Current

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.
    • G06K7/10029Methods 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. the collision being resolved in the time domain, e.g. using binary tree search or RFID responses allocated to a random time slot
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C29/38Response verification devices
    • G11C29/42Response verification devices using error correcting codes [ECC] or parity check

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

本发明提出一种RFID芯片上,TID存储器中序列号的自校验方法‑‑奇校验。使用异或运算,计算出序列号中“1”的个数,并产生相应的校验位置于存储区中。用户读取序列号后,用同样的异或运算,计算出检验码并与存储器中的预置校验位比较,一致则代表序列号正确,否则代表序列号有误。

Description

一种RFID芯片上存储器的自校验方法
技术领域
本发明属于集成电路芯片设计领域,具体来说属于超高频射频识别芯片领域。
背景技术
射频识别技术(Radio Frequency Identification,RFID)是一项利用射频信号通过空间耦合实现非接触信息传输,并通过传输的信息实现自动目标识别的技术,无需人工干预。
RFID系统由读写器、标签和软件系统组成。在高速发展的物联网时代,需要读卡器可同时快速识别多个标签,达到便捷的操作。给标签的识别技术提出了新的要求和挑战。读卡器通过无线通信来识别标签。如果多张标签在同一时间内发送自己的ID给读卡器,必定会产生冲突。为了解决冲突问题,做到快速而准确筛选出所需的标签。每一张标签都需要一个序列号作为唯一的标识。制造厂家在标签出厂之前,已经将此序列号固化,不可被更改,简而言之,世界上没有任何两张标签有相同的序列号。因此在标签被广泛应用于物联网中的当今社会,提高标签序列号识别的能力是毋庸置疑的,增加序列号读取的可靠性和稳定性也成为了另一个研究的方向。
发明内容
RFID的标签存储区主要分位四大类:预留存储区,EPC(Electronic ProductCode,简称EPC)存储区,TID(Tag Identifier,简称TID)存储区和用户自定义存储区。如图1所示。
读卡器与标签通信时,用户会根据需求,自定义一些特殊的标签命令。这些命令,只有在得到标签厂家标识与存于标签TID存储区的厂家标识相一致后才可使用。标签TID存储区中的96位数据,包含了标签和提供商特有的识别信息。TID数据在工厂测试过程中,这些识别信息被直接写入芯片TID存储区中。用户只能读取该数,不能改写它的值。为了保证序列号能正确地被用户读取,需要使用校验方法来确保正确性。
TID具备唯一性的原因,依赖于序列号、芯片出厂版本等信息,它们位于TID区的最后48位(30h-5Fh),如图2所示,38位SNR(Serial Number)就是序列号所在位置。
本实施例中,针对TID中最后48位数据信息,为了增强编码和数据读取的可靠性,也为了让读卡器快速检测出TID数据的变化或者传输过程中的错误,标签在出厂测试过程中,将序列号经过奇校验运算得出校验位值,并存放于存储区。如图2中,红色标注的奇校验码,是本发明提出的一种校验方式——奇校验。出厂后,用户通过读卡器读出序列号后,也使用相同的奇校验方法,自行计算TID中48位数据奇校验值,并检测其正确性。具体方法如下:
本实施例中,奇校验的本质,是将读取出的二进制数据中“1”的个数进行统计,如果数据位加上校验位加起来1的个数是一个奇数,那么就认为这个数据串符合奇校验规则。例如:
序列码100110100110100110100110100110100110100110100110
其中含有24个“1”,24是偶数,所以添上校验码“1”后的个数是一个奇数。
序列码101110101110101110101110101110101110101110101111
其中含有33个“1”,33是奇数,所以添上校验码“0”后的个数还是个奇数。
附图说明
附图1示例了超高频芯片存储器的组成方式。
附图2示例了TID存储区的具体分布。
附图3示例了TID奇校验运算框图。
具体实施方式
本实施例中,具体实施方法如下:
排除图3中,红色标注的奇校验位,把TID存储区47位数据进行异或运算,如果计算结果得到1,那么红色校验位就是0;如果计算结果得到0,那么红色校验位就是1。运算方法如下:
X=TID[48]⊕TID[49]⊕…⊕TID[94]⊕TID[95]
假如X=1,则图3中,红色校验位的值是0。
假如X=0,则图3中,红色校验位的值是1。
本实施例中,在出厂设置阶段,运用以上算法,计算TID序列码信息的X值和校验码并存放于存储区中。在标签的用户端,按照相同算法得出校验码,再与其接收到的校验码进行比较,由此判断接受到的序列码等信息是否正确。如果读取的序列号等信息不符合此规则,则认为数据有误,当前的标签是无效的,或者标签无法相应各类特殊的用户自定义命令。
尽管本发明的内容已经通过上述优选实施例作了详细介绍,在本领域技术人员阅读了上述内容后,对于本发明的多种修改和替代都将是显而易见的。以上的描述和附图仅仅是实施本发明的范例,但应当认识到上述的描述不应被认为是对本发明的限制。

Claims (4)

1.一种RFID芯片上TID存储器的自校验方法,其特征在于,使用奇校验方法为TID存储区中的序列号做校验,当序列号含有奇数个“1”时,校验码为“0”,当序列号含有偶数个“1”时,校验码为“1”。
2.如权利要求1所述的一种RFID芯片上TID存储器的自校验方法,其特征在于,针对TID中48位序列号等信息,为了增强编码和数据读取的可靠性,也为了让读卡器快速检测出TID数据的变化或者传输过程中的错误,标签在出厂测试过程中,将序列号经过奇校验运算得出校验位值,并存放于存储区。
3.如权利要求1所述的一种RFID芯片上TID存储器的自校验方法,其特征在于,如图2中,红色标注的是奇校验码。出厂后,用户通过读卡器读出序列号后,也使用相同的奇校验方法,自行计算TID中序列号等信息的奇校验值,并检测序列号是否正确。
4.如权利要求1所述的一种RFID芯片上TID存储器的自校验方法,其特征在于,本实施例中,奇校验的本质,是将读取出的二进制数据中“1”的个数进行统计,如果数据位加上校验位加起来1的个数是一个奇数,那么就认为这个数据串符合奇校验规则。
CN201910858244.6A 2019-09-12 2019-09-12 一种rfid芯片上存储器的自校验方法 Pending CN110457970A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910858244.6A CN110457970A (zh) 2019-09-12 2019-09-12 一种rfid芯片上存储器的自校验方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910858244.6A CN110457970A (zh) 2019-09-12 2019-09-12 一种rfid芯片上存储器的自校验方法

Publications (1)

Publication Number Publication Date
CN110457970A true CN110457970A (zh) 2019-11-15

Family

ID=68491619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910858244.6A Pending CN110457970A (zh) 2019-09-12 2019-09-12 一种rfid芯片上存储器的自校验方法

Country Status (1)

Country Link
CN (1) CN110457970A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950680A (zh) * 2020-07-06 2020-11-17 智汇芯联(厦门)微电子有限公司 Rfid标签芯片和rfid标签芯片的校验方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013116417A1 (en) * 2012-02-01 2013-08-08 Corning Incorporated Protocol for communications between a radio frequency identification (rfid) tag and a connected device, and related systems and methods
CN103745253A (zh) * 2013-12-23 2014-04-23 宁波立芯射频股份有限公司 基于双芯片电子标签的加密校验方法
CN103973272A (zh) * 2013-01-30 2014-08-06 德克萨斯仪器股份有限公司 非易失性逻辑阵列中使用奇偶校验的错误检测
CN105005511A (zh) * 2015-06-30 2015-10-28 宁波东海仪表水道有限公司 一种串行通信数据校验方法
CN106982122A (zh) * 2017-03-22 2017-07-25 江苏金易达供应链管理有限公司 一种用于物流系统rfid应用的加密方法
CN206757660U (zh) * 2016-08-24 2017-12-15 岱立(厦门)物联网科技有限公司 一种用于电子标签epc防复制的rfid系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013116417A1 (en) * 2012-02-01 2013-08-08 Corning Incorporated Protocol for communications between a radio frequency identification (rfid) tag and a connected device, and related systems and methods
CN103973272A (zh) * 2013-01-30 2014-08-06 德克萨斯仪器股份有限公司 非易失性逻辑阵列中使用奇偶校验的错误检测
CN103745253A (zh) * 2013-12-23 2014-04-23 宁波立芯射频股份有限公司 基于双芯片电子标签的加密校验方法
CN105005511A (zh) * 2015-06-30 2015-10-28 宁波东海仪表水道有限公司 一种串行通信数据校验方法
CN206757660U (zh) * 2016-08-24 2017-12-15 岱立(厦门)物联网科技有限公司 一种用于电子标签epc防复制的rfid系统
CN106982122A (zh) * 2017-03-22 2017-07-25 江苏金易达供应链管理有限公司 一种用于物流系统rfid应用的加密方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950680A (zh) * 2020-07-06 2020-11-17 智汇芯联(厦门)微电子有限公司 Rfid标签芯片和rfid标签芯片的校验方法

Similar Documents

Publication Publication Date Title
US8994514B1 (en) Event indicator creation using first and second sets of values
US7761347B2 (en) Method and system for identifying and managing radio frequency identification (RF-ID) attached objects
CN100354874C (zh) 通过安全通信优化二叉树遍历
US7450009B2 (en) Wireless tag reader, wireless tag system, computer readable medium and wireless communication method
US9317981B2 (en) Method and device for protecting products against counterfeiting
WO2011009768A2 (en) A method and reader for reading tag data a radio frequency identification system
US8543056B2 (en) Communication device, communication method, and program
CN101159025B (zh) 射频标签读取器和方法
CN104091184B (zh) 电子标签检测方法及系统
US20060027646A1 (en) Identification storage medium arrangement, a read apparatus and an identification system
US10007815B2 (en) Production method, RFID transponder, authentication method, reader device and computer program product
CN103218591A (zh) 一种基于射频识别技术的防伪系统及其工作方法
US20150371066A1 (en) Radiofrequency transponder circuit
BRPI0904402A2 (pt) método de detecção de uma etiqueta rfid falsa
CN113581792B (zh) 托盘位置校验方法、装置和托盘就位系统
US7737822B2 (en) Method of recognizing whether a transponder belongs to a group of transponders
CN110430059A (zh) 一种射频识别安全通信方法及标签实现方法
US20170063490A1 (en) Selective application of error detection and correction for radio frequency identification
CN110457970A (zh) 一种rfid芯片上存储器的自校验方法
CN106709386B (zh) 智能卡数据写入方法及装置
US20120068831A1 (en) Wireless tag writing/reading apparatus and method by the same
CN105005751B (zh) 一种rfid标签芯片信号反射方法
US10380475B2 (en) RFID integrated circuit
CN106407860A (zh) 多卡识别的防冲突方法及装置
CN115526284A (zh) 一种rfid标签芯片的标签识别号生成策略及芯片

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