CN104407881A - Active RFID (radio frequency identification) firmware remote upgrading method - Google Patents

Active RFID (radio frequency identification) firmware remote upgrading method Download PDF

Info

Publication number
CN104407881A
CN104407881A CN201410589452.8A CN201410589452A CN104407881A CN 104407881 A CN104407881 A CN 104407881A CN 201410589452 A CN201410589452 A CN 201410589452A CN 104407881 A CN104407881 A CN 104407881A
Authority
CN
China
Prior art keywords
rfid
firmware
data
updating apparatus
signal
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
CN201410589452.8A
Other languages
Chinese (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.)
CHENGDU AIFU COMMUNICATION Co Ltd
Original Assignee
CHENGDU AIFU COMMUNICATION 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 CHENGDU AIFU COMMUNICATION Co Ltd filed Critical CHENGDU AIFU COMMUNICATION Co Ltd
Priority to CN201410589452.8A priority Critical patent/CN104407881A/en
Publication of CN104407881A publication Critical patent/CN104407881A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an active RFID (radio frequency identification device) firmware remote upgrading method. The method comprises the following steps: (1) 125K equipment acting as the upgrading equipment is adopted to transmit an activation signal to an RFID, and the RFID is enabled to start a 2.4G signal receiving function; (2) the upgrading equipment adopts a 2.4G signal to transmit a frame of firmware upgrading confirmation data to the RFID, and an MCU (micro controller unit) of the RFID is reset and enters the data transmission process of waiting for the firmware updating; (3) the upgrading equipment adopts a 2.4G signal to transmit split firmware upgrading data to the RFID, and the MCU in the RFID writes the data into specified addresses in sequence; (4) an MCU program in the RFID skips to a program updating address to perform new application firmware. The active RFID (radio frequency identification) firmware remote upgrading method solves the problem in the prior art that firmware upgrading is carried out in a manner of disassembling equipment and using a cable for data transmission; the RFID has no need to operate in a wireless data receiving state, the power consumption is greatly reduced, and the battery usage time is greatly prolonged.

Description

