CN104657161A - Method and device for updating firmware of mobile terminal - Google Patents

Method and device for updating firmware of mobile terminal Download PDF

Info

Publication number
CN104657161A
CN104657161A CN201310594052.1A CN201310594052A CN104657161A CN 104657161 A CN104657161 A CN 104657161A CN 201310594052 A CN201310594052 A CN 201310594052A CN 104657161 A CN104657161 A CN 104657161A
Authority
CN
China
Prior art keywords
mobile terminal
firmware
data channel
renewal
target
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
CN201310594052.1A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201310594052.1A priority Critical patent/CN104657161A/en
Priority to PCT/CN2014/082852 priority patent/WO2015074435A1/en
Publication of CN104657161A publication Critical patent/CN104657161A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides method and device for updating firmware of a mobile terminal, and belongs to the field of mobile terminals. The method comprises the steps of building a first data channel to a second mobile terminal, sending the target firmware to the second mobile terminal through the first data channel; informing the second mobile terminal of updating the target firmware; informing the second mobile terminal to switch into the normal working mode after receiving an update finishing instruction of the second mobile terminal, and switching into the normal working state. According to the technical scheme, the method has the advantages that the firmware of the mobile terminal can be updated without other auxiliary software and auxiliary devices; in addition, the effect of the target firmware to be updated can be known in advance before finishing the update of the firmware of the mobile terminal.

Description

