CN106547597A - The control method and device of application program update - Google Patents

The control method and device of application program update Download PDF

Info

Publication number
CN106547597A
CN106547597A CN201611020650.8A CN201611020650A CN106547597A CN 106547597 A CN106547597 A CN 106547597A CN 201611020650 A CN201611020650 A CN 201611020650A CN 106547597 A CN106547597 A CN 106547597A
Authority
CN
China
Prior art keywords
application program
updated
difference
installation kit
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611020650.8A
Other languages
Chinese (zh)
Inventor
刘鸣
王乐
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201611020650.8A priority Critical patent/CN106547597A/en
Publication of CN106547597A publication Critical patent/CN106547597A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure is directed to the control method and device of a kind of application program update, the method includes:Difference is installed by obtaining the application program of terminal;Application program installs the value that the sizes values of the residual memory space that difference is not more than terminal deduct the application program installation restriction threshold value of terminal;Difference is installed according to application program, at least one application program to be updated is determined from all application programs to be updated;The installation kit size sum of at least one application program to be updated installs difference less than application program;The installation kit of at least one application program to be updated is downloaded, and at least one application program to be updated is installed.Therefore after downloading the installation kit of these application programs, the residual memory space of terminal is installed still not less than application program and limits threshold value, a few application program to be updated is can mount to also, so as to avoid at present after the installation kit for downloading batch application program cannot set up applications defect, improve the more new effects of application program.

Description