Active RFID firmware remote upgrade method
Technical field
The present invention relates to a kind of 2.4G active RFID upgrade method, be specifically related to a kind of active RFID firmware remote upgrade method.
Background technology
2.4G RFID is a kind of active electronic tag, and the function in label is controlled by embedded MCU wherein, will carry out the upgrading of function in its application process unavoidably.Traditional way disassembles the transmission that shell connection cable carries out upgrading or allow 2.4G receiver module real-time working carry out monitored data.Bootloader is the first paragraph code that embedded system performs after power, after the initialization that it completes CPU and related hardware, again the built-in application program of operation system image or solidification is contained in the space then jumping to operating system place in internal memory, start the operating system operation.
The defect of prior art is: the loaded down with trivial details degree that increase operates by the method that dismounting shell carries out firmware upgrade is also not suitable for operation in enormous quantities.Real-time listening method greatly will increase power consumption for the highstrung 2.4G RFID of electric quantity consumption by appreciable impact its serviceable life.
Summary of the invention
Instant invention overcomes the deficiencies in the prior art, a kind of firmware remote upgrade method being applicable to 2.4G active RFID is provided, make packaged RFID employing wireless signal when shell need not be dismantled carry out firmware upgrade, and the electric quantity consumption problem that classic method adopts real-time listening to receive 2.4G packet to bring can be reduced.
For solving above-mentioned technical matters, the present invention by the following technical solutions:
A kind of active RFID firmware remote upgrade method, described method comprises the following steps:
(1). updating apparatus adopts 125K equipment to send an activation signal to RFID, makes RFID open 2.4G signal receiving function;
(2). updating apparatus adopts 2.4G signal to send frame firmware upgrade confirmation data to RFID, the MCU in RFID is resetted and enters the data transmission procedure waiting for that firmware upgrades;
(3). firmware upgrade data after updating apparatus adopts 2.4G signal to send fractionation to RFID, data are write assigned address by MCU in RFID successively;
(4) the MCU programming jump in .RFID performs new application firmware to program updates address.
Further technical scheme is 2.4G signal is 2.4G Wireless Data Transmission signal.
Further technical scheme is that step (1) also comprises after RFID responds described activation signal, 2.4G frequency of operation is jumped to monitor frequency and start to monitor and waits for that the upgrading that the 2.4G of updating apparatus sends confirms packet.
Further technical scheme is that step (2) also comprises RFID and receives described firmware upgrade and confirm after data, adopt 2.4G to reply an answer signal to updating apparatus, then firmware runs to bootloader and waits for that updating apparatus sends new app data.
Further technical scheme is that step (3) comprising: updating apparatus starts to adopt 2.4G to send new app data to RFID successively after the upgrading receiving RFID reply confirms packet, and waits for that RFID replys notebook data bag.
Further technical scheme is that step (3) comprising: data are carried out checking data accuracy stored in the app region of Flash after receiving the app that updating apparatus sends by RFID, reply updating apparatus simultaneously.
Further technical scheme is that step (3) also comprises: updating apparatus receives the follow-up supervention of reply and gives next bag app data, and monitors the reply of notebook data bag.
Compared with prior art, the invention has the beneficial effects as follows: the invention solves and originally need to tear machine open and carry out firmware upgrade by the method that cable connects; Be in receive data by wireless state without the need to RFID, high degree reduces power consumption and improves service time of battery always.
Accompanying drawing explanation
Fig. 1 is one embodiment of the invention upgrade-system composition structured flowchart.
Fig. 2 is updating apparatus program flow diagram in one embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing, the present invention is further elaborated.
As shown in Figure 1, Fig. 1 shows upgrade-system composition structured flowchart in one embodiment of the invention, its hardware device be applied to of the present embodiment 2.4G active RFID firmware remote upgrade method comprises updating apparatus and 2.4GRFID, updating apparatus comprises the MCU of the 125K receiving circuit of updating apparatus, the 2.4G transmission circuit of updating apparatus and updating apparatus, the 125K receiving circuit of updating apparatus is connected with the MCU of updating apparatus respectively with the 2.4G transmission circuit of updating apparatus, and the MCU of updating apparatus is also connected with USB simultaneously; 2.4G RFID comprises the MCU of the 125K receiving circuit of 2.4G RFID, the 2.4G transmission circuit of 2.4G RFID and 2.4G RFID, the 125K receiving circuit of 2.4G RFID is connected with the MCU of 2.4G RFID respectively with the 2.4G transmission circuit of 2.4G RFID, and the 125K receiving circuit of the 125K receiving circuit of updating apparatus and 2.4G RFID carries out Signal transmissions, preferably carry out transmission of wireless signals, the 2.4G transmission circuit of updating apparatus and the 2.4G transmission circuit of 2.4G RFID carry out Signal transmissions, preferably, also be carry out transmission of wireless signals
As shown in Figure 2, Fig. 2 shows the updating apparatus program flow diagram of one embodiment of the invention, and first flow process sends firmware data, then sends assigned variable data.
When sending firmware data, index is by 0 s, send when index is 0 data bit this by total number while being 0 (do not comprise index) of transmission packet, start transmission program data afterwards.Next packet is sent, index+1 after receiving reply.
During assigned variable data, index reclassifies 0, and this will send total number while being 0 (do not comprise index) of packet to send data bit when index is 0, start transmission program data afterwards.Next packet is sent, index+1 after receiving reply.
Active RFID upgrade method provided by the invention, is applicable to the firmware upgrade demand of low-power consumption 2.4G active RFID.This method needs to use updating apparatus to operate, and the step of the method comprises: updating apparatus adopts short distance 125K equipment to send an activation signal, makes RFID open 2.4G signal receiving function; Updating apparatus adopts 2.4G signal to send frame firmware upgrade confirmation data to RFID, the MCU in RFID is resetted and enters the data transmission procedure waiting for that firmware upgrades; Firmware upgrade data after updating apparatus adopts 2.4G to send fractionation to RFID, data are write assigned address by RFID MCU successively; MCU programming jump performs new application firmware to program updates address.Specific embodiment is, the present embodiment is specifically described for a firmware upgrade process:
1) application upgrade equipment adopts 125k signal to send specific data to RFID, also can receive these data and be interrupted waking up by pin, and identify this particular data due to RFID in sleep procedure;
2) after RFID responds these data, 2.4G frequency of operation is jumped to monitor frequency and start to monitor and wait for that the upgrading that the 2.4G of updating apparatus sends confirms packet;
Upgrading confirm packet and response packet form as:
Table 1
Data packet head Data packet length Command type Exclusive or check
2 bytes 1 byte 1 byte 1 byte
0x0D0D 0x05 0x81 0x85
3) updating apparatus adopts 2.4G to send a frame upgrading confirmation packet to RFID, and adopt 2.4G to reply an answer signal to updating apparatus after RFID receives this packet, then firmware runs to bootloader and waits for that updating apparatus sends new app data;
4) updating apparatus starts to adopt 2.4G to send new app data to RFID successively after the upgrading receiving RFID reply confirms packet, and waits for that RFID replys notebook data bag;
5) data are carried out checking data accuracy stored in the app region of Flash after receiving the app that updating apparatus sends by RFID, reply updating apparatus simultaneously;
6) updating apparatus receives the follow-up supervention of reply and gives next bag app data, and monitors the reply of notebook data bag;
7) repetitive process 5) and 6) until new data transmission completes;
8) RFID jumps to app from bootloader and performs new firmware upgrade process and terminate.
Upgrade data and response packet transformat as:
Table 2
Data packet head Data packet length Command type Data Exclusive or check
2 bytes 1 byte 1 byte N byte 1 byte
0x0D0D 5+N 0x81 XOR
Upgrade data and response packet data field format level send mode as:
Table 3
Index (MSB is preferential) Data
2byte 16byte max
Upgrading data packet transmission example as:
Table 4
In the present embodiment, upgrade method solves originally to need to tear machine open and carry out firmware upgrade by the method that cable connects and is in receive data by wireless state without the need to RFID always, and high degree reduces power consumption and improves service time of battery.
Spoken of in this manual " embodiment ", " another embodiment ", " embodiment ", etc., refer to the specific features, structure or the feature that describe in conjunction with this embodiment and be included at least one embodiment of the application's generality description.Multiple place occurs that statement of the same race is not necessarily refer to same embodiment in the description.Furthermore, when describing specific features, structure or a feature in conjunction with any one embodiment, what advocate is also fall within the scope of the invention to realize this feature, structure or feature in conjunction with other embodiments.
Although with reference to the multiple explanatory embodiment of inventing, invention has been described here, but, should be appreciated that, those skilled in the art can design a lot of other amendment and embodiment, these amendments and embodiment will drop within spirit disclosed in the present application and spirit.More particularly, in the scope of the open claim of the application, multiple modification and improvement can be carried out to the building block of subject combination layout and/or layout.Except the modification of carrying out building block and/or layout is with except improvement, to those skilled in the art, other purposes also will be obvious.

