CN106815539A - 一种rfid高速空口下载方法 - Google Patents

一种rfid高速空口下载方法 Download PDF

Info

Publication number
CN106815539A
CN106815539A CN201510866299.3A CN201510866299A CN106815539A CN 106815539 A CN106815539 A CN 106815539A CN 201510866299 A CN201510866299 A CN 201510866299A CN 106815539 A CN106815539 A CN 106815539A
Authority
CN
China
Prior art keywords
data
buffer area
electronic tag
radio
data buffer
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.)
Granted
Application number
CN201510866299.3A
Other languages
English (en)
Other versions
CN106815539B (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.)
Huada Hengxin Technology Co.,Ltd.
Original Assignee
Huada Semiconductor 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 Huada Semiconductor Co Ltd filed Critical Huada Semiconductor Co Ltd
Priority to CN201510866299.3A priority Critical patent/CN106815539B/zh
Publication of CN106815539A publication Critical patent/CN106815539A/zh
Application granted granted Critical
Publication of CN106815539B publication Critical patent/CN106815539B/zh
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/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • 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/0022Methods 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 arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

本发明提供了一种RFID高速空口下载方法,包括:接收上位机发送的数据帧,确定虚拟数据缓存区为可写入状态;确定当前虚拟数据缓存区有数据,将数据写入射频模块;射频模块完成电子标签响应的接收,确定电子标签响应正确。所述下载方法建立有状态管理机制,将UART数据收发流程和射频数据收发流程分离,极大的提高了数据交互效率。适用于向有源电子标签进行批量数据更新的场合。

Description

一种RFID高速空口下载方法
技术领域
本发明涉及RFID领域,特别是一种RFID高速空口下载方法。
背景技术
RFID是射频识别(Radio Frequency Identification)的简称,它是利用无线电技术在读写器和电子标签之间建立通信,达到信息查询的目的。与传统的条形码技术相比,具有传输数据率高、通信距离远、可同时处理多个标签、标签信息可修改、环境适应性强等优点,因此成为物联网的关键使能技术,具有广泛的应用前景。
一种典型的RFID系统应包括上位机应用程序、读写机具和电子标签。一种典型的操作流程是:上位机应用程序通过通信接口(如:UART接口)向读写机具发送命令,读写机具将接收到的数据发送给电子标签并将接收到的电子标签响应返回给上位机应用程序完成一次操作流程。
所述典型的操作流程中命令首先通过通信接口由上位机应用程序发送给读写机具,再由读写机具发送给电子标签,接收完电子标签的响应并返回给上位机后进行下一个操作流程。这样存在的问题是:当需要向电子标签多批量传输数据时,例如更新电子标签的固件程序,这种方法的执行效率就比较低。
发明内容
本发明方案介绍的一种提高数据传输效率的方法。通过在读写机具固件中建立虚拟数据缓存区并实时监测射频模块状态,利用射频模块的射频数据发送和接收时间,接收和处理上位机应用程序发送的数据,从而提高数据的传输效率。本发明提供了一种RFID高速空口下载方法,适用于向电子标签进行批量数据传输的场合。
所述方法的具体实现是运行在读写机具中的固件代码。所述读写机具硬件中包含有与上位机应用程序进行数据交互的UART模块(通信接口)以及与电子标签进行数据交互的射频模块。所述读写机具固件中包含虚拟数据缓存区FIFO以及状态管理机制。
所述虚拟数据缓存区是指在读写机具固件中开辟的内存空间。
所述状态管理机制是当指UART模块接收到上位机应用程序发送的数据时,判断虚拟数据缓存区是否可写入数据;如果可写入,则将数据写入虚拟数据缓存区;
所述状态管理机制是指当虚拟数据缓存区有数据时,将数据写入射频模块。在射频模块发送射频数据的同时,继续接收上位机应用程序发送的数据,根据虚拟数据缓存区的状态判断是否继续向虚拟数据缓存区写入数据。
所述状态管理机制需要实时监测射频模块状态,当射频模块接收完电子标签的响应时,退出上位机应用程序发送数据的接收,读取并判断电子标签的响应正确后,从虚拟数据缓存区中读取后续数据并写入射频模块。
附图说明
图1高速空口下载方法的一种典型应用;
图2 UART、射频、FIFO状态转换示例;
图3为本发明所述的RFID高速空口下载方法流程示意图。
具体实施方式
此处所描述的具体实施实例仅仅用以解释本发明专利,并不用于限定本发明专利。
本发明提供了一种RFID高速空口下载方法,适用于向电子标签进行批量数据传输的场合。在本实施方式中:1条UART数据帧包含15条射频数据帧,虚拟数据缓存区可存储30条射频数据帧。当FIFO中剩余空口数据帧的数量少于15条后,FIFO为可写入状态,上位机才能进行后续数据的发送。参照图1和图2将该方法的具体实施描述如下:
步骤301:接收数据帧,确定虚拟数据缓存区为可写入状态;
读写机具接收上位机发送的数据帧,并通过状态管理机制判断虚拟数据缓存区是否为可写入状态,如果是,则将数据写入虚拟数据缓存区,如果否,则丢弃该数据帧并将当前的虚拟数据缓存区状态返回给上位机应用程序。
步骤302:判断当前虚拟数据缓存区是否有数据;
读写机具判断当前虚拟数据缓存区中是否有数据,如果是,则启动射频模块并将数据写入到射频模块中,如果否,则返回步骤301。
步骤303:射频模块是否完成电子标签响应的接收
继续进行上位机应用程序数据帧接收的同时,监测射频模块是否完成电子标签响应的接收,如果是,则读取射频模块接收到的电子标签响应,如果电子标签超时无响应,则执行步骤305。
步骤304:判断电子标签的响应是否正确,如果是,则返回步骤302,如果否,则执行步骤305;
步骤305:将错误信息返回给上位机,清空虚拟数据缓存区并返回第一步执行。

Claims (3)

1.一种RFID高速空口下载方法,其特征在于,该方法包括:
接收上位机发送的数据帧,确定虚拟数据缓存区为可写入状态;
确定当前虚拟数据缓存区有数据,将数据写入射频模块;
射频模块完成电子标签响应的接收,确定电子标签响应正确。
2.根据权利要求1所述的方法,其特征在于,该方法进一步包括:
确定电子标签响应正确,进一步确定当前虚拟数据缓存区有数据,将数据写入射频模块;
确定电子标签响应不正确,将错误信息返回上位机,清空虚拟数据缓存区,然后执行所述接收上位机发送的数据帧。
3.根据权利要求2所述的方法,其特征在于,所述虚拟数据缓存区为读写机具固件中开辟的内存空间。
CN201510866299.3A 2015-12-02 2015-12-02 一种rfid高速空口下载方法 Active CN106815539B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510866299.3A CN106815539B (zh) 2015-12-02 2015-12-02 一种rfid高速空口下载方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510866299.3A CN106815539B (zh) 2015-12-02 2015-12-02 一种rfid高速空口下载方法

Publications (2)

Publication Number Publication Date
CN106815539A true CN106815539A (zh) 2017-06-09
CN106815539B CN106815539B (zh) 2020-02-18

Family

ID=59108639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510866299.3A Active CN106815539B (zh) 2015-12-02 2015-12-02 一种rfid高速空口下载方法

Country Status (1)

