CN106909416A - A kind of upgrade method of RFID label tag - Google Patents
A kind of upgrade method of RFID label tag Download PDFInfo
- Publication number
- CN106909416A CN106909416A CN201610205729.1A CN201610205729A CN106909416A CN 106909416 A CN106909416 A CN 106909416A CN 201610205729 A CN201610205729 A CN 201610205729A CN 106909416 A CN106909416 A CN 106909416A
- Authority
- CN
- China
- Prior art keywords
- program
- rompaq
- rfid label
- upgrade method
- stage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/0723—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K19/00—Record carriers for use with machines and with at least a part designed to carry digital markings
- G06K19/06—Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
- G06K19/067—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
- G06K19/07—Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
- G06K19/077—Constructional details, e.g. mounting of circuits in the carrier
- G06K19/07749—Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card
- G06K19/07758—Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card arrangements for adhering the record carrier to further objects or living beings, functioning as an identification tag
Abstract
The invention discloses a kind of upgrade method of RFID label tag, method includes:Use the renewal for wirelessly completing tag program, wherein, ROMPaq is in inside tags together with tag program and memory space is separated, and the program file that the ROMPaq is performed for upgrading first after label reset is sent to ROMPaq in the form of rf data and completes write-in.
Description
Technical field
The present invention relates to radio frequency identification (RFID, Radio Frequency Identification) field, more particularly to one kind
The upgrade method of RFID label tag.
Background technology
RFID sets up communication using radiotechnics between read write line and electronic tag, reaches the purpose of information inquiry.With tradition
Bar codes technique compare, can repair with transmission data rate is high, communication distance remote, can simultaneously process multiple labels, label information
Change, the advantages of environmental suitability is strong, therefore Key Enabling Techniques as Internet of Things are with a wide range of applications.
According to the difference of implementation, RFID is divided to for two kinds of passive RFID and active RFID.Passive RFID tags itself are not
Charged pool, the power supply of need of work is obtained from the electromagnetic field of read write line;Active RFID tag itself possesses battery, without from reading
Acquisition power supply is operated in writing the electromagnetic field of device.
Awakening technology is typically divided into external wake, cycle (inside) and wakes up two kinds.External wake include using low frequency wake-up,
Infrared wake-up, magnetic field wake-up etc.;Periodic awakening refers to that label is in periodic dormancy, intercepts state, and shape is intercepted in label
State, read write line can send order to wake up label to label.The general power consumption of external wake is relatively low, but needs to increase extra hard
Part is consumed, and causes cost to increase, and wake-up distance often differs greatly with action of radio distance, therefore in active RFID, week
It is more extensive that phase wakes up application.
Upgrading program of embedded system technology is completed by operating in one section of ROMPaq inside embedded system, the program
A kind of self-programming mechanism is provided in itself for embedded system.System runs ROMPaq first after electrification reset, and initialization is completed
After necessary hardware resource, program upgrading is judged whether to, if it is, configuration processor upgrading is corresponding by new procedures write-in
Address space, completes the new procedures operation of loading system functional areas after upgrading.
Active RFID tag encapsulation after the completion of, typically no external interface, now if it is desired to upgrading active RFID tag program,
Can only wirelessly realize;The transmission of data of eating dishes without rice or wine is easily monitored and disturbs.Therefore, how to ensure by wireless
Mode enters the security and reliability when line program is upgraded to label, reduces power consumption, is problem demanding prompt solution.
The content of the invention
To solve existing technical problem, the embodiment of the present invention is expected to provide a kind of upgrade method of RFID label tag.
For achieving the above object, the embodiment of the present invention is realized in the following ways:
A kind of upgrade method of radio frequency identification (RFID) labels is the embodiment of the invention provides, methods described includes:Using wireless
Mode completes the renewal of tag program, wherein, ROMPaq is in inside tags together with tag program and memory space is separated, institute
State ROMPaq label reset after be performed for first upgrading program file upgrading journey is sent in the form of rf data
Sequence simultaneously completes write-in.
Wherein, the ROMPaq uses the mechanism of periodic awakening.
Wherein, the data of described program file are transmitted in the form of ciphertext, and the overall check value of program file clear data exists
Upgrading needs to be sent to the ROMPaq before terminating, and the ROMPaq judges the complete of data receiver according to file entirety check value
Property.
Wherein, the ROMPaq includes intercepting stage, Programmable detection stage, dormant stage and update phase;
The previous stage of the update phase is the stage of intercepting, and described program detection-phase was intercepted after the stage described in.
Wherein, intercepted the stage described, the ROMPaq is in rf data reception state, when receiving startup upgrade command
Enter update phase afterwards.
Wherein, in described program detection-phase, the validity to the tag program judges, if it is valid, terminating to rise
The operation of level program, loads and runs tag program.
Wherein, in the dormant stage, start wake up timer first, then label is stopped into resting state, wakes up
Timers trigger backed off after random dormancy.
Wherein, in the update phase, start overtime timer, receive program upgrade command, journey need to be completed in time-out time
Sequence is upgraded, and otherwise exits upgrading.
Wherein, memory space where the ROMPaq is protected, and the data in the space will not be wiped free of or change in update phase
Write.
Wherein, the reset is any one of following reset case:Electrification reset, warm reset, hardware reset, watchdog reset.
Wherein, the cycle of the periodic wakeup, can be according to application scenarios sets itself;The dormancy time, page can according to should
Use scene sets itself.
A kind of upgrade method of RFID label tag provided in an embodiment of the present invention, uses the renewal for wirelessly completing tag program;
ROMPaq is in inside tags together with tag program and memory space is separated, and ROMPaq must first be held after label reset
OK, program file is sent to ROMPaq in the form of rf data and completes write-in.The ROMPaq employs periodic awakening
Mechanism reducing stand-by power consumption;The data of described program file are transmitted in the form of ciphertext, whole program file plaintext number
According to check value ROMPaq need to be sent to ensure the integrality of file reception.The method of the embodiment of the present invention is low in energy consumption, uses
Ciphertext is transmitted and carries out overall verification to program file, wirelessly realizes that tag program is upgraded, it is adaptable to label upgrading journey
Occasion high is compared with stability requirement to power consumption, security during sequence.
Brief description of the drawings
Fig. 1 is embodiment of the present invention RFID label tag state transition diagram;
Fig. 2 is the upgrading schematic flow sheet of embodiment of the present invention RFID label tag.
Specific embodiment
The technical solution of the present invention is further elaborated with specific embodiment below in conjunction with the accompanying drawings.
The embodiment of the present invention provides a kind of upgrade method of RFID label tag, it is intended to solve to power consumption, security and reliability requirement ratio
Problem that is higher and needing wirelessly to enter label line program upgrading.
The embodiment of the present invention uses the renewal wirelessly realized to tag program;The ROMPaq is in together with tag program
Inside tags and memory space separation, ROMPaq must first be performed after label reset, and program file is with rf data
Form is sent to ROMPaq and completes write-in.The ROMPaq employs the mechanism of periodic awakening to reduce stand-by power consumption;Institute
The data for stating program file are transmitted in the form of ciphertext, and the check value of whole program file clear data is needed before upgrading terminates
ROMPaq is sent to, ROMPaq judges the integrality of data receiver according to file entirety check value.The side of the embodiment of the present invention
Method is low in energy consumption, is transmitted using ciphertext and carries out overall verification to program file, wirelessly realizes that tag program is upgraded, and fits
Occasion high is compared with stability requirement to security during for label ROMPaq.
It should be noted that the ROMPaq of the embodiment of the present invention need to include the following four stage:Intercept the stage, the Programmable detection stage,
Dormant stage and update phase;Wherein,
Intercept the stage, ROMPaq is in rf data reception state, update phase is entered after receiving and starting upgrade command;
Programmable detection stage, the validity to tag program judges, if it is valid, terminate the operation of ROMPaq, loading
And run tag program;
Dormant stage, start wake up timer first, then label is stopped into resting state, wake up timers trigger and retreat
Go out dormancy;
Update phase, starts overtime timer, receives program upgrade command, and program upgrading need to be completed in time-out time, otherwise moves back
Go out upgrading.
In addition, for the periodic awakening, cycle and dormancy time can be according to practical application scene sets itselfs.Intercept the stage
Time can set according to actual needs, typically, could be arranged to two transmission times of startup upgrade command, can not only
Ensure that each wake-up period can upgrade into program, the stand-by power consumption of label is also reduced as far as possible.
The upgrade method of the RFID label tag of the embodiment of the present invention is further elaborated in conjunction with specific example below.
Need to specify to eat dishes without rice or wine the frame structure of data in program escalation process, typically, by taking certain active RFID protocols frame structure as an example
Define data frame structure of eating dishes without rice or wine as shown in table 1 below:
Lead code | Synchronous code | Data length | Frame option | Message data | Check code |
4 bytes | 1 byte | 1 byte | 1 byte | ≤ 124 bytes | X bytes |
Table 1
Reference picture 1, the implementation method of the method is described as follows:
The first step, reset label enters ROMPaq, therefore tag program needs support to eat dishes without rice or wine reset command, typically, has with certain
As a example by the RFID protocol frame structure of source, reset command is defined as shown in table 2 below:
Data item | Tag ID | Order ID | Password |
Length | 8 bytes | 1 byte | 4 bytes |
Table 2
Second step, after ROMPaq initialization completes necessary hardware, into the stage of intercepting.Startup upgrade command is intercepted in the stage,
Typically, the reset command that upgrade command can be label is started, as shown in table 2.
3rd step, after the stage of intercepting receives startup upgrade command and password verification passes through, into update phase.Start time-out timing
Device, time-out time can receive program upgrade command, typically, with certain active RFID protocols frame according to practical application sets itself
As a example by structure, program upgrade command is as shown in table 3 below:
Table 3
Reference picture 2, the flow of program upgrading is as follows:
Step 1, judges whether data of eating dishes without rice or wine are the first frame program upgrade command according to command type, if it is, step 2 is performed,
If it is not, performing step 4.
Step 2, judges whether the address in order is consistent with the label firmware program initial address of agreement, if met, wipes
Except tag program is effectively identified, startup program file is integrally verified;Typically, verified using CRC16 algorithms, CRC16 is calculated
The initial value of method can voluntarily arrange.Perform step 3.
Step 3, ciphertext data calculates CRC, and the data after storage decryption simultaneously return to response.
Step 4, judges whether data of eating dishes without rice or wine are intermediate data frame according to command type, if it is not, performing step 6;If it is,
Judge whether the address in order is more than the end address of previous frame data, if it is, step 3 is performed, if it is not, performing step
Rapid 5.
Step 5, abandons the frame data, continues to data of eating dishes without rice or wine, and step 1 is performed after having received data of eating dishes without rice or wine.
Step 6, according to command type judge eat dishes without rice or wine data whether be terminate data frame, if it is not, perform step 5.If it is,
The CRC16 values in data frame are extracted, step 3 is performed, and perform step 7.
Step 7, judges whether whether the crc value in end frame consistent with the crc value that bootstrap is calculated, if unanimously, journey
Preface part has been updated over completely, and write-in tag program is effectively identified, reset label.If inconsistent, step 5 is performed.
4th step, in Programmable detection stage detection tag program whether effectively, if it is valid, jumping to tag program execution.
5th step, closes Transmit Receive Unit, starts and wakes up timer, is stopped into resting state.
6th step, wakes up timers trigger, exits dormancy into next wake-up period.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with sheet
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all cover in this hair
Within bright protection domain.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of upgrade method of radio frequency identification (RFID) labels, it is characterised in that methods described includes:Using wirelessly
The renewal of tag program is completed, wherein, ROMPaq is in inside tags together with tag program and memory space is separated, the liter
The program file that level program is performed for upgrading first after label reset is sent to ROMPaq simultaneously in the form of rf data
Complete write-in.
2. the upgrade method of RFID label tag according to claim 1, it is characterised in that the ROMPaq is called out using the cycle
Awake mechanism.
3. the upgrade method of RFID label tag according to claim 1, it is characterised in that the data of described program file are with close
The form of text is transmitted, and the overall check value of program file clear data needs to be sent to the ROMPaq before upgrading terminates,
The ROMPaq judges the integrality of data receiver according to file entirety check value.
4. the upgrade method of RFID label tag according to claim 1 or claim 2, it is characterised in that the ROMPaq includes detecing
Listen stage, Programmable detection stage, dormant stage and update phase;
Wherein, the previous stage of the update phase is the stage of intercepting, and described program detection-phase was intercepted after the stage described in.
5. the upgrade method of RFID label tag according to claim 4, it is characterised in that intercepted the stage described, the liter
Level program is in rf data reception state, and update phase is entered after receiving and starting upgrade command.
6. the upgrade method of RFID label tag according to claim 4, it is characterised in that in described program detection-phase is right
The validity of the tag program is judged, if it is valid, the operation of end ROMPaq, loads and run tag program.
7. the upgrade method of RFID label tag according to claim 4, it is characterised in that in the dormant stage, open first
Dynamic to wake up timer, then label is stopped into resting state, wakes up timers trigger backed off after random dormancy.
8. the upgrade method of RFID label tag according to claim 4, it is characterised in that in the update phase, start super
When timer, receive program upgrade command, need to be completed in time-out time program upgrade, otherwise exit upgrading.
9. according to claim 1,2 or 3 RFID label tag upgrade method, it is characterised in that where the ROMPaq
Memory space is protected, and the data in the space will not be wiped free of or rewrite in update phase.
10. the upgrade method of RFID label tag is stated according to claim 1,2 or 3, it is characterised in that the reset is following multiple
Any one of position situation:Electrification reset, warm reset, hardware reset, watchdog reset.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2015110339331 | 2015-12-23 | ||
CN201511033933 | 2015-12-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106909416A true CN106909416A (en) | 2017-06-30 |
Family
ID=59206211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610205729.1A Pending CN106909416A (en) | 2015-12-23 | 2016-04-05 | A kind of upgrade method of RFID label tag |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909416A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134425A (en) * | 2019-05-20 | 2019-08-16 | 苏州沃联网络信息科技有限责任公司 | Exempt from dismantling firmware upgrade method suitable for electronic tag |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025692A (en) * | 2007-03-23 | 2007-08-29 | 东莞市太平洋计算机科技有限公司 | Programme upgrade method for active RFID device |
CN101699398A (en) * | 2009-10-27 | 2010-04-28 | 中兴通讯股份有限公司 | RFID active tag, method for upgrading software thereof and system for upgrading software thereof |
CN101847199A (en) * | 2009-03-24 | 2010-09-29 | 复旦大学 | Security authentication method for radio frequency recognition system |
CN101980253A (en) * | 2010-10-18 | 2011-02-23 | 重庆邮电大学 | Low power consumption continuous information uploading method of microwave frequency active radio frequency identification (RFID) system |
CN103729205A (en) * | 2013-07-02 | 2014-04-16 | 深圳市金溢科技有限公司 | Electronic tag and method for upgrading electronic tag |
CN104407881A (en) * | 2014-10-28 | 2015-03-11 | 成都阿艾夫通信有限公司 | Active RFID (radio frequency identification) firmware remote upgrading method |
CN104680100A (en) * | 2013-12-03 | 2015-06-03 | 北京中电华大电子设计有限责任公司 | Active RFID (Radio Frequency Identification Device) low power consumption period awakening method |
-
2016
- 2016-04-05 CN CN201610205729.1A patent/CN106909416A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025692A (en) * | 2007-03-23 | 2007-08-29 | 东莞市太平洋计算机科技有限公司 | Programme upgrade method for active RFID device |
CN101847199A (en) * | 2009-03-24 | 2010-09-29 | 复旦大学 | Security authentication method for radio frequency recognition system |
CN101699398A (en) * | 2009-10-27 | 2010-04-28 | 中兴通讯股份有限公司 | RFID active tag, method for upgrading software thereof and system for upgrading software thereof |
CN101980253A (en) * | 2010-10-18 | 2011-02-23 | 重庆邮电大学 | Low power consumption continuous information uploading method of microwave frequency active radio frequency identification (RFID) system |
CN103729205A (en) * | 2013-07-02 | 2014-04-16 | 深圳市金溢科技有限公司 | Electronic tag and method for upgrading electronic tag |
CN104680100A (en) * | 2013-12-03 | 2015-06-03 | 北京中电华大电子设计有限责任公司 | Active RFID (Radio Frequency Identification Device) low power consumption period awakening method |
CN104407881A (en) * | 2014-10-28 | 2015-03-11 | 成都阿艾夫通信有限公司 | Active RFID (radio frequency identification) firmware remote upgrading method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134425A (en) * | 2019-05-20 | 2019-08-16 | 苏州沃联网络信息科技有限责任公司 | Exempt from dismantling firmware upgrade method suitable for electronic tag |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103118188B (en) | Application heartbeat cycle adjusting method and device, and terminal | |
CN105050025A (en) | Awakening method and device based on low-power-consumption Bluetooth radio frequency | |
EP2924642A1 (en) | Electronic information label system with adjustable wake-up update period | |
EP2649561B1 (en) | Smartcard providing an improved standby mode | |
CN104281247A (en) | Method for performing wake-up control with aid of wake-up packet, and associated apparatus | |
TWI508489B (en) | Remote wake system and method | |
CN104601203A (en) | Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment | |
EP2559313B1 (en) | Method and device of managing mtc devices in a mtc network environment | |
US11409975B2 (en) | Passive near field communication (NFC) device, method and system | |
RU2009138337A (en) | MANAGEMENT OF TIME INSTALLATION OF THE RISING COMMUNICATION LINE | |
CN104205755A (en) | Method, device, and system for delaying packets during a network-triggered wake of a computing device | |
TW200742309A (en) | Radio frequency identification systems and control methods thereof | |
CN104112156A (en) | System and method for updating electronic shelf label and updating device and method thereof | |
CN101730295B (en) | Coordination processing method for application collision of radio frequency SIM card interface | |
CN104407881A (en) | Active RFID (radio frequency identification) firmware remote upgrading method | |
CN104320317A (en) | Method and device for transmitting state of Ethernet physical layer chip | |
KR20160121876A (en) | Changing method from sleep mode to awake mode in wifi system | |
CN106909416A (en) | A kind of upgrade method of RFID label tag | |
CN104598192A (en) | Information processing method and electronic equipment | |
US8825917B2 (en) | Method, system and device for enabling USB data card with USB flash drive function to hibernate | |
WO2018010438A1 (en) | Responding method and apparatus for terminal | |
CN103986588A (en) | Computer system and far-end remote control method of computer device | |
CN111818621A (en) | Bluetooth device awakening method, device and system and electronic device | |
CN101739115A (en) | Simplified type host computer and method for wakening same | |
CN115001540A (en) | Card simulation method, NFC chip and electronic device |
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. |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170630 |