Claims (7)

1. an active RFID firmware remote upgrade method, is characterized in that: described method comprises the following steps:
(1). updating apparatus adopts 125K equipment to send an activation signal to RFID, makes RFID open 2.4G signal receiving function;
(2). updating apparatus adopts 2.4G signal to send frame firmware upgrade confirmation data to RFID, the MCU in RFID is resetted and enters the data transmission procedure waiting for that firmware upgrades;
(3). firmware upgrade data after updating apparatus adopts 2.4G signal to send fractionation to RFID, data are write assigned address by MCU in RFID successively;
(4) the MCU programming jump in .RFID performs new application firmware to program updates address.
2. active RFID firmware remote upgrade method according to claim 1, is characterized in that described 2.4G signal is 2.4G Wireless Data Transmission signal.
3. active RFID firmware remote upgrade method according to claim 1, it is characterized in that described step (1) also comprises after RFID responds described activation signal, 2.4G frequency of operation is jumped to monitor frequency and start to monitor and wait for that the upgrading that the 2.4G of updating apparatus sends confirms packet.
4. active RFID firmware remote upgrade method according to claim 1, it is characterized in that described step (2) also comprises RFID and receives described firmware upgrade and confirm after data, adopt 2.4G to reply an answer signal to updating apparatus, then firmware runs to bootloader and waits for that updating apparatus sends new app data.
5. the active RFID firmware remote upgrade method according to claim 1 or 4, it is characterized in that described step (3) comprising: updating apparatus starts to adopt 2.4G to send new app data to RFID successively after the upgrading receiving RFID reply confirms packet, and waits for that RFID replys notebook data bag.
6. the active RFID firmware remote upgrade method according to claim 1 or 4, it is characterized in that described step (3) comprising: data are carried out checking data accuracy stored in the app region of Flash after receiving the app that updating apparatus sends by RFID, reply updating apparatus simultaneously.
7. active RFID firmware remote upgrade method according to claim 6, is characterized in that described step (3) also comprises: updating apparatus receives the follow-up supervention of reply and gives next bag app data, and monitors the reply of notebook data bag.
CN201410589452.8A 2014-10-28 2014-10-28 Active RFID (radio frequency identification) firmware remote upgrading method Pending CN104407881A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410589452.8A CN104407881A (en) 2014-10-28 2014-10-28 Active RFID (radio frequency identification) firmware remote upgrading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410589452.8A CN104407881A (en) 2014-10-28 2014-10-28 Active RFID (radio frequency identification) firmware remote upgrading method

