Summary of the invention
The invention provides a kind of multisystem changing method and electronic equipment, can promote the dirigibility of the system switching of electronic equipment, and can save the Installed System Memory of electronic equipment.
For achieving the above object, the present invention adopts following technical scheme:
First aspect, provides a kind of multisystem changing method, and described method is applied to electronic equipment, and described method comprises:
Obtain the first AKU file, wherein, in described the first AKU file, comprise at least one upgrade file;
Described the first AKU file is stored on the nonsystematic memory device of described electronic equipment;
Call AKU supervisory routine, second system switched to the first system, wherein, the current system that described second system is described electronic equipment, described the first system is the system that the first upgrade file is corresponding, described AKU supervisory routine specifically for:
Scan all AKU files on described nonsystematic memory device, and obtain respectively the sign of the upgrade file comprising in described all AKU files; The sign that shows the upgrade file comprising in described all AKU files; If the first sign is triggered, obtain the first instruction, described the first instruction indication is according to described the first upgrade file to system upgrade, and wherein, described first is designated the file identification of described the first upgrade file; According to described the first instruction, described the first upgrade file is sent to upgrade interface corresponding in system memory devices, by described upgrade interface, according to described the first upgrade file, carry out updating operation.
In the possible implementation of first aspect the first, in conjunction with first aspect, described AKU supervisory routine is pre-configured in described electronic equipment;
Describedly call described AKU supervisory routine and specifically comprise:
Call described pre-configured described AKU supervisory routine.
In the possible implementation of first aspect the second, in conjunction with first aspect, described call AKU supervisory routine before, also comprise:
If do not configure described AKU supervisory routine in described electronic equipment, obtain described AKU supervisory routine;
The described AKU supervisory routine of calling specifically comprises:
The described AKU supervisory routine of obtaining described in calling.
In the third possible implementation of first aspect, in conjunction with first aspect to the possible implementation of first aspect the second, described in obtain AKU file and specifically comprise:
Obtain described at least one upgrade file;
By described at least one upgrade file packing compression, obtain described AKU file.
In the 4th kind of possible implementation of first aspect, in conjunction with the third possible implementation of first aspect, described call AKU supervisory routine before, also comprise:
Obtain the second AKU file, wherein, in described the second AKU file, comprise at least one upgrade file;
Described the second AKU file is stored on the nonsystematic memory device of described electronic equipment.
Second aspect, provides a kind of electronic equipment, and described electronic equipment comprises file acquisition unit, storage unit, call unit;
Described file acquisition unit, for obtaining the first AKU file, wherein, comprises at least one upgrade file in described the first AKU file;
Described storage unit, is stored to the nonsystematic memory device of described electronic equipment for described the first AKU file that described file acquisition unit is obtained;
Described call unit, for calling AKU supervisory routine, switches to the first system by second system, wherein, described second system is the current system of described electronic equipment, and described the first system is the system that the first upgrade file is corresponding, described AKU supervisory routine specifically for:
Scan all AKU files on described nonsystematic memory device, and obtain respectively the sign of the upgrade file comprising in described all AKU files; The sign that shows the upgrade file comprising in described all AKU files; If the first sign is triggered, obtain the first instruction, described the first instruction indication is according to described the first upgrade file to system upgrade, and wherein, described first is designated the file identification of described the first upgrade file; According to described the first instruction, described the first upgrade file is sent to upgrade interface corresponding in system memory devices, by described upgrade interface, according to described the first upgrade file, carry out updating operation.
In the possible implementation of second aspect the first, in conjunction with second aspect, described AKU supervisory routine is pre-configured in described electronic equipment;
Described call unit specifically for:
Call described pre-configured described AKU supervisory routine.
In the possible implementation of second aspect the second, in conjunction with second aspect, described electronic equipment also comprises supervisory routine acquiring unit;
Described supervisory routine acquiring unit, before calling AKU supervisory routine at described call unit, if do not configure described AKU supervisory routine in described electronic equipment, obtains described AKU supervisory routine;
Described call unit specifically for:
Call the described AKU supervisory routine that described supervisory routine acquiring unit obtains.
In the third possible implementation of second aspect, in conjunction with second aspect to the possible implementation of second aspect the second, described acquiring unit specifically for:
Obtain described at least one upgrade file;
By described at least one upgrade file packing compression, obtain described AKU file.
In the 4th kind of possible implementation of second aspect, in conjunction with the third possible implementation of second aspect, described file acquisition unit also for:
Before described call unit calls AKU supervisory routine, obtain the second AKU file, wherein, in described the second AKU file, comprise at least one upgrade file;
Described storage unit also for:
Described the second AKU file that described file acquisition unit is obtained is stored on the nonsystematic memory device of described electronic equipment.
The invention provides a kind of multisystem changing method and electronic equipment, comprising: electronic equipment obtains the first AKU file, wherein, in the first AKU file, comprise at least one upgrade file; The first AKU file is stored on the nonsystematic memory device of electronic equipment; Call AKU supervisory routine, second system is switched to the first system, wherein, second system is the current system of electronic equipment, the first system is the system that the first upgrade file is corresponding, AKU supervisory routine is specifically for all AKU files on scanning nonsystematic memory device, and obtains respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by upgrade interface, according to the first upgrade file, carry out updating operation.Based on such scheme provided by the invention, because electronic equipment can obtain the first AKU file that comprises at least one upgrade file, can additionally obtain the new upgrade file that third party individual/tissue provides, be not confined to switch between several optional system that electronic equipment suppliers provides, therefore user can be switched between required system, promoted the dirigibility that system is switched; In addition because electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment, by calling AKU supervisory routine, realize the switching between multisystem, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, saved the Installed System Memory of electronic equipment.
Embodiment
A kind of multisystem changing method and the electronic equipment that the embodiment of the present invention are provided below in conjunction with accompanying drawing are described in detail.
Embodiment mono-,
The embodiment of the present invention provides a kind of multisystem changing method, and the method is applied to electronic equipment, specifically as shown in Figure 1, comprising:
101, electronic equipment obtains the first AKU file, wherein, in this first AKU file, comprises at least one upgrade file.
Concrete, in the embodiment of the present invention, except the upgrade file that electronic equipment suppliers provides,, outside the upgrade file of system default, electronic equipment can also additionally obtain the new upgrade file that third party individual/tissue provides.This upgrade file can directly offer electronic equipment, also after can compressing with other upgrade file packing, send to electronic equipment, be that electronic equipment can directly obtain the first AKU file, in this first AKU file, comprise at least one upgrade file, also can directly obtain after at least one upgrade file, to obtaining the first AKU file after at least one upgrade file packing compression, the embodiment of the present invention is not done concrete restriction to this, only illustrate that electronic equipment obtains the first AKU file.
It should be noted that, " first " in " the first AKU file " do not have any special implication, " second " in following in order to be different from " the second AKU " file only, and explanation is different AKU file.
It should be noted that, the electronic equipment in the embodiment of the present invention can be smart mobile phone, can be also Set Top Box, and the embodiment of the present invention is not done concrete restriction to this electronic equipment.
It should be noted that, multisystem switching in the embodiment of the present invention refers to the switching between the different system based on identical platform, such as the millet system based on Android platform, the happy viewing system based on Android platform, the switching between Android system, within switching for the system between non-identical platform the scope of not discussing in the embodiment of the present invention.
102, electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment.
Concrete, in the embodiment of the present invention, at electronic equipment, obtain after the first AKU file, this the first AKU file is stored on the nonsystematic memory device of electronic equipment, the safe digital card of this electronic equipment (Secure Digital Memory Card for example, SD card) on, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, which is because the internal memory of SD card is larger, and can expand, therefore can save the Installed System Memory of electronic equipment.
103, electronic equipment calls AKU supervisory routine, and second system is switched to the first system, wherein, the current system that second system is electronic equipment, the first system is the system that the first upgrade file is corresponding.
AKU supervisory routine specifically for:
Scan all AKU files on nonsystematic memory device, and obtain respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in these all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by this upgrade interface, according to the first upgrade file, carry out updating operation.
Concrete, after the first AKU file being stored at electronic equipment on the nonsystematic memory device of electronic equipment, will call AKU supervisory routine, this AKU supervisory routine can switch to the first system by second system.
Exemplary, suppose only to store the first AKU file on the nonsystematic memory device of current electronic device, and the upgrade file comprising in the first AKU file has upgrade file corresponding to upgrade file, system B that system A is corresponding, the current operation system of electronic equipment is Android system, after all AKU files on scanning nonsystematic memory device, can obtain sign 1: system A, sign 2: system B, and form that can table one is presented on the display interface of electronic equipment: table one
After user clicks system A, sign 1 is triggered, electronic equipment will obtain the first instruction, this first instruction indication according to upgrade file corresponding to system A to system upgrade, like this, electronic equipment will send to upgrade interface corresponding in system memory devices by upgrade file corresponding to system A according to this first instruction, by this upgrade interface, Android system be switched to system A.Certainly, after user clicks system B, sign 2 is triggered, and subsequent operation is similar, and the embodiment of the present invention does not repeat them here.
Concrete, this AKU supervisory routine may be pre-configured in electronic equipment, calls AKU supervisory routine and specifically comprises:
Call this pre-configured AKU supervisory routine.
Certainly, originally in electronic equipment, also may not configure this AKU supervisory routine, therefore, before calling AKU supervisory routine value, first obtain this AKU supervisory routine, call AKU supervisory routine and specifically comprise:
Call the AKU supervisory routine of obtaining.
The embodiment of the present invention provides a kind of multisystem changing method, comprising: electronic equipment obtains the first AKU file, wherein, in the first AKU file, comprises at least one upgrade file; The first AKU file is stored on the nonsystematic memory device of electronic equipment; Call AKU supervisory routine, second system is switched to the first system, wherein, second system is the current system of electronic equipment, the first system is the system that the first upgrade file is corresponding, AKU supervisory routine is specifically for all AKU files on scanning nonsystematic memory device, and obtains respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by upgrade interface, according to the first upgrade file, carry out updating operation.Based on such scheme provided by the invention, because electronic equipment can obtain the first AKU file that comprises at least one upgrade file, can additionally obtain the new upgrade file that third party individual/tissue provides, be not confined to switch between several optional system that electronic equipment suppliers provides, therefore user can be switched between required system, promoted the dirigibility that system is switched; In addition because electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment, by calling AKU supervisory routine, realize the switching between multisystem, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, saved the Installed System Memory of electronic equipment.
Embodiment bis-,
The embodiment of the present invention provides a kind of multisystem changing method, and the method is applied to electronic equipment, specifically as shown in Figure 2, comprising:
201, electronic equipment obtains the first AKU file, wherein, in this first AKU file, comprises at least one upgrade file.
Concrete, in the embodiment of the present invention, except the upgrade file that electronic equipment suppliers provides,, outside the upgrade file of system default, electronic equipment can also additionally obtain the new upgrade file that third party individual/tissue provides.This upgrade file can directly offer electronic equipment, also after can compressing with other upgrade file packing, send to electronic equipment, be that electronic equipment can directly obtain the first AKU file, in this first AKU file, comprise at least one upgrade file, also can directly obtain after at least one upgrade file, to obtaining the first AKU file after at least one upgrade file packing compression, the embodiment of the present invention is not done concrete restriction to this, only illustrate that electronic equipment obtains the first AKU file.
It should be noted that, " first " in " the first AKU file " do not have any special implication, " second " in following in order to be different from " the second AKU " file only, and explanation is different AKU file.
It should be noted that, the electronic equipment in the embodiment of the present invention can be smart mobile phone, can be also Set Top Box, and the embodiment of the present invention is not done concrete restriction to this electronic equipment.
It should be noted that, multisystem switching in the embodiment of the present invention refers to the switching between the different system based on identical platform, such as the millet system based on Android platform, the happy viewing system based on Android platform, the switching between Android system, within switching for the system between non-identical platform the scope of not discussing in the embodiment of the present invention.
202, electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment.
Concrete, in the embodiment of the present invention, at electronic equipment, obtain after the first AKU file, this the first AKU file is stored on the nonsystematic memory device of electronic equipment, for example, on the SD card of this electronic equipment, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, which is because the internal memory of SD card is larger, and can expand, therefore can save the Installed System Memory of electronic equipment.
203, electronic equipment obtains the second AKU file, wherein, in the second AKU file, comprises at least one upgrade file.
Concrete, in the embodiment of the present invention, electronic equipment can additionally obtain the new upgrade file that third party individual/tissue provides more than once, be that electronic equipment is after obtaining the first AKU file, can also obtain the second AKU file, in this second AKU file, comprise at least one upgrade file.
204, electronic equipment is stored to the second AKU file on the nonsystematic memory device of electronic equipment.
Concrete, the same with the storage mode of the first AKU file, after electronic equipment obtains the second AKU file, will store the second AKU file to the nonsystematic memory device of electronic equipment, to save Installed System Memory.
205, electronic equipment calls AKU supervisory routine, and second system is switched to the first system, wherein, the current system that second system is electronic equipment, the first system is the system that the first upgrade file is corresponding.
AKU supervisory routine specifically for:
Scan all AKU files on nonsystematic memory device, and obtain respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in these all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by this upgrade interface, according to the first upgrade file, carry out updating operation.
Concrete, after the first AKU file being stored at electronic equipment on the nonsystematic memory device of electronic equipment, will call AKU supervisory routine, this AKU supervisory routine can switch to the first system by second system.
Exemplary; suppose to have stored the first AKU file and the second AKU file on the nonsystematic memory device of current electronic device; the upgrade file comprising in the first AKU file has upgrade file corresponding to upgrade file, system B that system A is corresponding; the upgrade file comprising in the second AKU file has the upgrade file that system C is corresponding; the current operation system of electronic equipment is Android system;, after all AKU files on scanning nonsystematic memory device, can obtain sign 1: system A; Sign 2: system B; Sign 3: system C, and may with the form of table two, be presented on the display interface of electronic equipment:
Table two
System A |
System B |
System C |
After user clicks system A, sign 1 is triggered, electronic equipment will obtain the first instruction, this first instruction indication according to upgrade file corresponding to system A to system upgrade, like this, electronic equipment will send to upgrade interface corresponding in system memory devices by upgrade file corresponding to system A according to this first instruction, by this upgrade interface, Android system be switched to system A.Certainly, after user clicks system B or system C, sign 2 is triggered, and subsequent operation is similar, and the embodiment of the present invention does not repeat them here.
Concrete, this AKU supervisory routine may be pre-configured in electronic equipment, calls AKU supervisory routine and specifically comprises:
Call this pre-configured AKU supervisory routine.
Certainly, originally in electronic equipment, also may not configure this AKU supervisory routine, therefore, before calling AKU supervisory routine value, first obtain this AKU supervisory routine, call AKU supervisory routine and specifically comprise:
Call the AKU supervisory routine of obtaining.
The embodiment of the present invention provides a kind of multisystem changing method, comprising: electronic equipment obtains the first AKU file, wherein, in the first AKU file, comprises at least one upgrade file; The first AKU file is stored on the nonsystematic memory device of electronic equipment; Call AKU supervisory routine, second system is switched to the first system, wherein, second system is the current system of electronic equipment, the first system is the system that the first upgrade file is corresponding, AKU supervisory routine is specifically for all AKU files on scanning nonsystematic memory device, and obtains respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by upgrade interface, according to the first upgrade file, carry out updating operation.Based on such scheme provided by the invention, because electronic equipment can obtain the first AKU file that comprises at least one upgrade file, can additionally obtain the new upgrade file that third party individual/tissue provides, be not confined to switch between several optional system that electronic equipment suppliers provides, therefore user can be switched between required system, promoted the dirigibility that system is switched; In addition because electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment, by calling AKU supervisory routine, realize the switching between multisystem, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, saved the Installed System Memory of electronic equipment.
Embodiment tri-,
The embodiment of the present invention provides a kind of electronic equipment 300, and specifically as shown in Figure 3, described electronic equipment 300 comprises file acquisition unit 301, storage unit 302, call unit 303.
Described file acquisition unit 301, for obtaining the first AKU file, wherein, comprises at least one upgrade file in described the first AKU file.
Described storage unit 302, is stored to the nonsystematic memory device of described electronic equipment 300 for described the first AKU file that described file acquisition unit 301 is obtained.
Described call unit 303, for calling AKU supervisory routine, switches to the first system by second system, wherein, described second system is the current system of described electronic equipment 300, and described the first system is the system that the first upgrade file is corresponding, described AKU supervisory routine specifically for:
Scan all AKU files on described nonsystematic memory device, and obtain respectively the sign of the upgrade file comprising in described all AKU files; The sign that shows the upgrade file comprising in described all AKU files; If the first sign is triggered, obtain the first instruction, described the first instruction indication is according to described the first upgrade file to system upgrade, and wherein, described first is designated the file identification of described the first upgrade file; According to described the first instruction, described the first upgrade file is sent to upgrade interface corresponding in system memory devices, by described upgrade interface, according to described the first upgrade file, carry out updating operation.
In a kind of possible implementation, described AKU supervisory routine is pre-configured in described electronic equipment 300;
Described call unit 303 specifically for:
Call described pre-configured described AKU supervisory routine.
In another kind of possible implementation, specifically as shown in Figure 4, described electronic equipment 300 also comprises supervisory routine acquiring unit 304.
Described supervisory routine acquiring unit 304, before calling AKU supervisory routine at described call unit 303, if do not configure described AKU supervisory routine in described electronic equipment 300, obtains described AKU supervisory routine;
Described call unit 303 specifically for:
Call the described AKU supervisory routine that described supervisory routine acquiring unit 304 obtains.
Further, described acquiring unit specifically for:
Obtain described at least one upgrade file;
By described at least one upgrade file packing compression, obtain described AKU file.
Further, described file acquisition unit 301 also for:
Before described call unit 303 calls AKU supervisory routine, obtain the second AKU file, wherein, in described the second AKU file, comprise at least one upgrade file;
Described storage unit 302 also for:
Described the second AKU file that described file acquisition unit 301 is obtained is stored on the nonsystematic memory device of described electronic equipment 300.
Concrete, by described electronic equipment, carrying out the method for multisystem switching can reference example one and the description of embodiment bis-, and the embodiment of the present invention does not repeat them here.
The embodiment of the present invention provides a kind of electronic equipment, comprising: file acquisition unit obtains the first AKU file, wherein, in the first AKU file, comprises at least one upgrade file; The first AKU file that storage unit is obtained file acquisition unit is stored on the nonsystematic memory device of electronic equipment; Call unit calls AKU supervisory routine, second system is switched to the first system, wherein, second system is the current system of electronic equipment, the first system is the system that the first upgrade file is corresponding, AKU supervisory routine is specifically for all AKU files on scanning nonsystematic memory device, and obtains respectively the sign of the upgrade file comprising in all AKU files; The sign that shows the upgrade file comprising in all AKU files; If the first sign is triggered, obtain the first instruction, this first instruction indication is according to the first upgrade file to system upgrade, and wherein, first is designated the file identification of the first upgrade file; According to the first instruction, the first upgrade file is sent to upgrade interface corresponding in system memory devices, by upgrade interface, according to the first upgrade file, carry out updating operation.The electronic equipment providing based on the embodiment of the present invention, because electronic equipment can obtain the first AKU file that comprises at least one upgrade file, can additionally obtain the new upgrade file that third party individual/tissue provides, be not confined to switch between several optional system that electronic equipment suppliers provides, therefore user can be switched between required system, promoted the dirigibility that system is switched; In addition because electronic equipment is stored to the first AKU file on the nonsystematic memory device of electronic equipment, by calling AKU supervisory routine, realize the switching between multisystem, with respect to the mode directly upgrade file being stored in prior art in the system memory devices of electronic equipment, saved the Installed System Memory of electronic equipment.Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic.Another point, shown or discussed coupling each other or direct-coupling can be by some interfaces, the indirect coupling of device can be electrically, machinery or other form.
Unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be a physical location or a plurality of physical location, can be positioned at a place, or also can be distributed to a plurality of different local.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining integrated unit realizes and during as production marketing independently or use, can be stored in a read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise that some instructions are with so that an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) are carried out all or part of step of each embodiment method of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
Above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.