CN110134425A - Exempt from dismantling firmware upgrade method suitable for electronic tag - Google Patents
Exempt from dismantling firmware upgrade method suitable for electronic tag Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000012795 verification Methods 0.000 claims abstract description 11
- 238000013524 data verification Methods 0.000 claims description 7
- 238000004891 communication Methods 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 claims description 3
- 230000005856 abnormality Effects 0.000 claims description 3
- 238000013459 approach Methods 0.000 claims description 3
- 238000012790 confirmation Methods 0.000 claims description 3
- 239000007787 solid Substances 0.000 claims 1
- 230000008901 benefit Effects 0.000 description 3
- 230000002860 competitive effect Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
- G06F11/1004—Adding 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1433—Saving, restoring, recovering or retrying at system level during software upgrading
-
- 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
- G06F8/656—Updates 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
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.
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)
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)
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 |
-
2019
- 2019-05-20 CN CN201910419407.0A patent/CN110134425A/en active Pending
Patent Citations (6)
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)
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 |