Mobile terminal firmware update and device
Technical field
The present invention relates to field of mobile terminals, refer to a kind of mobile terminal firmware update and device especially.
Background technology
Mobile terminal (also known as mobile communication terminal) refers to portable mobile computer device, and saying of broad sense comprises mobile phone, data card, panel computer etc.Firmware refers to serves as that digital product is the most basic, the software of bottom work, firmware is generally stored in the EEPROM(Electrically ErasableProgrammable Read-Only Memory in mobile terminal, EEPROM (Electrically Erasable Programmable Read Only Memo)) or FLASH chip in, upgrade by certain mode.
Because firmware version and mobile terminal hardware are closely related, the firmware of early stage mobile terminal generally can only be provided by mobile terminal production firm.Along with the development of intelligent mobile terminal and operating system thereof, the development of the Android operation system of especially increasing income, except mobile terminal production firm, a large amount of individuals or third company also start to develop and provide mobile terminal firmware.
Mobile terminal firmware is more and more abundanter, but the mode that upgrades of firmware is mostly comparatively complicated, loaded down with trivial details or restrict by factors, thus hinders copying and propagating of firmware.More common firmware update mode has following 3 classes at present:
1, upgraded by PC side aid.
The method needs more preliminary work.Need first to find suitable target firmware version, suitable upgrading tool, suitable driving.And the abnormal also very possible destruction mobile terminal firmware of upgrading, causes upgrading failed mobile terminal and cannot use completely.
2, by FOTA(Firmware Over The Air, aerial firmware upgrade) upgrade.
Mobile terminal connection need only be received network by the method, and mobile terminal can download difference AKU automatically, and automatically completes escalation process, comparatively convenient and swift, and reliability is also higher.But the method is generally only applicable to same manufacturer, homologous series version updating, difference AKU generally can only be provided by mobile terminal production firm.So FOTA upgrading generally can only be upgraded to the firmware version of official, and selectivity is little, and single upgrading is also very limited to the change of firmware.
3, by SD(Secure Digital, safe digital) renewal of card renewal bag.
The method needs first to obtain SD card and upgrades bag (usually also needing by NetFind and download), is then copied in SD card; Renewal process is started again by the menu of interface of mobile terminal.Whole renewal process is fast, more safe and reliable, but the source upgrading bag can only be also often mobile terminal production firm, and range of choices is less.
To sum up, these 3 kinds of methods all need to search and obtain the target firmware version that will be upgraded to, and what have also needs by aid, just can carry out firmware renewal.In addition, this 3 class scheme, all only after renewal completes, just can see the effect of target firmware.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of mobile terminal firmware update and device, the renewal of mobile terminal firmware can not can be completed by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance in addition.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme as follows:
On the one hand, a kind of mobile terminal firmware update is provided, comprises:
Set up the first data channel between the second mobile terminal;
By described first data channel, the target firmware of self is sent to described second mobile terminal, and notify that described second mobile terminal carries out target firmware renewal;
After the renewal receiving described second mobile terminal completes instruction, notify that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
Further, also comprise before setting up the first data channel between the second mobile terminal:
Set up the second data channel between described second mobile terminal;
Detect described target firmware whether with the hardware compatibility of described second mobile terminal;
When the hardware compatibility of described target firmware and described second mobile terminal, notify that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware and extract and sending mode.
Further, detect described target firmware whether to comprise with the hardware compatibility of described second mobile terminal:
Obtain the hardware configuration information of described second mobile terminal;
According to the ardware model number list that the described target firmware prestored is supported, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
The embodiment of the present invention additionally provides a kind of mobile terminal firmware updating device, comprising:
Data communication module, for setting up the first data channel between the second mobile terminal;
Firmware extraction module, for target firmware being sent to described second mobile terminal by described first data channel, and notifies that described second mobile terminal carries out target firmware renewal;
Mode switch module, after completing instruction in the renewal receiving described second mobile terminal, notifies that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
Further, described data communication module is also for setting up the second data channel between described second mobile terminal;
Described device also comprises:
Compatible detection module, for detect described target firmware whether with the hardware compatibility of described second mobile terminal;
Described mode switch module, also for when the hardware compatibility of described target firmware and described second mobile terminal, notifies that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware extraction and sending mode.
Further, described device also comprises:
Hardware information acquisition module, for obtaining the hardware configuration information of described second mobile terminal;
The ardware model number list of described compatible detection module specifically for supporting according to the described target firmware prestored, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
The embodiment of the present invention additionally provides a kind of mobile terminal firmware update, comprising:
Set up the first data channel between the first mobile terminal;
The target firmware of described first mobile terminal transmission is received by described first data channel;
Carry out firmware renewal according to the target firmware received, and after renewal completes, send renewal complete instruction to described first mobile terminal.
Further, also comprise before setting up the first data channel between the first mobile terminal:
Set up the second data channel between described first mobile terminal;
The pattern switching command of described first mobile terminal is received by described second data channel;
Self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
The embodiment of the present invention additionally provides a kind of mobile terminal firmware updating device, comprising:
Data communication module, for setting up the first data channel between the first mobile terminal;
Firmware receiver module, for receiving the target firmware that described first mobile terminal sends by described first data channel;
Firmware update module, for carrying out firmware renewal according to the target firmware that receives, and sends renewal and completes instruction to described first mobile terminal after renewal completes.
Further, described data communication module is also for setting up the second data channel between described first mobile terminal;
Described device also comprises:
Mode switch module, for being received the pattern switching command of described first mobile terminal by described second data channel, self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
Embodiments of the invention have following beneficial effect:
In such scheme, data channel is set up between first mobile terminal and the second mobile terminal, and by data channel, target firmware is sent to the second mobile terminal, second mobile terminal carries out firmware renewal according to the target firmware received, the renewal of mobile terminal firmware can not can be completed like this by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance by the first mobile terminal in addition.Adopt technical scheme of the present invention, the firmware of mobile terminal can be upgraded quickly and easily, improve the convenience of mobile terminal firmware renewal process, effectively can accelerate firmware transmission between mobile terminals and circulation.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of embodiment of the present invention mobile terminal firmware update;
Fig. 2 is the structured flowchart of embodiment of the present invention mobile terminal firmware updating device;
Fig. 3 is the schematic flow sheet of another embodiment of the present invention mobile terminal firmware update;
Fig. 4 is the structured flowchart of another embodiment of the present invention mobile terminal firmware updating device;
Fig. 5 is the schematic flow sheet of specific embodiment of the invention mobile terminal firmware update;
Fig. 6 is the process flow diagram that the embodiment of the present invention second mobile terminal switches to controlled upgrade mode;
Fig. 7 is the process flow diagram that the embodiment of the present invention first mobile terminal switches to firmware extraction and sending mode.
Embodiment
For embodiments of the invention will be solved technical matters, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
Embodiments of the invention must rely on network and computer platform for existing firmware update, and could upgrade after needing first to find suitable target firmware, and the problem of target firmware effect before upgrading, can not be predicted, a kind of mobile terminal firmware update and device are provided, the renewal of mobile terminal firmware can not can be completed by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance in addition.
Fig. 1 is the schematic flow sheet of embodiment of the present invention mobile terminal firmware update, and as shown in Figure 1, the present embodiment comprises:
Step 101: set up the first data channel between the second mobile terminal;
Step 102: the target firmware of self is sent to described second mobile terminal by described first data channel, and notify that described second mobile terminal carries out target firmware renewal;
Step 103: after the renewal receiving described second mobile terminal completes instruction, notifies that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
Wherein, target firmware can be the firmware that the first mobile terminal is using, and the firmware that oneself is using by the first mobile terminal extracts, and is passed to the second mobile terminal.
The mobile terminal firmware update of the present embodiment, data channel is set up between first mobile terminal and the second mobile terminal, and by data channel, target firmware is sent to the second mobile terminal, second mobile terminal carries out firmware renewal according to the target firmware received, the renewal of mobile terminal firmware can not can be completed like this by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance by the first mobile terminal in addition.Adopt technical scheme of the present invention, the firmware of mobile terminal can be upgraded quickly and easily, improve the convenience of mobile terminal firmware renewal process, effectively can accelerate firmware transmission between mobile terminals and circulation.
Further, in another embodiment of the present invention, comprise on the basis of above-mentioned steps 101-103, also comprise before setting up the first data channel between the second mobile terminal:
Set up the second data channel between described second mobile terminal;
Detect described target firmware whether with the hardware compatibility of described second mobile terminal;
When the hardware compatibility of described target firmware and described second mobile terminal, notify that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware and extract and sending mode.
Further, in another embodiment of the present invention, comprise on the basis of above-mentioned steps 101-103, detect described target firmware and whether comprise with the hardware compatibility of described second mobile terminal:
Obtain the hardware configuration information of described second mobile terminal;
According to the ardware model number list that the described target firmware prestored is supported, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
The embodiment of the present invention additionally provides a kind of mobile terminal firmware updating device, and as shown in Figure 2, the present embodiment comprises:
Data communication module, for setting up the first data channel between the second mobile terminal;
Firmware extraction module, for target firmware being sent to described second mobile terminal by described first data channel, and notifies that described second mobile terminal carries out target firmware renewal;
Mode switch module, after completing instruction in the renewal receiving described second mobile terminal, notifies that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
Further, described data communication module is also for setting up the second data channel between described second mobile terminal;
Described device also comprises:
Compatible detection module, for detect described target firmware whether with the hardware compatibility of described second mobile terminal;
Described mode switch module, also for when the hardware compatibility of described target firmware and described second mobile terminal, notifies that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware extraction and sending mode.
Further, described device also comprises:
Hardware information acquisition module, for obtaining the hardware configuration information of described second mobile terminal;
The ardware model number list of described compatible detection module specifically for supporting according to the described target firmware prestored, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
The mobile terminal firmware updating device of the present embodiment is arranged on the first mobile terminal, can and the second mobile terminal between set up data channel, and by data channel, target firmware is sent to the second mobile terminal, second mobile terminal carries out firmware renewal according to the target firmware received, the renewal of mobile terminal firmware can not can be completed like this by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance by the first mobile terminal in addition.Adopt technical scheme of the present invention, the firmware of mobile terminal can be upgraded quickly and easily, improve the convenience of mobile terminal firmware renewal process, effectively can accelerate firmware transmission between mobile terminals and circulation.
Fig. 3 is the schematic flow sheet of another embodiment of the present invention mobile terminal firmware update, and as shown in Figure 3, the present embodiment comprises:
Step 201: set up the first data channel between the first mobile terminal;
Step 202: the target firmware being received described first mobile terminal transmission by described first data channel;
Step 203: carry out firmware renewal according to the target firmware received, and after renewal completes, send renewal complete instruction to described first mobile terminal.
The mobile terminal firmware update of the present embodiment, data channel is set up between first mobile terminal and the second mobile terminal, and by data channel, target firmware is sent to the second mobile terminal, second mobile terminal carries out firmware renewal according to the target firmware received, the renewal of mobile terminal firmware can not can be completed like this by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance by the first mobile terminal in addition.Adopt technical scheme of the present invention, the firmware of mobile terminal can be upgraded quickly and easily, improve the convenience of mobile terminal firmware renewal process, effectively can accelerate firmware transmission between mobile terminals and circulation.
Further, in another embodiment of the present invention, comprise on the basis of above-mentioned steps 201-203, also comprise before setting up the first data channel between the first mobile terminal:
Set up the second data channel between described first mobile terminal;
The pattern switching command of described first mobile terminal is received by described second data channel;
Self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
The embodiment of the present invention additionally provides a kind of mobile terminal firmware updating device, and as shown in Figure 4, the present embodiment comprises:
Data communication module, for setting up the first data channel between the first mobile terminal;
Firmware receiver module, for receiving the target firmware that described first mobile terminal sends by described first data channel;
Firmware update module, for carrying out firmware renewal according to the target firmware that receives, and sends renewal and completes instruction to described first mobile terminal after renewal completes.
Further, described data communication module is also for setting up the second data channel between described first mobile terminal;
Described device also comprises:
Mode switch module, for being received the pattern switching command of described first mobile terminal by described second data channel, self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
Further, described device also comprises hardware information detection module, for detecting the hardware configuration information of the second mobile terminal, and the hardware configuration information of the second mobile terminal is sent to the hardware information acquisition module of the first mobile terminal.
The mobile terminal firmware updating device of the present embodiment is arranged on the second mobile terminal, and set up data channel between the first mobile terminal, and by data channel receiving target firmware, firmware renewal is carried out according to the target firmware received, the renewal of mobile terminal firmware can not can be completed like this by other assistant software and utility appliance, before mobile terminal firmware has upgraded, the effect of target firmware to be updated can be recognized in advance by the first mobile terminal in addition.Adopt technical scheme of the present invention, the firmware of mobile terminal can be upgraded quickly and easily, improve the convenience of mobile terminal firmware renewal process, effectively can accelerate firmware transmission between mobile terminals and circulation.
Below in conjunction with specific embodiment, mobile terminal firmware update of the present invention and device are described in detail:
Existing firmware update must rely on network and computer platform, could upgrade after needing first to find suitable target firmware, and can not predict target firmware effect before upgrading.For this situation, the present invention proposes a kind of mobile terminal firmware update and device, firmware in a mobile terminal can be copied in another mobile terminal, this process simplify the process finding target firmware, a suitable mobile terminal is found just to have found target firmware, do not need the external environment condition supports such as network, do not need by personal computer platform, do not need copy, dump yet, in addition, the method does not need by other assistant software and utility appliance yet, simple and efficient to handle.And, can firmware upgrade before, by the effect providing the first mobile terminal of target firmware to understand target firmware in advance.
Include in technical scheme of the present invention and first mobile terminal of target firmware and the second mobile terminal of receiving target firmware are provided.Wherein, first mobile terminal includes data communication module, firmware extraction module, hardware information acquisition module, compatible detection module and mode switch module, and the second mobile terminal includes data communication module, firmware receiver module, firmware update module, hardware information detection module and mode switch module.
Wherein, the first mobile terminal is responsible for providing target firmware, controls the second mobile terminal, sets up data channel, and by data channel, self built-in target firmware is transferred to the second mobile terminal.Second mobile terminal is responsible for assistance first mobile terminal and is set up data channel, receives the target firmware that the first mobile terminal sends, and replaces self originally built-in firmware with the target firmware received.Data channel is the bridge of connection first mobile terminal and the second mobile terminal, is responsible for transmitting data between the first mobile terminal and the second mobile terminal.Described data include but not limited to: the hardware information etc. of the target firmware data that the instruction response message that the first mobile terminal sends to the director data of the second mobile terminal, the second mobile terminal feeds back to the first mobile terminal, the first mobile terminal are embedded and the second mobile terminal.
In addition, each module of the first mobile terminal and the second mobile terminal can co-exist in same mobile terminal.Like this, each mobile terminal not only can as the first mobile terminal but also can as the second mobile terminal.
Particularly, as shown in Figure 5, mobile terminal firmware update of the present invention comprises the following steps:
The data communication module of the step a1: the first mobile terminal and the second mobile terminal mutually cooperates and sets up the second data channel.Data channel type includes but not limited to USB cable, WIFI, bluetooth etc.
Preferably, connect by USB cable between the first mobile terminal, the second mobile terminal.Adopt OTG(On The Go, movable) technology, make the second mobile terminal as the USB peripheral device of the first mobile terminal, between the first mobile terminal, the second mobile terminal, set up USB data transmission path.
In addition, this step can add the protection mechanisms such as the authentication between the first mobile terminal, the second mobile terminal, so that the preliminary both sides of confirmation are the mobile terminals of the same clan supporting that firmware copies.
Step a2: the first mobile terminal detects the hardware of whether compatible second mobile terminal of own target firmware.Hardware information acquisition module in first mobile terminal gets the hardware configuration information of the second mobile terminal by the hardware information detection module in the second mobile terminal, and then judges whether the hardware of the second mobile terminal can run the built-in target firmware of the first mobile terminal.
Preferably: the compatible detection module in the first mobile terminal, according to prestore, ardware model number list that target firmware is supported, inquire about the model of the hardware got from the second mobile terminal whether in supported ardware model number list.If all hardware of the second mobile terminal is all supported, then show that target firmware may operate on the second mobile terminal, i.e. the target firmware of the first mobile terminal and the hardware compatibility of the second mobile terminal; Otherwise, show that the two is incompatible.
Step a3: the first mobile terminal passes through the second data channel to the second mobile terminal sending mode switching command, self is switched to controlled upgrade mode by the mode switch module of the second mobile terminal after receiving pattern switching command, and switching result is offered the first mobile terminal.
In order to upgrade mobile terminal firmware, must be write mobile terminal firmware place subregion when mobile terminal firmware does not use.So, need a simplified system for subsequent use upgraded for mobile terminal firmware, hereinafter referred to as firmware update system.This system comprises four modules such as the aforementioned data communication module be positioned on the second mobile terminal, firmware receiver module, firmware update module and mode switch module.Under firmware update system, the storage equipment partition at firmware place when firmware update module normally works to mobile terminal has and writes authority completely, can upgrade the full content of mobile terminal firmware place subregion.
Second mobile terminal switches to the flow process of controlled upgrade mode as shown in Figure 6.Second mobile terminal, when receiving pattern switching command, arranges the mark empty file/flags/enter_upgrade_firmware_mode.flg of the firmware file-name under the path of making an appointment (be stored in) entering " controlled upgrade mode ".Then, mode switch module notifies that the second mobile terminal restarts.In the second mobile terminal restart procedure, mode switch module checks whether aforementioned mark exists, if existed, then enters into firmware update system; Otherwise, start mobile terminal malfunctioning systems.
After second mobile terminal is successfully cut into controlled upgrade mode, to the information of the first mobile terminal Report mode handover success, and send the request of setting up data channel to the first mobile terminal.
Self, after the feedback receiving the second mobile terminal pattern handover success, is switched to firmware by mode switch module and extracts and sending mode by the step a4: the first mobile terminal.
In order to extract mobile terminal firmware, need to read mobile terminal firmware place partition holding under the prerequisite of the mobile terminal operating system of not normal operation work.So, need a simplified system that is special, that extract for firmware and send, extract and transmitting system hereinafter referred to as firmware.
Firmware extract with transmitting system be data communication is only provided, firmware extracts, firmware sends and a simplified system of the necessary functions such as pattern switching.Specifically comprise the modules such as the aforementioned data communication module be positioned on the first mobile terminal, firmware extraction module and mode switch module.
Firmware extracts and transmitting system is another back-up system that operating system when normally using with mobile terminal is separated completely.Two systems be stored in respectively be separated completely, in two different subregions.Two systems can independently start, but can not start simultaneously.Firmware extracts and the application in transmitting system, has reading data permission to mobile terminal firmware place subregion.
First mobile terminal switches to the process of firmware extraction and sending mode as shown in Figure 7 from normal mode of operation.First, first mobile terminal, when receiving pattern switching command, arranges the mark empty file/flags/enter_get_firmware_mode.flg of the firmware file-name under the path of making an appointment (be stored in) entering " firmware extract and sending mode " by mode switch module.Then, mode switch module notifies that the first mobile terminal restarts.Finally, in the first mobile terminal restarting process, whether mode switch module detects aforementioned mark exists, if existed, then enters firmware and extracts and transmitting system; Otherwise, start mobile terminal malfunctioning systems.
Step a5: firmware extracts and the first mobile terminal under sending mode and the second mobile terminal under controlled upgrade mode, re-establishes data channel, be the first data channel by respective data communication module.
Aforementioned a3, a4 two be after step completes, and cut the first mobile terminal under new model respectively, the second mobile terminal can be connected by USB device again, the first mobile terminal is still USB main equipment, and the second mobile terminal is still that USB is from equipment.
Step a6: the first mobile terminal extracts self built-in target firmware by firmware extraction module, and sends it to the second mobile terminal.
Mention above, the memory device of the first mobile terminal has multiple partition holding.Firmware extraction module holds the partition information file of each partition information in a description memory device.This file writes in mobile terminal production run, is upgraded tool renewal when the partition information of memory device changes.This file is stored in firmware extraction with under the root directory of transmitting system place subregion, fixing by name: partition_table.inf.Firmware extraction module is according to information such as this partition information file determination target firmware place subregion, target firmware size, start-stop positions.And according to these information, from memory device, read corresponding data, send to the second mobile terminal.
Step a7: the first mobile terminal, after target firmware is sent completely, notifies that the second mobile terminal carries out firmware upgrade.
The firmware update module of the step a8: the second mobile terminal upgrades the firmware of self according to the target firmware received, and after renewal completes, notify the first mobile terminal.
Firmware update module holds the partition information file of second mobile terminal equally, after receiving target firmware, according to the partition information of the second mobile terminal, the target firmware received is written to accordingly, in subregion that mobile terminal firmware is corresponding, the firmware completing the second mobile terminal upgrades.Now, namely the second mobile terminal has and the first mobile terminal target firmware (firmware namely to be updated) completely, and namely the second mobile terminal has cloned the firmware of the first mobile terminal.Second mobile terminal transmission renewal completes instruction notification first mobile terminal firmware and has upgraded.
After the renewal that step a9: the first mobile terminal receives the second mobile terminal completes instruction, sending mode switching command notifies that the second mobile terminal switches back normal mode of operation.
Step a10: the first mobile terminal extracts from firmware and switches back normal mode of operation with sending mode.
So far, the target firmware of the first mobile terminal is by successful clone in the second mobile terminal, and under the first mobile terminal, the second mobile terminal be all in normal mode of operation, whole mobile terminal firmware renewal process terminates.
Adopt technical scheme of the present invention, reach the object of the firmware upgrading mobile terminal quickly and easily, improve the convenience of mobile terminal firmware renewal process.Compared with only supporting the mobile terminal of traditional firmware update mode, can effectively accelerate firmware support technical scheme of the present invention mobile terminal user circle in transmission and circulation, and then facilitate the development of customer group and the growth of such mobile terminal, promote brand loyalty and the product degree of recognition of such mobile terminal manufacturer simultaneously.
Many functional parts described in this instructions are all called as module, specifically to emphasize the independence of its implementation.
In the embodiment of the present invention, module can use software simulating, to be performed by various types of processor.For example, the executable code module of a mark can comprise one or more physics or the logical block of computer instruction, and for example, it can be built as object, process or function.However, the executable code of institute's identification module is does not have to be physically positioned at together, but can comprise and be stored in different different instruction physically, when these command logics combine, and its composition module and realize the regulation object of this module.
In fact, executable code module can be individual instructions or many bar instructions, and even can be distributed on multiple different code segment, is distributed in the middle of distinct program, and crosses over the distribution of multiple memory devices.Similarly, service data can be identified in module, and can realize according to any suitable form and be organized in the data structure of any suitable type.Described service data can be collected as individual data collection, or can be distributed on diverse location and (be included in different storage device), and can only be present on system or network as electronic signal at least in part.
When module can utilize software simulating, consider the level of existing hardware technique, so can with the module of software simulating, when not considering cost, those skilled in the art can build corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises existing semiconductor or other discrete element of conventional ultra-large integrated (VLSI) circuit or gate array and such as logic chip, transistor and so on.Module can also use programmable hardware device, the realizations such as such as field programmable gate array, programmable logic array, programmable logic device.
In each embodiment of the method for the present invention; the sequence number of described each step can not be used for the sequencing limiting each step; for those of ordinary skill in the art, under the prerequisite not paying creative work, the priority of each step is changed also within protection scope of the present invention.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a mobile terminal firmware update, is characterized in that, comprising:
Set up the first data channel between the second mobile terminal;
By described first data channel, the target firmware of self is sent to described second mobile terminal, and notify that described second mobile terminal carries out target firmware renewal;
After the renewal receiving described second mobile terminal completes instruction, notify that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
2. mobile terminal firmware update according to claim 1, is characterized in that, also comprises before the first data channel between described foundation and the second mobile terminal:
Set up the second data channel between described second mobile terminal;
Detect described target firmware whether with the hardware compatibility of described second mobile terminal;
When the hardware compatibility of described target firmware and described second mobile terminal, notify that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware and extract and sending mode.
3. mobile terminal firmware update according to claim 2, is characterized in that, whether the described target firmware of described detection comprises with the hardware compatibility of described second mobile terminal:
Obtain the hardware configuration information of described second mobile terminal;
According to the ardware model number list that the described target firmware prestored is supported, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
4. a mobile terminal firmware updating device, is characterized in that, comprising:
Data communication module, for setting up the first data channel between the second mobile terminal;
Firmware extraction module, for target firmware being sent to described second mobile terminal by described first data channel, and notifies that described second mobile terminal carries out target firmware renewal;
Mode switch module, after completing instruction in the renewal receiving described second mobile terminal, notifies that described second mobile terminal switches back normal mode of operation, and self is switched to normal mode of operation.
5. mobile terminal firmware updating device according to claim 4, is characterized in that,
Described data communication module is also for setting up the second data channel between described second mobile terminal;
Described device also comprises:
Compatible detection module, for detect described target firmware whether with the hardware compatibility of described second mobile terminal;
Described mode switch module, also for when the hardware compatibility of described target firmware and described second mobile terminal, notifies that described second mobile terminal enters controlled upgrade mode, and self is switched to firmware extraction and sending mode.
6. mobile terminal firmware updating device according to claim 5, is characterized in that, described device also comprises:
Hardware information acquisition module, for obtaining the hardware configuration information of described second mobile terminal;
The ardware model number list of described compatible detection module specifically for supporting according to the described target firmware prestored, inquire about the hardware of described second mobile terminal whether in described ardware model number list, if all hardware of described second mobile terminal all in described ardware model number list, then judges the hardware compatibility of described target firmware and described second mobile terminal.
7. a mobile terminal firmware update, is characterized in that, comprising:
Set up the first data channel between the first mobile terminal;
The target firmware of described first mobile terminal transmission is received by described first data channel;
Carry out firmware renewal according to the target firmware received, and after renewal completes, send renewal complete instruction to described first mobile terminal.
8. mobile terminal firmware update according to claim 7, is characterized in that, also comprises before the first data channel between described foundation and the first mobile terminal:
Set up the second data channel between described first mobile terminal;
The pattern switching command of described first mobile terminal is received by described second data channel;
Self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
9. a mobile terminal firmware updating device, is characterized in that, comprising:
Data communication module, for setting up the first data channel between the first mobile terminal;
Firmware receiver module, for receiving the target firmware that described first mobile terminal sends by described first data channel;
Firmware update module, for carrying out firmware renewal according to the target firmware that receives, and sends renewal and completes instruction to described first mobile terminal after renewal completes.
10. mobile terminal firmware updating device according to claim 9, is characterized in that,
Described data communication module is also for setting up the second data channel between described first mobile terminal;
Described device also comprises:
Mode switch module, for being received the pattern switching command of described first mobile terminal by described second data channel, self is switched to controlled upgrade mode, and switching result is sent to described first mobile terminal, extract and sending mode so that self is switched to firmware by described first mobile terminal.
CN201310594052.1A 2013-11-21 2013-11-21 Method and device for updating firmware of mobile terminal Pending CN104657161A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310594052.1A CN104657161A (en) 2013-11-21 2013-11-21 Method and device for updating firmware of mobile terminal
PCT/CN2014/082852 WO2015074435A1 (en) 2013-11-21 2014-07-23 Method and apparatus for updating firmware of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310594052.1A CN104657161A (en) 2013-11-21 2013-11-21 Method and device for updating firmware of mobile terminal

