CN107181618A - Firmware upgrade method and system - Google Patents

Firmware upgrade method and system Download PDF

Info

Publication number
CN107181618A
CN107181618A CN201710409040.5A CN201710409040A CN107181618A CN 107181618 A CN107181618 A CN 107181618A CN 201710409040 A CN201710409040 A CN 201710409040A CN 107181618 A CN107181618 A CN 107181618A
Authority
CN
China
Prior art keywords
updating
firmware
management chip
chip
upgrade
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
CN201710409040.5A
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.)
Shenzhen Dimensional Technology Co Ltd
Original Assignee
Shenzhen Dimensional 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 Shenzhen Dimensional Technology Co Ltd filed Critical Shenzhen Dimensional Technology Co Ltd
Priority to CN201710409040.5A priority Critical patent/CN107181618A/en
Publication of CN107181618A publication Critical patent/CN107181618A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Abstract

The invention discloses a kind of firmware upgrade method and system, its method includes:Mobile terminal APP or transferring equipment issue firmware upgrade to updating and management chip and instructed;Updating and management chip is when receiving firmware upgrade instruction, it would be desirable to which the firmware bag of renewal is downloaded and stored in the flash storage chips in updating and management chip;After the download is complete, updating and management chip carries out offline firmware renewal by firmware bag to device upgrade chip to be upgraded.The upgrade mechanism of the present invention is convenient reliable, can effectively avoid the crossover network of normal work, reduces the burden of field apparatus radio communication, and without having to worry about the abnormal power-down situation that escalation process happens suddenly, so that the need for greatly meeting industry and Internet of Things.

Description

