CN110134425A - Exempt from dismantling firmware upgrade method suitable for electronic tag - Google Patents

Exempt from dismantling firmware upgrade method suitable for electronic tag Download PDF

Info

Publication number
CN110134425A
CN110134425A CN201910419407.0A CN201910419407A CN110134425A CN 110134425 A CN110134425 A CN 110134425A CN 201910419407 A CN201910419407 A CN 201910419407A CN 110134425 A CN110134425 A CN 110134425A
Authority
CN
China
Prior art keywords
firmware
electronic tag
upgrading
dismantling
exempt
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
CN201910419407.0A
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.)
Suzhou Union Network Information Technology Co Ltd
Original Assignee
Suzhou Union Network Information Technology 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 Suzhou Union Network Information Technology Co Ltd filed Critical Suzhou Union Network Information Technology Co Ltd
Priority to CN201910419407.0A priority Critical patent/CN110134425A/en
Publication of CN110134425A publication Critical patent/CN110134425A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

Exempt from dismantling firmware upgrade method suitable for electronic tag the present invention relates to a kind of comprising following steps, subpackage is sent to electronic tag after being spliced the OTA firmware of upgrading by base station;The data packet received is stored in specified region by indexed sequential and saved by electronics price tag;After completion to be received, data check is carried out, if verification passes through, enters step four, if verification does not pass through, verifies again, firmware is finally write to new starting address.It does not need to unload from shelf or showcase as a result, does not have to disassembly battery and shell, lossless upgrade may be implemented.Special programming tool is not needed, the needs that noninductive upgrading updates firmware are met.Technical staff's field conduct is not needed, producer can remotely update firmware updating, improve the convenience degree of upgrading.

Description