The control method and device of application program update
Technical field
It relates to field of terminal technology, more particularly to the control method and device of application program update.
Background technology
At present, when the application program in installed in mobile phone needs upgrading, mobile phone first downloads batch from using shop Application program to be upgraded, the installation kit of these application programs to be upgraded after download are stored in mobile phone, so that going smoothly The memory space of machine is reduced, and when memory space is less than certain threshold value, then cannot install these application programs to be updated.Example Such as:When current phone memory space is less than certain threshold value (500MB), will be unable to application, such as mobile phone remaining space 600MB are installed When, can be set up applications originally, and when application program needs upgrading, a collection of upgrade applications can be downloaded automatically, But after downloading application program, mobile phone remaining space is just changed into 300MB, this leads to not install application.
The content of the invention
To overcome problem present in correlation technique, the disclosure to provide a kind of control method and dress of application program update Put.
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of control method of application program update, including:
The application program for obtaining terminal installs difference;It is surplus less than or equal to the terminal that the application program installs difference The sizes values of remaining memory space deduct the application program of the terminal and install the value for limiting threshold value;
Difference is installed according to the application program, N number of application to be updated is determined from all application programs to be updated Program;The installation kit size sum of N number of application program to be updated installs difference less than the application program;The N is Integer more than or equal to 1;
The installation kit of N number of application program to be updated is downloaded, and N number of application program to be updated is installed.
Alternatively, after the installation N number of application program to be updated, also include:
Delete the installation kit of N number of application program to be updated;
The sizes values for updating the residual memory space of the terminal are N number of application journey to be updated described in the terminal deletion The sizes values of the residual memory space after the installation kit of sequence.
Alternatively, it is described that difference is installed according to the application program, N number for the treatment of is determined from all application programs to be updated The application program of renewal, including:
According to the order of installation kit size, all application programs to be updated are ranked up;
Difference is installed according to the application program, is determined in the application program all to be updated from after sequence successively N number of Application program to be updated.
Alternatively, it is described that difference is installed according to the application program, N number for the treatment of is determined from all application programs to be updated The application program of renewal, including:
According to the order of the initial of the title of application program, all application programs to be updated are ranked up;
Difference is installed according to the application program, is determined in the application program all to be updated from after sequence successively N number of Application program to be updated.
Alternatively, the installation kit size sum of N+1 application program to be updated installs poor not less than the application program Value.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of control device of application program update, including:
Acquisition module, the application program for being configured to obtain terminal install difference;The application program is installed difference and is less than Or equal to the residual memory space of the terminal sizes values deduct the terminal application program install limit threshold value value;
Determining module, is configured to install difference according to the application program, from all application programs to be updated really Fixed N number of application program to be updated;The installation kit size sum of N number of application program to be updated is less than the application program Difference is installed;The N is the integer more than or equal to 1;
Download module, is configured to download the installation kit of N number of application program to be updated;
Module is installed, the installation kit according to N number of application program to be updated is configured to, described N number of treat more is installed New application program.
Alternatively, also include:
Removing module, is configured to after the installation module installs N number of application program to be updated, deletes institute State the installation kit of N number of application program to be updated;
Update module, the sizes values of the residual memory space for being configured to update the terminal are described in the terminal deletion The sizes values of the residual memory space after the installation kit of N number of application program to be updated.
Alternatively, the determining module, including:Sorting sub-module and determination sub-module;
The sorting sub-module, is configured to the order according to installation kit size, and all application programs to be updated are entered Row sequence;
The determination sub-module, is configured to install difference according to the application program, all to be updated from after sequence Application program in determine N number of application program to be updated successively.
Alternatively, the determining module, including:Sorting sub-module and determination sub-module;
The sorting sub-module, is configured to the order of the initial of title according to application program, to all to be updated Application program be ranked up;
The determination sub-module, is configured to install difference according to the application program, all to be updated from after sequence Application program in determine N number of application program to be updated successively.
Alternatively, the installation kit size sum of N+1 application program to be updated installs poor not less than the application program Value.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of control device of application program update, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The application program for obtaining terminal installs difference;It is surplus less than or equal to the terminal that the application program installs difference The sizes values of remaining memory space deduct the application program of the terminal and install the value for limiting threshold value;
Difference is installed according to the application program, N number of application to be updated is determined from all application programs to be updated Program;The installation kit size sum of N number of application program to be updated installs difference less than the application program;The N is Integer more than or equal to 1;
The installation kit of N number of application program to be updated is downloaded, and N number of application program to be updated is installed.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:By the application journey for obtaining terminal Sequence installs difference;Application program is installed difference and deducts the end less than or equal to the sizes values of the residual memory space of the terminal The application program at end installs the value for limiting threshold value;Difference is installed according to the application program, from all application programs to be updated At least one application program to be updated of middle determination;The installation kit size sum of described at least one application program to be updated is little Difference is installed in the application program;Download the installation kit of described at least one application program to be updated, and described in installing extremely A few application program to be updated.As the installation kit size sum of at least one application program to be updated downloaded is less than The application program installs difference, therefore after downloading the installation kit of at least one application program to be updated, terminal it is surplus Remaining memory space is not still installed less than application program and limits threshold value, and terminal also can mount to a few application journey to be updated Sequence, so as to avoid in correlation technique download batch application program installation kit after cannot set up applications defect, Improve the more new effects of application program.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
During accompanying drawing herein is merged in description and the part of this specification is constituted, show the enforcement for meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the control method of the application program update according to an exemplary embodiment.
Fig. 2 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary.
Fig. 3 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary.
Fig. 4 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary.
Fig. 5 is a kind of block diagram of the control device of the application program update according to an exemplary embodiment.
Fig. 6 is the block diagram of the control device for implementing a kind of application program update for exemplifying according to another exemplary.
Fig. 7 is the block diagram of the control device for implementing a kind of application program update for exemplifying according to another exemplary.
Fig. 8 is a kind of block diagram of the control device 800 of the application program update according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to the scope of disclosure design is limited by any mode with word description, but by reference to specific embodiment is Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of the consistent apparatus and method in terms of some of described in detail in claims, disclosure.
Fig. 1 is a kind of flow chart of the control method of the application program update according to an exemplary embodiment, such as Fig. 1 Shown, the control method of application program update is used in terminal, comprises the following steps.
In step s 11, the application program for obtaining terminal installs difference;Application program installs difference less than or equal to described The sizes values of the residual memory space of terminal deduct the application program of the terminal and install the value for limiting threshold value.
In step s 12, difference is installed according to the application program, is determined from all application programs to be updated N number of Application program to be updated;The installation kit size sum of N number of application program to be updated is installed less than the application program Difference;The N is the integer more than or equal to 1.
In step s 13, the installation kit of N number of application program to be updated is downloaded, and installs described N number of to be updated Application program.
In the present embodiment, when the application program installed in needing to terminal is updated, wherein, application program is carried out Renewal can be that application program is upgraded, and application program is upgraded to version 2 .2 from version 2 .1 e.g.;The present embodiment The sizes values of the residual memory space of terminal, for example, 600M, then by the big of the residual memory space of the terminal can be obtained Little value deducts the application program of terminal and installs restriction threshold value, obtains a value, and the present embodiment can take the application program peace of terminal Dress difference is the value or the value less than the acquisition of the acquisition.Wherein, the application program of terminal is installed and limits threshold value to set in advance Fixed value, application program are installed restriction threshold value and represent that the sizes values of the residual memory space of terminal install limit less than the application program Determine during threshold value terminal can not set up applications again, for example:Application program is installed restriction threshold value and can be set as 500M.
Then the present embodiment installs difference according to the application program for obtaining, and from all application programs to be updated determines N Individual application program to be updated, wherein, the installation kit size sum of N number of application program to be updated is installed less than the application program Difference, then downloads the installation kit of N number of application program to be updated of determination, and installs N number of application journey to be updated Sequence.Wherein, a kind of possible implementation of S13:The installation kit of N number of application program to be updated is all downloaded after finishing, Corresponding application program is installed further according to the installation kit of each application program.A kind of possible implementation of S13 is:Downloading During the installation kit of N number of application program to be updated, if the installation kit of one of application program is first downloaded finishing, and its The installation kit of its application program, can first install and download the application program for finishing, it is, the present embodiment can be according to download The order of the installation kit of the application program for finishing, installs N number of application program successively.Wherein, how to download the installation of application program Bag and according to the description how set up applications may refer in correlation technique of the installation kit of application program, is no longer gone to live in the household of one's in-laws on getting married herein State.
In sum, the control method of the application program update that the present embodiment is provided, by the application program for obtaining terminal Difference is installed;Application program is installed difference and deducts the terminal less than or equal to the sizes values of the residual memory space of the terminal Application program install limit threshold value value;Difference is installed according to the application program, from all application programs to be updated Determine at least one application program to be updated;The installation kit size sum of described at least one application program to be updated is less than The application program installs difference;Download the installation kit of described at least one application program to be updated, and described in installing at least One application program to be updated.As the installation kit size sum of at least one application program to be updated downloaded is less than institute State application program and difference is installed, therefore after downloading the installation kit of at least one application program to be updated, the residue of terminal Memory space is not still installed less than application program and limits threshold value, and terminal also can mount to a few application journey to be updated Sequence, so as to avoid in correlation technique download batch application program installation kit after cannot set up applications defect, Improve the more new effects of application program.
Fig. 2 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary, such as Shown in Fig. 2, the control method of application program update is used in terminal, comprises the following steps.
In the step s 21, the application program for obtaining terminal installs difference;Application program installs difference less than or equal to described The sizes values of the residual memory space of terminal deduct the application program of the terminal and install the value for limiting threshold value.
In step S22, difference is installed according to the application program, is determined from all application programs to be updated N number of Application program to be updated;The installation kit size sum of N number of application program to be updated is installed less than the application program Difference;The N is the integer more than or equal to 1.
The installation kit of N number of application program to be updated in step S23, is downloaded, and installs described N number of to be updated Application program.
In the present embodiment, S21-S23's implements the associated description that process is may refer in embodiment illustrated in fig. 1, this Place repeats no more.
In step s 24, delete the installation kit of N number of application program to be updated.
In step s 25, the sizes values for updating the residual memory space of the terminal are N number of described in the terminal deletion treating The sizes values of the residual memory space after the installation kit of the application program of renewal.
In the present embodiment, after execution step S23, the present embodiment can also delete N number of application program to be updated Installation kit, such that it is able to be released into the part memory space of terminal, in this case, the residual memory space of terminal can occur Change, this can also cause the application program installation difference of terminal also change.Therefore, the residue of terminal is deposited by the present embodiment Storage space size is updated to after the terminal installs N number of application program to be updated and deletes N number of application journey to be updated The sizes values of the residual memory space after the installation kit of sequence, then perform the scheme as described in above-mentioned step S21-S23 again.
Sizes values for the residual memory space of the terminal in obtaining step S21 are the first residual memory space value, Then the sizes values of the residual memory space of the terminal after the installation kit for deleting N number of application program to be updated are second remaining Memory space value.After the installation kit for deleting N number of application program to be updated, by the big of the residual memory space of terminal Little value is updated to the second residual memory space value by the first residual memory space value, according to the second residual memory space value and described The application program of terminal is installed and limits threshold value, and the application program for obtaining terminal again installs difference, and it is little that application program installs difference In or equal to the second residual memory space value deduct terminal application program install limit threshold value value, according to application program install Difference, determines that from all application programs (application program i.e. in addition to above-mentioned N number of application program) to be updated M is individual to be updated Application program, the M is the integer more than or equal to 1, wherein, the M can be equal to N, it is also possible to be not equal to N;Then download again The installation kit of the M application program, and the M application program is installed.Alternatively, the present embodiment can also delete the M again The installation kit of application program, then updates the sizes values of the residual memory space of the terminal again, performs such as above-mentioned step S21- Scheme described in S23.Therefore, the present embodiment can circulate execution step S21-S25, straight only residue do not update it is to be updated should It is all higher than terminating when application program installs difference with the installation kit of program;Or, directly only all application program updates to be updated Terminate when finishing.
In sum, the control method of the application program update that the present embodiment is provided, by the application program for obtaining terminal Difference is installed;Application program is installed difference and deducts the terminal less than or equal to the sizes values of the residual memory space of the terminal Application program install limit threshold value value;Difference is installed according to the application program, from all application programs to be updated Determine at least one application program to be updated;The installation kit size sum of described at least one application program to be updated is less than The application program installs difference;Download the installation kit of described at least one application program to be updated, and described in installing at least One application program to be updated;Delete the installation kit of N number of application program to be updated;The residue for updating the terminal is deposited The sizes values in storage space are the residual memory space after the installation kit of N number of application program to be updated described in the terminal deletion Sizes values, then perform such scheme again.Due to the installation kit size of at least one application program to be updated of download Sum installs difference less than the application program, therefore after downloading the installation kit of at least one application program to be updated, The residual memory space of terminal is still installed less than application program and limits threshold value, terminal also can mount to few one it is to be updated Application program, so as to avoid in correlation technique download batch application program installation kit after cannot set up applications Defect, improve the more new effects of application program;And by above-mentioned circulate operation so that terminal renewal as much as possible should Use program.
Fig. 3 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary, such as Shown in Fig. 3, the control method of application program update is used in terminal, comprises the following steps.
In step S31, the application program for obtaining terminal installs difference;Application program installs difference less than or equal to described The sizes values of the residual memory space of terminal deduct the application program of the terminal and install the value for limiting threshold value.
In the present embodiment, step S31 implements the associated description that process is may refer in embodiment illustrated in fig. 1, this Place repeats no more.
In step s 32, according to the order of installation kit size, all application programs to be updated are ranked up.
In the present embodiment, the size of the installation kit of all application programs to be updated can be obtained, according to each application program Installation kit size order, these application programs to be updated are ranked up.Wherein it is possible to according to the peace of application program The descending order of the size of bag is filled, these application programs to be updated are ranked up, the application program after sequence is successively For:The corresponding application programs of 100M, the corresponding application programs of 80M, the corresponding application programs of 60M, the corresponding application programs of 40M, The corresponding application programs of 20M;Can also be to be updated to these according to the ascending order of the size of the installation kit of application program Application program be ranked up, the application program after sequence is followed successively by:The corresponding application programs of 20M, the corresponding application journeys of 40M Sequence, the corresponding application programs of 60M, the corresponding application programs of 80M, the corresponding application programs of 100M.
In step S33, difference is installed according to the application program, in the application program all to be updated from after sequence N number of application program to be updated is determined successively.
In the present embodiment, difference is installed according to the application program, in the application program all to be updated from after sequence according to Secondary to determine N number of application program to be updated, the installation kit sum of N number of application program to be updated installs poor less than application program Value.
It is ranked up so that the installation kit size of application program is ascending, difference is installed according to application program, from after sequence Application program to be updated in can determine top n application program to be updated.Difference is installed with application program as 100M is Example, the application program after sequence are followed successively by:The corresponding application programs of 20M, the corresponding application programs of 40M, the corresponding application journeys of 60M Sequence, the corresponding application programs of 80M, the corresponding application programs of 100M;Can determine the application to be updated of previous or the first two Program.Alternatively, the installation kit sum of N+1 application program to be updated installs difference not less than the application program, wherein, The installation kit size sum of the first two application program is 60M, and the installation kit size sum of first three application program is 120M, because This, the application program N number of to be updated that the present embodiment determines is the first two application program.
The installation kit of N number of application program to be updated in step S34, is downloaded, and installs described N number of to be updated Application program.
In the present embodiment, step S34 implements the associated description that process is may refer in embodiment illustrated in fig. 1, this Place repeats no more.
Alternatively, the method for the present embodiment can also include:
In step s 35, delete the installation kit of N number of application program to be updated.
In step S36, the sizes values for updating the residual memory space of the terminal are N number of described in the terminal deletion treating The sizes values of the residual memory space after the installation kit of the application program of renewal.
In the present embodiment, step S35 and S36 implement that process may refer in embodiment illustrated in fig. 2 related retouch State, here is omitted.
After S31-S33 is performed, the application program to be updated after sequence is changed to:The corresponding application programs of 60M, The corresponding application programs of 80M, the corresponding application programs of 100M;And after S35 and S36 is performed, calculate the application program for obtaining Difference is installed and is changed to 70M, the corresponding application programs of 60M are determined from above-mentioned application program to be updated according to the 70M, then Download the installation kit of the 60M and the application program is installed;The present embodiment can also delete the installation kit of the 60M, then update eventually The sizes values of the residual memory space at end, the application program difference for calculating acquisition again are changed to 30M, now, treating after sequence The application program of renewal is changed to:The corresponding application programs of 80M, the corresponding application programs of 100M, the peace of all of application program Dress bag is all higher than the 30M, and so far the present embodiment then terminates.
In sum, the control method of the application program update that the present embodiment is provided, by the application program for obtaining terminal Difference is installed;Application program is installed difference and deducts the terminal less than or equal to the sizes values of the residual memory space of the terminal Application program install limit threshold value value;According to the order of installation kit size, all application programs to be updated are arranged Sequence;Difference is installed according to the application program, is determined in the application program all to be updated from after sequence successively N number of to be updated Application program;The installation kit of N number of application program to be updated is downloaded, and N number of application program to be updated is installed. As the installation kit size sum of at least one application program to be updated downloaded installs difference less than the application program, because After this downloads the installation kit of at least one application program to be updated, the residual memory space of terminal is not still less than should Installed with program and limit threshold value, terminal also can mount to a few application program to be updated, so as to avoid in correlation technique Download batch application program installation kit after cannot set up applications defect, improve application program renewal effect Really;And determining the application program for downloading installation according to the size of installation kit successively so that terminal is updated under the confined space to the greatest extent Application program more than possible.
Fig. 4 is the flow chart of the control method for implementing a kind of application program update for exemplifying according to another exemplary, such as Shown in Fig. 4, the control method of application program update is used in terminal, comprises the following steps.
In step S41, the application program for obtaining terminal installs difference;Application program installs difference less than or equal to described The sizes values of the residual memory space of terminal deduct the application program of the terminal and install the value for limiting threshold value.
In the present embodiment, step S41 implements the associated description that process is may refer in embodiment illustrated in fig. 1, this Place repeats no more.
In step S42, according to the order of the initial of the title of application program, all application programs to be updated are entered Row sequence.
In the present embodiment, the initial of the title of all application programs to be updated can be obtained, according to each application program Title initial order, these application programs to be updated are ranked up.Wherein it is possible to according to the name of application program These application programs to be updated are ranked up by the order from back to front of the initial of title, the application program after sequence according to It is secondary to be:E application programs, D application programs, C application programs, B application programs, A application programs;Can also be according to the head of application program These application programs to be updated are ranked up by the order from front to back of letter, and the application program after sequence is followed successively by:A Application program, B application programs, C application programs, D application programs, E application programs.
In step S43, difference is installed according to the application program, in the application program all to be updated from after sequence N number of application program to be updated is determined successively.
In the present embodiment, difference is installed according to the application program, in the application program all to be updated from after sequence according to Secondary to determine N number of application program to be updated, the installation kit sum of N number of application program to be updated installs poor less than application program Value.
By taking the order from front to back of the initial of application program as an example, the application program after sequence is followed successively by:A application journeys Sequence (20M), B application programs (80M), C application programs (60M), D application programs (40M), E application programs (100M);To apply journey Sequence installs difference for as a example by 100M, it may be determined that wherein one or two application program to be updated.Alternatively, treat more for N+1 The installation kit sum of new application program installs difference not less than the application program, wherein, the installation of the first two application program Bag size sum is 100M, therefore, it can skip B application programs, due to A application programs and the installation kit size of C application programs Sum is 80M, and the installation kit size sum of the installation kit size sum of A, C, D application program and A, C, D application program is equal More than 100M, therefore, the application program N number of to be updated that the present embodiment determines is A application programs and C application programs.
The installation kit of N number of application program to be updated in step S44, is downloaded, and installs described N number of to be updated Application program.
In the present embodiment, step S44 implements the associated description that process is may refer in embodiment illustrated in fig. 1, this Place repeats no more.
Alternatively, the method for the present embodiment can also include:
In step S45, the installation kit of N number of application program to be updated is deleted.
In step S46, the sizes values for updating the residual memory space of the terminal are N number of described in the terminal deletion treating The sizes values of the residual memory space after the installation kit of the application program of renewal.
In the present embodiment, step S45 and S46 implement that process may refer in embodiment illustrated in fig. 2 related retouch State, here is omitted.
In sum, the control method of the application program update that the present embodiment is provided, by such scheme.Due to what is downloaded The installation kit size sum of at least one application program to be updated installs difference less than the application program, therefore downloads this extremely After the installation kit of a few application program to be updated, the residual memory space of terminal is not still installed less than application program Threshold value is limited, terminal also can mount to a few application program to be updated, a collection of in download in correlation technique so as to avoid Amount application program installation kit after cannot set up applications defect, improve the more new effects of application program.
It is following for disclosure device embodiment, can be used for performing method of disclosure embodiment.For disclosure device reality The details not disclosed in applying example, refer to method of disclosure embodiment.
Fig. 5 is a kind of block diagram of the control device of the application program update according to an exemplary embodiment.The application The control device that program updates can pass through software, hardware or both be implemented in combination with become the electronics comprising touching display screen Equipment it is some or all of.With reference to Fig. 5, the device includes acquisition module 100, determining module 200, download module 300 and peace Die-filling piece 400.
Acquisition module 100, the application program for being configured to obtain terminal install difference;It is little that the application program installs difference In or equal to the residual memory space of the terminal sizes values deduct the terminal application program install limit threshold value value.
Determining module 200, is configured to install difference according to the application program, from all application programs to be updated Determine N number of application program to be updated;The installation kit size sum of N number of application program to be updated is less than the application journey Sequence installs difference;The N is the integer more than or equal to 1.
Download module 300, is configured to download the installation kit of N number of application program to be updated.
Module 400 is installed, the installation kit according to N number of application program to be updated is configured to, described N number of wait is installed The application program of renewal.
With regard to the device in above-described embodiment, the concrete mode and technique effect of wherein modules execution operation exist About being described in detail in the embodiment of the method, explanation will be not set forth in detail herein.
Fig. 6 is the block diagram of the control device for implementing a kind of application program update for exemplifying according to another exemplary.Should With the control device that program updates can pass through software, hardware or both be implemented in combination with become the electricity comprising touching display screen Sub- equipment it is some or all of.With reference to Fig. 6, the device of the present embodiment can also be wrapped on the basis of embodiment as shown in Figure 5 Include:Removing module 500 and update module 600.
Removing module 500, is configured to after the installation module installs N number of application program to be updated, deletes Except the installation kit of N number of application program to be updated;
Update module 600, the sizes values of the residual memory space for being configured to update the terminal are the terminal deletion The sizes values of the residual memory space after the installation kit of N number of application program to be updated.
With regard to the device in above-described embodiment, the concrete mode and technique effect of wherein modules execution operation exist About being described in detail in the embodiment of the method, explanation will be not set forth in detail herein.
Fig. 7 is the block diagram of the control device for implementing a kind of application program update for exemplifying according to another exemplary.Should With the control device that program updates can pass through software, hardware or both be implemented in combination with become the electricity comprising touching display screen Sub- equipment it is some or all of.With reference to Fig. 7, the device of the present embodiment on the basis of embodiment as shown in Figure 5 or Figure 6, institute Determining module 200 is stated, including:Sorting sub-module 210 and determination sub-module 220.
In a kind of possible implementation, the sorting sub-module 210 is configured to according to the suitable of installation kit size All application programs to be updated are ranked up by sequence.
The determination sub-module 220, be configured to according to the application program install difference, from after sequence it is needed more Determine N number of application program to be updated in new application program successively.
In a kind of possible implementation, the sorting sub-module 210 is configured to title according to application program All application programs to be updated are ranked up by the order of initial;
The determination sub-module 220, be configured to according to the application program install difference, from after sequence it is needed more Determine N number of application program to be updated in new application program successively.
Alternatively, the installation kit size sum of N+1 application program to be updated installs poor not less than the application program Value.
With regard to the device in above-described embodiment, the concrete mode and technique effect of wherein modules execution operation exist About being described in detail in the embodiment of the method, explanation will be not set forth in detail herein.
Fig. 8 is a kind of block diagram of the control device 800 of the application program update according to an exemplary embodiment.Example Such as, device 800 can be mobile phone, and computer, digital broadcast terminal, messaging devices, game console, flat board set It is standby, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 8, device 800 can include following one or more assemblies:Process assembly 802, memorizer 804, electric power Component 806, multimedia groupware 808, audio-frequency assembly 810, the interface 812 of input/output (I/O), sensor cluster 814, and Communication component 816.
The integrated operation of 802 usual control device 800 of process assembly, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 802 can refer to perform including one or more processors 820 Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 802 can include one or more modules, just Interaction between process assembly 802 and other assemblies.For example, process assembly 802 can include multi-media module, many to facilitate Interaction between media component 808 and process assembly 802.
Memorizer 804 is configured to store various types of data to support the operation in device 800.These data are shown Example includes the instruction of any application program or method for operating on device 800, and contact data, telephone book data disappear Breath, picture, video etc..Memorizer 804 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of device 800.Electric power assembly 806 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for device 800.
Multimedia groupware 808 is included in the screen of one output interface of offer between described device 800 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body component 808 includes a front-facing camera and/or post-positioned pick-up head.When device 800 be in operator scheme, such as screening-mode or During 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 a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 810 is configured to output and/or input audio signal.For example, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 800 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 804 or via communication set Part 816 sends.In certain embodiments, audio-frequency assembly 810 also includes a speaker, for exports audio signal.
, for interface is provided between process assembly 802 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 812 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 814 includes one or more sensors, and the state for various aspects are provided for device 800 is commented Estimate.For example, sensor cluster 814 can detect the opening/closed mode of device 800, and the relative localization of component is for example described Display and keypad of the component for device 800, sensor cluster 814 can be with 800 1 components of detection means 800 or device Position change, user is presence or absence of with what device 800 was contacted, 800 orientation of device or acceleration/deceleration and device 800 Temperature change.Sensor cluster 814 can include proximity transducer, be configured to detect when not having any physical contact The presence of object nearby.Sensor cluster 814 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 814 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 816 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 816 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 800 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 804 of instruction, above-mentioned instruction can be performed to complete said method by the processor 820 of device 800.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the process of device 800 When device is performed so that device 800 is able to carry out the control method of above-mentioned application program update.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is limited only by appending claims System.

Claims (11)

1. a kind of control method of application program update, it is characterised in that include:
The application program for obtaining terminal installs difference;The application program installation difference is deposited less than or equal to the residue of the terminal The sizes values in storage space deduct the application program of the terminal and install the value for limiting threshold value;
Difference is installed according to the application program, N number of application program to be updated is determined from all application programs to be updated; The installation kit size sum of N number of application program to be updated installs difference less than the application program;The N be more than or Integer equal to 1;
The installation kit of N number of application program to be updated is downloaded, and N number of application program to be updated is installed.
2. method according to claim 1, it is characterised in that after the installation N number of application program to be updated, Also include:
Delete the installation kit of N number of application program to be updated;
The sizes values for updating the residual memory space of the terminal are N number of application program to be updated described in the terminal deletion The sizes values of the residual memory space after installation kit.
3. method according to claim 1, it is characterised in that described that difference is installed according to the application program, from all N number of application program to be updated is determined in application program to be updated, including:
According to the order of installation kit size, all application programs to be updated are ranked up;
Difference is installed according to the application program, N number for the treatment of in the application program all to be updated from after sequence, is determined successively The application program of renewal.
4. method according to claim 1, it is characterised in that described that difference is installed according to the application program, from all N number of application program to be updated is determined in application program to be updated, including:
According to the order of the initial of the title of application program, all application programs to be updated are ranked up;
Difference is installed according to the application program, N number for the treatment of in the application program all to be updated from after sequence, is determined successively The application program of renewal.
5. according to claim 3 or 4 methods describeds, it is characterised in that the installation kit size of application program N+1 to be updated it Difference is installed with not less than the application program.
6. a kind of control device of application program update, it is characterised in that include:
Acquisition module, the application program for being configured to obtain terminal install difference;The application program is installed difference and is less than or waits The application program that the terminal is deducted in the sizes values of the residual memory space of the terminal installs the value for limiting threshold value;
Determining module, is configured to install difference according to the application program, determines N number of from all application programs to be updated Application program to be updated;The installation kit size sum of N number of application program to be updated is installed less than the application program Difference;The N is the integer more than or equal to 1;
Download module, is configured to download the installation kit of N number of application program to be updated;
Module is installed, the installation kit according to N number of application program to be updated is configured to, is installed described N number of to be updated Application program.
7. device according to claim 6, it is characterised in that also include:
Removing module, is configured to after the installation module installs N number of application program to be updated, deletes the N The installation kit of individual application program to be updated;
Update module, the sizes values of the residual memory space for being configured to update the terminal are N number of described in the terminal deletion The sizes values of the residual memory space after the installation kit of application program to be updated.
8. device according to claim 6, it is characterised in that the determining module, including:Sorting sub-module and determination Module;
The sorting sub-module, is configured to the order according to installation kit size, and all application programs to be updated are arranged Sequence;
The determination sub-module, is configured to install difference according to the application program, and all to be updated from after sequence should With determining N number of application program to be updated in program successively.
9. device according to claim 6, it is characterised in that the determining module, including:Sorting sub-module and determination Module;
The sorting sub-module, is configured to the order of the initial of title according to application program, to it is all it is to be updated should It is ranked up with program;
The determination sub-module, is configured to install difference according to the application program, and all to be updated from after sequence should With determining N number of application program to be updated in program successively.
10. device according to claim 8 or claim 9, it is characterised in that the installation kit size of N+1 application program to be updated Sum installs difference not less than the application program.
11. a kind of control devices of application program update, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The application program for obtaining terminal installs difference;The application program installation difference is deposited less than or equal to the residue of the terminal The sizes values in storage space deduct the application program of the terminal and install the value for limiting threshold value;
Difference is installed according to the application program, N number of application program to be updated is determined from all application programs to be updated; The installation kit size sum of N number of application program to be updated installs difference less than the application program;The N be more than or Integer equal to 1;
The installation kit of N number of application program to be updated is downloaded, and N number of application program to be updated is installed.
CN201611020650.8A 2016-11-21 2016-11-21 The control method and device of application program update Pending CN106547597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611020650.8A CN106547597A (en) 2016-11-21 2016-11-21 The control method and device of application program update

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611020650.8A CN106547597A (en) 2016-11-21 2016-11-21 The control method and device of application program update

Publications (1)

Publication Number Publication Date
CN106547597A true CN106547597A (en) 2017-03-29

Family

ID=58394745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611020650.8A Pending CN106547597A (en) 2016-11-21 2016-11-21 The control method and device of application program update

Country Status (1)

Country Link
CN (1) CN106547597A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357617A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Using update method, device, storage medium and electronic equipment
CN108399071A (en) * 2018-01-19 2018-08-14 五八有限公司 Processing method, device, equipment and the storage medium of application program installation kit size
CN113094077A (en) * 2019-12-23 2021-07-09 深圳Tcl数字技术有限公司 System differential upgrading method and device, intelligent terminal and storage medium
CN113360230A (en) * 2021-06-02 2021-09-07 浙江吉利控股集团有限公司 Application program display method and system and vehicle
CN113885903A (en) * 2021-08-30 2022-01-04 珠海读书郎软件科技有限公司 Multi-application upgrading method for application market

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN104363302A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for downloading file offline
CN105592143A (en) * 2015-11-23 2016-05-18 杭州华三通信技术有限公司 File loading method and device
CN105721941A (en) * 2016-01-18 2016-06-29 贵阳海信电子有限公司 Over-the-air upgrading control method and device of cloud television
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN104363302A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for downloading file offline
CN105592143A (en) * 2015-11-23 2016-05-18 杭州华三通信技术有限公司 File loading method and device
CN105721941A (en) * 2016-01-18 2016-06-29 贵阳海信电子有限公司 Over-the-air upgrading control method and device of cloud television
CN105933150A (en) * 2016-04-20 2016-09-07 努比亚技术有限公司 OTA upgrade method, device and system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357617A (en) * 2017-06-30 2017-11-17 广东欧珀移动通信有限公司 Using update method, device, storage medium and electronic equipment
CN107357617B (en) * 2017-06-30 2020-12-15 Oppo广东移动通信有限公司 Application updating method and device, storage medium and electronic equipment
CN108399071A (en) * 2018-01-19 2018-08-14 五八有限公司 Processing method, device, equipment and the storage medium of application program installation kit size
CN108399071B (en) * 2018-01-19 2021-07-20 五八有限公司 Application program installation package size processing method, device, equipment and storage medium
CN113094077A (en) * 2019-12-23 2021-07-09 深圳Tcl数字技术有限公司 System differential upgrading method and device, intelligent terminal and storage medium
CN113360230A (en) * 2021-06-02 2021-09-07 浙江吉利控股集团有限公司 Application program display method and system and vehicle
CN113885903A (en) * 2021-08-30 2022-01-04 珠海读书郎软件科技有限公司 Multi-application upgrading method for application market

Similar Documents

Publication Publication Date Title
CN104951336B (en) application program installation method and device
CN106547597A (en) The control method and device of application program update
CN104536783B (en) Headspace method to set up and device
CN105512545B (en) Access rights management method and device
CN104811776B (en) Multi-medium play method and device
CN103916468B (en) Method for upgrading system, terminal, server and upgrade-system
CN107391218A (en) Compilation Method and device, electronic equipment and computer-readable recording medium
CN107193653A (en) Method for allocating bandwidth resources, device and storage medium
CN107357613A (en) Using update method, device and computer-readable recording medium
CN107315792A (en) Method for updating pages, device, electronic equipment and computer-readable recording medium
CN105808305A (en) Static resource loading method and device
CN107241495A (en) The split screen treating method and apparatus of terminal device
CN106648730A (en) Processing method and device of abnormal application
CN107544802A (en) device identification method and device
CN106503131A (en) Obtain the method and device of interest information
CN105630546A (en) System updating method and system updating device
CN107239351A (en) Method of attaching and device
CN109388423A (en) Method for upgrading software and device
CN106528113A (en) File compiling method and apparatus
CN106407458A (en) Method and device for acquiring content of browser application program
CN107544818A (en) The loading method and device of system software
CN105704322A (en) Weather information obtaining method and apparatus
CN107436782A (en) Application program silence installation method and device
CN105630548B (en) Method for updating system and device
CN105204879A (en) Application updating method and device

Legal Events

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

Application publication date: 20170329

RJ01 Rejection of invention patent application after publication