Firmware upgrade method and system
Technical field
The present invention relates to firmware upgrade technical field, more particularly to a kind of firmware upgrade method and system.
Background technology
Aerial programming (Over-the-air programming, abridge OTA) is that one kind is distributed new software for equipment, matched somebody with somebody Put, or even renewal encryption key (it is such as mobile phone, digital video boxcar or secure voice communication equipment --- encryption Two-way radio) method.An OTA key character, which is that a center can be sent to all users, to be updated, and it is not Can refusal, destroy or change the renewal, and this be updated to be immediately applied on channel everyone.User is possible to " refuse " OTA is updated, but channel administrator can also be kicked out of channel.
Also include in mobile content field it is aerial provide business (over-the-air service provisioning, OTASP it is), aerial that configuration (over-the-air provisioning, OTAP) or aerial parameter management (over-the- are provided Air parameter administration, OTAPA), or to mobile phone provide it is necessary setting with can access WAP or MMS etc. is serviced.
As the application on mobile phone and function are more and more, OTA configurations are more and more important.It can be updated by SMS with OTA Data in SIM card, and distribute software upgrading to mobile phone and access the necessary setting of the services such as WAP, MSS.OTA message can The service of remote control is provided for mobile phone, subscribe to activation, personalization and programming.
Each standardizing body has been created to help to develop, supervision and management OTA.One of them is Open Mobile Alliance (OMA)。
At present, there is new concept again in wireless sensor network and Internet of Things, the net constituted in hundreds of or thousands of nodes In network, OTA has been brought into new direction:OTA uses first need not license frequency band (2.4GHz, 868MHz, 900MHz) and The agreement that low energy is consumed with flow, such as 802.15.4 and ZigBee.
Industry 4.0 construction and the fast development of Internet of Things industry so that the application of large-scale wireless sensing network and The access of traditional industry equipment networking is more universal.(OTA) Firmware Over upgrading is so important, is:1. reparation product defects, 2. abundant product function, increase user viscosity, the product up-gradation of 3. iteration, it helps quickly cut market, reduction is overall to open Send out cost.But OTA is applied in industry 4.0 and Internet of Things and is also faced with problems simultaneously:Equipment is in the case of low battery Carry out OTA upgradings, unexpected low-voltage power down will make the firmware of equipment can not recover to cause equipment can not normal work, in net The OTA upgradings of shape net network ordering equipment are huge to overall load, and during individual equipment upgrading the whole network business all It must suspend, always mix the equipment of various different performance indexs in complicated application environment, be set individually so always having It is standby to cooperate with upgrading simultaneously, it is accomplished by putting into certain human resources progress device context maintenance in this case.
The content of the invention
It is a primary object of the present invention to provide a kind of firmware upgrade method and system, risen offline with the OTA for realizing equipment Level, the need for meeting industry and Internet of Things.
To achieve the above object, a kind of firmware upgrade method that the present invention is provided, comprises the following steps:
Mobile terminal APP or transferring equipment issue firmware upgrade to updating and management chip and instructed;
The updating and management chip is when receiving firmware upgrade instruction, it would be desirable to which the firmware bag of renewal is downloaded and stored at In flash storage chips in the updating and management chip;
After the download is complete, the updating and management chip is carried out by the firmware bag to device upgrade chip to be upgraded Offline firmware updates.
Wherein, the updating and management chip carries out offline firmware by the firmware bag to device upgrade chip to be upgraded Also include before the step of renewal:
After the download is complete, the mobile terminal APP or transferring equipment are interacted with the updating and management chip, to download The data of the firmware bag are verified, after verifying successfully, and the updating and management chip performs escalation process.
Wherein, the mobile terminal APP or transferring equipment issue the step of firmware upgrade is instructed to updating and management chip and wrapped Include:
The mobile terminal APP or transferring equipment inquire about consolidating for the device upgrade chip by the updating and management chip Part version number;
If the firmware version number is legacy version number, the mobile terminal APP or transferring equipment issue firmware upgrade and referred to Make to the updating and management chip.
Wherein, wireless connection, its connection side between the mobile terminal APP or transferring equipment and the updating and management chip Formula is BEL4.0.
Wherein, methods described also includes:
In the data transmission procedure of firmware bag, if run into Radio Link interrupt reconnect after, carry out breakpoint data re-transmission.
Wherein, the mobile terminal APP or transferring equipment to updating and management chip issue the step of firmware upgrade is instructed it It is preceding also to include:
Mobile terminal APP or transferring equipment is selected to issue data to updating and management chip according to user instruction.
Wherein, the updating and management chip carries out offline firmware by the firmware bag to device upgrade chip to be upgraded The step of renewal, includes:
The updating and management chip needs what is upgraded by parsing firmware updating bag data and being output to data recombination form In device upgrade chip.
Wherein, the updating and management chip is serial ports to the data upgrade interface of device upgrade chip;The flash storages Chip is wireless SOC chip.
The present invention also proposes that a kind of firmware upgrade system includes:Mobile terminal APP or transferring equipment, and updating and management core Piece, the mobile terminal APP or transferring equipment and the updating and management chip wireless connection, the updating and management chip rise with waiting The device upgrade chip wired connection of level;Wherein:
Firmware upgrade procedure is configured with the mobile terminal APP or transferring equipment, the firmware upgrade procedure is processed The step of device realizes method as described above when performing.
A kind of firmware upgrade method proposed by the present invention and system, it is proposed that wireless multi-mode upgraded in offline device chip it is general Read, need that packet is downloaded into Flash progress storage backup in piece by BLE4.0 according to application, then exported by serial ports The mode of upgrading data carries out offline firmware bag upgrading.Such upgrade mechanism is convenient reliable, can effectively avoid normal work Crossover network, reduce field apparatus radio communication burden, and without having to worry about escalation process happen suddenly abnormal power-down situation, from And the need for greatly meeting industry and Internet of Things.
Brief description of the drawings
Fig. 1 be the present embodiments relate to firmware upgrade system configuration diagram;
Fig. 2 is the schematic flow sheet of firmware upgrade method embodiment of the present invention;
Fig. 3 is the refinement schematic flow sheet of firmware upgrade of the embodiment of the present invention.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.
In order that technical scheme is clearer, clear, it is described in further detail below in conjunction with accompanying drawing.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Firmware upgrade system framework of the present invention is referred to Fig. 1.
As shown in figure 1, the system includes:Mobile terminal APP (in figure by taking mobile phone A PP as an example) or transferring equipment, Yi Jisheng Level managing chip, the mobile terminal APP or transferring equipment and the updating and management chip wireless connection, its connected mode is BEL4.0, such connected mode can effectively evade influence of the working frequency range reduction of prior wireless network to live traffic.
The updating and management chip and device upgrade chip wired connection to be upgraded;Wherein:The mobile terminal APP or Firmware upgrade procedure is configured with transferring equipment.
The whole scheme of the embodiment of the present invention includes 2 main policies:
1st, backup formula firmware upgrade mechanism, the mechanism can first download to the data for needing to upgrade in updating and management chip, Just to needing updating apparatus chip to carry out firmware renewal after verification data is correct again;
2nd, general-purpose type upgrading data output mechanism, the compatible various types of updating apparatus of the mechanism, pass through parsing Data recombination form is output in the equipment for needing to upgrade by firmware updating bag data.
Specifically, as shown in Fig. 2 present pre-ferred embodiments propose a kind of firmware upgrade method, including:
Step S101, mobile terminal APP or transferring equipment issue firmware upgrade to updating and management chip and instructed;
When needing to upgrade to device chip, user can select to initiate by mobile terminal APP or transferring equipment Firmware upgrade is instructed, it is possible to select mobile terminal APP or transferring equipment to issue data to updating and management chip.
Wherein, when mobile terminal APP or transferring equipment issue firmware upgrade to updating and management chip and instructed, mobile terminal APP or transferring equipment inquire about the firmware version number of the device upgrade chip by the updating and management chip;If the firmware Version number is legacy version number, then the mobile terminal APP or transferring equipment issue firmware upgrade and instructed to the updating and management core Piece.
Step S102, the updating and management chip is when receiving firmware upgrade instruction, it would be desirable under the firmware bag of renewal Carry and be stored in the flash storage chips in the updating and management chip;
Updating and management chip is when receiving firmware upgrade instruction, it would be desirable to which the firmware bag of renewal is downloaded and stored at described In flash storage chips in updating and management chip, thus, under off-line state, the upgrading of equipment firmware can also be realized, That is, firmware upgrade now is offline, i.e., re-power rear by forced interruption in escalation process and can carry out firmware Upgrading, the problem of mechanism compensate for OTA online upgrading data well.
Wherein, the flash storage chips are wireless SOC chip, and device upgrade chip is not with a chip.
Step S103, after the download is complete, the updating and management chip is by the firmware bag to equipment liter to be upgraded Level chip carries out offline firmware renewal.
After the download is complete, the updating and management chip is carried out by the firmware bag to device upgrade chip to be upgraded Offline firmware updates.
Wherein, the updating and management chip is serial ports to the data upgrade interface of device upgrade chip, and such upgrading connects Mouthful mode can be with compatible more chip models and data format standard is general follows chip official definition's mode.
Further, the updating and management chip is carried out offline by the firmware bag to device upgrade chip to be upgraded It can also include before the step of firmware updates:
After the download is complete, the mobile terminal APP or transferring equipment are interacted with the updating and management chip, to download The data of the firmware bag are verified, after verifying successfully, and the updating and management chip performs escalation process.
In the present embodiment, updating and management chip is carried out offline by the firmware bag to device upgrade chip to be upgraded During firmware updates, the updating and management chip can be output to needs by parsing firmware updating bag data by data recombination form In the device upgrade chip of upgrading.
Compared with prior art, the present invention proposes the concept of wireless multi-mode upgraded in offline device chip, is needed according to application Packet is downloaded to by Flash in piece by BLE4.0 and carries out storage backup, then by way of serial ports output upgrading data Carry out offline firmware bag upgrading.Such upgrade mechanism is convenient reliable, and the crossover network that can effectively avoid normal work reduces The burden of field apparatus radio communication, and without having to worry about the abnormal power-down situation that escalation process happens suddenly.
The detailed process of firmware upgrade of the present invention is referred to Fig. 3.
As shown in Figure 3, it is necessary to which when carrying out firmware upgrade, mobile phone A PP or transferring equipment can first inquire the firmware version of storage Number, if version number is old, then carry out firmware upgrade.Now updating and management chip first will need the firmware bag updated to download In flash in piece, mobile phone A PP and updating and management chip connected mode are BEL4.0, and such connected mode can be effective Evade the working frequency range of prior wireless network, reduce the influence to live traffic, in firmware bag data transmitting procedure, run into nothing Wired link is interrupted reconnect after, can carry out breakpoint data re-transmission, and in onsite application can also unrestricted choice be will by mobile phone A PP Firmware bag, which is sent, to be gone down or sends by transferring equipment, successfully manages the various wireless issues in onsite application.
After standby AKU has been downloaded, updating and management chip will initiate firmware upgrade to device chip, now Firmware upgrade is offline, i.e., re-power rear by forced interruption in escalation process and can carry out the upgrading of firmware, so this The problem of mechanism compensate for OTA online upgrading data well, updating and management chip is to the data upgrade interface of device chip Serial ports;Such upgrade interface mode can compatible more chip models and the general chip official that follows of data format standard determine Right way of conduct formula.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the scope of the invention, it is every to utilize Equivalent structure or the flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (9)

1. a kind of firmware upgrade method, it is characterised in that comprise the following steps:
Mobile terminal APP or transferring equipment issue firmware upgrade to updating and management chip and instructed;
The updating and management chip is when receiving firmware upgrade instruction, it would be desirable to which the firmware bag of renewal is downloaded and stored at described In flash storage chips in updating and management chip;
After the download is complete, the updating and management chip is carried out offline by the firmware bag to device upgrade chip to be upgraded Firmware updates.
2. according to the method described in claim 1, it is characterised in that the updating and management chip treats liter by the firmware bag The device upgrade chip of level also include before the step of offline firmware updates:
After the download is complete, the mobile terminal APP or transferring equipment are interacted with the updating and management chip, to described in download The data of firmware bag are verified, after verifying successfully, and the updating and management chip performs escalation process.
3. according to the method described in claim 1, it is characterised in that the mobile terminal APP or transferring equipment are to updating and management Chip, which issues the step of firmware upgrade is instructed, to be included:
The mobile terminal APP or transferring equipment inquire about the firmware version of the device upgrade chip by the updating and management chip This number;
If the firmware version number is legacy version number, the mobile terminal APP or transferring equipment issue firmware upgrade instruct to The updating and management chip.
4. according to the method described in claim 1, it is characterised in that the mobile terminal APP or transferring equipment and the upgrading Wireless connection between managing chip, its connected mode is BEL4.0.
5. according to the method described in claim 1, it is characterised in that methods described also includes:
In the data transmission procedure of firmware bag, if run into Radio Link interrupt reconnect after, carry out breakpoint data re-transmission.
6. according to the method described in claim 1, it is characterised in that the mobile terminal APP or transferring equipment are to updating and management Chip also includes before issuing the step of firmware upgrade is instructed:
Mobile terminal APP or transferring equipment is selected to issue data to updating and management chip according to user instruction.
7. according to the method described in claim 1, it is characterised in that the updating and management chip treats liter by the firmware bag The device upgrade chip of level, which carries out the step of offline firmware updates, to be included:
The updating and management chip needs the equipment of upgrading by parsing firmware updating bag data and being output to data recombination form In upgrading chip.
8. the method according to any one of claim 1-7, it is characterised in that the updating and management chip is to device upgrade The data upgrade interface of chip is serial ports;The flash storage chips are wireless SOC chip.
9. a kind of firmware upgrade system includes:Mobile terminal APP or transferring equipment, and updating and management chip, it is described mobile whole Hold APP or transferring equipment and the updating and management chip wireless connection, the updating and management chip and device upgrade to be upgraded Chip wired connection;Wherein:
Firmware upgrade procedure is configured with the mobile terminal APP or transferring equipment, the firmware upgrade procedure is held by processor The step of method as any one of claim 1-8 is realized during row.
CN201710409040.5A 2017-06-02 2017-06-02 Firmware upgrade method and system Pending CN107181618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710409040.5A CN107181618A (en) 2017-06-02 2017-06-02 Firmware upgrade method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710409040.5A CN107181618A (en) 2017-06-02 2017-06-02 Firmware upgrade method and system

Publications (1)

Publication Number Publication Date
CN107181618A true CN107181618A (en) 2017-09-19

Family

ID=59836864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710409040.5A Pending CN107181618A (en) 2017-06-02 2017-06-02 Firmware upgrade method and system

Country Status (1)

Country Link
CN (1) CN107181618A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449198A (en) * 2018-01-25 2018-08-24 捷开通讯(深圳)有限公司 A kind of method, system and the storage device of OTA upgradings
CN108664261A (en) * 2018-04-20 2018-10-16 北京硬壳科技有限公司 A kind of method and device of firmware upgrade
CN110244969A (en) * 2019-07-09 2019-09-17 山西方是科技有限公司 A kind of intelligent device management and controlling terminal
CN112256506A (en) * 2020-10-23 2021-01-22 成都天锐星通科技有限公司 Wide area network phased array antenna upgrading debugging terminal based on cloud
CN112365636A (en) * 2020-10-30 2021-02-12 深圳坚朗海贝斯智能科技有限公司 Intelligent lock management system based on mobile intelligent terminal and working method thereof
CN112533179A (en) * 2020-12-21 2021-03-19 广西东信易联科技有限公司 Soft card module of 4G Internet of things module and updating method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815282A (en) * 2009-02-20 2010-08-25 中兴通讯股份有限公司 Method and device for upgrading multimedia broadcast firmware in terminal
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
CN106131682A (en) * 2016-07-14 2016-11-16 青岛海信宽带多媒体技术有限公司 Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware
CN106775871A (en) * 2016-12-19 2017-05-31 东软集团股份有限公司 Firmware upgrade method and equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815282A (en) * 2009-02-20 2010-08-25 中兴通讯股份有限公司 Method and device for upgrading multimedia broadcast firmware in terminal
CN102123170A (en) * 2011-01-21 2011-07-13 中兴通讯股份有限公司 Method and device for upgrading firmware version
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware
CN106131682A (en) * 2016-07-14 2016-11-16 青岛海信宽带多媒体技术有限公司 Set Top Box built-in WiFi firmware upgrade method, device and Set Top Box
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN106775871A (en) * 2016-12-19 2017-05-31 东软集团股份有限公司 Firmware upgrade method and equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王海晏: "《激光数据链路》", 30 December 2016 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449198A (en) * 2018-01-25 2018-08-24 捷开通讯(深圳)有限公司 A kind of method, system and the storage device of OTA upgradings
CN108664261A (en) * 2018-04-20 2018-10-16 北京硬壳科技有限公司 A kind of method and device of firmware upgrade
CN110244969A (en) * 2019-07-09 2019-09-17 山西方是科技有限公司 A kind of intelligent device management and controlling terminal
CN112256506A (en) * 2020-10-23 2021-01-22 成都天锐星通科技有限公司 Wide area network phased array antenna upgrading debugging terminal based on cloud
CN112365636A (en) * 2020-10-30 2021-02-12 深圳坚朗海贝斯智能科技有限公司 Intelligent lock management system based on mobile intelligent terminal and working method thereof
CN112533179A (en) * 2020-12-21 2021-03-19 广西东信易联科技有限公司 Soft card module of 4G Internet of things module and updating method thereof
CN112533179B (en) * 2020-12-21 2021-05-25 广西东信易联科技有限公司 Soft card module of 4G Internet of things module and updating method thereof