Publications (1)

Publication Number Publication Date
CN104657161A true CN104657161A (en) 2015-05-27

Family

ID=53178895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310594052.1A Pending CN104657161A (en) 2013-11-21 2013-11-21 Method and device for updating firmware of mobile terminal

Country Status (2)

Country Link
CN (1) CN104657161A (en)
WO (1) WO2015074435A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975303A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Upgrade control method and device
CN106227571A (en) * 2016-08-25 2016-12-14 维沃移动通信有限公司 Method for upgrading system and mobile terminal thereof
CN106951283A (en) * 2017-03-13 2017-07-14 广州视源电子科技股份有限公司 System and method for assisting PC (personal computer) end to update software by utilizing mobile end
CN107526602A (en) * 2017-09-05 2017-12-29 郑州云海信息技术有限公司 A kind of cmc method for updating edition and device
CN105072398B (en) * 2015-08-06 2018-07-13 浙江宇视科技有限公司 A kind of device updating method and device
CN109002302A (en) * 2017-05-25 2018-12-14 佛山市顺德区顺达电脑厂有限公司 The firmware update of management engine
CN112241280A (en) * 2019-07-17 2021-01-19 Wago管理有限责任公司 Firmware update of components of a modular node
US11880315B2 (en) 2020-04-15 2024-01-23 Hewlett-Packard Development Company, L.P. Operation of an output component to produce a representation of an instruction set

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111796856B (en) * 2020-08-26 2022-10-11 北京紫光展锐通信技术有限公司 Differential upgrading method and device, storage medium and computer equipment
CN115113894A (en) * 2021-05-19 2022-09-27 深圳方位通讯科技有限公司 Equipment upgrading method, terminal equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711026A (en) * 2009-12-11 2010-05-19 中兴通讯股份有限公司 Inter-mobile terminal software version upgrading method and system
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN102231758A (en) * 2011-07-05 2011-11-02 华为终端有限公司 Software upgrading method and device of electronic equipment
CN102707960A (en) * 2011-03-28 2012-10-03 联想(北京)有限公司 Firmware updating method, portable mobile terminal and portable equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754895B1 (en) * 2001-04-26 2004-06-22 Palm Source, Inc. Method and system for automatic firmware updates in a portable hand-held device
CN101414454B (en) * 2007-10-18 2010-11-10 佳世达科技股份有限公司 Method for updating display firmware
CN101452692B (en) * 2007-12-04 2011-05-11 瑞昱半导体股份有限公司 Firmware updating system
CN101184301A (en) * 2007-12-14 2008-05-21 中兴通讯股份有限公司 Mobile terminal remote firmware updating method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101711026A (en) * 2009-12-11 2010-05-19 中兴通讯股份有限公司 Inter-mobile terminal software version upgrading method and system
CN102707960A (en) * 2011-03-28 2012-10-03 联想(北京)有限公司 Firmware updating method, portable mobile terminal and portable equipment
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN102231758A (en) * 2011-07-05 2011-11-02 华为终端有限公司 Software upgrading method and device of electronic equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105072398B (en) * 2015-08-06 2018-07-13 浙江宇视科技有限公司 A kind of device updating method and device
CN105975303A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Upgrade control method and device
CN106227571A (en) * 2016-08-25 2016-12-14 维沃移动通信有限公司 Method for upgrading system and mobile terminal thereof
CN106951283A (en) * 2017-03-13 2017-07-14 广州视源电子科技股份有限公司 System and method for assisting PC (personal computer) end to update software by utilizing mobile end
CN109002302A (en) * 2017-05-25 2018-12-14 佛山市顺德区顺达电脑厂有限公司 The firmware update of management engine
CN107526602A (en) * 2017-09-05 2017-12-29 郑州云海信息技术有限公司 A kind of cmc method for updating edition and device
CN112241280A (en) * 2019-07-17 2021-01-19 Wago管理有限责任公司 Firmware update of components of a modular node
US11880315B2 (en) 2020-04-15 2024-01-23 Hewlett-Packard Development Company, L.P. Operation of an output component to produce a representation of an instruction set