Exempt from dismantling firmware upgrade method suitable for electronic tag
Technical field
The present invention relates to a kind of firmware upgrade method more particularly to it is a kind of suitable for electronic tag exempt from disassemble firmware upgrade Method.
Background technique
Firmware updating is very troublesome after the factory of conditional electronic price tag, needs to dismantle battery even shell, influences life of product And appearance.Meanwhile needing by special programming tool and computer, it is cumbersome, it takes a long time.More importantly needing Technical staff needs supermarket or sales field to close a business time operation to field conduct, not only troublesome to be also possible to cause economy to user Loss.
In view of the above shortcomings, the designer, is actively subject to research and innovation, it is a kind of suitable for electronic tag to found Exempt from disassemble firmware upgrade method, make it with more the utility value in industry.
Summary of the invention
In order to solve the above technical problems, exempting from dismantling firmware liter suitable for electronic tag the object of the present invention is to provide a kind of Grade method.
Of the invention exempts from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that the following steps are included:
Step 1, subpackage is sent to electronic tag after being spliced the OTA firmware of upgrading by base station;
The data packet received is stored in specified region by indexed sequential and saved by step 2, electronics price tag;
Step 3 after completion to be received, carries out data check, if verification passes through, enters step four, if verification is obstructed It crosses, then repeatedly step 2, and carries out abnormality alarming after secondary data verification does not pass through yet;
Firmware is write new starting address by step 4;
The electronics price tag includes at least two starting addresses, and first starting address stores current firmware, and second is opened Dynamic address stores new firmware.
Further, it is above-mentioned be suitable for electronic tag exempt from disassemble firmware upgrade method, wherein it is described in step 1 The OTA firmware of upgrading is carried out CRC16 verification by base station, by obtaining the banner word of 8 bytes, the firmware of 2 bytes after splicing subpackage Length, the CRC16 check value of 2 bytes, remainder data is firmware data.
Further, it is above-mentioned be suitable for electronic tag exempt from disassemble firmware upgrade method, wherein in step 1, hair Sending mode is 4G/5G communication modes or WIFI mode or bluetooth approach.
Further, it is above-mentioned be suitable for electronic tag exempt from disassemble firmware upgrade method, wherein it is every in the subpackage The length of a packet is 64 bytes, and packet first four byte is the quantity and packet index of packet respectively, and 60 bytes are firmware partition to packet below It forms.
Further, it is above-mentioned be suitable for electronic tag exempt from disassemble firmware upgrade method, wherein the step 3 In, if secondary data verification does not pass through yet, the abnormal warning information of electronics price tag display upgrading, and continue to use normal before upgrading Firmware.
Still further, above-mentioned exempts from dismantling firmware upgrade method suitable for electronic tag, wherein the step 4 In, carry out a data check again after the completion of write-in, to be verified by rear, the confirmation write-in of electronics price tag is completed, and switching is opened Simultaneously restart dynamic address.
According to the above aspect of the present invention, the present invention has at least the following advantages:
1, it does not need to unload from shelf or showcase, does not have to disassembly battery and shell, lossless upgrade may be implemented.
2, special programming tool is not needed, the needs that noninductive upgrading updates firmware are met.
3, technical staff's field conduct is not needed, producer can remotely update firmware updating, improve the convenience degree of upgrading.
4, the electronics price tag of defective firmware can be upgraded by new function, avoided technical staff with remote repairing To field operation, the safety of product is improved, saves product maintenance cost, improves competitive power of product.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, with presently preferred embodiments of the present invention, detailed description is as follows below.
Specific embodiment
With reference to embodiment, the embodiment of the present invention is furthur described in detail.Following embodiment is used for Illustrate the present invention, but is not intended to limit the scope of the invention.
Suitable for electronic tag exempt from disassemble firmware upgrade method, unusual place be the following steps are included:
Firstly, subpackage is sent to electronic tag after being spliced the OTA firmware of upgrading by base station.Specifically, base It stands and the OTA firmware of upgrading is subjected to CRC16 verification, by obtaining the banner word of 8 bytes after splicing subpackage, the firmware of 2 bytes is long Degree, the CRC16 check value of 2 bytes, remainder data is firmware data.
In particular it relates to OTA firmware structure it is as shown in the table:
Banner word (8 byte) Firmware length (2 byte) Firmware data CRC16 (2 byte)
Subpackage structure is as shown in the table:
The quantity (2 byte) of packet The index (2 byte) of packet The content (60 byte) of packet
Meanwhile being laid out for different local communications, in order to realize that more quick, lossless data are sent, the present invention is adopted Sending method is 4G/5G communication modes or WIFI mode.Also, for the distribution electronic tag of certain centralization Upgrading needs, and can also use bluetooth approach.
Quick indexing is realized for the ease of electronic tag, provides convenience for upgrading detection, each packet in subpackage of the present invention Length is 64 bytes, and packet first four byte is the quantity and packet index of packet respectively, and 60 bytes are that firmware decouples to packet below.
Later, the data packet received is stored in specified region by indexed sequential and saved by electronics price tag.
Then, after completion to be received, data check is carried out, if verification passes through, enters subsequent processing.
If verification does not pass through, repeat to carry out secondary data verification after receiving one time, and do not lead to yet in secondary data verification Later abnormality alarming is carried out.Specifically, if secondary data verification does not pass through yet, the abnormal alarm of electronics price tag display upgrading Information, and continue to use the normal firmware before upgrading.
By taking the address AB as an example, address structure of the present invention is as shown in the table:
Start address (A/B) The address firmware A The address firmware B Other data
In this way, OTA upgrading can all switch starting address every time, being currently up address is A, and new firmware is with will having B Location, when new firmware verifies OK, starting address will be switched to the address B.
All may be used finally, firmware is write new starting address.In order to improve the reliability of upgrading, after the completion of write-in again A data check is carried out, to be verified by rear, the confirmation write-in of electronics price tag is completed, and switching starting address is simultaneously restarted, and is completed most Whole upgrading.
The electronics price tag that the present invention uses includes at least two starting addresses, and first starting address stores current firmware, Second starting address stores new firmware.In this way, not influencing original firmware operation during upgrading, may be implemented after upgrading successfully suitable Benefit switching.Original firmware can be maintained to run after upgrading failure and be checked.
It can be seen that after applying the present invention by above-mentioned character express, gather around and have the following advantages:
1, it does not need to unload from shelf or showcase, does not have to disassembly battery and shell, lossless upgrade may be implemented.
2, special programming tool is not needed, the needs that noninductive upgrading updates firmware are met.
3, technical staff's field conduct is not needed, producer can remotely update firmware updating, improve the convenience degree of upgrading.
4, the electronics price tag of defective firmware can be upgraded by new function, avoided technical staff with remote repairing To field operation, the safety of product is improved, saves product maintenance cost, improves competitive power of product.
The above is only a preferred embodiment of the present invention, it is not intended to restrict the invention, it is noted that for this skill For the those of ordinary skill in art field, without departing from the technical principles of the invention, can also make it is several improvement and Modification, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (6)

