Utility model content
Embodiment of the present utility model provides a kind of EMMC update device and terminal, using the teaching of the invention it is possible to provide one is simply upgraded dress
Put, it is achieved the different EMMC versions supporting same board unify upgrading.
First aspect, it is provided that a kind of EMMC update device, including: read module, judge module and selection module;
Wherein, described read module connects the board of terminal, it is possible to be read out the current EMMC of board, by obtain
EMMC information is supplied to judge module;
Described judge module connects described read module, it is possible to determine machine corresponding to described EMMC according to described EMMC information
Kind, and it is supplied to described selection module;
Described selection module connects described board and described judge module, it is possible to select and described board according to described machine
Current EMMC coupling partition profile upgrade.
Optionally, described read module be reading circuit, described judge module be that comparator and described selection module are for passing
Lines enables circuit;
One end of wherein said reading circuit is connected to described board by EMMC interface, and the other end connects described comparison
Device, it is possible to be read out the current EMMC of board, by the EMMC information cache of acquisition to cache chip;
Described comparator one end connects described reading circuit, and the other end connects described transmission line and enables the control of circuit
End;It is able to receive that the EMMC information in the cache chip acquisition of reading circuit, it is judged that machine the most corresponding for EMMC, and will determine that
Result transmission enables circuit to transmission line;
Described transmission line is enabled circuit and board and the upgrade file memorizer of described terminal is connected by transmission line,
The subregion of the corresponding board of the most each transmission line, it is possible to control corresponding transmission line upgrading according to described judged result
Current EMMC system version in file memory transmits the board to terminal, with the partition profile mating current EMMC
Upgrade.
Optionally, described read module connects the depositor on described board.
Optionally, also include: connect the acquisition module of described judge module,
Described acquisition module, it is possible to obtain current EMMC system version according to the machine that described judge module judges, in order to
Upgrade according to the partition profile that the current EMMC of board is mated by described current EMMC system version.
Optionally, described acquisition module, including: link submodule and download submodule;Described download submodule connects institute
State link submodule;
Described link submodule, it is possible to obtain the download link of current EMMC system version according to described machine;
Described download submodule, it is possible to the download link obtained from described link submodule downloads described current EMMC system
Version.
Optionally, described download link is over the air OTA download link.
Second aspect provides a kind of terminal, including any of the above-described EMMC update device.
The EMMC update device of embodiment of the present utility model offer and terminal, in this device, read module connects terminal
Board, it is possible to be read out the current EMMC of board, is supplied to judge module by the EMMC information of acquisition;Judge module connects
Described read module, it is possible to determine machine corresponding to described EMMC according to described EMMC information, and be supplied to described selection module;
Module is selected to connect described board and described judge module, it is possible to select current EMMC with described board according to described machine
The partition profile joined is upgraded.The subregion mated current EMMC due to EMMC information for EMMC before upgrading is joined
Put file to be selected, therefore, it is possible to accurate match is to the partition profile needing upgrading, it is to avoid make for different subregions
With different update devices such that it is able to use a kind of simple update device, it is achieved the different EMMC that same board is supported
Version carries out unifying upgrading.And avoiding being likely to occur system version in escalation process selects mistake to cause corresponding the dividing of EMMC
District's configuration file staging error, it is ensured that each version is the most accurately upgraded to respective latest edition.
Detailed description of the invention
Below in conjunction with the accompanying drawing in this utility model embodiment, the technical scheme in this utility model embodiment is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of this utility model rather than whole
Embodiment.Based on the embodiment in this utility model, those of ordinary skill in the art are not under making creative work premise
The every other embodiment obtained, broadly falls into the scope of this utility model protection.
The ultimate principle of embodiment of the present utility model is, when upgrading the EMMC of board, according to EMMC information
The partition profile of coupling is selected to upgrade for different machines.It is thus possible to the different EMMC versions that same board is supported
Carry out unifying upgrading, it is to avoid in escalation process, be likely to occur system version select mistake to cause zone configuration literary composition corresponding for EMMC
Part staging error, it is ensured that each version is the most accurately upgraded to respective latest edition.
Based on above-mentioned principle with reference to shown in Fig. 1, embodiment of the present utility model provides a kind of EMMC update device, including:
Read module 11, judge module 12 and selection module 13.
Wherein, read module 11 connects the board 10 of terminal, it is possible to be read out the current EMMC of board 10, will obtain
EMMC information be supplied to judge module.
Exemplary, EMMC information include but not limited to following at least one: the current size of EMMC, type and model.
Judge module 12 connects read module, it is possible to determines machine corresponding to EMMC according to EMMC information, and is supplied to choosing
Select module 13.
Module 13 is selected to connect board 10 and judge module 12, it is possible to select and plate according to the machine that judge module 12 judges
The partition profile of the current EMMC coupling of card 10 is upgraded.
Exemplary, the system version that partition profile is corresponding includes but not limited to 4G EMMC version, 16G EMMC version
This.
The EMMC update device that embodiment of the present utility model provides, in this device, read module connects the board of terminal,
The current EMMC of board can be read out, the EMMC information of acquisition is supplied to judge module;Judge module connects described
Read module, it is possible to determine machine corresponding to described EMMC according to described EMMC information, and be supplied to described selection module;Select
Module connects described board and described judge module, it is possible to mate with the current EMMC of described board according to the selection of described machine
Partition profile is upgraded.The zone configuration literary composition current EMMC mated due to EMMC information for EMMC before upgrading
Part is selected, therefore, it is possible to accurate match is to the partition profile needing upgrading, it is to avoid be different subregion use not
Same update device such that it is able to use a kind of simple update device, it is achieved the different EMMC versions that same board is supported
Carry out unifying upgrading.And avoiding being likely to occur system version in escalation process selects the wrong subregion causing EMMC corresponding to join
Put document upgrading mistake, it is ensured that each version is the most accurately upgraded to respective latest edition.
Wherein, read module 11 connects the depositor 101 on board 10, and read module 11 is specifically for initial at board 10
During change, depositor 101 reads the EMMC information of current EMMC.
With reference to shown in Fig. 2, EMMC update device also includes: the acquisition module 14 of connection judgment module 12,
Described acquisition module 14, it is possible to obtain current EMMC system version according to the machine that judge module 12 judges, in order to
Upgrade according to the partition profile that the current EMMC of board is mated by described current EMMC system version.
EMMC system version is achieved, with at the partition profile navigating to current EMMC coupling by such scheme
After, upgrade according to the partition profile that current EMMC is mated by this EMMC system version.
Exemplary, acquisition module 14, including: link submodule 141 and download submodule 142;
Link submodule 141, it is possible to obtain the download link of current EMMC system version according to machine;Download submodule
142 connecting link submodules 141, it is possible to the download link obtained from link submodule 141 downloads current EMMC system version.On
Scheme of stating provides a kind of basis to be linked at the webserver and automatically downloads the scheme of current EMMC system version, wherein under raising
The efficiency carried, this download link is over the air OTA download link.
Embodiment one terminal of the present utility model, the EMMC update device provided including above-described embodiment.
The most above-mentioned, read module 11, judge module 12, selection module 13, acquisition module 14 can be individually to set up
Processor, it is also possible to be integrated in some processor of update device realization, in addition it is also possible to the form of program code
It is stored in the memorizer of management system, some processor of update device calls and perform the function of above unit.This
Processor the most described here can be a central processing unit (English full name: central processing unit, English
It is called for short: CPU), or specific integrated circuit (English full name: application specific integrated
Circuit, English abbreviation: ASIC), or it is configured to implement the one or more integrated electricity of this utility model embodiment
Road.A kind of example is provided, is comparator 32 as it is shown on figure 3, described read module is reading circuit 31, judge module and selects mould
Block is that transmission line enables circuit 33;Wherein one end of reading circuit 31 is connected to board 10, the other end by EMMC interface 311
Connect comparator 32, for the current EMMC of board 10 is read out, obtains EMMC information and cache to cache chip;Relatively
Device 32 one end connects reading circuit 31, and the other end connects transmission line and enables the control end KD of circuit 33;For receiving reading electricity
EMMC information in the cache chip acquisition on road, it is judged that machine the most corresponding for EMMC, and will determine that result is transmitted to transmission line
Road enables circuit 33;Transmission line enables circuit 33 by transmission line by the board 10 of described terminal and upgrade file memorizer
40 connect, and the subregion of the corresponding board of the most each transmission line, for controlling corresponding transmission line according to judged result
Current EMMC system version in upgrade file memorizer 40 transmits the board 10 to terminal, with the subregion mating current EMMC
Configuration file is upgraded.Wherein upgrade file memorizer 40 can be that local storage can also be for online server.
With reference to shown in Fig. 4, embodiment of the present utility model provides a kind of EMMC upgrade method, comprises the steps:
401, the current EMMC of the board of terminal is read out, obtains EMMC information.
Described EMMC information include but not limited to following at least one: the current size of EMMC, type and model.
402, according to EMMC information, it is judged that machine the most corresponding for EMMC.
403, the partition profile mated with current EMMC is selected to upgrade for machine.
Owing to a board can comprise the partition profile of plural EMMC coupling, wherein partition profile
Generally distinguish by size, and different size of partition profile supports that the system version of different editions is exemplary, such as 4G
Division code block supports that 4G EMMC version, 16G division code block support 16G EMMC version etc.;First to plate before upgrading
The current EMMC of card is read out, and obtains EMMC information;According to EMMC information, it is judged that machine the most corresponding for EMMC;For machine
The partition profile mated with current EMMC is selected to upgrade.Due to before upgrading for the EMMC information of EMMC to currently
The partition profile of EMMC coupling is selected, therefore, it is possible to the partition profile that accurate match is upgraded to needs, because of
These different EMMC versions can supported same board unify upgrading, it is to avoid be likely to occur system version in escalation process
This selection mistake causes partition profile staging error corresponding for EMMC, it is ensured that each version is the most accurately upgraded to
Redaction.
There is provided another kind of EMMC upgrade method with reference to embodiment of the present utility model shown in Fig. 5, comprise the steps:
401, in the board initialization procedure of terminal, the EMMC information of current EMMC is read in a register.
EMMC information include but not limited to following at least one: the current size of EMMC, type and model.
402, according to EMMC information, it is judged that machine the most corresponding for EMMC.
403, current EMMC system version is obtained according to machine.
Exemplary, update device obtains the download link of current EMMC system version according to machine;Update device under
Carry link and download current EMMC system version.Download link is over the air OTA download link.
404, the partition profile mated with current EMMC is selected for machine, according to current EMMC system version to board
Current EMMC coupling partition profile upgrade.
The system version that partition profile is corresponding includes but not limited to 4G EMMC version, 16G EMMC version.
The EMMC upgrade method that embodiment of the present utility model provides, the current EMMC of board is carried out by EMMC update device
Read, obtain EMMC information;According to EMMC information, it is judged that machine the most corresponding for EMMC;Select and current EMMC for machine
The partition profile joined is upgraded.The subregion mated current EMMC due to EMMC information for EMMC before upgrading is joined
Put file to be selected, therefore, it is possible to accurate match is to the partition profile of needs upgrading, therefore, it is possible to same board
The different EMMC versions supported carry out unifying upgrading, it is to avoid be likely to occur system version in escalation process and select mistake to cause
Partition profile staging error corresponding for EMMC, it is ensured that each version is the most accurately upgraded to respective latest edition.
Finally should be noted that: it is only limited by above example in order to the technical solution of the utility model to be described
System;Although this utility model being described in detail with reference to embodiment, those of ordinary skill in the field it is understood that
Still detailed description of the invention of the present utility model can be modified or portion of techniques feature is carried out equivalent;And not
Departing from the spirit of technical solutions of the utility model, it all should be contained the technical scheme scope being claimed at this utility model and works as
In.