Publications (1)

Publication Number Publication Date
CN104407881A true CN104407881A (en) 2015-03-11

Family

ID=52645514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410589452.8A Pending CN104407881A (en) 2014-10-28 2014-10-28 Active RFID (radio frequency identification) firmware remote upgrading method

Country Status (1)

Country Link
CN (1) CN104407881A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106137196A (en) * 2015-03-31 2016-11-23 西门子(深圳)磁共振有限公司 Can the method for down loading of loading firmware and download system, MR imaging apparatus
CN106909416A (en) * 2015-12-23 2017-06-30 华大半导体有限公司 A kind of upgrade method of RFID label tag
CN108170368A (en) * 2016-12-07 2018-06-15 北京忆恒创源科技有限公司 The method and system of online upgrading firmware
CN110134425A (en) * 2019-05-20 2019-08-16 苏州沃联网络信息科技有限责任公司 Exempt from dismantling firmware upgrade method suitable for electronic tag
CN111552493A (en) * 2020-04-24 2020-08-18 苏州华芯微电子股份有限公司 Software updating method for burglar alarm, burglar alarm and self-refreshing equipment
CN111726247A (en) * 2020-05-29 2020-09-29 惠州拓邦电气技术有限公司 Electronic lock firmware updating method and device, electronic lock and storage medium
CN112579134A (en) * 2020-12-31 2021-03-30 株洲菲斯罗克光电技术有限公司 Circuit board upgrading method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025692A (en) * 2007-03-23 2007-08-29 东莞市太平洋计算机科技有限公司 Programme upgrade method for active RFID device
CN102073515A (en) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 RFID (Radio Frequency Identification Device) active tag and method and system for upgrading software thereof
CN102156841A (en) * 2011-04-08 2011-08-17 中国电子技术标准化研究所 Access control method for file in active electronic tag

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025692A (en) * 2007-03-23 2007-08-29 东莞市太平洋计算机科技有限公司 Programme upgrade method for active RFID device
CN102073515A (en) * 2009-11-23 2011-05-25 天津中兴软件有限责任公司 RFID (Radio Frequency Identification Device) active tag and method and system for upgrading software thereof
CN102156841A (en) * 2011-04-08 2011-08-17 中国电子技术标准化研究所 Access control method for file in active electronic tag

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106137196A (en) * 2015-03-31 2016-11-23 西门子(深圳)磁共振有限公司 Can the method for down loading of loading firmware and download system, MR imaging apparatus
CN106137196B (en) * 2015-03-31 2019-11-12 西门子(深圳)磁共振有限公司 Can loading firmware method for down loading and download system, MR imaging apparatus
CN106909416A (en) * 2015-12-23 2017-06-30 华大半导体有限公司 A kind of upgrade method of RFID label tag
CN108170368A (en) * 2016-12-07 2018-06-15 北京忆恒创源科技有限公司 The method and system of online upgrading firmware
CN108170368B (en) * 2016-12-07 2024-01-23 北京忆恒创源科技股份有限公司 Method and system for upgrading firmware online
CN110134425A (en) * 2019-05-20 2019-08-16 苏州沃联网络信息科技有限责任公司 Exempt from dismantling firmware upgrade method suitable for electronic tag
CN111552493A (en) * 2020-04-24 2020-08-18 苏州华芯微电子股份有限公司 Software updating method for burglar alarm, burglar alarm and self-refreshing equipment
CN111726247A (en) * 2020-05-29 2020-09-29 惠州拓邦电气技术有限公司 Electronic lock firmware updating method and device, electronic lock and storage medium
CN112579134A (en) * 2020-12-31 2021-03-30 株洲菲斯罗克光电技术有限公司 Circuit board upgrading method and system