Similar Documents

Publication Publication Date Title
CN107181618A (en) Firmware upgrade method and system
KR100663538B1 (en) System and Method for Delta-based Over-The-Air Software Upgrades for a Wireless Mobile Station
KR101905019B1 (en) Method for upgrading terminal system, terminal, and system
WO2020107905A1 (en) Monitoring and managing methods for device, and terminal device
CN102281554B (en) Method and device for controlling remote upgrade of RRU (Remote Radio Unit)
CN108023778A (en) Firmware upgrade method and its system
CN108200170A (en) Message treatment method, device and readable storage medium storing program for executing
CN110532009A (en) A kind of smart machine upgrading management system and method
CN106411619A (en) Wireless equipment upgrading method based on low-power-consumption wide area network
CN103685530A (en) Automatic upgrade control method and system for WLAN current network APs
CN104320804A (en) Intelligent device wireless network parameter configuration method and system based on sound waves
CN109561382B (en) Home base station parameter self-configuration method, system, storage medium and equipment
CN105682255A (en) Beidou communication terminal ad-hoc networking technology based on non-director mode
CN106301910A (en) The programming system of a kind of WiFi equipment and method thereof
CN112737847B (en) Node upgrading method and device, storage medium and electronic device
CN103475512A (en) Internet of Things remote management platform migration method, device and Internet of Things terminal
CN107508702A (en) Lora modules based on bluetooth are set and firmware upgrade system and method
CN111142905A (en) OTA (over-the-air) upgrading method, OTA server and OTA upgrading system
CN114747239A (en) Management of IoT devices in a wireless communication network
CN110635957A (en) Method and device for network distribution of Internet of things equipment and mobile terminal
CN109743212A (en) Realize method, apparatus, computer storage medium and the equipment of opening base station
CN102833782A (en) Method, device and system for acquiring error code information
CN106658388A (en) Bluetooth gateway
CN113497720A (en) Firmware server, electric power internet of things proxy gateway and firmware remote upgrading method
CN103152194B (en) The implementation method of a kind of TR069 work order configuration

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: 20170919