CN103501327B - Method for down loading and device based on mobile terminal application - Google Patents

Method for down loading and device based on mobile terminal application Download PDF

Info

Publication number
CN103501327B
CN103501327B CN201310447452.XA CN201310447452A CN103501327B CN 103501327 B CN103501327 B CN 103501327B CN 201310447452 A CN201310447452 A CN 201310447452A CN 103501327 B CN103501327 B CN 103501327B
Authority
CN
China
Prior art keywords
speed
file
download
data size
limit value
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.)
Active
Application number
CN201310447452.XA
Other languages
Chinese (zh)
Other versions
CN103501327A (en
Inventor
彭国洲
鲁小锁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310447452.XA priority Critical patent/CN103501327B/en
Publication of CN103501327A publication Critical patent/CN103501327A/en
Application granted granted Critical
Publication of CN103501327B publication Critical patent/CN103501327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of method for down loading and device based on mobile terminal application.Wherein included based on the method for down loading of mobile terminal application:Calculate the buffer data size downloaded in data cached area;Judge buffer data size whether in default numerical range;If it is not, being adjusted correspondingly to the limit value of file downloading speed, matched with the speed for maintaining limit value to write extension storage card with file.Using the technical characteristic of the present invention, the limit value of file downloading speed is adjusted according to the buffer data size in current cache data field, realize that downloading speed limiting value and the writing speed of extension storage card match each other, ensure that the data volume of buffer area is stable, be conducive to the control to downloading task committed memory, it is to avoid program because download caching committed memory space it is excessive caused by program crashing and system mistake.

Description

Method for down loading and device based on mobile terminal application
Technical field
The present invention relates to mobile Internet field, more particularly to a kind of method for down loading and dress based on mobile terminal application Put.
Background technology
The limited storage space of general mobile Internet terminal, therefore generally require to deposit by the extension of outside extension storage card Storage capacity, commonly used outside extension storage card include SD card and its derived product.Yet with terminal hardware configure and The impact of SD card performance, mobile terminal are limited to the writing speed of SD card.
However as the development of network, network speed is more and more faster, when carrying out various file downloads using mobile terminal, for example under When carrying application installation package, multimedia audio-video file, document information, it may appear that speed of download is significantly faster than that expanding storage apparatus The situation of writing speed, it is possible to causing to store the problem of mistake or failed download.
The content of the invention
In view of the above problems, it is proposed that the present invention is to provide a kind of method for down loading based on mobile terminal application and dress Put.
Based on one aspect of the present invention, there is provided a kind of method for down loading based on mobile terminal application.The method includes: Calculate the buffer data size downloaded in data cached area;Judge buffer data size whether in default numerical range;If it is not, right The limit value of file downloading speed is adjusted correspondingly, and is matched with the speed for maintaining limit value to write extension storage card with file.
Alternatively, calculating the buffer data size downloaded in data cached area includes:The data volume of file download is obtained respectively The data volume of extension storage card is write with file;The data volume that calculation document is downloaded and the data of file write extension storage card Difference, the difference are equal to buffer data size.
Alternatively, the data volume for obtaining the data volume and file write extension storage card of file download respectively includes:Obtain Speed of download, and the data volume downloaded according to speed of download calculation document;Extension storage card writing speed is obtained, and according to extension Storage card writing speed calculation document writes the data volume of extension storage card.
Alternatively, judge whether buffer data size includes in default numerical range:Judge whether buffer data size is little In numerical range lower limit and/or judge buffer data size whether more than the upper limit of numerical range, the limit to file downloading speed Value be adjusted correspondingly including:In the case of lower limit of the buffer data size less than numerical range, file downloading speed is improved Limit value;In the case of the upper limit of the buffer data size more than numerical range, the limit value of file downloading speed is reduced.
Alternatively, the limit value for improving file downloading speed includes:Limit value is improved with the first prearranged multiple of limit value;Reduce text The limit value of part speed of download:Limit value is reduced with the second prearranged multiple of limit value.
Alternatively, also include after judging buffer data size whether in default numerical range:If so, keep file The limit value of speed of download is constant.
Alternatively, the method downloads resource from mobile network for mobile terminal application.
According to a further aspect of the invention, there is provided a kind of download apparatus based on mobile terminal application, the device bag Include:Buffer data size computing module, for calculating the buffer data size downloaded in data cached area;Judge module, for judging Whether buffer data size is in default numerical range;Speed of download control module, for the output result in judge module be When no, the limit value of file downloading speed is adjusted correspondingly, to maintain the limit value to write extension storage card with file Speed matches.
Alternatively, the device also includes:Download module, for obtaining speed of download;Storage card writing module, for obtaining Extension storage card writing speed;Buffer data size computing module is configured to:According to the data volume that speed of download calculation document is downloaded; The data volume of extension storage card is write according to extension storage card writing speed calculation document;The data volume that calculation document is downloaded and text The difference of the data of part write extension storage card, the difference are equal to buffer data size.
Alternatively, speed of download control module is configured to:The feelings of the lower limit of the numerical range are less than in buffer data size Under condition, the limit value of file downloading speed is improved;In the case of the upper limit of the buffer data size more than numerical range, reduce under file Carry the limit value of speed.
Alternatively, speed of download control module is configured to:When the output result of judge module is to be, file download is kept The limit value of speed is constant.
Alternatively, download apparatus of the above based on mobile terminal application is downloaded from mobile network for mobile terminal application Resource.
The method for down loading based on mobile terminal application of the present invention.The method is according to the caching number in current cache data field According to the limit value of amount adjustment file downloading speed, realize that downloading speed limiting value and the writing speed of storage device match each other, it is ensured that slow The data volume for depositing area is stable, is conducive to the control to downloading task committed memory, it is to avoid program is because downloading caching committed memory Program crashing and system mistake caused by space is excessive.
Further, the speed for writing according to extension storage card is rationally limited to speed of download, has reached smooth limit The purpose of speed, can prevent because of speed of download frequent fluctuation, impact Consumer's Experience fluctuated.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
According to the detailed description below in conjunction with accompanying drawing to the specific embodiment of the invention, those skilled in the art will be brighter The above-mentioned and other purposes of the present invention, advantages and features.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for the purpose for illustrating preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 is the schematic diagram of the download apparatus based on mobile terminal application according to an embodiment of the invention;
Fig. 2 is the schematic diagram of the method for down loading based on mobile terminal application according to an embodiment of the invention;
Fig. 3 is the flow chart of the method for down loading based on mobile terminal application according to an embodiment of the invention;And
Fig. 4 is the flow chart of the method for down loading based on mobile terminal application according to another embodiment of the invention.
Specific embodiment
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this Bright preferred forms.
Fig. 1 is the schematic diagram of the download apparatus based on mobile terminal application according to an embodiment of the invention, as schemed institute Show, the control device of the download speed of mobile terminal includes:Buffer data size computing module 110, judge module 120, download speed Degree control module 130.
In each ingredient of control device, buffer data size computing module 110 is used to calculate downloads data cached area In buffer data size.Judge module 120 is used to judging buffer data size that buffer data size computing module calculates whether In default numerical range.Speed of download control module 130, for the output result in judge module 120 for it is no when, to text The limit value of part speed of download is adjusted correspondingly, to maintain the limit value to write the speed phase of extension storage card with file Match somebody with somebody.
Device more than use, application in the terminal carry out application installation package, audio/video file, document data etc. During downloading task, how many downloading speed limitings can be adjusted according to the data volume of caching, when buffer data size is excessive, reduce downloading limit Speed, and then speed of download is limited, so as to reduce buffer data size, prevent buffer data size committed memory space excessive, Cause system operation unstable.When buffer data size is too small, increases downloading speed limiting, and then improve speed of download, so as to save Download time, improve the downloading experience of user.Can be according to operation above in relation to the default numerical range of buffer data size The internal memory hardware information of mobile terminal and ensure that the cache size taken under normal operating condition is configured, for example, can be with Different terminals are tested respectively, will ensure that the caching taken under normal operating condition is counted, it is different whole so as to draw Hold corresponding buffer setting value.Generally, for the bigger terminal of internal memory, it is bigger that default value scope is arranged.In user When application in using terminal is downloaded, the device of the present embodiment can arrange caching according to the model of physical end or configuration The default value scope of data volume.
Buffer data size computing module 110 in above example is calculated buffer data size and can be write using extension storage card Enter speed and speed of download is calculated.In this case, the present embodiment is set based on the download increase of mobile terminal application Download module 140 and storage card writing module 150 are put, wherein download module 140 is used to obtain speed of download;Storage card writes Module 150 is used to obtain extension storage card writing speed.Above buffer data size computing module 110 with concrete configuration can be:Root According to the data volume that speed of download calculation document is downloaded;Extension storage card is write according to extension storage card writing speed calculation document Data volume;The data volume that calculation document is downloaded writes the difference of the data of extension storage card with file, and the difference is exactly in current Buffer data size in depositing.
For different various types of extension storage cards, its writing speed is different, such as conventional SD card Speech, can be divided into different brackets by its speed, and the writing speed of storage card is also processed by mobile terminal write process Speed affects, therefore the download apparatus based on mobile terminal application of the present embodiment can be real using storage card writing module 150 When monitor extension storage card writing speed, for the calculating of buffer data size in internal memory.Above extension storage Card Type can be with Including:SD card(Secure Digital Memory Card), CF cards(Compact Flash)、MMC(MultiMedia Card), all kinds of storage devices such as memory stick, to meet the requirement of the mobile terminal of variety classes and model.
In order to realize maintaining the limit value and file to write the technique effect that the speed of extension storage card matches, speed is downloaded Degree control module 130 is specifically configurable to:In the case of lower limit of the buffer data size less than the numerical range, text is improved The limit value of part speed of download;In the case of the upper limit of the buffer data size more than numerical range, the limit of file downloading speed is reduced Value.When the output result of judge module 120 is to be, that is, buffer data size is maintained at the situation in default numerical range Under, it is not required to be adjusted speed of download, speed of download control module 130 can be configured to:In the output result of judge module 120 During to be, keep the limit value of file downloading speed constant.
Download apparatus based on mobile terminal application provided in an embodiment of the present invention, wherein mobile terminal include:It is mobile phone, flat The mobile Internet terminal equipment such as plate computer, palm PC, the Mobile operating system of running of mobile terminal can include: Android, iOS, Symbian, Windows Phone and BlackBerry OS etc..Application of the download apparatus in mobile terminal During resource is downloaded from mobile network, and use is accordingly controlled to speed of download.The application of above mobile terminal Can include that various browsers, download application, game etc. are all kinds of has the movement of data interaction medical with mobile network.Under concrete The type of the resource of load can be including but not limited to following:Multimedia file, application installation package, system update file, figure Piece, document etc..
The embodiment of the present invention additionally provides a kind of method for down loading based on mobile terminal application, and the method can be more than use In embodiment, any one download apparatus based on mobile terminal application is performed.Fig. 2 is according to an embodiment of the invention being based on The schematic diagram of the method for down loading of mobile terminal application.As illustrated, the method is comprised the following steps:
Step S202, calculates the buffer data size downloaded in data cached area;
Whether step S204, judge buffer data size in default numerical range;
Step S206, if it is not, the limit value of file downloading speed is adjusted correspondingly, to maintain limit value to write with file The speed of extension storage card matches.
Using the method for down loading based on mobile terminal application of the embodiment of the present invention, carry out applying peace in mobile terminal application During the downloading task of dress bag, audio/video file, document data etc., how many downloading speed limitings can be adjusted according to the data volume of caching, When buffer data size is excessive, downloading speed limiting is reduced, and then speed of download is limited, so as to reduce buffer data size, prevented Buffer data size committed memory space is excessive, causes system operation unstable.When buffer data size is too small, limit is downloaded in increase Speed, and then speed of download is improved, so as to save download time, improve the downloading experience of user.
Can be according to the internal memory hardware information of operation mobile terminal above in relation to the default numerical range of buffer data size And ensure that the cache size taken under normal operating condition is configured, for example, different terminals can be tested respectively, To ensure that the caching taken under normal operating condition is counted, so as to draw the corresponding buffer setting value of different terminals.Typically For, the terminal bigger for internal memory, it is bigger that default value scope is arranged.When user's using terminal is downloaded, this reality The method for down loading based on mobile terminal application for applying example can arrange buffer data size according to the model of physical end or configuration Default value scope.
Step S202 can be calculated using extension storage card writing speed and speed of download.Specifically, step S202 Can include:The data volume and file for obtaining file download respectively writes the data volume of extension storage card;What calculation document was downloaded Data volume writes the difference of the data of extension storage card with file, and the difference is buffer data size.
Wherein, the data volume for obtaining the data volume and file write extension storage card of file download respectively can be using download Speed and extension storage card writing speed are calculating.
Specifically, include the step of calculation document downloading data amount:Speed of download is obtained, and text is calculated according to speed of download The data volume that part is downloaded.The step of calculation document write extension storage card data volume, includes:Extension storage card writing speed is obtained, And the data volume of extension storage card is write according to extension storage card writing speed calculation document.
Step S204 can specifically include:Judge whether buffer data size is less than the lower limit of numerical range and/or judges slow Deposit data amount whether more than the upper limit of numerical range, the limit value of file downloading speed is adjusted correspondingly including:In caching In the case of lower limit of the data volume less than numerical range, the limit value of file downloading speed is improved;It is more than numerical value in buffer data size In the case of the upper limit of scope, the limit value of file downloading speed is reduced.When buffer data size is excessive, downloading speed limiting is reduced, is entered And speed of download is limited, so as to reduce buffer data size, prevent buffer data size committed memory space excessive, cause be System fluctuation of service.When buffer data size is too small, increases downloading speed limiting, and then improve speed of download, so as to save during download Between, improve the downloading experience of user.
More than adjust progressively be incremented by and carry out can the adopting or by the way of progressively successively decreasing of file downloading speed, for example, raising The limit value of file downloading speed includes:Limit value is improved with the first prearranged multiple of current limit value;Reduce the limit of file downloading speed Value:Limit value is reduced with the second prearranged multiple of current limit value.First prearranged multiple or the second prearranged multiple flexibly can be arranged, its In the first prearranged multiple be more than 1, the second prearranged multiple be less than 1, such as the first prearranged multiple is set to 1.1, the second prearranged multiple 0.9 is set to, that is, when buffer data size is more than the preset range upper limit, file download limit value is down to into the 0.9 of currency Times, when buffer data size is less than preset range lower limit, file download limit value is improved to 1.1 times of currency.
If data volume is in the range of default value, speed of download is matched with file writing speed.In this case, Keep the limit value of file downloading speed constant.
Method for down loading based on mobile terminal application provided in an embodiment of the present invention, application is for mobile terminal from mobile network During resource is downloaded in network, speed of download is accordingly controlled.
Fig. 3 is the flow chart of the method for down loading based on mobile terminal application according to an embodiment of the invention.According to figure In flow process, should specific execution step of download based on mobile terminal application be step:
Step S302, starts downloading task;
Step S304, calculates the data volume for downloading file;
Step S306, calculates the data volume that extension storage card writes file;
Step S308, calculates the difference for downloading the data volume with the data volume of extension storage card write file of file, you can Obtain current buffer data size;
Step S310, judges whether buffer data size is less than the lower limit of default value scope;If so, execution step S312, If not in execution step S320;
Step S312, improves the limit value of file downloading speed, then execution step S340;
Step S320, judges whether buffer data size is more than the upper limit of default value scope;If so, execution step S322, If not in execution step S330;
Step S322, reduces the limit value of file downloading speed, then execution step S340;
Step S330, keeps the limit value of file downloading speed constant, then execution step S340;
Step S340, judges whether downloading task terminates, if so, finishing control flow process, returns execution step S304 if not Control is circulated, until downloading task terminates.
Fig. 4 is the flow chart of the method for down loading based on mobile terminal application according to another embodiment of the invention.At this In the flow process of embodiment, the speed of download limit of Current hardware configuration lower buffer data size optimal threshold F and acquiescence is obtained first Value V, after downloading task is received, performs the following steps successively:
Step S402, starts downloading task;
Step S404, calculates current cache data volume f;
Step S406, judges whether f > 1.1F, if execution step S410;If it is not, execution step S408;
Step S410, to V again assignment, V=0.9V, then execution step S430;
Step S408, judges whether f < 0.9F, if execution step S420, if it is not, execution step S430;
Step S420, to V again assignment, V=1.1V, then execution step S430;
Step S430, carries out file download by speed of download limit value of V, then execution step S440;
Step S440, judges whether downloading task terminates, if it is not, returning execution step S404.
In the present embodiment, using the scope of buffer data size optimal threshold F setting data buffer data sizes, so as to delay Poke amount is maintained between 0.9F to 1.1F, and real-time regulation downloads limit value V, until download terminating.
Following technique effect can be reached using the technical scheme of above example of the present invention:
First, according to the speed of write extension storage card, speed of download is rationally limited, the mesh of smooth speed limit is reached , prevent speed of download frequent fluctuation, impact Consumer's Experience fluctuated, Automatic adjusument speed of download to be allowed to adapt to extension Storage card writing speed, the speed of download for reaching user reach rationality steady statue, prevent speed big ups and downs.
2nd, quantitative control is realized to caching downloading data amount, reach the problem that control mobile terminal application memory takes.It is anti- Only, because data cached excessive, committed memory is excessive, and causes program crashing for program, the internal memory that control application takes, and preventing should With because EMS memory occupation excessively collapses.
The method for down loading based on mobile terminal application and device in the present embodiment can be widely applied to run ARIXTRA system The various mobile terminals of system or other Mobile operating systems, for example, can be used for Mobile solution software such as mobile phone assistant etc., use This technology is downloaded and can reach reduction program internal memory and take, and speed of download is stable and purpose of high speed strengthens the lower carrier of user Test.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case where not having these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist Above to, in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:I.e. required guarantor The more features of feature is expressly recited in each claim by the application claims ratio of shield.More precisely, such as following Claims it is reflected as, inventive aspect is less than all features of single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more different from embodiment equipment.Can be the module or list in embodiment Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is to this specification(Including adjoint claim, summary and accompanying drawing)Disclosed in all features and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification(Including adjoint power Profit requires, makes a summary and accompanying drawing)Disclosed in each feature can be by providing identical, equivalent or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In some included features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment required for protection one of arbitrarily Can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor(DSP)To realize the download based on mobile terminal application according to embodiments of the present invention The some or all functions of some or all parts in device.The present invention is also implemented as being retouched for performing here Some or all equipment of the method stated or program of device(For example, computer program and computer program). Such program for realizing the present invention can be stored on a computer-readable medium, or can have one or more signal Form.Such signal can be downloaded from internet website and be obtained, or on carrier signal provide, or with it is any its He provides form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame Claim.
So far, although those skilled in the art will appreciate that detailed herein illustrate and describe multiple showing for the present invention Example property embodiment, but, without departing from the spirit and scope of the present invention, still can be direct according to present disclosure It is determined that or deriving many other variations or modifications for meeting the principle of the invention.Therefore, the scope of the present invention is understood that and recognizes It is set to and covers all these other variations or modifications.

Claims (12)

1. a kind of method for down loading based on mobile terminal application, including
The data volume and the difference of the data volume of extension storage card write file for downloading file is calculated, in obtaining internal memory, caching is downloaded Buffer data size in data field;
Judge the buffer data size whether in default numerical range;
If it is not, the limit value of file downloading speed is adjusted correspondingly in the way of being progressively incremented by or progressively successively decreasing, to maintain The speed that the limit value writes extension storage card with file matches.
2. method according to claim 1, wherein, calculate the step of downloading the buffer data size in data cached area it It is front also to include:
The data volume and file for obtaining file download respectively writes the data volume of extension storage card.
3. method according to claim 2, wherein, the data volume and file write memorizer of file download is obtained respectively Data volume includes:
Speed of download is obtained, and the data volume of the file download is calculated according to the speed of download;
Extension storage card writing speed is obtained, and the file write extension is calculated according to the extension storage card writing speed and deposited The data volume of card storage.
4. according to the method in any one of claims 1 to 3, wherein,
Judge whether the buffer data size includes in default numerical range:
Judge whether the buffer data size is less than the lower limit of the numerical range and/or judges whether the buffer data size is big In the upper limit of the numerical range,
The limit value of file downloading speed is adjusted correspondingly including:
In the case of lower limit of the buffer data size less than the numerical range, the limit of the file downloading speed is improved Value;
In the case of the upper limit of the buffer data size more than the numerical range, the limit of the file downloading speed is reduced Value.
5. method according to claim 4, wherein,
The limit value for improving the file downloading speed includes:The limit value is improved with the first prearranged multiple of the limit value;
Reduce the limit value of the file downloading speed:The limit value is reduced with the second prearranged multiple of the limit value.
6. according to the method in any one of claims 1 to 3, wherein, judging the buffer data size whether default Numerical range in after also include:
If so, keep the limit value of the file downloading speed constant.
7. according to the method in any one of claims 1 to 3, money is downloaded from mobile network for mobile terminal application Source.
8. a kind of download apparatus based on mobile terminal application, including:
Buffer data size computing module, data volume and the file for calculation document download write the data of extension storage card Difference, the buffer data size in data cached area is downloaded in obtaining internal memory;
Judge module, for judging the buffer data size whether in default numerical range;
Speed of download control module, for the output result in the judge module for it is no when, the limit value to file downloading speed It is adjusted correspondingly in the way of being progressively incremented by or progressively successively decreasing, to maintain the limit value to write extension storage card with file Speed matches.
9. device according to claim 8, wherein, also include:
Download module, for obtaining speed of download;
Storage card writing module, for obtaining extension storage card writing speed;
The buffer data size computing module is configured to:According to the data volume that the speed of download calculation document is downloaded;According to institute State the data volume that extension storage card writing speed calculation document writes extension storage card.
10. device according to claim 8 or claim 9, wherein, the speed of download control module is configured to:
In the case of lower limit of the buffer data size less than the numerical range, the limit of the file downloading speed is improved Value;
In the case of the upper limit of the buffer data size more than the numerical range, the limit of the file downloading speed is reduced Value.
11. devices according to claim 8 or claim 9, wherein, the speed of download control module is configured to:In the judgement The output result of module is for, when being, the limit value of the holding file downloading speed is constant.
12. devices according to claim 8 or claim 9, download resource from mobile network for mobile terminal application.
CN201310447452.XA 2013-09-25 2013-09-25 Method for down loading and device based on mobile terminal application Active CN103501327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310447452.XA CN103501327B (en) 2013-09-25 2013-09-25 Method for down loading and device based on mobile terminal application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310447452.XA CN103501327B (en) 2013-09-25 2013-09-25 Method for down loading and device based on mobile terminal application

Publications (2)

Publication Number Publication Date
CN103501327A CN103501327A (en) 2014-01-08
CN103501327B true CN103501327B (en) 2017-04-05

Family

ID=49866497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310447452.XA Active CN103501327B (en) 2013-09-25 2013-09-25 Method for down loading and device based on mobile terminal application

Country Status (1)

Country Link
CN (1) CN103501327B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450873A (en) * 2015-12-08 2016-03-30 深圳天珑无线科技有限公司 Temperature control method and terminal device
CN106973302A (en) * 2016-01-14 2017-07-21 腾讯科技(深圳)有限公司 A kind of method of foradownloaded video data, apparatus and system
CN109040231B (en) * 2018-07-31 2021-06-11 优视科技新加坡有限公司 Data transmission method, device, equipment/terminal/server and computer readable storage medium
CN111385315B (en) * 2018-12-27 2022-12-16 阿里巴巴集团控股有限公司 Point-to-point resource downloading method and device
CN110471622B (en) * 2019-07-30 2024-02-20 惠州Tcl移动通信有限公司 SD card data writing method and device, storage medium and terminal
CN112261634B (en) * 2020-10-19 2023-08-08 深圳市嘀嘟科技有限公司 Bluetooth transmission control method and device, terminal equipment and storage medium
CN112702418A (en) * 2020-12-21 2021-04-23 潍柴动力股份有限公司 Double-cache data downloading control method and device and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568609A (en) * 2002-04-19 2005-01-19 松下电器产业株式会社 Data reception device and data distribution system
CN101577672A (en) * 2008-05-07 2009-11-11 中国移动通信集团公司 Method, system and devices for transmitting data in streaming media service
CN101771492A (en) * 2008-12-29 2010-07-07 华为技术有限公司 Method and device for adjusting streaming media bit rate
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1568609A (en) * 2002-04-19 2005-01-19 松下电器产业株式会社 Data reception device and data distribution system
CN101577672A (en) * 2008-05-07 2009-11-11 中国移动通信集团公司 Method, system and devices for transmitting data in streaming media service
CN101771492A (en) * 2008-12-29 2010-07-07 华为技术有限公司 Method and device for adjusting streaming media bit rate
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《嵌入式流媒体客户端缓冲控制策略的研究》;文远程 等;《华中科技大学学报(自然科学版)》;20051031;第33卷(第10期);第83-85页 *

Also Published As

Publication number Publication date
CN103501327A (en) 2014-01-08

Similar Documents

Publication Publication Date Title
CN103501327B (en) Method for down loading and device based on mobile terminal application
CN105512251B (en) A kind of page cache method and device
CN107463627A (en) A kind of picture loading method and terminal
CN107463400B (en) Hot updating method of mobile application and terminal equipment
CN109753443A (en) A kind of data processing method, device and electronic equipment
CN108292162A (en) Software definition fifo buffer for multi-thread access
CN108153505A (en) Display methods, electronic equipment and the computer storage media of handwriting input content
WO2020220971A1 (en) File loading method and apparatus, electronic device, and storage medium
EP3734446B1 (en) Processing method, storage medium and electronic device
CN108701026A (en) Method and apparatus for the managing process under memory constraints
CN107798064A (en) Page processing method, electronic equipment and computer-readable recording medium
CN111104178A (en) Dynamic library loading method, terminal device and storage medium
CN107133112A (en) A kind of asynchronous process fsync method and mobile terminal
US8429348B2 (en) Method and mechanism for delaying writing updates to a data cache
CN106649654A (en) Data updating method and device
CN115102908A (en) Method for generating network message based on bandwidth control and related device
CN109521970A (en) A kind of data processing method and relevant device
CN110109970B (en) Data query processing method and device
WO2015199734A1 (en) Buffer-based update of state data
CN113272785B (en) Method for mounting file system, terminal equipment and storage medium
US9959839B2 (en) Predictive screen display method and apparatus
CN106980513A (en) A kind of switching method and device of dual boot file
CN109522240A (en) A kind of data processing method and device
WO2021135810A1 (en) Data processing method and apparatus, computer device, storage medium, and computer program
CN109857474A (en) Start the method and apparatus of application program

Legal Events

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

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.