Also Published As

Publication number Publication date
WO2015074435A1 (en) 2015-05-28

Similar Documents

Publication Publication Date Title
CN104657161A (en) Method and device for updating firmware of mobile terminal
CN102232304B (en) Method, system and terminal for system update between mobile communication terminals
US20100325622A1 (en) Updating Firmware of an Electronic Device
KR102692889B1 (en) Method for updating firmware, electronic device and storage medium therefor
CN106020875B (en) Firmware update management method and device of embedded terminal
EP2456257B1 (en) Method and system for upgrading wireless data card
CN101329632B (en) Method and apparatus for starting CPU by BOOT
US9557791B2 (en) Computer device and method for converting working mode of universal serial bus connector of the computer device
CN106610840A (en) FOTA (Firmware Over-The-Air) upgrade method and system
EP2195741A1 (en) Firmware image update and management
CN105808292A (en) Firmware upgrade method of embedded terminal device
CN103197939A (en) Firmware updating in a hybrid computing environment
CN104185836A (en) Method and system for verifying proper operation of computing device after system change
CN103365688A (en) Method for automatic installation and synchronization of software between Android intelligent devices
CN103761088A (en) Multiple operation system switching method applicable to ARM (advanced risc machine) framework mobile equipment
CN101866295A (en) Network installation method of operating system
CN102214106B (en) Automatic dual-system guide method of embedded device
EP2664988B1 (en) Method, device and system for installing terminal software
CN104991805B (en) Smart machine and its system calamity are for control method
US20050010914A1 (en) Method for upgrading firmware
CN107423075A (en) The register method and user terminal of driving
WO2014187401A1 (en) Method and device for remote base station version installation
CN112015452B (en) Firmware upgrading method and device for gate system and gate system
CN103577204A (en) Software upgrading method and software upgrading system for mobile devices
CN101727333A (en) Method for updating firmware in microprocessor and firmware updating system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150527

RJ01 Rejection of invention patent application after publication