Country Link
CN (1) CN106815539B (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5496992A (en) * 1994-06-21 1996-03-05 Lxe, Inc. Dual trigger multiplexed data entry terminal
US6543695B1 (en) * 1996-08-02 2003-04-08 Symbol Technologies, Inc. Housing for hand held scanner
CN1885303A (zh) * 2006-07-04 2006-12-27 中国海洋大学 前置式rfid读写一体机
CN102073837A (zh) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 射频识别系统中实现标签清点的装置及方法
CN102521157A (zh) * 2011-12-13 2012-06-27 曙光信息产业(北京)有限公司 一种在fpga上实现板载存储资源管理的系统和方法
US20120284756A1 (en) * 2011-05-06 2012-11-08 Verizon Patent And Licensing, Inc. Video on demand architecture
CN103455611A (zh) * 2013-09-06 2013-12-18 北京邮电大学 Rfid中间件的数据处理方法
CN203930890U (zh) * 2014-04-09 2014-11-05 南京铁道职业技术学院 一种简易sd卡读写器

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5496992A (en) * 1994-06-21 1996-03-05 Lxe, Inc. Dual trigger multiplexed data entry terminal
US6543695B1 (en) * 1996-08-02 2003-04-08 Symbol Technologies, Inc. Housing for hand held scanner
CN1885303A (zh) * 2006-07-04 2006-12-27 中国海洋大学 前置式rfid读写一体机
CN102073837A (zh) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 射频识别系统中实现标签清点的装置及方法
US20120284756A1 (en) * 2011-05-06 2012-11-08 Verizon Patent And Licensing, Inc. Video on demand architecture
CN102521157A (zh) * 2011-12-13 2012-06-27 曙光信息产业(北京)有限公司 一种在fpga上实现板载存储资源管理的系统和方法
CN103455611A (zh) * 2013-09-06 2013-12-18 北京邮电大学 Rfid中间件的数据处理方法
CN203930890U (zh) * 2014-04-09 2014-11-05 南京铁道职业技术学院 一种简易sd卡读写器

Also Published As

Publication number Publication date
CN106815539B (zh) 2020-02-18

Similar Documents

Publication Publication Date Title
CN1706205B (zh) 使无源rfid标签的无用重复协商次数最少的系统和方法
US9659196B2 (en) Method, apparatus and system for verifying data
US8174367B1 (en) Causing RFID tags to backscatter more codes
US9805223B1 (en) Sequential encoding for RFID tags
US20070046432A1 (en) Local processing of received RFID tag responses
US20070236331A1 (en) Preventing timeout of RFID tag in timed state of air-interface protocol
US20070069863A1 (en) IC tag, method of controlling the IC tag, and IC tag system
EP2030456B1 (en) Rfid tag user memory indication
CN1739856A (zh) 具有关于哪些数据读写操作可通过无线通信执行的标签的试管架
US8164424B2 (en) System and method of integrated processing of electronic tag
CN115190997A (zh) 转换无线器件信号的系统和方法
US9405941B2 (en) Simultaneous programming of selected tags
US20110298593A1 (en) Electronic device and method for controlling the same
CN106815539A (zh) 一种rfid高速空口下载方法
CN110135211B (zh) 一种能够快速准确盘存rfid射频标签数量的方法及装置
CN103927506A (zh) 基于动态时隙冲突跟踪树的rifd防碰撞方法
CN101789069B (zh) 时序控制方法和读卡器
TWI467492B (zh) 應用射頻識別讀取器之射頻識別系統及其運作方法
CN103489016A (zh) Rfid防冲突读写装置及其控制方法
CN100535922C (zh) 一种用于射频识别的多标签接入方法
CN104881694A (zh) 一种基于rfid双协议的数据读写方法、终端及系统
CN101324915A (zh) 电子标签识别方法、射频识别系统和电子标签
CN108009454B (zh) 一种低功耗解码的方法及装置
CN101661547B (zh) 一种射频识别系统中向标签写数据的方法及装置
CN105550615A (zh) 一种电子价格标签的启停系统及其方法

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20190905

Address after: 610015 China (Sichuan) Free Trade Pilot Zone

Applicant after: Sichuan Huada Hengxin Technology Co., Ltd.

Address before: Room 305, Block Y1, 112 Liangxiu Road, Pudong New Area, Shanghai, 201203

Applicant before: HUADA SEMICONDUCTOR CO., LTD.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Floor 17, unit 2, building 6, 171 hele 2nd Street, Chengdu hi tech Zone, Chengdu pilot Free Trade Zone, Sichuan 610212

Patentee after: Huada Hengxin Technology Co.,Ltd.

Address before: 610015 China (Sichuan) pilot Free Trade Zone 1-3 / F, block B, building 4, 200 Tianfu 5th Street, Chengdu hi tech Zone

Patentee before: Sichuan Huada Hengxin Technology Co.,Ltd.

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

Denomination of invention: A RFID high-speed air interface download method

Effective date of registration: 20220128

Granted publication date: 20200218

Pledgee: Tianfu New Area Branch of Bank of Chengdu Co.,Ltd.

Pledgor: Huada Hengxin Technology Co.,Ltd.

Registration number: Y2022510000032