Similar Documents

Publication Publication Date Title
CN104407881A (en) Active RFID (radio frequency identification) firmware remote upgrading method
CN106598632B (en) Firmware upgrading method and device for optical module
US10412207B2 (en) Mobile terminal, power adapter, and upgrade method thereof
CN102591670A (en) Firmware upgrading system and method
CN109522165B (en) Display module testing platform
CN104601203A (en) Dynamic connection parameter regulation method and device for low-power consumption Bluetooth equipment
CN107608692A (en) Wireless burning device
CN102740279B (en) Wireless network access terminal and run method thereof
CN104239097A (en) Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal
CN104331300A (en) Server capable of directly updating setting by using substrate management controller
CN102654857A (en) Communication method capable of simulating SPI protocol by adopting GPIO interface
CN102890587A (en) Driver-free electronic whiteboard control device crossing operating system platforms
CN102214108A (en) Device and method for mass production of flash memory equipment
CN102446101A (en) System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
CN101944314A (en) Pattern generator, pattern data updating system and pattern data updating method
CN108874713B (en) Information processing method and device
CN103369711A (en) Communication connection establishment method and terminal device
CN201204030Y (en) Apparatus for updating LCD EDID
CN103986588A (en) Computer system and far-end remote control method of computer device
CN102591690A (en) Embedded system remote upgrade method
CN103677919A (en) Airborne software updating method based on serial port
CN107451067B (en) Processing method for downloading test and related product
CN103336699A (en) Upgrade method and device for embedded system software
CN105759850A (en) Holder control system based on CAN bus
US20220318000A1 (en) Communication apparatus and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: West high tech Zone Fucheng Road in Chengdu city of Sichuan province 610000 No. 399 No. 8 No. 901

Applicant after: Chengdu Aifu Communication Co., Ltd.

Address before: West high tech Zone Fucheng Road in Chengdu city of Sichuan province 610000 No. 399 No. 8 No. 901

Applicant before: Chengdu Aifu Communication Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHENGDU AIFU COMMUNICATIONS CO., LTD. TO: RFC TECHNOLOGY CO., LTD.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150311