CN106227571A - Method for upgrading system and mobile terminal thereof - Google Patents
Method for upgrading system and mobile terminal thereof Download PDFInfo
- Publication number
- CN106227571A CN106227571A CN201610727150.1A CN201610727150A CN106227571A CN 106227571 A CN106227571 A CN 106227571A CN 201610727150 A CN201610727150 A CN 201610727150A CN 106227571 A CN106227571 A CN 106227571A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- image file
- master control
- upgrade image
- controlled mobile
- 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
Classifications
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to moving communicating field, it is provided that a kind of method for upgrading system and mobile terminal thereof.The embodiment of the present invention, it is connected by the OTG set up between controlled mobile terminal and the master control mobile terminal with same hardware version information, transmit upgrade image file and the partition information of described master control mobile terminal, and perform system upgrade, the brush machine upgrading making mobile terminal only needs the mobile terminal finding another hardware version to match to complete, without preparing AKU in advance in master control mobile terminal, without by computer, without seeking help from specialized maintenance personnel, more convenient to operate, time saving and energy saving, it is effectively improved Consumer's Experience.
Description
Technical field
The present invention relates to moving communicating field, particularly relate to a kind of method for upgrading system and mobile terminal thereof.
Background technology
System upgrade is a kind of operation that mobile phone users is conventional, can be used for making up software vulnerability, remove internal memory rubbish,
Overcome mobile phone often to crash, the FAQs such as application crash,
The fastboot pattern of the Bootloader of existing android system can carry out data by usb protocol
Transmission, brushes into being mirrored to target terminal accordingly, reaches the target of the software of upgrading intelligent terminal, is that one is reliable quickly
Upgrading software mode.But the restrictive condition of this fastboot brush machine mode is the most, need to prepare correspondence in advance soft
The mirror image bag of part and computer, run fastboot related communication program by computer end, could brush into corresponding mirror image, generally use
In the debugging of research and development and software upgrading stage after sale, complex operation and unfriendly, application scenarios compares limitation.
Summary of the invention
For solving the above-mentioned problems in the prior art, on the one hand the embodiment of the present invention provides a kind of system upgrade side
Method, is applied to controlled mobile terminal, including:
Set up OTG with master control mobile terminal to be connected;
Receive the hardware revision information that master control mobile terminal sends;
Judge whether the hardware version of master control mobile terminal mates with the hardware version of controlled mobile terminal;
When the hardware version of described master control mobile terminal mates with the hardware version of described controlled mobile terminal, receive institute
State the upgrade image file of master control mobile terminal and corresponding partition information;
Described upgrade image file is loaded to corresponding subregion according to described partition information.
On the other hand, the embodiment of the present invention additionally provides a kind of controlled mobile terminal, including:
Link block, is connected for setting up OTG with master control mobile terminal;
Version information receiver module, for receiving the hardware revision information that master control mobile terminal sends;
File reception module, is used for the hardware of the hardware version when described master control mobile terminal and described controlled mobile terminal
During version match, receive the upgrade image file of described master control mobile terminal and corresponding partition information;
Upgraded module, for loading described upgrade image file to corresponding subregion according to described partition information.The present invention is real
Execute example, be connected by the OTG set up between controlled mobile terminal and the master control mobile terminal with same hardware version information, pass
The upgrade image file of defeated master control mobile terminal and partition information, and perform system upgrade so that the brush machine upgrading of mobile terminal
The mobile terminal finding another hardware version to match only is needed to complete, it is not necessary to prepare in advance to rise in master control mobile terminal
Level bag, it is not necessary to by computer, without seeking help from specialized maintenance personnel, more convenient to operate, time saving and energy saving, it is effectively improved use
Family is experienced.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the first embodiment of the method for upgrading system of the present invention;
Fig. 2 is the schematic flow sheet of the second embodiment of the method for upgrading system of the present invention;
Fig. 3 is the structural representation of the first embodiment of the controlled mobile terminal of the present invention;
Fig. 4 is the structural representation of the second embodiment of the controlled mobile terminal of the present invention.
Fig. 5 is the structural representation of the 3rd embodiment of the controlled mobile terminal of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise
Embodiment, broadly falls into the scope of protection of the invention.
Refer to Fig. 1, be the schematic flow sheet of the first embodiment of the method for upgrading system of the present invention, the method is applied to
Controlled mobile terminal, including:
Step 11: set up OTG with master control mobile terminal and be connected.
In this step, OTG agreement is the standard of a kind of USB embedded device increased in USB2.0 specification, and this agreement can
In the case of there is no main frame, it is achieved the data transmission between equipment.Under OTG agreement, when a certain equipment is connected to computer,
This equipment can use as USB device, and when this equipment is connected with other USB devices, this equipment can make as usb host
With.OTG connects data transmission when can realize not having main frame between equipment and equipment, makes USB device break away from original principal and subordinate knot
The restriction of structure, it is achieved that transmission mode end to end.Controlled mobile terminal is set up after OTG is connected with master control mobile terminal, just builds
Erect the file transmission channel end to end carrying out system upgrade based on fastboot agreement so that system upgrade is without by electricity
Brain performs.
The multiple shapes such as master control mobile terminal and controlled mobile terminal concretely smart mobile phone, panel computer, palm PC
The terminal unit of formula.
Step 12: receive the hardware revision information that master control mobile terminal sends.
In this step, hardware version such as includes the type version information of mobile terminal.The transmission of hardware version can use
The mechanism of request response, i.e. controlled mobile terminal send the hardware version letter obtaining this master control mobile terminal to master control mobile terminal
The request message of breath, after master control mobile terminal receives this request message, reads the hardware revision information of self, and is filled into response
Message returns to controlled mobile terminal.
Step 13: when the hardware version of master control mobile terminal mates with the hardware version of controlled mobile terminal, receives main
The upgrade image file of control mobile terminal and corresponding partition information.
In this step, due to mobile terminal hardware version can on software version produce impact, when master control mobile terminal with
When the hardware version of controlled mobile terminal does not mates, it is impossible to perform brush machine upgrading each other.Therefore, connecing when controlled mobile terminal
After receiving the hardware revision information that master control mobile terminal sends, also read the hardware revision information of self, and the two is compared
Relatively.If version matches, just perform follow-up updating operation, or do not mate, then cancel upgrading, and point out customer upgrade failure,
Or prompting user changes master control mobile terminal, until the hardware version of master control mobile terminal and controlled mobile terminal matches.
When confirming after version match, master control mobile terminal is by the image file of certain system partitioning on self flash memory and root
The partition information that the parameters such as the mark according to subregion generate is transferred to controlled mobile terminal by OTG connection.This partition information is used for
Controlled mobile terminal is instructed to utilize above-mentioned image file to complete the upgrading of corresponding subregion.Upgrading can include the software/firmware of system
Renewal, parameter setting, parameter modification etc..
Step 14: according to partition information loading upgrading image file to corresponding subregion.
In this step, controlled mobile terminal is according to the partition identification in partition information, by upgrade image file download to quilt
The flash memory of control mobile terminal, completes the loading of mirror image, and the label information that the most also can return to upgrade successfully is to master control mobile terminal.
The embodiment of the present invention, by between controlled mobile terminal and the master control mobile terminal with same hardware version information
The OTG set up connects, the upgrade image file of transmission master control mobile terminal and partition information, and performs system upgrade so that move
The brush machine upgrading of dynamic terminal only needs the mobile terminal finding another hardware version to match to complete, it is not necessary in advance in master control
Mobile terminal prepares AKU, it is not necessary to by computer, without seeking help from specialized maintenance personnel, more convenient to operate, save time
Laborsaving, it is effectively improved Consumer's Experience.
Refer to Fig. 2, be the schematic flow sheet of the second embodiment of the method for upgrading system of the present invention, the method is applied to
Controlled mobile terminal, including:
Step 21: set up OTG with master control mobile terminal and be connected.
Step 22: controlled mobile terminal enters fast attack mode.
In this step, after setting up OTG and connecting, controlled mobile terminal and master control mobile terminal all enter quickly startup
(fastboot) pattern, in order to make the follow-up transmission to upgrade image file and corresponding partition information can assist based on fastboot
Discuss and carry out.Fastboot agreement is the brush machine agreement of a kind of more bottom of Android definition, and user can pass through
Fastboot command-line tool carries out brush machine upgrading.System upgrade under fastboot pattern is safer, reliable.
Step 23: receive the hardware revision information that master control mobile terminal sends.
Step 24: when the hardware version of master control mobile terminal mates with the hardware version of controlled mobile terminal, receives main
The upgrade image file of control mobile terminal and corresponding partition information.
Above-mentioned steps 21,23,24 is identical with the corresponding step in the first embodiment of method for upgrading system, the most superfluous at this
State.
Step 25: the upgrade image file received is read the Double Data Rate synchronous dynamic random of controlled mobile terminal
Memorizer;
In this step, Double Data Rate synchronous DRAM (DDR) i.e. DDR SDRAM, with traditional forms data speed
Rate is compared, and DDR carries out twice read/write operation in achieving a clock cycle.Therefore, compared to the upgrade image that will receive
File is directly stored in the method in flash memory, and the present embodiment first downloads files into DDR caching, is re-synchronised in flash memory, can have
Effect improves message transmission rate, reduces the time of system upgrade.
Step 26: the upgrade image file being buffered in Double Data Rate synchronous DRAM is carried out data complete
Property verification.
In this step, in order to prevent the error code in the transmission of upgrade image file from causing subsequent upgrade failure, need transmission
After the upgrade image file that is buffered in DDR carry out data integrity verifying, to ensure the availability of upgrade file.If verification is lost
Lose, terminate upgrading, and user is pointed out accordingly.
Step 27: according to partition information, upgrade image file is synchronized from Double Data Rate synchronous DRAM
In the corresponding subregion of the flash memory of controlled mobile terminal.
In this step, after upgrade image file is dumped to the corresponding subregion of flash memory from DDR, i.e. complete this subregion
Upgrading.
Step 25 is to 27 repeatable execution, until all system partitionings of controlled mobile terminal are all upgraded complete.Pass through
Use the method upgraded one by one of subregion, can avoid the DDR memory space that causes because upgrade image file data amount is excessive not
Enough problems, the most also when the transmission of upgrade image file is wrong, only carry out partial retransmission, are not required to all retransmit,
The embodiment of the present invention, by judging whether hardware version is mated and deposited by Double Data Rate synchronous dynamic random
Reservoir carrys out unloading upgrade image file, can find that the unmatched situation of hardware version stops upgrading in time, prevent from upgrading unsuccessfully,
And it is effectively improved the speed that file transmits, improve the efficiency of upgrading.
Refer to Fig. 3, be the structural representation of the first embodiment of the controlled mobile terminal of the present invention, this is controlled mobile whole
End 100 includes:
Link block 110, is connected for setting up OTG with master control mobile terminal;
Version information receiver module 120, is connected with link block 110, for receiving the hardware that master control mobile terminal sends
Version information;
File reception module 130, is connected with version information receiver module 120, for when the hardware version of master control mobile terminal
When this mates with the hardware version of controlled mobile terminal, receive upgrade image file and the corresponding subregion letter of master control mobile terminal
Breath;
Upgraded module 140, is connected with file reception module 130, for according to partition information loading upgrading image file extremely
Corresponding subregion.
OTG agreement is the standard of a kind of USB embedded device increased in USB2.0 specification, and this agreement can not have main frame
In the case of, it is achieved the data transmission between equipment.Under OTG agreement, when a certain equipment is connected to computer, this equipment can
Use as USB device, and when this equipment is connected with other USB devices, this equipment can use as usb host.OTG is even
Connect the data transmission between equipment and equipment when can realize not having main frame, make USB device break away from original hypotactic restriction,
Achieve transmission mode end to end.Controlled mobile terminal is set up after OTG is connected with master control mobile terminal, just set up based on
Fastboot agreement carries out the file transmission channel end to end of system upgrade so that system upgrade is without holding by computer
OK.
The multiple shapes such as master control mobile terminal and controlled mobile terminal concretely smart mobile phone, panel computer, palm PC
The terminal unit of formula.
Hardware version such as includes the type version information of mobile terminal.The transmission of hardware version can use request response
The request that mechanism, i.e. controlled mobile terminal send, to master control mobile terminal, the hardware revision information obtaining this master control mobile terminal disappears
Breath, after master control mobile terminal receives this request message, reads the hardware revision information of self, and is filled in response message return
To controlled mobile terminal.
Owing to the hardware version of mobile terminal can produce impact to software version, when master control mobile terminal is mobile whole with controlled
When the hardware version of end does not mates, it is impossible to perform brush machine upgrading each other.Therefore, master control shifting is being received when controlled mobile terminal
After the hardware revision information that dynamic terminal sends, also read the hardware revision information of self, and the two is compared.If version phase
Coupling, just performs follow-up updating operation, or does not mates, then cancel upgrading, and point out customer upgrade failure, or prompting user is more
Change owner control mobile terminal, until the hardware version of master control mobile terminal and controlled mobile terminal matches.
When confirming after version match, master control mobile terminal is by the image file of certain system partitioning on self flash memory and root
The partition information that the parameters such as the mark according to subregion generate is transferred to controlled mobile terminal by OTG connection.This partition information is used for
Controlled mobile terminal is instructed to utilize above-mentioned image file to complete the upgrading of corresponding subregion.Upgrading can include the software/firmware of system
Renewal, parameter setting, parameter modification etc..
Controlled mobile terminal is according to the partition identification in partition information, by upgrade image file download to controlled mobile terminal
Flash memory, complete the loading of mirror image, the label information that the most also can return to upgrade successfully is to master control mobile terminal.
The embodiment of the present invention, by between controlled mobile terminal and the master control mobile terminal with same hardware version information
The OTG set up connects, the upgrade image file of transmission master control mobile terminal and partition information, and performs system upgrade so that move
The brush machine upgrading of dynamic terminal only needs the mobile terminal finding another hardware version to match to complete, it is not necessary in advance in master control
Mobile terminal prepares AKU, it is not necessary to by computer, without seeking help from specialized maintenance personnel, more convenient to operate, save time
Laborsaving, it is effectively improved Consumer's Experience.
Refer to Fig. 4, be the structural representation of the second embodiment of the controlled mobile terminal of the present invention, this is controlled mobile whole
End 200 includes:
Link block 210, is connected for setting up OTG with master control mobile terminal;
Version information receiver module 220, for receiving the hardware revision information that master control mobile terminal sends;
File reception module 230, is connected with version information receiver module 220, for when the hardware version of master control mobile terminal
When this mates with the hardware version of controlled mobile terminal, receive upgrade image file and the corresponding subregion letter of master control mobile terminal
Breath;
Upgraded module 240, is connected with file reception module 230, for according to partition information loading upgrading image file extremely
Corresponding subregion.
Preparation module 250, is connected with link block 210 and version information receiver module 220, is used for making controlled mobile terminal
Enter fast attack mode.
Further, upgraded module 240 includes buffer unit 241, verification unit 242 and lock unit 243.Buffer unit
241 for reading the Double Data Rate synchronous DRAM of controlled mobile terminal by the upgrade image file received;
Verification unit 242 is complete for the upgrade image file being buffered in Double Data Rate synchronous DRAM is carried out data
Property verification;Lock unit 243 is for according to partition information, by upgrade image file from Double Data Rate synchronous DRAM
In be synchronized to controlled mobile terminal flash memory corresponding subregion in.
After setting up OTG and connecting, controlled mobile terminal and master control mobile terminal all enter and quickly start (fastboot)
Pattern, in order to make the follow-up transmission to upgrade image file and corresponding partition information can carry out based on fastboot agreement.
Fastboot agreement is the brush machine agreement of a kind of more bottom of Android definition, and user can pass through fastboot order line
Instrument carries out brush machine upgrading.System upgrade under fastboot pattern is safer, reliable.
Double Data Rate synchronous DRAM (DDR) i.e. DDR SDRAM, compared with traditional single data rate, DDR
Twice read/write operation is carried out in achieving a clock cycle.Therefore, directly deposit compared to by the upgrade image received file
Storing up the method in flash memory, the present embodiment first downloads files into DDR caching, is re-synchronised in flash memory, can be effectively improved data
Transfer rate, reduces the time of system upgrade.
In order to prevent the error code in the transmission of upgrade image file from causing subsequent upgrade failure, need to be buffered in after transmission
Upgrade image file in DDR carries out data integrity verifying, to ensure the availability of upgrade file.If verifying unsuccessfully, terminate
Upgrading, and user is pointed out accordingly.
After upgrade image file is dumped to the corresponding subregion of flash memory from DDR, i.e. complete the upgrading of this subregion.
The embodiment of the present invention, by judging whether hardware version is mated and deposited by Double Data Rate synchronous dynamic random
Reservoir carrys out unloading upgrade image file, can find that the unmatched situation of hardware version stops upgrading in time, prevent from upgrading unsuccessfully,
And it is effectively improved the speed that file transmits, improve the efficiency of upgrading.
Refer to Fig. 5, be the structural representation of the controlled mobile terminal of the 3rd embodiment of the controlled mobile terminal of the present invention
Figure, this controlled mobile terminal 500 includes: at least one processor 501, memorizer 502, at least one network interface 504 and use
Family interface 503.Each assembly in controlled mobile terminal 500 is coupled by bus system 505.It is understood that total linear system
System 505 is for realizing the connection communication between these assemblies.Bus system 505, in addition to including data/address bus, also includes power supply
Bus, control bus and status signal bus in addition.But for the sake of understanding explanation, in Figure 5 various buses are all designated as bus
System 505.
Wherein, user interface 503 can include button, various acceleration transducer, especially gravity sensor and gyro
Instrument.
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The memorizer 502 of system and method described herein be intended to include but not limited to these and arbitrarily its
It is suitable for the memorizer of type.
In some embodiments, memorizer 502 stores following element, hardware revision information, upgrade image file,
Partition information, executable module or data structure, or their subset, or their superset: operating system 5021
With application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for
Realize various basic business and process hardware based task.Application program 5022, comprises various application program, such as media
Player (Media Player), browser (Browser) etc., be used for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of memorizer 502 storage, concrete, can be application
The program stored in program 5022 or instruction, controlled mobile terminal is set up OTG with master control mobile terminal and is connected;Processor 501 leads to
Cross described OTG and connect the hardware revision information receiving the transmission of described master control mobile terminal;Hardware when described master control mobile terminal
When version mates with the hardware version of described controlled mobile terminal, processor 501 connects the described master control of reception by described OTG and moves
The upgrade image file of dynamic terminal and corresponding partition information;Processor 501 loads described upgrading mirror according to described partition information
As file is to corresponding subregion.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501.
Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.
Above-mentioned processor 501 can be general processor, digital signal processor (Digital Signal
Processor, DSP), special IC (Application Specific Integrated Circuit ASIC), existing
Become programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete
Door or transistor logic, discrete hardware components.Can realize or perform the disclosed each side in the embodiment of the present invention
Method, step and logic diagram.The process that general processor can be microprocessor or this processor can also be any routine
Device etc..Hardware decoding processor can be embodied directly in conjunction with the step of the method disclosed in the embodiment of the present invention to have performed,
Or combine execution by the hardware in decoding processor and software module to complete.Software module may be located at random access memory, dodges
Deposit, read only memory, ripe the depositing in this area such as programmable read only memory or electrically erasable programmable memorizer, depositor
In storage media.This storage medium is positioned at memorizer 502, and processor 501 reads the information in memorizer 502, complete in conjunction with its hardware
Become the step of said method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein
Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or
Processor is outside to be realized.
Alternatively, as another embodiment, processor 501 makes described controlled mobile terminal enter fast attack mode.
Optionally, as another embodiment, processor 501 sends instruction, the described upgrade image file that will receive
Read the Double Data Rate synchronous DRAM of described controlled mobile terminal;Processor 501 according to described partition information,
Send instruction and described upgrade image file is synchronized to from described Double Data Rate synchronous DRAM described controlled shifting
In the corresponding subregion of the flash memory of dynamic terminal.
Optionally, as another embodiment, processor 501 is to being buffered in the storage of described Double Data Rate synchronous dynamic random
Described upgrade image file in device carries out data integrity verifying.
Optionally, as another embodiment, all system partitionings to described controlled mobile terminal, processor 501 weight
The multiple upgrade image file performing to receive described master control mobile terminal and the step of corresponding partition information, and according to described point
District's information loads the step of the most corresponding subregion of described upgrade image file, until all system partitionings are all upgraded complete.
Controlled mobile terminal 500 is capable of each process that in previous embodiment, mobile terminal realizes, for avoiding repeating,
Here repeat no more.The embodiment of the present invention, moves end by controlled mobile terminal and the master control with same hardware version information
The OTG set up between end connects, and transmits upgrade image file and the partition information of described master control mobile terminal, and performs system
Upgrading so that the brush machine upgrading of mobile terminal only needs the mobile terminal finding another hardware version to match to complete, nothing
Need to shift to an earlier date preparation AKU in master control mobile terminal, it is not necessary to by computer, without seeking help from specialized maintenance personnel, operation is more
Add conveniently, time saving and energy saving, it is effectively improved Consumer's Experience.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned each function
The division of module is illustrated, and in actual application, can distribute above-mentioned functions by different function moulds as desired
Block completes, and the internal structure of device will be divided into different functional modules, to complete all or part of merit described above
Energy.The specific works process of the system of foregoing description, device and unit, the corresponding mistake being referred in preceding method embodiment
Journey, does not repeats them here.
In several embodiments provided herein, it should be understood that disclosed mobile terminal and control method, permissible
Realize by another way.Such as, the embodiment of mobile terminal described above is only schematically, described module or
The division of unit, is only a kind of logic function and divides, and actual can have other dividing mode, the most multiple unit when realizing
Or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated list
Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit realizes and as independent production marketing or use using the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part that in other words prior art contributed or this technical scheme completely or partially can be with the form of software product
Embodying, this computer software product is stored in a storage medium, including some instructions with so that a computer
Equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform the present invention each
All or part of step of method described in embodiment.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all essences in the present invention
Any amendment, equivalent and the improvement etc. made within god and principle, should be included within the scope of the present invention.
Claims (9)
1. a method for upgrading system, is applied to controlled mobile terminal, it is characterised in that including:
Set up OTG with master control mobile terminal to be connected;
Receive the hardware revision information that described master control mobile terminal sends;
When the hardware version of described master control mobile terminal mates with the hardware version of described controlled mobile terminal, receive described master
The upgrade image file of control mobile terminal and corresponding partition information;
Described upgrade image file is loaded to corresponding subregion according to described partition information.
2. the method for claim 1, it is characterised in that set up the step that OTG is connected with master control mobile terminal described
Afterwards, also include:
Described controlled mobile terminal enters fast attack mode.
3. the method for claim 1, it is characterised in that described according to described partition information loading described upgrade image literary composition
The step of the most corresponding subregion of part, including:
The Double Data Rate synchronous dynamic random that the described upgrade image file received reads described controlled mobile terminal is deposited
Reservoir;
According to described partition information, described upgrade image file is synchronized from described Double Data Rate synchronous DRAM
In the corresponding subregion of the flash memory of described controlled mobile terminal.
4. method as claimed in claim 3, it is characterised in that the described upgrade image file received is read described
After the step of the Double Data Rate synchronous DRAM of described controlled mobile terminal, believe according to described subregion described
Breath, is synchronized to described controlled mobile terminal by described upgrade image file from described Double Data Rate synchronous DRAM
Flash memory corresponding subregion in step before, also include:
The described upgrade image file being buffered in described Double Data Rate synchronous DRAM is carried out data integrity
Verification.
5. method as claimed in claim 4, it is characterised in that all system partitionings to described controlled mobile terminal, repeats
Perform upgrade image file and the step of corresponding partition information of described reception described master control mobile terminal, and according to described
Partition information loads the step of the most corresponding subregion of described upgrade image file, until all system partitionings are all upgraded complete.
6. a controlled mobile terminal, it is characterised in that including:
Link block, is connected for setting up OTG with master control mobile terminal;
Version information receiver module, for receiving the hardware revision information that described master control mobile terminal sends;
File reception module, is used for the hardware version of the hardware version when described master control mobile terminal and described controlled mobile terminal
During coupling, receive the upgrade image file of described master control mobile terminal and corresponding partition information;
Upgraded module, for loading described upgrade image file to corresponding subregion according to described partition information.
7. controlled mobile terminal as claimed in claim 6, it is characterised in that also include:
Preparation module, is used for making described controlled mobile terminal enter fast attack mode.
8. controlled mobile terminal as claimed in claim 6, it is characterised in that described upgraded module includes:
Buffer unit, same for the described upgrade image file received being read the Double Data Rate of described controlled mobile terminal
Step dynamic RAM;
Lock unit, for according to described partition information, by described upgrade image file from described Double Data Rate synchronous dynamic with
In the corresponding subregion of the flash memory being synchronized to described controlled mobile terminal in machine memorizer.
9. controlled mobile terminal as claimed in claim 8, it is characterised in that described upgraded module also includes:
Verification unit, for entering the described upgrade image file being buffered in described Double Data Rate synchronous DRAM
Row data integrity verifying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610727150.1A CN106227571A (en) | 2016-08-25 | 2016-08-25 | Method for upgrading system and mobile terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610727150.1A CN106227571A (en) | 2016-08-25 | 2016-08-25 | Method for upgrading system and mobile terminal thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106227571A true CN106227571A (en) | 2016-12-14 |
Family
ID=57555351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610727150.1A Pending CN106227571A (en) | 2016-08-25 | 2016-08-25 | Method for upgrading system and mobile terminal thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106227571A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107092513A (en) * | 2017-06-29 | 2017-08-25 | 上海传英信息技术有限公司 | The upgrading of Intelligent mobile equipment or rebuilt component and upgrading or restorative procedure |
CN107168818A (en) * | 2017-03-30 | 2017-09-15 | 努比亚技术有限公司 | Terminal and brush machine failure recovery method |
CN108170450A (en) * | 2017-12-28 | 2018-06-15 | 北京远特科技股份有限公司 | The upgrade method of system firmware, apparatus and system in a kind of equipment |
CN109614155A (en) * | 2018-12-13 | 2019-04-12 | 上海二三四五网络科技有限公司 | A kind of control method and control device for ROM upgrading power-off protection |
CN111818463A (en) * | 2019-08-13 | 2020-10-23 | 北京骑胜科技有限公司 | Method and device for transmitting mirror image file, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184115A (en) * | 2011-05-20 | 2011-09-14 | 青岛海信移动通信技术股份有限公司 | Method and device for updating system software |
CN104298532A (en) * | 2014-11-04 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | Upgrading method and upgrading system for software |
CN104657161A (en) * | 2013-11-21 | 2015-05-27 | 中兴通讯股份有限公司 | Method and device for updating firmware of mobile terminal |
CN105446769A (en) * | 2015-11-03 | 2016-03-30 | 广东欧珀移动通信有限公司 | Mirror image file update processing method and apparatus and terminal device |
-
2016
- 2016-08-25 CN CN201610727150.1A patent/CN106227571A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184115A (en) * | 2011-05-20 | 2011-09-14 | 青岛海信移动通信技术股份有限公司 | Method and device for updating system software |
CN104657161A (en) * | 2013-11-21 | 2015-05-27 | 中兴通讯股份有限公司 | Method and device for updating firmware of mobile terminal |
CN104298532A (en) * | 2014-11-04 | 2015-01-21 | 上海斐讯数据通信技术有限公司 | Upgrading method and upgrading system for software |
CN105446769A (en) * | 2015-11-03 | 2016-03-30 | 广东欧珀移动通信有限公司 | Mirror image file update processing method and apparatus and terminal device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107168818A (en) * | 2017-03-30 | 2017-09-15 | 努比亚技术有限公司 | Terminal and brush machine failure recovery method |
CN107168818B (en) * | 2017-03-30 | 2021-05-04 | 努比亚技术有限公司 | Terminal and machine-refreshing failure recovery method |
CN107092513A (en) * | 2017-06-29 | 2017-08-25 | 上海传英信息技术有限公司 | The upgrading of Intelligent mobile equipment or rebuilt component and upgrading or restorative procedure |
CN107092513B (en) * | 2017-06-29 | 2024-04-09 | 上海传英信息技术有限公司 | Upgrading or repairing component and upgrading or repairing method of intelligent mobile equipment |
CN108170450A (en) * | 2017-12-28 | 2018-06-15 | 北京远特科技股份有限公司 | The upgrade method of system firmware, apparatus and system in a kind of equipment |
CN109614155A (en) * | 2018-12-13 | 2019-04-12 | 上海二三四五网络科技有限公司 | A kind of control method and control device for ROM upgrading power-off protection |
CN111818463A (en) * | 2019-08-13 | 2020-10-23 | 北京骑胜科技有限公司 | Method and device for transmitting mirror image file, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106227571A (en) | Method for upgrading system and mobile terminal thereof | |
EP3352080B1 (en) | Gateway device, firmware update method, and control program | |
CN103309709B (en) | A kind of firmware upgrade method, device and communication equipment | |
CN109189451A (en) | A kind of firmware upgrade method and device | |
CN107632846B (en) | Firmware upgrade method and device, Shelf management module | |
CN105094877B (en) | The method and host-side device and system of a kind of firmware upgrade | |
KR102358470B1 (en) | Boot loader update firmware, method for updating boot loader | |
US8601464B2 (en) | Memory online update system and method | |
CN109558160A (en) | Upgrade method, embedded system | |
CN106899437A (en) | A kind of method and apparatus of POS module firmware of upgrading | |
CN103713932A (en) | Method and device for updating application program in electronic control unit | |
CN101853173A (en) | Software upgrading method and device of programmable logic device of distributed system | |
CN109086058A (en) | Onboard program upgrade-system | |
CN108170457A (en) | Firmware upgrade method, device and VR head-mounted displays | |
CN103744712A (en) | Method and device for updating application program | |
CN109388413A (en) | A kind of FPGA method for updating program and system | |
CN107078806A (en) | Optical transceiver apparatus and method | |
CN101667133B (en) | Method for updating firmware and chip updating firmware by using same | |
CN113778739B (en) | System repair method, system, equipment and storage medium of all-in-one machine | |
CN105830021A (en) | Updatable integrated-circuit radio | |
CN103365684B (en) | Updating method and multi-domain embedded system | |
CN113641381A (en) | DSP firmware remote upgrading device and method and industrial robot | |
CN105610645A (en) | Vehicle management system and control method and device thereof | |
CN101593123A (en) | The curing of flash recordable plug-in component and terminal device | |
CN106775904A (en) | A kind of program burn writing system and method for microcontroller built-in type system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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: 20161214 |