1. be suitable for electronic tag exempts from dismantling firmware upgrade method, it is characterised in that the following steps are included:
Step 1, subpackage is sent to electronic tag after being spliced the OTA firmware of upgrading by base station;
The data packet received is stored in specified region by indexed sequential and saved by step 2, electronics price tag;
Step 3 after completion to be received, carries out data check, if verification passes through, enters step four, if verification does not pass through, Step 2 is then repeated, and carries out abnormality alarming after secondary data verification does not pass through yet;
Firmware is write new starting address by step 4;
The electronics price tag includes at least two starting addresses, and first starting address stores current firmware, second starting ground Location stores new firmware.
2. according to claim 1 exempt from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that: step 1 In, the OTA firmware of upgrading is carried out CRC16 verification by the base station, by obtaining the banner word of 8 bytes, 2 bytes after splicing subpackage Firmware length, the CRC16 check value of 2 bytes, remainder data is firmware data.
3. according to claim 1 exempt from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that: step 1 In, sending method is 4G/5G communication modes or WIFI mode or bluetooth approach.
4. according to claim 1 exempt from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that: described point The length of each packet is 64 bytes in packet, and packet first four byte is the quantity and packet index of packet respectively, and 60 bytes are solid to packet below Part decouples.
5. according to claim 1 exempt from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that: the step In rapid three, if secondary data verification does not pass through yet, the abnormal warning information of electronics price tag display upgrading, and before continuing to use upgrading Normal firmware.
6. according to claim 1 exempt from dismantling firmware upgrade method suitable for electronic tag, it is characterised in that: the step In rapid four, a data check is carried out again after the completion of write-in, to be verified by rear, the confirmation write-in of electronics price tag is completed, and is cut It changes starting address and restarts.
CN201910419407.0A 2019-05-20 2019-05-20 Exempt from dismantling firmware upgrade method suitable for electronic tag Pending CN110134425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910419407.0A CN110134425A (en) 2019-05-20 2019-05-20 Exempt from dismantling firmware upgrade method suitable for electronic tag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910419407.0A CN110134425A (en) 2019-05-20 2019-05-20 Exempt from dismantling firmware upgrade method suitable for electronic tag

Publications (1)

Publication Number Publication Date
CN110134425A true CN110134425A (en) 2019-08-16

Family

ID=67571753

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910419407.0A Pending CN110134425A (en) 2019-05-20 2019-05-20 Exempt from dismantling firmware upgrade method suitable for electronic tag

Country Status (1)

Country Link
CN (1) CN110134425A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067734A (en) * 2021-03-29 2021-07-02 努比亚技术有限公司 Electronic price tag upgrading method, electronic price tag system, electronic terminal and storage medium
CN113821246A (en) * 2021-09-22 2021-12-21 四川虹美智能科技有限公司 Software non-inductive incremental updating method, device, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
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
CN106909416A (en) * 2015-12-23 2017-06-30 华大半导体有限公司 A kind of upgrade method of RFID label tag
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag
CN108733392A (en) * 2018-02-23 2018-11-02 北京是捷科技有限公司 A kind of update method and system of Bluetooth electronic tag program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
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
CN106909416A (en) * 2015-12-23 2017-06-30 华大半导体有限公司 A kind of upgrade method of RFID label tag
CN107104839A (en) * 2017-05-19 2017-08-29 京信通信技术(广州)有限公司 Firmware upgrade method, device, server, Internet of things system and RF tag
CN108733392A (en) * 2018-02-23 2018-11-02 北京是捷科技有限公司 A kind of update method and system of Bluetooth electronic tag program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067734A (en) * 2021-03-29 2021-07-02 努比亚技术有限公司 Electronic price tag upgrading method, electronic price tag system, electronic terminal and storage medium
CN113067734B (en) * 2021-03-29 2023-10-20 努比亚技术有限公司 Electronic price tag upgrading method, electronic price tag system, electronic terminal and storage medium
CN113821246A (en) * 2021-09-22 2021-12-21 四川虹美智能科技有限公司 Software non-inductive incremental updating method, device, system and storage medium

Similar Documents

Publication Publication Date Title
CN102129375B (en) Method and equipment for system upgrade of mobile terminal
CN110134425A (en) Exempt from dismantling firmware upgrade method suitable for electronic tag
CN106610840A (en) FOTA (Firmware Over-The-Air) upgrade method and system
US10191810B2 (en) Mobile terminal and related repair method
US20140214620A1 (en) Method and arrangements for electronic shelf labels
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
CN103327460A (en) Event notification device and event notification system
CN108279922A (en) Differential file generation method, upgrade method and system based on the differential file
CN104737192A (en) Promoter system and method for processing product and service data
CN103024782A (en) Base station software version management method and system
WO2021030214A1 (en) Self-service terminal
CN106604138A (en) Remote restoration method and system for intelligent television
CN107861765A (en) Product configuration method, equipment and computer-readable recording medium
CN108540632B (en) OTA (over the air) test method and device and intelligent terminal
CN106789236B (en) A method of the FOTA remote online upgrading of fusion WiFiP2P
CN104750083A (en) Production line management and control method and production line management and control device
CN107168748A (en) A kind of method that multinomial upgrading task is realized by a upgrade file bag
CN107864204B (en) Self-adaptive vehicle parameter automatic identification and sharing method
CN103428346A (en) Mobile fixed telephone self-adaptive to LCD and LCD self-adaptation device
CN102546189B (en) Rebilling method and device for telephone bills
CN109509006A (en) Recall the management-control method and the sub- equipment of storehouse management of commodity
CN104965745A (en) Air conditioner system program updating device and method
CN112270537B (en) Multi-channel bill storage method, system and storage medium
CN114691453A (en) Network equipment monitoring method, device, equipment, system and storage medium
US11817998B2 (en) Automated configuration deployment in network operations systems

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190816