CN110287146A - Using the method, equipment and computer storage medium of downloading - Google Patents
Using the method, equipment and computer storage medium of downloading Download PDFInfo
- Publication number
- CN110287146A CN110287146A CN201910532215.0A CN201910532215A CN110287146A CN 110287146 A CN110287146 A CN 110287146A CN 201910532215 A CN201910532215 A CN 201910532215A CN 110287146 A CN110287146 A CN 110287146A
- Authority
- CN
- China
- Prior art keywords
- memory space
- downloaded
- terminal device
- application
- downloading
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
- G06F16/122—File system administration, e.g. details of archiving or snapshots using management policies
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
Abstract
The present invention provides a kind of method, equipment and computer storage medium applied in the application downloading of client, and wherein method includes: that client sends popularization resource acquisition request;The application downloading class for receiving and showing that server end returns promotes resource;It obtains user to click using after downloading class popularization resource, it is to be downloaded using required memory space to determine whether the second residual memory space of terminal device is more than or equal to, if so, localling create slack storage file in terminal device;After creating slack storage file, it is to be downloaded using required memory space to determine whether the third residual memory space of terminal device is more than or equal to, if so, downloading application to be downloaded, downloads application to be downloaded again after otherwise deleting slack storage file.The present invention can be improved the resource utilization of terminal device, to enhance the flexibility using downloading, promote the success rate of application downloading.
Description
[technical field]
Method, equipment and the computer storage downloaded the present invention relates to Internet technical field more particularly to a kind of application
Medium.
[background technique]
In the prior art, user click terminal device in popularization resource carry out using downloading when, it will usually occur by
The problem of applying failed download caused by the residual memory space of terminal device is insufficient.Therefore it is urgent to provide one kind to mention
The method for rising application downloading success rate.
[summary of the invention]
In view of this, can be improved the present invention provides method, equipment and the computer storage medium of a kind of application downloading
The resource utilization of terminal device promotes the success rate of application downloading to enhance the flexibility using downloading.
Used technical solution is to provide a kind of method that application is downloaded to the present invention in order to solve the technical problem, applies in visitor
Family end, which comprises client, which is sent, promotes resource acquisition request;It receives and shows the server end
The application downloading class of return promotes resource;After getting user's click application downloading class popularization resource, terminal device is determined
The second residual memory space whether be more than or equal to it is to be downloaded using required memory space, if so, in the terminal device
Local is that the application to be downloaded creates slack storage file;After creating the slack storage file, terminal device is determined
Third residual memory space whether be more than or equal to it is described to be downloaded using required memory space, if so, downloading it is described to
Downloading application, downloads the application to be downloaded after otherwise deleting the slack storage file again.
Used technical solution is to provide a kind of method that application is downloaded to the present invention in order to solve the technical problem, applies and is taking
Business device end, which comprises receive the popularization resource acquisition request that client is sent;It is requested according to the popularization resource acquisition
It obtains application downloading class and promotes resource, and identified application downloading class is promoted into resource and is back to client.
As can be seen from the above technical solutions, the present invention is by comparing the second residual memory space of terminal device and under
The relationship between the required memory space of application is carried, is locally first application creation slack storage text to be downloaded in terminal device
Part, then the third residual memory space of comparison terminal equipment and the relationship to be downloaded using between required memory space again,
Determination is downloaded again after being directly downloaded or deleting slack storage file, is avoided in downloading process due to end
The memory space inadequate of end equipment is occupied to be downloaded using failed download caused by memory space by other downloading tasks
The problem of, the storage resource of terminal device is efficiently utilized, to enhance the flexibility using downloading, is improved under application
The success rate of load.
[Detailed description of the invention]
Fig. 1 is a kind of method flow diagram applied in the application downloading of client that one embodiment of the invention provides;
Fig. 2 is a kind of method flow diagram applied in the application downloading of server end that one embodiment of the invention provides;
Fig. 3 is the block diagram for the computer system/server that one embodiment of the invention provides.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate
There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three
Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
Fig. 1 is a kind of method flow diagram for application downloading that one embodiment of the invention provides, as shown in fig. 1, the side
Method is applied in client, comprising:
In 101, client, which is sent, promotes resource acquisition request.
In this step, client, which is sent, promotes resource acquisition request, with corresponding from received server-side
Popularization resource.
Specifically, this step can also include before sending popularization resource acquisition request by client
The following contents: the first residual memory space of terminal device where obtaining client;By the first acquired residual memory space
It is added to promote in resource acquisition request and is sent to server end together, so that server end is obtained according to the first remaining space
The application downloading class for meeting preset condition promotes resource.Wherein, the first residual memory space is that client is sent out to server end
When sending popularization resource acquisition request, the current residual memory space of terminal device.
That is, this step can be by way of obtaining the residual memory space of terminal device, from server end
It obtains and meets the popularization resource of a certain size condition, avoid to be downloaded depositing using required since the popularization resource of acquisition is corresponding
The problem of failed download is applied caused by storage space is excessive, to further promote the success rate of application downloading.
In the present invention, promoting resource can be at least one of text, picture, sound, video etc., for realizing to
The purpose of user's transmitting specific information.
It is understood that the terminal device in the present invention can be that can pass through the various electricity at network access server end
Sub-device can be implemented as hardware device or software.When terminal device includes hardware, intelligent hand may include but be not limited to
Machine, tablet computer, E-book reader, intelligent wearable device, pocket computer on knee and desktop computer etc..Work as terminal
When equipment includes software, it may be mounted in above-mentioned various hardware, and can be implemented as single or multiple software modules.
Server end in the present invention may include supporting network connection to provide the hardware device of various network services
Or software.When server end includes hardware, the distributed apparatus group of multiple network equipments composition may be implemented into, it can also be with
It is implemented as single network equipment, is such as implemented as distributed server or individual server.It, can be with when server end includes software
It is mounted in the above-mentioned cited network equipment.At this moment, it as software, may be implemented into for example for providing Distributed Services
Multiple softwares or software module, single software or software module also may be implemented into.It is not specifically limited herein.
In 102, the application downloading class for receiving and showing that the server end returns promotes resource.
In this step, resource acquisition will be promoted by client in step 101 to request after being sent to server end, receive
And show that the application downloading class returned by server end promotes resource.Wherein, promoting resource using downloading class is for downloading
Using the popularization resource of (Application, APP), user clicks after resource is promoted in application downloading and can be realized from application shop
The middle corresponding application of downloading.
It is understood that banner, which when carrying out promoting the displaying of resource using downloading, can be used, in this step promotes money
Source, information flow promote resource, spread its tail and promote the displaying that the forms such as resource, table plague popularization resource promote in client resource.
In 103, after getting user's click application downloading class popularization resource, determine that the second of terminal device is remaining
It is to be downloaded using required memory space whether memory space is more than or equal to, if so, being locally described in the terminal device
Application to be downloaded creates slack storage file.
In this step, after being shown by client to application downloading class popularization resource in step 102, if getting use
The operation that resource is clicked is promoted to using downloading class in family, then it is right to obtain the application downloading class popularization resource institute that user is clicked
That answers is to be downloaded using required memory space, so determine the second residual memory space of terminal device whether be more than or equal to
Required memory space is applied in downloading, if so, being locally application creation slack storage file to be downloaded in terminal device.This step
When the second residual memory space in rapid is that user's click application downloading class promotes resource, the current residue storage of terminal device is empty
Between.
Wherein, this step is promoted needed for application to be downloaded corresponding to resource obtaining the application downloading class that user is clicked
Memory space when, can directly according to clicked application downloading class promote resource URL (Uniform Resource
Locator, uniform resource locator) it obtains, it can in advance include to be downloaded using required memory space in the URL;?
The URL that resource can be promoted according to application downloading class accesses corresponding server, and to be downloaded answer is obtained from the server of access
With required memory space.
It is understood that if this step determines that the second residual memory space of terminal device is less than needed for application to be downloaded
Memory space when, may include the following contents: clearing up the memory space of terminal device;Determine the residue of terminal device after clearing up
It is to be downloaded using required memory space whether memory space is more than or equal to, if so, continuing to execute according to be downloaded using institute
The memory space needed is the step of localling create slack storage file;Otherwise suspend downloading task, and at predetermined intervals
It is to be downloaded using required memory space to determine whether the residual memory space of terminal device is more than or equal to again, with this recycle into
Row, until it is to be downloaded using required memory space to determine that the residual memory space of terminal device is more than or equal to.
In addition, if this step determines that the second residual memory space of terminal device is empty using required storage less than to be downloaded
Between when, can also to user send prompt information, to inform that user is unable to complete due to the deficiency of terminal device memory space
The downloading of application, and can prompt user by way of deleting file or the application in terminal device manually come for currently under
It carries application and enough memory spaces is provided.
Specifically, this step can be created and be accounted for when terminal device is locally application creation slack storage file to be downloaded
Use the file of the memory space of default size as spare storage space.For example, this step can occupy 100M localling create
Memory space file be used as be used as spare storage space, can also create occupancy with it is to be downloaded using required memory space
The file of same size is as spare storage space.
In addition, in order to avoid only create a slack storage file after directly delete entire slack storage file and by it
His downloading task is seized the problem of application failed download to be downloaded caused by memory space, this step can also be used with lower section
Formula is locally application creation slack storage file to be downloaded in terminal device: being obtained to be downloaded using required memory space;?
Terminal device locallys create N number of occupy-place file for occupying same memory space, memory space that N number of occupy-place file occupies jointly with
To be downloaded identical using required memory space, wherein N is the positive integer more than or equal to 2.
For example, if it is to be downloaded using required memory space be a M, if this step creates 10 occupy-place files,
Then each occupied memory space of occupy-place file is (a/10) M.
This step being locally by way of application to be downloaded creates slack storage file in terminal device, can more added with
Effect ground improves the resource utilization of terminal device using the storage resource in terminal device, and spare is deposited based on what is created
Storage file carries out the downloading of application to be downloaded, to further improve the success rate using downloading.
In 104, after creating the spare storage space, determine terminal device third residual memory space whether
It is to be downloaded using required memory space more than or equal to described, if so, the downloading application to be downloaded, is otherwise deleted described standby
With the application to be downloaded is downloaded after storage file again.
In this step, it is first determined after step 103 creates slack storage file, the third residue of terminal device is deposited
It is to be downloaded using required memory space whether storage space is more than or equal to, if so, continuing to download application to be downloaded to complete down
Load task continues to download application to be downloaded otherwise after deleting created slack storage file to complete downloading task.Its
In, it is to download installation file corresponding to application to be downloaded that application to be downloaded is downloaded in this step.
Wherein, if this step terminal device third residual memory space be more than or equal to it is to be downloaded using required storage
After the downloading for completing application to be downloaded in the case where space, the slack storage file locally created in terminal device is deleted.
Specifically, if the slack storage file that step 103 is created is N number of occupy-place file, this step is spare in deletion
It is downloaded again after storage file to be downloaded in application, can be in the following ways: successively deleting each occupy-place file, until terminal is set
Standby current residual memory space is more than or equal to be downloaded using required memory space, then downloads application to be downloaded to complete down
Load task.
In addition, this step is being downloaded to be downloaded in application, can also include the following contents by deleting occupy-place file:
Whether the residual memory space of real-time detection terminal device is more than or equal to needed for the non-download part of application to be downloaded in downloading process
Memory space, if so, continuing to download application to be downloaded;Otherwise occupy-place file is successively deleted, is deposited in the residue of terminal device
After storing up memory space needed for space is more than or equal to the non-download part of application to be downloaded, continue to download application to be downloaded.
That is, this step also can ensure that in the downloading process of application to be downloaded, other downloading tasks is avoided to rob
It accounts for the residual memory space of terminal device and leads to current application asking for failed download due to the deficiency of memory space to be downloaded
Topic, to further promote the success rate of application downloading.
In addition, this step is by way of deleting created slack storage file in application downloading process, Neng Gouti
The flexibility for rising application downloading ensure that terminal device has enough memory spaces all come under completing in application downloading process
Load task.
After this step completes the downloading of application to be downloaded, it is successful that application downloading to be downloaded can also be sent to user
Prompting message, to remind user that application to be downloaded has successfully been downloaded.
It is understood that this step is complete if the slack storage file that step 103 is created is N number of occupy-place file
After downloading at application to be downloaded, it may further comprise: and delete terminal device locally remaining occupy-place file.
This is because this step is to be downloaded in application, it is possible that after only deleting part occupy-place file in downloading
Just the downloading for completing application to be downloaded causes the problem of terminal device can locally remain not deleted occupy-place file.
Therefore this step is after the downloading for completing application to be downloaded, needs that locally remaining occupy-place file is deleted by terminal device
It removes, to avoid the waste of memory space in terminal device.
Fig. 2 is a kind of method flow diagram for application downloading that one embodiment of the invention provides, as shown in Figure 2, the side
Method is executed in server end, comprising:
In 201, the popularization resource acquisition request that client is sent is received.
In this step, received server-side popularization resource acquisition as transmitted by client is requested, and then according to being connect
The acquisition request received is back to client to obtain corresponding resource of promoting.
Wherein, if client also added client in promoting resource acquisition request where terminal device it is first remaining
Memory space, then the first of terminal device the remaining storage is empty where server end can also obtain the client for sending the request together
Between.
In 202, resource is promoted according to popularization resource acquisition request application downloading class, and is answered by determined by
Resource, which is promoted, with downloading class is back to client.
In this step, it carries out promoting money using downloading class according to popularization resource acquisition request acquired in step 201
The acquisition in source, and acquired application downloading class is promoted into resource and is back to client.
It specifically, also include the first residual memory space in resource acquisition request if promoting, this step is pushed away in basis
It, can be in the following ways: obtaining and promote resource acquisition request when wide resource acquisition request application downloading class promotes resource
In the first residual memory space;According to the first acquired residual memory space, the application downloading for meeting preset condition is obtained
Class promotes resource.
Wherein, preset condition can be promoted for application downloading class resource it is corresponding it is to be downloaded using required memory space with
Difference between first residual memory space is less than or equal to preset threshold, or corresponding to be downloaded using downloading class popularization resource
It is less than or equal to residual memory space using required memory space.
It is understood that the server end in this step is gone back when downloading popularization resource will be applied to be back to client
It can will promote URL corresponding to resource and also be back to client together.
In addition, this step can also return to other kinds of popularization resource from server end to client.
Above-mentioned client and server end be illustrated using the interactive process of downloading:
The first residual memory space (if 300M) of terminal device first where client acquisition, then to server end
The popularization resource acquisition comprising the first residual memory space is sent to request;Server end according to promote in resource acquisition request the
One residual memory space obtains the application downloading class popularization resource for meeting preset condition, and acquired is analogized using downloading
Wide resource is back to client;Client receives and shows that the application downloading class returned from server end promotes resource;If with
Family clicks the popularization resource (if downloading is 200M using memory space needed for A) using A, if the second of terminal device is remaining
Memory space (if 300M) is then greater than using memory space needed for A, occupies 20M memory space being locally respectively created
10 occupy-place files;It determines that the third residual memory space (100M) of terminal device after creating occupy-place file is less than again and applies A institute
The memory space (200M) needed then successively deletes created occupy-place file, until after deleting 5 occupy-place files, terminal device
Current residual memory space (200M) is equal to using memory space (200M) needed for A, then continues downloading to complete down
Load task;Due to only being deleted 5 in 10 occupy-place files, set after the completion of application A downloading, then by terminal
Standby local remaining 5 occupy-place files are deleted.
Fig. 3 shows the exemplary computer system/server 012 for being suitable for being used to realize some embodiments of the present invention
Block diagram.The computer system/server 012 that Fig. 3 is shown is only an example, should not function to the embodiment of the present invention and
Use scope brings any restrictions.
As shown in figure 3, computer system/server 012 is showed in the form of universal computing device.Computer system/clothes
The component of business device 012 can include but is not limited to: one or more processor or processing unit 016, system storage
028, connect the bus 018 of different system components (including system storage 028 and processing unit 016).
Bus 018 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Computer system/server 012 typically comprises a variety of computer system readable media.These media, which can be, appoints
The usable medium what can be accessed by computer system/server 012, including volatile and non-volatile media, movably
With immovable medium.
System storage 028 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 030 and/or cache memory 032.Computer system/server 012 may further include other
Removable/nonremovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 034 can
For reading and writing immovable, non-volatile magnetic media (Fig. 3 do not show, commonly referred to as " hard disk drive ").Although in Fig. 3
It is not shown, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to can
The CD drive of mobile anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these situations
Under, each driver can be connected by one or more data media interfaces with bus 018.Memory 028 may include
At least one program product, the program product have one group of (for example, at least one) program module, these program modules are configured
To execute the function of various embodiments of the present invention.
Program/utility 040 with one group of (at least one) program module 042, can store in such as memory
In 028, such program module 042 includes --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 042 usually executes function and/or method in embodiment described in the invention.
Computer system/server 012 can also with one or more external equipments 014 (such as keyboard, sensing equipment,
Display 024 etc.) communication, in some embodiments of the invention, computer system/server 012 and external radar equipment into
Row communication can also enable a user to the equipment interacted with the computer system/server 012 with one or more and communicate, and/
Or with enable the computer system/server 012 and one or more of the other any equipment (example for being communicated of calculating equipment
Such as network interface card, modem etc.) communication.This communication can be carried out by input/output (I/O) interface 022.Also, it counts
Calculation machine systems/servers 012 can also by network adapter 020 and one or more network (such as local area network (LAN),
Wide area network (WAN) and/or public network, such as internet) communication.As shown, network adapter 020 by bus 018 with
Other modules of computer system/server 012 communicate.It should be understood that although not shown in the drawings, department of computer science can be combined
System/server 012 uses other hardware and/or software module, including but not limited to: microcode, device driver, redundancy processing
Unit, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 016 by the program that is stored in system storage 028 of operation, thereby executing various function application with
And data processing, such as realize method flow provided by the embodiment of the present invention.
Above-mentioned computer program can be set in computer storage medium, i.e., the computer storage medium is encoded with
Computer program, the program by one or more computers when being executed, so that one or more computers execute in the present invention
State method flow shown in embodiment and/or device operation.For example, it is real to execute the present invention by said one or multiple processors
Apply method flow provided by example.
With time, the development of technology, medium meaning is more and more extensive, and the route of transmission of computer program is no longer limited by
Tangible medium, can also be directly from network downloading etc..It can be using any combination of one or more computer-readable media.
Computer-readable medium can be computer-readable signal media or computer readable storage medium.Computer-readable storage medium
Matter for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or
Any above combination of person.The more specific example (non exhaustive list) of computer readable storage medium includes: with one
Or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM),
Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light
Memory device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer readable storage medium can
With to be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
Person is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN) is connected to subscriber computer, or, it may be connected to outer computer (such as provided using Internet service
Quotient is connected by internet).
As can be seen from the above technical solutions, the present invention is by comparing the second residual memory space of terminal device and under
The relationship between the required memory space of application is carried, is locally first application creation slack storage text to be downloaded in terminal device
Part, then the third residual memory space of comparison terminal equipment and the relationship to be downloaded using between required memory space again,
Determination is downloaded again after being directly downloaded or deleting slack storage file, is avoided in downloading process due to end
The memory space inadequate of end equipment is occupied to be downloaded using failed download caused by memory space by other downloading tasks
The problem of, to efficiently utilize the storage resource of terminal device, the flexibility using downloading is enhanced, is improved under application
The success rate of load.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (12)
1. a kind of method of application downloading, is applied in client, which is characterized in that the described method includes:
Client, which is sent, promotes resource acquisition request;
The application downloading class for receiving and showing that the server end returns promotes resource;
User is got to click after application downloading class promotes resource, determine terminal device the second residual memory space whether
More than or equal to be downloaded using required memory space, if so, being locally the application wound to be downloaded in the terminal device
Build slack storage file;
After creating the slack storage file, it is described to determine whether the third residual memory space of terminal device is more than or equal to
It is to be downloaded using required memory space, if so, the downloading application to be downloaded, after otherwise deleting the slack storage file
The application to be downloaded is downloaded again.
2. being asked the method according to claim 1, wherein sending popularization resource acquisition in client
Before asking, further includes:
First residual memory space of terminal device where obtaining client;
First residual memory space is added in the popularization resource acquisition request and is sent to the server end together,
So that the server end obtains the application downloading class popularization for meeting preset condition according to first residual memory space
Resource.
3. according to the method described in claim 2, it is characterized in that, the preset condition are as follows:
Using downloading class promote resource it is corresponding it is to be downloaded using required memory space and first residual memory space it
Between difference be less than or equal to preset threshold;Or
Promote that resource is corresponding to be downloaded to be less than or equal to described first using required memory space and remaining store using downloading class
Space.
4. the method according to claim 1, wherein being less than in the second residual memory space for determining terminal device
It is to be downloaded using required memory space when, comprising:
Clear up the memory space of the terminal device;
It is to be downloaded using required memory space to determine whether the residual memory space of the terminal device after cleaning is more than or equal to,
If so, continuing to execute according to be downloaded using required memory space the step of localling create slack storage file;
Otherwise suspend downloading task, and determine whether the residual memory space of terminal device is more than or equal at predetermined intervals
It is to be downloaded that progress is recycled with this using required memory space, until determining that the residual memory space of terminal device is more than or equal to
It is to be downloaded using required memory space.
5. in the terminal device being locally described to be downloaded answer the method according to claim 1, wherein described
Use creation slack storage file include: the terminal device locally create occupy the file of the memory space of default size as
Slack storage file.
6. in the terminal device being locally described to be downloaded answer the method according to claim 1, wherein described
Include: with creation slack storage file
It obtains described to be downloaded using required memory space;
N number of occupy-place file for occupying same memory space is locally respectively created in the terminal device, N number of occupy-place file accounts for jointly
Memory space with it is described to be downloaded identical using required memory space, wherein N is positive integer more than or equal to 2.
7. the method according to claim 1, wherein the third residual memory space in terminal device is more than or equal to
It is described it is to be downloaded using required memory space in the case where complete the downloading of the application to be downloaded after, further includes: delete
The slack storage file of the terminal device local.
8. according to the method described in claim 6, it is characterized in that, being downloaded again after the deletion slack storage file described
Application to be downloaded includes:
Each occupy-place file is successively deleted, until the current residual memory space of terminal device is more than or equal to the application to be downloaded
When required memory space, the application to be downloaded is downloaded.
9. according to the method described in claim 8, it is characterized in that, described to be downloaded in application, the method is also wrapped downloading
It includes:
Whether the residual memory space of terminal device described in real-time detection is more than or equal to the application to be downloaded in downloading process
Memory space needed for non-download part, if so, continuing to download the application to be downloaded;
Otherwise occupy-place file is successively deleted, is more than or equal to the application to be downloaded not in the residual memory space of the terminal device
After memory space needed for download part, continue to download the application to be downloaded.
10. method according to claim 8 or claim 9, which is characterized in that the method also includes:
After the downloading for completing the application to be downloaded, the terminal device locally remaining occupy-place file is deleted.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
The now method as described in any in claim 1-10.
12. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing the method as described in any in claim 1-10 when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532215.0A CN110287146B (en) | 2019-06-19 | 2019-06-19 | Method, device and computer storage medium for downloading application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910532215.0A CN110287146B (en) | 2019-06-19 | 2019-06-19 | Method, device and computer storage medium for downloading application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110287146A true CN110287146A (en) | 2019-09-27 |
CN110287146B CN110287146B (en) | 2021-07-20 |
Family
ID=68004145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910532215.0A Active CN110287146B (en) | 2019-06-19 | 2019-06-19 | Method, device and computer storage medium for downloading application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110287146B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110851A (en) * | 2021-06-15 | 2021-07-13 | 北京易真学思教育科技有限公司 | Resource loading method and device, electronic equipment and medium |
CN113691823A (en) * | 2021-08-19 | 2021-11-23 | 北京百度网讯科技有限公司 | Resource file processing method, device, equipment, storage medium and program product |
CN114697314A (en) * | 2022-03-25 | 2022-07-01 | 宁波全网云医疗科技股份有限公司 | Medical image downloading system and method |
CN116684407A (en) * | 2023-08-01 | 2023-09-01 | 腾讯科技(深圳)有限公司 | Resource downloading method, device, equipment and readable storage medium |
Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030225776A1 (en) * | 2002-05-30 | 2003-12-04 | Dickey Laura J. | System and method for condensing application software |
CN101257509A (en) * | 2008-03-25 | 2008-09-03 | 深圳市戴文科技有限公司 | Method, apparatus as well as mobile terminal equipment of wireless downloading |
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
CN102231163A (en) * | 2011-06-30 | 2011-11-02 | 珠海金山办公软件有限公司 | System and method for synchronously and preferentially updating specified file |
US20110314069A1 (en) * | 2010-06-17 | 2011-12-22 | International Business Machines Corporation | Data lifecycle management within a cloud computing environment |
CN102413155A (en) * | 2010-09-21 | 2012-04-11 | 腾讯科技(深圳)有限公司 | Data transmission method and system |
CN102685164A (en) * | 2011-03-16 | 2012-09-19 | 中国电信股份有限公司 | Method and system for downloading and updating files under condition of limited storage space of terminal |
CN103491171A (en) * | 2013-09-24 | 2014-01-01 | 成都金山数字娱乐科技有限公司 | Network resource asynchronous loading method and device |
CN104182532A (en) * | 2014-08-28 | 2014-12-03 | 北京金山安全软件有限公司 | Terminal file cleaning method and device and terminal |
CN104866510A (en) * | 2014-02-26 | 2015-08-26 | 北京金山安全软件有限公司 | Method and device for removing residual file and method and device for establishing feature library of residual file |
CN105045802A (en) * | 2015-05-22 | 2015-11-11 | 杭州亿方云网络科技有限公司 | Message-driven multi-type file preview system |
CN105491145A (en) * | 2015-12-21 | 2016-04-13 | 清华大学 | Agglomeration system of multi-manufacturer cloud storage service, and method |
CN105635213A (en) * | 2014-10-31 | 2016-06-01 | 广州市动景计算机科技有限公司 | Network connection downloading method and device |
CN106250462A (en) * | 2016-07-28 | 2016-12-21 | 北京金山安全软件有限公司 | Method and device for cleaning junk files and mobile device |
CN106254561A (en) * | 2016-10-12 | 2016-12-21 | 上海安馨信息科技有限公司 | The real-time offline download method of a kind of Internet resources file and system |
CN107590283A (en) * | 2017-09-29 | 2018-01-16 | 浙江大华技术股份有限公司 | A kind of file recovery method, device, server and computer-readable recording medium |
CN107678978A (en) * | 2017-10-12 | 2018-02-09 | 深圳辉烨通讯技术有限公司 | A kind of memory space processing method and processing device of intelligent terminal |
CN107734023A (en) * | 2017-09-30 | 2018-02-23 | 努比亚技术有限公司 | Static resource document down loading method, mobile terminal and computer-readable recording medium |
CN107784104A (en) * | 2017-10-26 | 2018-03-09 | 中山市君扬电子科技有限公司 | A kind of data-pushing update method of children education software |
CN108282690A (en) * | 2018-01-26 | 2018-07-13 | 广东欧珀移动通信有限公司 | A kind of Internet video method for down loading, device and computer readable storage medium |
US10275396B1 (en) * | 2014-09-23 | 2019-04-30 | Symantec Corporation | Techniques for data classification based on sensitive data |
US10324893B1 (en) * | 2011-12-15 | 2019-06-18 | Veritas Technologies Llc | Backup application catalog analyzer |
CN109906446A (en) * | 2016-11-04 | 2019-06-18 | 微软技术许可有限责任公司 | Multilayer in memory virtualization system merges |
CN110661829A (en) * | 2018-06-28 | 2020-01-07 | 杭州海康威视系统技术有限公司 | File downloading method and device, client and computer readable storage medium |
-
2019
- 2019-06-19 CN CN201910532215.0A patent/CN110287146B/en active Active
Patent Citations (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030225776A1 (en) * | 2002-05-30 | 2003-12-04 | Dickey Laura J. | System and method for condensing application software |
CN101257509A (en) * | 2008-03-25 | 2008-09-03 | 深圳市戴文科技有限公司 | Method, apparatus as well as mobile terminal equipment of wireless downloading |
US20110314069A1 (en) * | 2010-06-17 | 2011-12-22 | International Business Machines Corporation | Data lifecycle management within a cloud computing environment |
CN102413155A (en) * | 2010-09-21 | 2012-04-11 | 腾讯科技(深圳)有限公司 | Data transmission method and system |
CN102685164A (en) * | 2011-03-16 | 2012-09-19 | 中国电信股份有限公司 | Method and system for downloading and updating files under condition of limited storage space of terminal |
CN102215479A (en) * | 2011-06-22 | 2011-10-12 | 中兴通讯股份有限公司 | Method, server and system for downloading and installing upgrade package |
CN102231163A (en) * | 2011-06-30 | 2011-11-02 | 珠海金山办公软件有限公司 | System and method for synchronously and preferentially updating specified file |
US10324893B1 (en) * | 2011-12-15 | 2019-06-18 | Veritas Technologies Llc | Backup application catalog analyzer |
CN103491171A (en) * | 2013-09-24 | 2014-01-01 | 成都金山数字娱乐科技有限公司 | Network resource asynchronous loading method and device |
CN104866510A (en) * | 2014-02-26 | 2015-08-26 | 北京金山安全软件有限公司 | Method and device for removing residual file and method and device for establishing feature library of residual file |
CN104182532A (en) * | 2014-08-28 | 2014-12-03 | 北京金山安全软件有限公司 | Terminal file cleaning method and device and terminal |
US10275396B1 (en) * | 2014-09-23 | 2019-04-30 | Symantec Corporation | Techniques for data classification based on sensitive data |
CN105635213A (en) * | 2014-10-31 | 2016-06-01 | 广州市动景计算机科技有限公司 | Network connection downloading method and device |
CN105045802A (en) * | 2015-05-22 | 2015-11-11 | 杭州亿方云网络科技有限公司 | Message-driven multi-type file preview system |
CN105491145A (en) * | 2015-12-21 | 2016-04-13 | 清华大学 | Agglomeration system of multi-manufacturer cloud storage service, and method |
CN106250462A (en) * | 2016-07-28 | 2016-12-21 | 北京金山安全软件有限公司 | Method and device for cleaning junk files and mobile device |
CN106254561A (en) * | 2016-10-12 | 2016-12-21 | 上海安馨信息科技有限公司 | The real-time offline download method of a kind of Internet resources file and system |
CN109906446A (en) * | 2016-11-04 | 2019-06-18 | 微软技术许可有限责任公司 | Multilayer in memory virtualization system merges |
CN107590283A (en) * | 2017-09-29 | 2018-01-16 | 浙江大华技术股份有限公司 | A kind of file recovery method, device, server and computer-readable recording medium |
CN107734023A (en) * | 2017-09-30 | 2018-02-23 | 努比亚技术有限公司 | Static resource document down loading method, mobile terminal and computer-readable recording medium |
CN107678978A (en) * | 2017-10-12 | 2018-02-09 | 深圳辉烨通讯技术有限公司 | A kind of memory space processing method and processing device of intelligent terminal |
CN107784104A (en) * | 2017-10-26 | 2018-03-09 | 中山市君扬电子科技有限公司 | A kind of data-pushing update method of children education software |
CN108282690A (en) * | 2018-01-26 | 2018-07-13 | 广东欧珀移动通信有限公司 | A kind of Internet video method for down loading, device and computer readable storage medium |
CN110661829A (en) * | 2018-06-28 | 2020-01-07 | 杭州海康威视系统技术有限公司 | File downloading method and device, client and computer readable storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113110851A (en) * | 2021-06-15 | 2021-07-13 | 北京易真学思教育科技有限公司 | Resource loading method and device, electronic equipment and medium |
CN113691823A (en) * | 2021-08-19 | 2021-11-23 | 北京百度网讯科技有限公司 | Resource file processing method, device, equipment, storage medium and program product |
CN114697314A (en) * | 2022-03-25 | 2022-07-01 | 宁波全网云医疗科技股份有限公司 | Medical image downloading system and method |
CN116684407A (en) * | 2023-08-01 | 2023-09-01 | 腾讯科技(深圳)有限公司 | Resource downloading method, device, equipment and readable storage medium |
CN116684407B (en) * | 2023-08-01 | 2023-10-27 | 腾讯科技(深圳)有限公司 | Resource downloading method, device, equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110287146B (en) | 2021-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110287146A (en) | Using the method, equipment and computer storage medium of downloading | |
CN109960541A (en) | Start method, equipment and the computer storage medium of small routine | |
CN112055064B (en) | Data synchronization method, device, equipment and storage medium | |
CN110489440B (en) | Data query method and device | |
CN109246225A (en) | Method is provided and got to a kind of resource allocation | |
CN109710333A (en) | Processing method, equipment and the computer readable storage medium of boarding application | |
CN109933269A (en) | Method, equipment and the computer storage medium that small routine is recommended | |
CN109495549A (en) | Method, equipment and the computer storage medium of work are drawn in a kind of application | |
CN109739601A (en) | A kind of popularization resource exhibition method | |
CN110991903A (en) | Service personnel allocation method, device, equipment and storage medium | |
CN109242320B (en) | Order allocation method, device, server and storage medium | |
CN110072268A (en) | Method, equipment and the computer storage medium that wifi hotspot is shared | |
CN110134869A (en) | A kind of information-pushing method, device, equipment and storage medium | |
CN109218393A (en) | A kind of implementation method of push, device, equipment and computer storage medium | |
CN109471674A (en) | It spreads its tail information displaying method, computer equipment and storage medium using starting | |
CN110517028A (en) | Method, equipment and the computer storage medium of payment bill | |
CN109933254A (en) | Show method, equipment and the computer storage medium of reading content | |
CN110083467A (en) | Processing method, equipment and the computer storage medium of small routine message | |
CN109347899A (en) | The method of daily record data is written in distributed memory system | |
CN111010453B (en) | Service request processing method, system, electronic device and computer readable medium | |
CN112686528A (en) | Method, apparatus, server and medium for allocating customer service resources | |
CN114584618A (en) | Information interaction method, device, equipment, storage medium and system | |
CN109981778B (en) | Method, device, equipment and storage medium for realizing service of content distribution network | |
CN107888478B (en) | Voice information forwarding method, device and storage medium in instant messaging process | |
CN110932966A (en) | Message processing method and device, computer storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |