CN105573770A - Application program downloading and installing method and device - Google Patents

Application program downloading and installing method and device Download PDF

Info

Publication number
CN105573770A
CN105573770A CN201410541818.4A CN201410541818A CN105573770A CN 105573770 A CN105573770 A CN 105573770A CN 201410541818 A CN201410541818 A CN 201410541818A CN 105573770 A CN105573770 A CN 105573770A
Authority
CN
China
Prior art keywords
application program
size
installation kit
storage space
download
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
CN201410541818.4A
Other languages
Chinese (zh)
Other versions
CN105573770B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410541818.4A priority Critical patent/CN105573770B/en
Publication of CN105573770A publication Critical patent/CN105573770A/en
Application granted granted Critical
Publication of CN105573770B publication Critical patent/CN105573770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention relates to an application program downloading and installing method. The method comprises following steps: receiving an application program downloading request triggered by a user; receiving the size of the installation package of the application program; calculating the size of a reserved storage space demanded for downloading and installing the application program; if an electronic device has no storage space satisfying the size of the reserved storage space, cleaning the temporary files of the electronic terminal, downloading the installation package of the application program from a server, and installing the installation package. The invention also relates to an application program downloading and installing device. In adoption of the method and the device of the invention, the application program downloading and installing success rate can be effectively improved.

Description

Application program download and installation method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of application program download and installation method and device.
Background technology
In the process of user's down load application program, various problem may be run into and cause downloading and installing unsuccessful.One of them important problem is the insufficient space of electric terminal.The path that acquiescence is downloaded is had when application program shop down load application program, but often user's installation kit that deletion in time has not been installed after mounting causes default storage location insufficient space, or in electric terminal, the file of other position stores too many, causes selecting other downloaded stored position to cause application program to download and install failure.Causing downloading and installing failure for memory space inadequate when downloading and installing is problem demanding prompt solution.
Summary of the invention
In view of this, the invention provides a kind of application program download and installation method and device, the success ratio that application program is downloaded and installed can be improved.
A kind of application program download and installation method, for electric terminal, said method comprising the steps of:
Receive the application program download request that user triggers;
Receive the size of the installation kit of described application program;
Size according to described installation kit calculates the size of downloading and installing reserved storage space needed for described application program;
If described electric terminal does not exist the storage space of the size meeting reserved storage space, then the temporary file of described electric terminal is cleared up, and
Download the installation kit of described application program, and described installation kit is installed.
A kind of application program downloads and installs device, and for electric terminal, described device comprises with lower module:
First receiver module, for receiving the application program download request that user triggers;
Second receiver module, for receiving the size of the installation kit of described application program;
Computing module, calculates the size of downloading and installing reserved storage space needed for described application program for the size according to described installation kit;
Cleaning module, if the storage space that there is not the size meeting required reserved storage space for described electric terminal, then clears up the temporary file of described electric terminal; And
Downloading and installing module, for downloading the installation kit of described application program from server, and described installation kit being installed.
According to this above-described embodiment, by when down load application program, if memory space inadequate, then the possible file rubbish of scanning carried out to electric terminal and clear up, thus enabling application program successfully download and install.
For above and other object of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and coordinate institute's accompanying drawings, be described in detail below.
Accompanying drawing explanation
Fig. 1 is a kind of structured flowchart of electric terminal.
The application program download and installation method process flow diagram that Fig. 2 provides for the first embodiment.
The application program download and installation method process flow diagram that Fig. 3 provides for the second embodiment.
The application program download and installation method process flow diagram that Fig. 4 provides for the 3rd embodiment.
The application program download and installation method process flow diagram that Fig. 5 provides for the 4th embodiment.
The application program that Fig. 6 provides for the 5th embodiment downloads and installs apparatus structure block diagram.
The application program that Fig. 7 provides for the 6th embodiment downloads and installs apparatus structure block diagram.
The application program that Fig. 8 provides for the 7th embodiment downloads and installs apparatus structure block diagram.
The application program that Fig. 9 provides for the 8th embodiment downloads and installs apparatus structure block diagram.
Embodiment
For further setting forth the present invention for the technological means that realizes predetermined goal of the invention and take and effect, below in conjunction with accompanying drawing and preferred embodiment, to according to the specific embodiment of the present invention, structure, feature and effect thereof, be described in detail as follows.
Relate to a kind of application program download and installation method and device in the embodiment of the present invention, specifically it can be used in electric terminal.
Fig. 1 is the structured flowchart of above-mentioned electric terminal.As shown in Figure 1, electric terminal 100 comprise one or more (only illustrating one in figure) processor 102, storer 104, RF (RadioFrequency, radio frequency) module 106, mixed-media network modules mixed-media 108, load module 110, display module 112.One of ordinary skill in the art will appreciate that, the structure shown in Fig. 1 is only signal, and it does not cause restriction to the structure of electric terminal 100.Such as, electric terminal 100 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.The instantiation of above-mentioned electric terminal 100 includes, but are not limited to the various combinations of handheld computer, mobile phone, media player, mobile unit, personal digital assistant and aforementioned means.
One of ordinary skill in the art will appreciate that, relative to processor 102, every other assembly all belongs to peripheral hardware, is coupled between processor 102 and these peripheral hardwares by multiple Peripheral Interface 124.Peripheral Interface 124 can based on following standard implementation: Universal Asynchronous Receive/dispensing device (UniversalAsynchronousReceiver/Transmitter, UART), universal input/output (GeneralPurposeInputOutput, GPIO), Serial Peripheral Interface (SPI) (SerialPeripheralInterface, SPI), internal integrated circuit (Inter-IntegratedCircuit, I2C), but not and be limited to above-mentioned standard.In some instances, Peripheral Interface 124 only can comprise bus; In other examples, Peripheral Interface 124 also can comprise other elements, as one or more controller, such as, for the display controller of connecting fluid LCD panel or the memory controller 122 for connected storage.In addition, this this controller can also spin off from Peripheral Interface 124, and is integrated in processor 102 or in corresponding peripheral hardware.
Storer 104 can be used for storing software program and module, programmed instruction/module as corresponding in the application program download and installation method/device in the embodiment of the present invention, processor 102 is by running the software program and module that are stored in storer 104, thus perform various functional application and data processing, namely realize above-mentioned application program download and installation method.Storer 104 can comprise high speed random access memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, storer 104 can comprise the storer relative to the long-range setting of processor 102 further, and these remote memories can be connected to electric terminal 100 by network.The example of above-mentioned network includes but not limited to internet, intranet, LAN (Local Area Network), mobile radio communication and combination thereof.
RF module 106, for receiving and sending electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus carries out communication with communication network or other equipment.RF module 106 can comprise the various existing circuit component for performing these functions, such as, and antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip, subscriber identity module (SIM) card, storer etc.RF module 106 can with various network as internet, intranet, wireless network carry out communication or carry out communication by wireless network and other equipment.Above-mentioned wireless network can comprise cellular telephone networks, WLAN (wireless local area network) or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standard, agreement and technology, include, but are not limited to global system for mobile communications (GlobalSystemforMobileCommunication, GSM), enhancement mode mobile communication technology (EnhancedDataGSMEnvironment, EDGE), Wideband CDMA Technology (widebandcodedivisionmultipleaccess, W-CDMA), CDMA (Code Division Multiple Access) (Codedivisionaccess, CDMA), tdma (timedivisionmultipleaccess, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (as IEEE-USA standard IEEE 802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), the networking telephone (Voiceoverinternetprotocal, VoIP), worldwide interoperability for microwave access (WorldwideInteroperabilityforMicrowaveAccess, Wi-Max), other are for mail, the agreement of instant messaging and short message, and any other suitable communications protocol, even can comprise those current agreements be developed not yet.
Mixed-media network modules mixed-media 108 is for receiving and sending network signal.Above-mentioned network signal can comprise wireless signal or wire signal.In an example, above-mentioned network signal is WiFi signal, because the frequency of operation of WiFi is also in the frequency range of radio frequency, now mixed-media network modules mixed-media can have the hardware configuration similar with RF module 106, can comprise the elements such as antenna, radio-frequency (RF) transceiver, digital signal processor, encrypt/decrypt chip.In an example, above-mentioned network signal is cable network signal.Now, mixed-media network modules mixed-media 108 can comprise the elements such as processor, random access memory, converter, crystal oscillator.
Input block 110 can be used for the character information receiving input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 110 can comprise button and touch-control surface.Button such as can comprise the character keys for input character, and for the control button of trigging control function.The example controlling button comprises " returning main screen " button, start/shutdown button, key etc. of taking pictures.Touch-control surface can collect user or neighbouring touch operation (such as user uses any applicable object or the operations of annex in touch-control surface or near touch-control surface such as finger, stylus) thereon, and according to the corresponding coupling arrangement of the driven by program preset.Optionally, touch-control surface can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 102, and the order that energy receiving processor 102 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize touch-control surface.Except touch-control surface, input block 110 can also comprise other input equipments.Other above-mentioned input equipments include but not limited in physical keyboard, trace ball, mouse, control lever etc. one or more.
Display module 112 is for showing the various graphical user interface of the information inputted by user, the information being supplied to user and electric terminal 100, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.In an example, display module 112 comprises a display panel.Display panel such as can be a display panels (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiodeDisplay, OLED) display panel, electrophoretic display panel (Electro-PhoreticDisplay, EPD) etc.Further, touch-control surface can be arranged on display panel thus to form an entirety with display panel.In further embodiments, display module 112 also can comprise the display device of other types, such as, comprise a projection display equipment.Compared to general display panel, projection display equipment also needs to comprise some parts such as lens combination for projecting.
First embodiment
A kind of application program download and installation method process flow diagram that Fig. 2 provides for the present embodiment, as shown in Figure 2, the method for the present embodiment comprises the following steps:
The application program download request that step S101, reception user trigger.
In an example, the application program download and installation method of the present embodiment is used for mobile electronic terminal, starts to apply to obtain platform in electric terminal 100, such as, and application shop, application center, application treasured etc.User clicks by obtaining platform in described application the application program selecting to download.In another example, the application program download and installation method of the present embodiment is used in computer, and the application program that connecting computer receives user's input is searched, and display can the path of down load application program, also can receive the click download request of user.
Step S102, receive the size of the installation kit of described application program.
Such as, start application in electric terminal 100 and obtain platform, such as, apply shop, apply center, application is precious.User clicks by obtaining platform in described application the application program selecting to download.When user triggers download, also immediately obtain the size of the installation kit of described application program.In an example, can be that when receiving triggering down load application program, server first returns the size of the installation kit of described application program, after obtaining the size of described installation kit, namely know whether current default download location meets and deposit installation kit, if meet, bag could be downloaded and installed further.
Step S103, calculate the size of downloading and installing reserved storage space needed for described application program according to the size of described installation kit.
Then calculate described required reserved storage space size according to the size of described installation kit.In an example, download and install a game, if reserved storage space space only reaches one times of installation kit, can only ensure to download, the successful installation of game after can not ensureing to download.Therefore, the method for the present embodiment can first by calculating the size of a required headspace.In one embodiment, described download and the size of installing reserved storage space needed for described application program are three times that the application program exceeding described triggering downloads and installs the size of bag.
If the described electric terminal of step S104 does not exist the storage space of the size meeting required reserved storage space, then the temporary file of described electric terminal is cleared up.
Before described application program is downloaded, first detect the free memory whether Current electronic terminal exists the storage size met needed for the download of described application program.
It is appreciated that have the downloaded stored position of acquiescence when application program is downloaded, also user downloaded stored position can be selected.In one embodiment, first detect current application program downloaded stored position whether can meet described application program and download and install required storage size.If can not meet, then detect when whether described other position of Current electronic terminal has the storage space satisfied condition.In an example, if foot is discontented with in default storage space download and install required storage size, but other position exists to meet and downloads and installs required storage size, then can display reminding message current location memory space inadequate, switch to the enough positions of storage space.
If it is not enough to detect Current electronic terminal storage space.Then automatically open scanning temporary file function.Described desired location can comprise, the cache file deposit position of each application program in electric terminal, unloads Stub File waste deposit position, application program installation kit deposit position and system rubbish deposit position etc. during uninstall.
The temporary file of scanning display is deleted, it is appreciated that can carry out deleted file according to the selection of user.In one embodiment, before cleaning scanning document, in described electric terminal display reminding message, such as, " this file produces in owning application, whether determines deleted file ".Further, described meet application program download required for storage size be three times that the application program exceeding described triggering downloads and installs the size of bag.So select the file of three of the size of at least installation kit times to delete when deleting described temporary file.Three times is to ensure that application program installation kit can successful installation after downloading as far as possible, as free memory only has one times not, can only ensureing the download of application program installation kit.
Step S105, from server, download the installation kit of described application program, and described installation kit is installed.
Such as, the storage space of above-mentioned cleaning meets the storage size required for application program download, then can download the installation kit of described application program from server, and be installed by described installation kit.
According to the application program download and installation method of the present embodiment, during down load application program when memory space inadequate, then the possible file rubbish of scanning carried out to electric terminal and clear up, thus enable application program successfully download and install, improve application program and download and install success ratio.
Second embodiment
The present embodiment provides a kind of application program download and installation method, the present embodiment and the first embodiment similar, its difference is, as shown in Figure 3, also comprises before clearing up described temporary file:
Whether step S201, display delete the prompting message that described temporary file carries out downloading and installing to vacate space.
In an example, if whether the installation kit of the application program may deleted current, deleted by display reminding message asks user.Described installation kit may be the mounted application program installation kit of user, but user stores to be convenient to, when next application program place problem, can install again under no net state.Then can prevent the file deleting user's needs in non-prompting situation.
Step S202, receive the operation of the described temporary file of deletion that user triggers.
Such as, if user does not need current temporary file, can trigger and delete temporary file operation, Current electronic terminal receives the operation of the described temporary file of deletion that user triggers.If receive the operation of the described temporary file of deletion that user triggers, then perform described in step S104 and described temporary file is cleared up.
According to the application program download and installation method of the present embodiment, during down load application program when memory space inadequate, then the possible file rubbish of scanning carried out to electric terminal and clear up, increase the prompting before deleted file, can ensure that deleted file is the file needed, prevent the file by mistake deleting needs.
3rd embodiment
The present embodiment provides a kind of application program download and installation method, the present embodiment and the first embodiment similar, its difference is, as shown in Figure 4, step S104 specifically can comprise:
Step S301, scan described Current electronic terminal temporary file default storage location.
Such as, in an example, in computer, temporary file memory location is in Temp file, then first scan temp file before down load application program installation kit.In another example, the cache file that application programs produces scans.In an example, the described temporary file of display after scanning, the described temporary file of optional deletion.
If step S302 does not exist the temporary file satisfied condition, scanning application program downloads and installs the installation kit installed in the default storage location of bag.
In an example, if the described installation kit mounted application program installation kit that may be user, but user stores to be convenient to, when next application program place problem, can install again under no net state.The described mounted installation kit of unsuccessful deletion, or present terminal does not have mounted installation kit, then perform step S303.
If the described installation kit installed that step S303 does not satisfy condition, then scan described application program and download and install whole installation kit in the default storage location of bag.
In an example, if the installation kit installed do not satisfied condition, then scan whole installation kit, in described electric terminal, show whole installation kits of the installation kit default storage location of described electric terminal, deletion installation kit can be carried out according to the selection of user.
Step S304, the described file scanned to be cleared up.
According to the application program download and installation method of the present embodiment, during down load application program when memory space inadequate, first electric terminal acquiescence temporary file memory location and installation kit position are scanned, make the unwanted temporary file of its rapid scanning possibility, improve application program and download and install success ratio.
4th embodiment
The present embodiment provides a kind of application program download and installation method, the present embodiment and the first embodiment similar, its difference is, as shown in Figure 5, also comprises after step S104:
Step S401, judge whether the storage space after clearing up is greater than the size of described reserved storage space.
Described meet application program download required for storage size be three times that the application program exceeding described triggering downloads and installs the size of bag.
If step S402 is not more than the size of described required reserved storage space, the information of display memory space inadequate, and do not perform the installation kit that step S105 downloads described application program from server, and described installation kit is carried out the step of installing.
If above-mentioned steps is judged as NO, then represents that present terminal internal memory is not enough and the described application program triggering download is installed again.Then show the prompting message of memory space inadequate, the installation kit of refusal down load application program.
Further, if the space that above-mentioned cleaning obtains can not meet the storage size required for application program download, further long-term no application program can be deleted by reminding user.Such as, install unsuccessfully, can eject application management interface, show user's nearest start-up time, be understandable that, the application program do not started for a long time may be the application program that user does not so need.The application then can not started for a long time by unloading reaches the object of Free up Memory.Certainly, whether current application program is unloaded by display reminding prompting message user before unloading.
According to the application program download and installation method of the present embodiment, also storage space required for the new application program of installation download cannot be met by deleting temporary file, may be then that the application program that present terminal is installed is too many, by in present terminal display reminding information, be conducive to the overload of the later capacity of state of user's Timeliness coverage present terminal.
5th embodiment
The present embodiment provides a kind of application program to download and install device, and as shown in Figure 6, the device of the present embodiment comprises: the first receiver module 501, second receiver module 502, computing module 503, cleaning module 504 and download and install module 505.
First receiver module 501, for receiving the application program download request that user triggers.
In an example, the application program download and installation method of the present embodiment is used for mobile electronic terminal, starts to apply to obtain platform in electric terminal 100, such as, and application shop, application center, application treasured etc.User clicks by obtaining platform in described application the application program selecting to download.In another example, the application program download and installation method of the present embodiment is used in computer, and the application program that connecting computer receives user's input is searched, and display can the path of down load application program, also can receive the click download request of user.
Second receiver module 502, for receiving the size of the installation kit of described application program.
Computing module 503, calculates the size of downloading and installing reserved storage space needed for described application program for the size according to described installation kit.
Described download and the size of installing reserved storage space needed for described application program are three times that the application program exceeding described triggering downloads and installs the size of bag.
Cleaning module 504, if the storage space that there is not the size meeting required reserved storage space for described electric terminal, then clears up the temporary file of described electric terminal.
Described desired location can comprise, the cache file deposit position of each application program in electric terminal; Stub File waste deposit position is unloaded during uninstall; Application program installation kit deposit position; System rubbish deposit position etc.
Downloading and installing module 505, for downloading the installation kit of described application program from server, and described installation kit being installed.
Such as, the storage space of above-mentioned cleaning meets the storage size required for application program download, then can download the installation kit of described application program from server, and be installed by described installation kit.
Application program according to the present embodiment downloads and installs device, during down load application program when memory space inadequate, then the possible file rubbish of scanning carried out to electric terminal and clear up, thus enable application program successfully download and install, improve application program and download and install success ratio.
6th embodiment
The present embodiment provides a kind of application program to download and install device, the present embodiment and the 7th embodiment similar, its difference is, as shown in Figure 7, described device also comprises:
First reminding module 601, for showing the prompting message whether deleted described temporary file and carry out downloading and installing to vacate storage space.
Delete trigger module 602, for receiving the operation of the described temporary file of deletion that user triggers.
If receive the operation of the described temporary file of deletion that user triggers, then perform described cleaning module 604.
Such as, if user does not need current temporary file, can trigger and delete temporary file operation, Current electronic terminal receives the operation of the described temporary file of deletion that user triggers.The operation of the described temporary file of deletion that user triggers if receive, then perform in cleaning module to clear up and describedly to be cleared up by described temporary file.
Application program according to the present embodiment downloads and installs device, during down load application program when memory space inadequate, then the possible file rubbish of scanning carried out to electric terminal and clear up, increase the prompting before deleted file, can ensure that deleted file is the file needed, prevent the file by mistake deleting needs.
7th embodiment
The present embodiment provides a kind of application program to download and install device, the present embodiment and the 7th embodiment similar, its difference is, as shown in Figure 8, clearing up module 604 in described device can comprise:
First scanning element 5041, for scanning described terminal temporary file default storage location.
Such as, in an example, in computer, temporary file memory location is in Temp file, then first scan temp file before down load application program installation kit.In another example, the cache file that application programs produces scans.If temporary file does not meet the demands in described first scanning element 5041, perform described second scanning element 5042.
Second scanning element 5042, downloads and installs for scanning application program the installation kit installed in the default storage location of bag.
In an example, if the described installation kit mounted application program installation kit that may be user, but user stores to be convenient to, when next application program place problem, can install again under no net state.The described mounted installation kit of unsuccessful deletion, or present terminal does not have mounted installation kit, then perform the 3rd scanning element 5043.
3rd scanning element 5043, if the installation kit installed described in not satisfying condition for described second scanning element, then scans described application program and downloads and installs whole installation kit in the default storage location of bag.Cleaning unit 5044, for clearing up described temporary file default storage location file.
Application program according to the present embodiment downloads and installs device, during down load application program when memory space inadequate, first electric terminal acquiescence temporary file memory location and installation kit position are scanned, make the unwanted temporary file of its rapid scanning possibility, improve application program and download and install success ratio.
8th embodiment
The present embodiment provides a kind of application program to download and install device, the present embodiment and the 7th embodiment similar, its difference is, as shown in Figure 9, described device also comprises:
Judge module 701, for judging whether the storage space after clearing up is greater than the size of described required reserved storage space.
Described meet application program download required for storage size be three times that the application program exceeding described triggering downloads and installs the size of bag.
Second reminding module 702, if in the size being not more than described required reserved storage space, the information of display memory space inadequate, and download and install module 505 described in not performing.
If above-mentioned steps is judged as NO, then represents that present terminal internal memory is not enough and the described application program triggering download is installed again.Then show the prompting message of memory space inadequate, the installation kit of refusal down load application program.
Further, if the space that above-mentioned cleaning obtains can not meet the storage size required for application program download, further long-term no application program can be deleted by reminding user.Such as, install unsuccessfully, can eject application management interface, show user's nearest start-up time, be understandable that, the application program do not started for a long time may be the application program that user does not so need.The application then can not started for a long time by unloading reaches the object of Free up Memory.Certainly, whether current application program is unloaded by display reminding prompting message user before unloading.
Application program according to the present embodiment downloads and installs device, also storage space required for the new application program of installation download cannot be met by deleting temporary file, may be then that the application program that present terminal is installed is too many, by in present terminal display reminding information, be conducive to the overload of the later capacity of state of user's Timeliness coverage present terminal.
In addition, the embodiment of the present invention also provides a kind of computer-readable recording medium, is stored with computer executable instructions, and above-mentioned computer-readable recording medium is such as nonvolatile memory such as CD, hard disk or flash memory.Above-mentioned computer executable instructions completes various operations in above-mentioned application program download and installation method for allowing computing machine or similar arithmetic unit.
The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to any simple modification that technical spirit of the present invention is done above embodiment, equivalent variations and modification, all still belong in the scope of technical solution of the present invention.

Claims (10)

1. an application program download and installation method, for electric terminal, is characterized in that, said method comprising the steps of:
Receive the application program download request that user triggers;
Receive the size of the installation kit of described application program;
Size according to described installation kit calculates the size of downloading and installing reserved storage space needed for described application program;
If described electric terminal does not exist the storage space of the size meeting required reserved storage space, then the temporary file of described electric terminal is cleared up; And
Download the installation kit of described application program, and described installation kit is installed.
2. application program download and installation method as claimed in claim 1, is characterized in that, also comprised before being cleared up by the temporary file of described electric terminal:
Whether display deletes the prompting message that described temporary file carries out downloading and installing to vacate storage space;
If receive the operation of the described temporary file of deletion that user triggers, then perform described step of described temporary file being carried out clear up.
3. application program download and installation method as claimed in claim 1, is characterized in that, is describedly carried out clearing up specifically comprising by the temporary file of described electric terminal:
Scan described electric terminal temporary file default storage location;
If there is not the temporary file satisfied condition, then scan application program and download and install the installation kit installed in the default storage location of bag;
If the described installation kit installed do not satisfied condition, then scan described application program and download and install whole installation kit in the default storage location of bag.
4. application program download and installation method as claimed in claim 1, is characterized in that, also comprise after being cleared up by the temporary file of described electric terminal:
Judge whether the storage space after clearing up is greater than the size of described reserved storage space;
If be not more than the size of described required reserved storage space, the information of display memory space inadequate, and do not perform the installation kit downloading described application program from server, and described installation kit is carried out the step of installing.
5. the application program download and installation method as described in claim 1-4 any one, is characterized in that, described download and the size of installing reserved storage space needed for described application program are three times that the application program exceeding described triggering downloads and installs the size of bag.
6. application program downloads and installs a device, for electric terminal, it is characterized in that, described device comprises with lower module:
First receiver module, for receiving the application program download request that user triggers;
Second receiver module, for receiving the size of the installation kit of described application program;
Computing module, calculates the size of downloading and installing reserved storage space needed for described application program for the size according to described installation kit;
Cleaning module, if the storage space that there is not the size meeting required reserved storage space for described electric terminal, then clears up the temporary file of described electric terminal; And
Downloading and installing module, for downloading the installation kit of described application program, and described installation kit being installed.
7. application program as claimed in claim 6 downloads and installs device, it is characterized in that, also comprises before cleaning module:
First reminding module, for showing the prompting message whether deleted described temporary file and carry out downloading and installing to vacate storage space;
Delete trigger module, for receiving the operation of the described temporary file of deletion that user triggers;
If receive the operation of the described temporary file of deletion that user triggers, then perform described cleaning module.
8. application program as claimed in claim 6 downloads and installs device, and it is characterized in that, described cleaning module comprises:
First scanning element, for scanning described terminal temporary file default storage location;
Second scanning element, downloads and installs for scanning application program the installation kit installed in the default storage location of bag;
3rd scanning element, if the installation kit installed described in not satisfying condition for described second scanning element, then scans described application program and downloads and installs whole installation kit in the default storage location of bag;
Cleaning unit, for clearing up the temporary file of described scanning.
9. application program as claimed in claim 6 downloads and installs device, it is characterized in that, also comprises after described cleaning module,
Judge module, for judging whether the storage space after clearing up is greater than the size of described required reserved storage space;
Second reminding module, if the size for being not more than described required reserved storage space, the information of display memory space inadequate, and download and install module described in not performing.
10. the application program as described in claim 6-9 any one downloads and installs device, it is characterized in that, in described computing module, the size of required reserved storage space is three times that the application program exceeding described triggering downloads and installs the size of bag.
CN201410541818.4A 2014-10-14 2014-10-14 Application program downloading and installing method and device Active CN105573770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410541818.4A CN105573770B (en) 2014-10-14 2014-10-14 Application program downloading and installing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410541818.4A CN105573770B (en) 2014-10-14 2014-10-14 Application program downloading and installing method and device

Publications (2)

Publication Number Publication Date
CN105573770A true CN105573770A (en) 2016-05-11
CN105573770B CN105573770B (en) 2021-02-05

Family

ID=55883946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410541818.4A Active CN105573770B (en) 2014-10-14 2014-10-14 Application program downloading and installing method and device

Country Status (1)

Country Link
CN (1) CN105573770B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018053916A1 (en) * 2016-09-23 2018-03-29 中兴通讯股份有限公司 Application download method, device and terminal, and computer storage medium
CN107992312A (en) * 2016-10-25 2018-05-04 中兴通讯股份有限公司 A kind of upgrade package delivery method and device
CN108572837A (en) * 2018-06-11 2018-09-25 广州视源电子科技股份有限公司 Software upgrading method and device, readable storage medium and computer equipment
CN109508197A (en) * 2018-11-06 2019-03-22 北京新能源汽车股份有限公司 Control method and device for programming, monitoring equipment and vehicle-mounted terminal
CN110049375A (en) * 2019-03-25 2019-07-23 深圳市天威视讯股份有限公司 For the application program installation method of Intelligent set top box, system and set-top box
CN111857895A (en) * 2019-04-16 2020-10-30 上海博泰悦臻电子设备制造有限公司 Application control method and device in vehicle-mounted system
CN112367300A (en) * 2020-10-19 2021-02-12 珠海格力电器股份有限公司 Large game application identification method and device
CN113360230A (en) * 2021-06-02 2021-09-07 浙江吉利控股集团有限公司 Application program display method and system and vehicle
CN115437564A (en) * 2022-08-18 2022-12-06 深圳感臻智能股份有限公司 Storage optimization method and device for Android installation application and Android system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257509A (en) * 2008-03-25 2008-09-03 深圳市戴文科技有限公司 Method, apparatus as well as mobile terminal equipment of wireless downloading
US20110158228A1 (en) * 2004-09-01 2011-06-30 Eric Morgan Dowling Methods, smart cards, and systems for providing portable computer, VOIP, and application services
CN102215479A (en) * 2011-06-22 2011-10-12 中兴通讯股份有限公司 Method, server and system for downloading and installing upgrade package
CN102333079A (en) * 2011-02-25 2012-01-25 北京兴宇中科科技开发股份有限公司 Method for clearing disk space
CN103139755A (en) * 2011-11-23 2013-06-05 珠海德百祺科技有限公司 Subscription-based application program management method, system and device
CN103309729A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application program management method
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN103744692A (en) * 2013-12-13 2014-04-23 贝壳网际(北京)安全技术有限公司 Method and system for determining size of mobile terminal storage space occupied by application software
CN104092763A (en) * 2014-07-16 2014-10-08 广州金山网络科技有限公司 Application program installation package pushing method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110158228A1 (en) * 2004-09-01 2011-06-30 Eric Morgan Dowling Methods, smart cards, and systems for providing portable computer, VOIP, and application services
CN101257509A (en) * 2008-03-25 2008-09-03 深圳市戴文科技有限公司 Method, apparatus as well as mobile terminal equipment of wireless downloading
CN102333079A (en) * 2011-02-25 2012-01-25 北京兴宇中科科技开发股份有限公司 Method for clearing disk space
CN102215479A (en) * 2011-06-22 2011-10-12 中兴通讯股份有限公司 Method, server and system for downloading and installing upgrade package
CN103139755A (en) * 2011-11-23 2013-06-05 珠海德百祺科技有限公司 Subscription-based application program management method, system and device
CN103309729A (en) * 2012-03-15 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Terminal and application program management method
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN103744692A (en) * 2013-12-13 2014-04-23 贝壳网际(北京)安全技术有限公司 Method and system for determining size of mobile terminal storage space occupied by application software
CN104092763A (en) * 2014-07-16 2014-10-08 广州金山网络科技有限公司 Application program installation package pushing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张亚杰: ""基于Android平台的移动终端应用程序的研究与开发"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018053916A1 (en) * 2016-09-23 2018-03-29 中兴通讯股份有限公司 Application download method, device and terminal, and computer storage medium
CN107992312A (en) * 2016-10-25 2018-05-04 中兴通讯股份有限公司 A kind of upgrade package delivery method and device
CN108572837A (en) * 2018-06-11 2018-09-25 广州视源电子科技股份有限公司 Software upgrading method and device, readable storage medium and computer equipment
CN109508197A (en) * 2018-11-06 2019-03-22 北京新能源汽车股份有限公司 Control method and device for programming, monitoring equipment and vehicle-mounted terminal
CN110049375A (en) * 2019-03-25 2019-07-23 深圳市天威视讯股份有限公司 For the application program installation method of Intelligent set top box, system and set-top box
CN111857895A (en) * 2019-04-16 2020-10-30 上海博泰悦臻电子设备制造有限公司 Application control method and device in vehicle-mounted system
CN112367300A (en) * 2020-10-19 2021-02-12 珠海格力电器股份有限公司 Large game application identification method and device
CN113360230A (en) * 2021-06-02 2021-09-07 浙江吉利控股集团有限公司 Application program display method and system and vehicle
CN115437564A (en) * 2022-08-18 2022-12-06 深圳感臻智能股份有限公司 Storage optimization method and device for Android installation application and Android system

Also Published As

Publication number Publication date
CN105573770B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
CN105573770A (en) Application program downloading and installing method and device
WO2018103484A1 (en) Data processing method, apparatus and system for live broadcast page
CN104572819A (en) Clearing method and system for junk data
CN105282823A (en) Network access method and apparatus of intelligent device
CN105760203A (en) Software upgrading method and terminal equipment
CN105100141A (en) Multimedia content network sharing method, multimedia content network sharing device and multimedia content network sharing system
CN108834132B (en) Data transmission method and equipment and related medium product
CN105404458A (en) Webpage content updating method and apparatus
CN104867095A (en) Image processing method and device
KR20190089987A (en) Method of establishing hotspot connection and terminal device
CN104243429A (en) Method, device and system for achieving browser bookmark synchronization
CN104424241A (en) Website link processing method, device and system based on two-dimension code
CN104426960A (en) Paid application trying method and device thereof
KR20170134717A (en) How to switch web pages in a browser
CN104135504B (en) A kind of service providing method, Apparatus and system based on application
CN104573437A (en) Information authentication method, device and terminal
CN103312783B (en) Method, device and system for switching function modes
CN105278925A (en) Method and device for refuse cleaning of uninstalled software
CN108700975B (en) Anti-interference method and device for touch panel
CN105744600A (en) Communication network access method and user equipment
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN104866288A (en) Method, device and terminal for accessing application program
CN112543493A (en) Wifi connection method, terminal and computer storage medium
CN108256312B (en) Method and device for opening local application program on webpage and mobile terminal
CN106453776A (en) Adding method of contact person, server and mobile terminal

Legal Events

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