CN105068848A - System upgrading method and apparatus - Google Patents

System upgrading method and apparatus Download PDF

Info

Publication number
CN105068848A
CN105068848A CN201510543589.4A CN201510543589A CN105068848A CN 105068848 A CN105068848 A CN 105068848A CN 201510543589 A CN201510543589 A CN 201510543589A CN 105068848 A CN105068848 A CN 105068848A
Authority
CN
China
Prior art keywords
delta package
installation
subregion
size
current device
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.)
Granted
Application number
CN201510543589.4A
Other languages
Chinese (zh)
Other versions
CN105068848B (en
Inventor
李明浩
刘洪杰
鲍协浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510543589.4A priority Critical patent/CN105068848B/en
Publication of CN105068848A publication Critical patent/CN105068848A/en
Application granted granted Critical
Publication of CN105068848B publication Critical patent/CN105068848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present disclosure relates to a system upgrading method and apparatus. The method comprises: generating an incremental package for a present system upgrade; acquiring a system spare partition of a current device and the size of the incremental package for the present system upgrade; judging whether the size of the incremental package is greater than or equal to the spare partition of the current device or not; when the size of the incremental package is greater than or equal to the spare partition of the current device, sending prompt information, wherein the prompt information is used for prompting that the incremental package for the present system upgrade cannot be installed this time; and and when the size of the incremental package is smaller than the spare partition of the current device, installing the incremental package. The technical solution can effectively avoid possible down accidents caused by insufficient system space in the system upgrade process.

Description

Method for upgrading system and device
Technical field
The disclosure relates to Internet technical field, particularly relates to method for upgrading system and device.
Background technology
At present, along with the continuous change that continuous increase and the application version of android system application volume are issued, the system upgrade of the terminal device of user has become a problem, upgrade system of users flow and have larger loss, application OTA (Over-the-AirTechnology, over the air) increment upgrading can reduce the Flux Loss of user to a great extent.
Summary of the invention
Disclosure embodiment provides method for upgrading system and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, a kind of method for upgrading system is provided, comprises:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
In one embodiment, described method also can comprise:
Whether the system idles subregion of monitoring current device has variation;
When the system idles subregion of described current device has variation, judge the size of described delta package whether be less than the variation of described current device after system idles subregion;
When the size of described delta package is less than the system idles subregion after the variation of described current device, described delta package is installed.
In one embodiment, described method also can comprise:
When the size of described delta package is greater than or equal to the system idles subregion of described current device, whether monitoring gets the delta package again made;
When the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
When the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
In one embodiment, described method also can comprise:
When the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described.
In one embodiment, the delta package of described this system upgrade of generation, can comprise:
Obtain the installation kit of the current installation version of system of described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
In one embodiment, whether described monitoring gets the delta package again made, and can comprise:
Whether monitoring receives the installation kit of the second pre-installation version, and the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
According to the second aspect of disclosure embodiment, a kind of system upgrade device is provided, comprises:
Generation module, for generating the delta package of this system upgrade;
Acquisition module, for the size of the delta package of the system idles subregion and this system upgrade described that obtain current device;
First judge module, for judging whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
First reminding module, during for being greater than or equal to the system idles subregion of described current device when the size of described delta package, sends information, the delta package of described information for pointing out this cannot install this system upgrade described;
First installation module, during for being less than the system idles subregion of described current device when the size of described delta package, installs described delta package.
In one embodiment, described device also can comprise:
Whether the first monitoring modular, have variation for the system idles subregion of monitoring current device;
Second judge module, for when the system idles subregion of described current device has variation, judge the size of described delta package whether be less than described current device variation after system idles subregion;
Second installation module, during for being less than the system idles subregion after the variation of described current device when the size of described delta package, installs described delta package.
In one embodiment, described device also can comprise:
Second monitoring modular, during for being greater than or equal to the system idles subregion of described current device when the size of described delta package, whether monitoring gets the delta package again made;
3rd judge module, for when the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
3rd installation module, for when the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
In one embodiment, described device also can comprise:
Second reminding module, for when the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, sends information, the delta package of described information for pointing out this cannot install this system upgrade described.
In one embodiment, described generation module, can comprise:
Obtain submodule, the installation kit of the current installation version of the system for obtaining described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
First difference subspace module, for the installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
In one embodiment, described second monitoring modular, can comprise:
Monitoring submodule, for monitoring the installation kit whether receiving the second pre-installation version, the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
Second difference subspace module, for the installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
According to the third aspect of disclosure embodiment, a kind of system upgrade device is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
Technique scheme, by the magnitude relationship of the system idles subregion of the size and current device that compare delta package; When the size of delta package is greater than or equal to the system idles subregion of current device, prompting user this delta package of this system upgrade cannot be installed, when the size of delta package is less than the system idles subregion of current device, delta package is installed.Thus effectively prevent in system upgrade process, due to machine of the delaying accident that system space deficiency may cause.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the method for upgrading system according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the another kind of method for upgrading system according to an exemplary embodiment.
Fig. 3 is the process flow diagram of the another kind of method for upgrading system according to an exemplary embodiment.
Fig. 4 is the process flow diagram of the another kind of method for upgrading system according to an exemplary embodiment.
Fig. 5 is the process flow diagram of step S101 in the method for upgrading system according to an exemplary embodiment.
Fig. 6 is the process flow diagram of step S109 in the method for upgrading system according to an exemplary embodiment.
Fig. 7 is the block diagram of the system upgrade device according to an exemplary embodiment.
Fig. 8 is the block diagram of the another kind of system upgrade device according to an exemplary embodiment.
Fig. 9 is the block diagram of the another kind of system upgrade device according to an exemplary embodiment.
Figure 10 is the block diagram of the another kind of system upgrade device according to an exemplary embodiment.
Figure 11 is the block diagram of generation module 71 in the system upgrade device according to an exemplary embodiment.
Figure 12 is the block diagram of the second monitoring modular 79 in the system upgrade device according to an exemplary embodiment.
Figure 13 is the block diagram being applicable to system upgrade device according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
The technical scheme that disclosure embodiment provides, when system increment is upgraded, before installation delta package, first can judge the magnitude relationship between the system idles subregion of current device and the delta package of this system upgrade, when the size of delta package is greater than or equal to the system idles subregion of current device, prompting user cannot install the delta package of this system upgrade, when the size of delta package is less than the system idles subregion of current device, and normal mounting delta package.Thus effectively prevent in system upgrade process, due to machine of the delaying accident that system space deficiency may cause.
Fig. 1 is the process flow diagram of a kind of method for upgrading system according to an exemplary embodiment, as shown in Figure 1, the method is used in terminal, and terminal can be mobile phone, palm PC, notebook, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, the terminal devices such as personal digital assistant.Comprise the following steps S101-S105:
In step S101, generate the delta package of this system upgrade.
System has legacy version (current version) and redaction (version compared with after current version upgrading) that redaction and legacy version are done difference, generates the delta package of this system upgrade.
In step s 102, the size of the system idles subregion of current device and the delta package of this system upgrade is obtained.
In step s 103, judge whether the size of delta package is greater than or equal to the system idles subregion of current device.
In this step, before the delta package of installing this system upgrade, first judge the magnitude relationship between the size of delta package and the system idles subregion of current device, when the size of delta package is greater than or equal to the system idles subregion of current device, turn to step S104; When the size of delta package is less than the system idles subregion of current device, turn to step S105.
In step S104, when the size of delta package is greater than or equal to the system idles subregion of current device, send information, the delta package of information for pointing out this cannot install this system upgrade.
When the size of delta package is greater than or equal to the system idles subregion of current device, use this delta package to carry out upgrading system space to be caused in escalation process not enough and upgrade unsuccessfully, once occur that this mistake is fatal concerning user, subscriber set is very likely caused to start by normal boot-strap.Therefore, in this step, when the size of delta package is greater than or equal to the system idles subregion of current device, explanation, illustrate that the remaining space of current system is not enough to install this delta package, if now continue to install, may cause because of system space deficiency machine accident of delaying, now, send information, prompting user cannot install the delta package of this system upgrade.After user takes further measures, then continue to install.
In step S105, when the size of delta package is less than the system idles subregion of current device, delta package is installed.
When the size of delta package is less than the system idles subregion of current device, illustrate that the remaining space of current system is enough to install this delta package, now, normal mounting delta package.
Said method may be used in android system, IOS system.Also said method can be used for the client of upgrading terminals, process and said method similar.
The said method of disclosure embodiment, by the magnitude relationship of the system idles subregion of the size and current device that compare delta package; When the size of delta package is greater than or equal to the system idles subregion of current device, prompting user this delta package of this system upgrade cannot be installed, when the size of delta package is less than the system idles subregion of current device, delta package is installed.Thus effectively prevent in system upgrade process, due to machine of the delaying accident that system space deficiency may cause.
In one embodiment, as shown in Figure 2, method also can comprise the following steps S106-S108:
In step s 106, whether the system idles subregion of monitoring current device has variation.
When the size of delta package is greater than or equal to the system idles subregion of current device, can point out user that the delta package of this system upgrade cannot be installed.After user receives this information, can further step be taked, each subregion of such as simplified system, make system idles subregion become large.In this step, whether the system idles subregion of monitoring current device has variation, when there being variation, turns to step S107, rejudges the size of the system idles subregion after delta package and variation.
In step s 107, when the system idles subregion of current device has variation, judge the size of delta package whether be less than current device variation after system idles subregion.
In this step, when the size of delta package is less than the system idles subregion after current device variation, turn to step S108.
In step S108, when the size of delta package is less than the system idles subregion after current device variation, delta package is installed.
In the present embodiment, when the delta package of this system upgrade cannot be installed, system is simplified, and after simplified system, rejudge the magnitude relationship between the system idles subregion after delta package and variation, when system idles subregion is sufficient, normal mounting delta package, thus when delta package can cannot be installed in system idles subregion deficiency, by simplifying system, successfully delta package is installed simply and easily.
In one embodiment, as shown in Figure 3, said method also can comprise the following steps S109-S111:
In step S109, when the size of delta package is greater than or equal to the system idles subregion of current device, whether monitoring gets the delta package again made.
When the size of delta package is greater than or equal to the system idles subregion of current device, now can point out user that the delta package of this system upgrade cannot be installed.After user receives this information, further step can be taked, such as again make delta package, reduce the size of delta package, in this step, whether monitoring gets the delta package again made, and when getting the delta package again made, turns to step S110 to judge the magnitude relationship of the system idles subregion of delta package and the current device again made.
In step s 110, when getting the delta package again made, judge whether the size of the delta package again made is less than the system idles subregion of current device.
When the size of the delta package again made is less than the system idles subregion of current device, turn to step S111, the delta package that normal mounting makes again, when the size of the delta package again made is greater than or equal to the system idles subregion of current device, turn to step S112, prompting user this this delta package again made cannot be installed.
In step S111, when the size of the delta package again made is less than the system idles subregion of current device, the delta package again made is installed.
In the present embodiment, when this cannot the delta package of installation system upgrading time, again make delta package, and when the delta package again made is less than system idles subregion, the delta package again made be installed.Thus ensure that system is normally upgraded.
In one embodiment, as shown in Figure 4, said method also can comprise the following steps S112:
In step S112, when the size of the delta package again made is greater than or equal to the system idles subregion of current device, send information, the delta package of information for pointing out this cannot install this system upgrade.
In the present embodiment, when the delta package again made is greater than or equal to the system idles subregion of current device, illustrative system remaining space is not enough, now sends information, and prompting user cannot install this delta package again made.Thus further avoid the generation of machine accident of delaying.
In one embodiment, as shown in Figure 5, step S101 can be embodied as following steps S501-S502:
In step S501, obtain the installation kit of the current installation version of system and the installation kit of system first pre-installation version of current device; The installation kit of the first pre-installation version is the installation kit that system compares the version of current installation edition upgrading.
The version that the current installation version of system is installed before being system upgrade, the first pre-installation version be compare current installation edition upgrading version.
In step S502, the installation kit of the installation kit of current for system installation version and the first pre-installation version is done difference, obtain the delta package of system.
In the present embodiment, the installation kit of the current installation version of system and the installation kit of the first pre-installation version are done difference, obtain the patch of the part upgraded, the namely delta package of system.
Illustrate, the installation kit size of the current installation version of system is 500M, the size of the installation kit of the first pre-installation version is 550M, the part upgraded then may only have about 50M, here it should be noted that, difference bag size is not simply subtract each other, because in fact need to comprise some context-sensitive things, use delta package carries out upgrading not to be needed to download complete 550M file, only need down loading updating part and delta package just passable, and renewal part may only have 50M ~ 60M, the loss of flow can be reduced to a great extent.
In one embodiment, as shown in Figure 6, step S109 can be embodied as following steps S601-S602:
In step s 601, whether monitoring receives the installation kit of the second pre-installation version, and the installation kit of the second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of the first pre-installation version is the installation kit that system compares the version of current installation edition upgrading.
In step S602, the installation kit of the installation kit of current for system installation version and the second pre-installation version is done difference, obtain the delta package again made.
In the present embodiment, when again making delta package, simplify the installation kit of the first pre-installation version, obtain the installation kit of the second pre-installation version, the size of the delta package then again made is also corresponding to diminish, and now, then judges the magnitude relationship between the delta package that again makes and system idles subregion, when the delta package again made is less than system idles subregion, normal mounting delta package.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.
Fig. 7 is the block diagram of a kind of system upgrade device according to an exemplary embodiment, and this device can realize becoming the some or all of of electronic equipment by software, hardware or both combinations.As shown in Figure 7, this system upgrade device comprises:
Generation module 71, is configured to the delta package generating this system upgrade;
Acquisition module 72, is configured to the size obtaining the system idles subregion of current device and the delta package of this system upgrade;
First judge module 73, is configured to judge whether the size of delta package is greater than or equal to the system idles subregion of current device;
First reminding module 74, is configured to when the size of delta package is greater than or equal to the system idles subregion of current device, send information, the delta package of information for pointing out this cannot install this system upgrade;
First installation module 75, is configured to when the size of delta package is less than the system idles subregion of current device, installs delta package.
In one embodiment, as shown in Figure 8, said apparatus also can comprise:
First monitoring modular 76, whether the system idles subregion being configured to monitor current device has variation;
Second judge module 77, is configured to when the system idles subregion of current device has variation, judge the size of delta package whether be less than current device variation after system idles subregion;
Second installation module 78, is configured to, when the size of delta package is less than the system idles subregion after current device variation, install delta package.
In one embodiment, as shown in Figure 9, said apparatus also can comprise:
Second monitoring modular 79, is configured to when the size of delta package is greater than or equal to the system idles subregion of current device, and whether monitoring gets the delta package again made;
3rd judge module 80, is configured to when getting the delta package again made, and judges whether the size of the delta package again made is less than the system idles subregion of current device;
3rd installation module 81, is configured to when the size of the delta package again made is less than the system idles subregion of current device, installs the delta package again made.
In one embodiment, as shown in Figure 10, said apparatus also can comprise:
Second reminding module 82, is configured to when the size of the delta package again made is greater than or equal to the system idles subregion of current device, send information, the delta package of information for pointing out this cannot install this system upgrade.
In one embodiment, as shown in figure 11, generation module 71, can comprise:
Obtain submodule 111, be configured to the installation kit of the current installation version of system and the installation kit of system first pre-installation version that obtain current device; The installation kit of the first pre-installation version is the installation kit that system compares the version of current installation edition upgrading;
First difference subspace module 112, is configured to the installation kit of the installation kit of current for system installation version and the first pre-installation version to do difference, obtains the delta package of system.
In one embodiment, as shown in figure 12, the second monitoring modular 79, can comprise:
Monitoring submodule 121, is configured to monitor the installation kit whether receiving the second pre-installation version, and the installation kit of the second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of the first pre-installation version is the installation kit that system compares the version of current installation edition upgrading;
Second difference subspace module 122, is configured to the installation kit of the installation kit of current for system installation version and the second pre-installation version to do difference, obtains the delta package again made.
The said apparatus of disclosure embodiment, by the magnitude relationship of the system idles subregion of the size and current device that compare delta package; When the size of delta package is greater than or equal to the system idles subregion of current device, prompting user this delta package of this system upgrade cannot be installed, when the size of delta package is less than the system idles subregion of current device, delta package is installed.Thus effectively prevent in system upgrade process, due to machine of the delaying accident that system space deficiency may cause.
Disclosure embodiment also provides a kind of system upgrade device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
Above-mentioned processor also can be configured to:
Whether the system idles subregion of monitoring current device has variation;
When the system idles subregion of described current device has variation, judge the size of described delta package whether be less than the variation of described current device after system idles subregion;
When the size of described delta package is less than the system idles subregion after the variation of described current device, described delta package is installed.
Above-mentioned processor also can be configured to:
When the size of described delta package is greater than or equal to the system idles subregion of described current device, whether monitoring gets the delta package again made;
When the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
When the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
Above-mentioned processor also can be configured to:
When the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described.
In one embodiment, the delta package of described this system upgrade of generation, can comprise:
Obtain the installation kit of the current installation version of system of described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
Above-mentioned processor also can be configured to:
Whether monitoring receives the installation kit of the second pre-installation version, and the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 13 is a kind of block diagram for system upgrade device according to an exemplary embodiment, and this device is applicable to terminal device.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
Device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing element 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 820 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 1200, make device 1200 can perform said system upgrade method, described method comprises:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
In one embodiment, described method also can comprise:
Whether the system idles subregion of monitoring current device has variation;
When the system idles subregion of described current device has variation, judge the size of described delta package whether be less than the variation of described current device after system idles subregion;
When the size of described delta package is less than the system idles subregion after the variation of described current device, described delta package is installed.
In one embodiment, described method also can comprise:
When the size of described delta package is greater than or equal to the system idles subregion of described current device, whether monitoring gets the delta package again made;
When the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
When the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
In one embodiment, described method also can comprise:
When the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described.
In one embodiment, the delta package of described this system upgrade of generation, can comprise:
Obtain the installation kit of the current installation version of system of described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
In one embodiment, whether described monitoring gets the delta package again made, and can comprise:
Whether monitoring receives the installation kit of the second pre-installation version, and the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a method for upgrading system, is characterized in that, comprising:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
2. the method for claim 1, is characterized in that, described method also comprises:
Whether the system idles subregion of monitoring current device has variation;
When the system idles subregion of described current device has variation, judge the size of described delta package whether be less than the variation of described current device after system idles subregion;
When the size of described delta package is less than the system idles subregion after the variation of described current device, described delta package is installed.
3. the method for claim 1, is characterized in that, described method also comprises:
When the size of described delta package is greater than or equal to the system idles subregion of described current device, whether monitoring gets the delta package again made;
When the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
When the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
4. method as claimed in claim 3, it is characterized in that, described method also comprises:
When the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described.
5. the method for claim 1, is characterized in that, the delta package of described this system upgrade of generation, comprising:
Obtain the installation kit of the current installation version of system of described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
6. method as claimed in claim 3, it is characterized in that, whether described monitoring gets the delta package again made, and comprising:
Whether monitoring receives the installation kit of the second pre-installation version, and the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
The installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
7. a system upgrade device, is characterized in that, comprising:
Generation module, for generating the delta package of this system upgrade;
Acquisition module, for the size of the delta package of the system idles subregion and this system upgrade described that obtain current device;
First judge module, for judging whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
First reminding module, during for being greater than or equal to the system idles subregion of described current device when the size of described delta package, sends information, the delta package of described information for pointing out this cannot install this system upgrade described;
First installation module, during for being less than the system idles subregion of described current device when the size of described delta package, installs described delta package.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
Whether the first monitoring modular, have variation for the system idles subregion of monitoring current device;
Second judge module, for when the system idles subregion of described current device has variation, judge the size of described delta package whether be less than described current device variation after system idles subregion;
Second installation module, during for being less than the system idles subregion after the variation of described current device when the size of described delta package, installs described delta package.
9. device as claimed in claim 7, it is characterized in that, described device also comprises:
Second monitoring modular, during for being greater than or equal to the system idles subregion of described current device when the size of described delta package, whether monitoring gets the delta package again made;
3rd judge module, for when the delta package again made described in getting, whether the size of the delta package again made described in judgement is less than the system idles subregion of described current device;
3rd installation module, for when the size of the described delta package again made is less than the system idles subregion of described current device, the delta package again made described in installation.
10. device as claimed in claim 9, it is characterized in that, described device also comprises:
Second reminding module, for when the size of the described delta package again made is greater than or equal to the system idles subregion of described current device, sends information, the delta package of described information for pointing out this cannot install this system upgrade described.
11. devices as claimed in claim 7, it is characterized in that, described generation module, comprising:
Obtain submodule, the installation kit of the current installation version of the system for obtaining described current device and the installation kit of system first pre-installation version; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
First difference subspace module, for the installation kit of the installation kit of current for described system installation version and described first pre-installation version is done difference, obtains the delta package of described system.
12. devices as claimed in claim 9, it is characterized in that, described second monitoring modular, comprising:
Monitoring submodule, for monitoring the installation kit whether receiving the second pre-installation version, the installation kit of described second pre-installation version is that the installation kit through simplifying the first pre-installation version obtains; The installation kit of described first pre-installation version is the installation kit that described system compares the version of current installation edition upgrading;
Second difference subspace module, for the installation kit of the installation kit of current for described system installation version and described second pre-installation version is done difference, obtains the delta package again made.
13. 1 kinds of system upgrade devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Generate the delta package of this system upgrade;
Obtain the size of the system idles subregion of current device and the delta package of this system upgrade described;
Judge whether the size of described delta package is greater than or equal to the system idles subregion of described current device;
When the size of described delta package is greater than or equal to the system idles subregion of described current device, send information, the delta package of described information for pointing out this cannot install this system upgrade described;
When the size of described delta package is less than the system idles subregion of described current device, described delta package is installed.
CN201510543589.4A 2015-08-28 2015-08-28 Method for upgrading system and device Active CN105068848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510543589.4A CN105068848B (en) 2015-08-28 2015-08-28 Method for upgrading system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510543589.4A CN105068848B (en) 2015-08-28 2015-08-28 Method for upgrading system and device

Publications (2)

Publication Number Publication Date
CN105068848A true CN105068848A (en) 2015-11-18
CN105068848B CN105068848B (en) 2018-12-11

Family

ID=54498226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510543589.4A Active CN105068848B (en) 2015-08-28 2015-08-28 Method for upgrading system and device

Country Status (1)

Country Link
CN (1) CN105068848B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740017A (en) * 2016-01-29 2016-07-06 贵阳海信电子有限公司 Cloud television system upgrading method and device
CN105912373A (en) * 2016-05-12 2016-08-31 乐视控股(北京)有限公司 Application program installing method and device
CN106231140A (en) * 2016-09-30 2016-12-14 努比亚技术有限公司 A kind of mobile terminal fota upgrading fault tolerance facility and method
CN106648723A (en) * 2016-05-26 2017-05-10 广州优视网络科技有限公司 Upgrading method and device of iOS system application program and system
CN107291490A (en) * 2017-05-03 2017-10-24 上海上讯信息技术股份有限公司 A kind of method and apparatus of system upgrade
CN110083381A (en) * 2018-01-26 2019-08-02 启碁科技股份有限公司 The method and device of increment upgrading
CN110494847A (en) * 2017-04-12 2019-11-22 住友电气工业株式会社 Trunking, transfer approach and computer program
CN111061506A (en) * 2019-12-17 2020-04-24 努比亚技术有限公司 Application management and control method, wearable device and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103577202A (en) * 2012-07-23 2014-02-12 深圳市中兴移动通信有限公司 Software upgrading method and system
CN104052818A (en) * 2014-06-27 2014-09-17 青岛海信移动通信技术股份有限公司 Version upgrade method and device for mobile terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081536A (en) * 2010-12-30 2011-06-01 华为终端有限公司 Method for updating increment, and server
CN103577202A (en) * 2012-07-23 2014-02-12 深圳市中兴移动通信有限公司 Software upgrading method and system
CN104052818A (en) * 2014-06-27 2014-09-17 青岛海信移动通信技术股份有限公司 Version upgrade method and device for mobile terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105740017A (en) * 2016-01-29 2016-07-06 贵阳海信电子有限公司 Cloud television system upgrading method and device
CN105740017B (en) * 2016-01-29 2019-06-04 贵阳海信电子有限公司 The upgrade method and device of cloud television system
CN105912373A (en) * 2016-05-12 2016-08-31 乐视控股(北京)有限公司 Application program installing method and device
CN106648723A (en) * 2016-05-26 2017-05-10 广州优视网络科技有限公司 Upgrading method and device of iOS system application program and system
CN106231140A (en) * 2016-09-30 2016-12-14 努比亚技术有限公司 A kind of mobile terminal fota upgrading fault tolerance facility and method
CN106231140B (en) * 2016-09-30 2020-01-24 深圳市微网力合信息技术有限公司 Mobile terminal fota upgrade fault-tolerant device and method
CN110494847A (en) * 2017-04-12 2019-11-22 住友电气工业株式会社 Trunking, transfer approach and computer program
CN107291490A (en) * 2017-05-03 2017-10-24 上海上讯信息技术股份有限公司 A kind of method and apparatus of system upgrade
CN110083381A (en) * 2018-01-26 2019-08-02 启碁科技股份有限公司 The method and device of increment upgrading
CN111061506A (en) * 2019-12-17 2020-04-24 努比亚技术有限公司 Application management and control method, wearable device and computer-readable storage medium

Also Published As

Publication number Publication date
CN105068848B (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN105068848A (en) System upgrading method and apparatus
CN104484200A (en) Method and device for updating firmware
CN104598093A (en) Method and device for prompting message during screen locking
CN104318741A (en) Bluetooth device control method and device
CN105553663A (en) Verification code input method and device
CN104156236A (en) Storage space saving method and device
CN105094931A (en) Software upgrading method and device
CN104219092A (en) Router management application and router firmware compatible method and router management application and router firmware compatible device
CN104766005A (en) Management method and device for application software access authority
CN103957103A (en) Safety authentication method and device and mobile terminal
CN104486451A (en) Application program recommendation method and device
CN105553963A (en) Control method and device of positioning services
CN105242828A (en) Method and apparatus for displaying control on interface of mobile terminal
CN104536783A (en) Method and device for setting reserved space
CN104735670A (en) Network access method and device
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105160320A (en) Fingerprint identification method and apparatus, and mobile terminal
CN104811776A (en) Multimedia playing method and device
CN105094904A (en) Application program installation method and device
CN105430715A (en) Method and apparatus for controlling WIFI scanning
CN103916468A (en) System upgrading method, terminal, server and upgrading system
CN105163290A (en) Roaming prompting method and apparatus
CN105426210A (en) Method and device for upgrading system
CN104951184A (en) Application program downloading method and device
CN104714826A (en) Application theme loading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant