CN105610935A - Data download system and data download method - Google Patents

Data download system and data download method Download PDF

Info

Publication number
CN105610935A
CN105610935A CN201510997676.7A CN201510997676A CN105610935A CN 105610935 A CN105610935 A CN 105610935A CN 201510997676 A CN201510997676 A CN 201510997676A CN 105610935 A CN105610935 A CN 105610935A
Authority
CN
China
Prior art keywords
download
data
time
downloaded
preset time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510997676.7A
Other languages
Chinese (zh)
Inventor
李瑞峰
刘江明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 CN201510997676.7A priority Critical patent/CN105610935A/en
Publication of CN105610935A publication Critical patent/CN105610935A/en
Priority to PCT/CN2016/104575 priority patent/WO2017107684A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a data download method. The method comprises the steps of detecting data volume of to-be-downloaded data in a terminal and a first download speed in a network environment in which the terminal is; calculating download time required by the to-be-downloaded data according to the first download speed and the data volume; determining whether the download time is less than preset time; and if yes, downloading the to-be-downloaded data. When the download time of the to-be-downloaded data is shorter, the to-be-downloaded data is downloaded, so that the to-be-downloaded data is not downloaded for a long time, the terminal does not run a download program for a long time, the memory usage ratio is not always so high, and the terminal does not run slowly.

Description

Data downloading system and data download method
Technical field
The present invention relates to download technology field, in particular to a kind of data downloading system andA kind of data download method.
Background technology
Along with the use of smart mobile phone is more and more extensive, application and raw application program kind are alsoMore and more. In order to meet user's increase in demand user viscosity, the more new liter of application programLevel is also very frequent, and experiences in order to use newly-increased function or to enjoy better user,Cellphone subscriber must application programs carry out updating operation frequently.
But the installation kit of some application program/renewal bag is larger, in this case, whenWhen user carries out down operation, generally all can habitually wait for or pay close attention to entering of downloading processOK, if but the data volume of data to be downloaded is larger, and the residing net environment of mobile phoneThe speed of carrying is slower, may make so data to be downloaded need considerable time just can completeDownload, cause user to wait as long for.
Summary of the invention
Technical problem to be solved by this invention is, how to reduce user to terminal downloads dataStand-by period.
For this purpose, the present invention proposes a kind of data download method, comprising:
In sense terminals first time of the data volume of data to be downloaded and terminal network environment of living inThe speed of carrying;
According under described the first speed of download and the described data needs to be downloaded of data volume calculatingThe time of carrying;
Judge whether described download time is less than Preset Time;
If so, download described data to be downloaded.
Preferably, described method also comprises:
If described download time is more than or equal to Preset Time, data to be downloaded described in buffer memoryDownloading task.
Preferably, after the downloading task of data to be downloaded described in buffer memory, described method is also wrappedDraw together:
After the first Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
Preferably, described method also comprises:
If the download time of recalculating is more than or equal to Preset Time, continue to treat down described in buffer memoryCarry the downloading task of data.
Preferably, after the downloading task of data to be downloaded described in continuing buffer memory, described methodAlso comprise:
After the second Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
Preferably, more described the second Preset Time segment length of described the first Preset Time section.
Preferably, judging described download time also comprises before whether being less than Preset Time:
Judge whether described network environment is WiFi network environment;
If so, carry out and judge whether described download time is less than the step of Preset Time.
Preferably, described method also comprises:
If described network environment is not WiFi network environment, inquire about described terminal pins to described netThe remaining data flow of network environment;
Judge whether described remaining data flow is greater than described data volume;
If so, carry out and judge whether described download time is less than the step of Preset Time.
Preferably, if the downloading process of described data to be downloaded is interrupted, described method also comprises:
The downloading task of described data to be downloaded is added into the download list of mourning in silence;
In the time that described downloading process is recovered, to mourn in silence, the mode of downloading continues to download described to be downloadedData.
Preferably, in the time that described downloading process is recovered, to mourn in silence, the mode of downloading continues to download instituteStating data to be downloaded specifically comprises:
That determines described data to be downloaded does not download part and current terminal network environment of living inThe second speed of download;
Again count according to the not download part of described the second speed of download and described data to be downloadedCalculate the continuation download time of described need;
Judge whether described continuation download time is less than Preset Time;
If so, download the not download part of described data to be downloaded.
Preferably, described the first speed of download and the second speed of download are the current network of living in of terminalConnective best current speed of download corresponding to network environment in environment.
The invention allows for a kind of data downloading system, comprising:
Detecting unit, for detection of data volume and the terminal network of living in of data to be downloaded in terminalThe first speed of download of environment;
Computing unit, for calculating described to be downloaded according to described the first speed of download and data volumeThe download time that data need;
Judging unit, for judging whether described download time is less than Preset Time;
Download unit, in the time that described download time is less than Preset Time, downloads described number to be downloadedAccording to.
Preferably, said system also comprises:
Buffer unit, in the time that described download time is more than or equal to Preset Time, treats described in buffer memoryThe downloading task of downloading data.
Preferably, described detecting unit is under data to be downloaded described in described buffer unit buffer memoryAfter the task of carrying, after the first Preset Time section, whether the first speed of download of Sampling network environment is carriedHigh;
Described computing unit is in the time that described the first speed of download improves, according to first time after improvingThe speed of carrying and data volume recalculate required download time of described data to be downloaded;
Described judging unit is also for judging whether the download time of recalculating is less than when defaultBetween;
Described download unit is in the time that the download time of recalculating is less than Preset Time, described in downloadData to be downloaded.
Preferably, described buffer unit was more than or equal to when default in the download time of recalculatingBetween time, continue the downloading task of data to be downloaded described in buffer memory.
Preferably, described detecting unit is in data to be downloaded described in described buffer unit continuation buffer memoryDownloading task after, after the second Preset Time section, the first speed of download of Sampling network environment isNo raising;
Described computing unit, in the time that the first speed of download improves, is downloaded speed according to first after improvingDegree and data volume recalculate required download time of described data to be downloaded;
Described judging unit is also for judging whether the download time of recalculating is less than when defaultBetween;
Described download unit is in the time that the download time of recalculating is less than Preset Time, described in downloadData to be downloaded.
Preferably, more described the second Preset Time segment length of described the first Preset Time section.
Preferably, described judging unit is also for judging whether described network environment is WiFi networkEnvironment, if so, judges whether described download time is less than Preset Time.
Preferably, said system also comprises:
Query unit, in the time that described network environment is not WiFi network environment, inquires about described terminalRemaining data flow;
Wherein, described judging unit is also for described in judging whether described remaining data flow be greater thanData volume, if be greater than described data volume, judges whether described download time is less than Preset Time.
Preferably, said system also comprises:
List adding device, in the time that the downloading process of described data to be downloaded is interrupted, treats described in inciting somebody to actionThe downloading task of downloading data is added into the download list of mourning in silence;
Wherein, when described download unit recovers in described downloading process, in the mode of mourning in silence and downloadingContinue to download described data to be downloaded.
Preferably, in the time that described downloading process is recovered, described detecting unit is determined described to be downloadedSecond speed of download of not downloading part and current terminal network environment of living in of data;
Described computing unit according to described the second speed of download and described data to be downloaded not underCarry the continuation download time of partly recalculating described need;
Described judging unit judges whether described continuation download time is less than Preset Time;
Described download unit is in the time that described continuation download time is less than Preset Time, under described continuationWhether the time of carrying is less than Preset Time
Preferably, described the first speed of download and the second speed of download are the current network of living in of terminalConnective best current speed of download corresponding to network environment in environment.
According to technique scheme, at least can realize:
1, hour download this data to be downloaded by the download time in data to be downloaded, canTo avoid downloading data to be downloaded for a long time, and terminal long-play is downloaded, leadCause memory usage and remain for a long time higher, and then cause terminal operating slow;
2, by buffer memory downloading task, can be in this downloading task of follow-up continuation. Under buffer memoryWhen the task of carrying, the downloading task that can generate information prompting user data to be downloaded is slowDeposit, thereby avoid user's long wait to download data to be downloaded, and then improve user and experience;
3, after continuing the downloading task of buffer memory data to be downloaded, can shorten Sampling networkThe cycle of the first speed of download of environment, and bring up under the treating that is enough to make in the first speed of downloadCarry data and in Preset Time, download complete in the situation that and download, to determine quickly energyEnough network environments that meets default download time, thus complete as early as possible treat downloading data underCarry, to avoid user cannot use for a long time application program corresponding to data to be downloaded.
Brief description of the drawings
Can more clearly understand the features and advantages of the present invention by reference to accompanying drawing, accompanying drawing is to showMeaning property and should not be construed as the present invention is carried out to any restriction, in the accompanying drawings:
Fig. 1 shows the exemplary flow of data download method according to an embodiment of the inventionFigure;
The data that Fig. 2 shows after buffer memory downloading task are according to an embodiment of the invention downloadedSchematic flow diagram;
Fig. 3 shows the data that continue according to an embodiment of the invention after buffer memory downloading taskDownload schematic flow diagram;
Fig. 4 shows the exemplary flow of data downloading system according to an embodiment of the inventionFigure.
Detailed description of the invention
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the accompanying drawingsGo out, wherein same or similar label represents same or similar element or has phase from start to finishWith or the element of similar functions. Exemplary below by the embodiment being described with reference to the drawings,Only for explaining the present invention, and can not be interpreted as limitation of the present invention.
Unless those skilled in the art of the present technique are appreciated that specially statement, odd number used hereinForm " one ", " one ", " described " and " being somebody's turn to do " also can comprise plural form. Should further manageSeparate, the wording using in description of the present invention " comprises " and refers to and have described feature, wholeNumber, step, operation, element and/or assembly, but do not get rid of exist or add one orMultiple other features, integer, step, operation, element, assembly and/or their group. ShouldThis understanding, when we claim element to be " connected " or " coupling " when another element, it can be directBe connected or coupled to other elements, or also can have intermediary element. In addition use here," connection " or " coupling " can comprise wireless connections or wireless coupling. Wording used herein"and/or" comprises that one or more whole or arbitrary unit of listing item that are associated are with wholeCombination.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, used herein allTerm (comprising technical term and scientific terminology), have with the present invention under common in fieldTechnical staff's the identical meaning of general understanding. Should also be understood that such as in general dictionaryThose terms of definition, should be understood to have with the context of prior art in meaning oneThe meaning causing, unless and as here by specific definitions, otherwise can be by idealized or mistakeExplain in formal implication.
Those skilled in the art of the present technique are appreciated that " terminal " that used here, " terminal is establishedStandby " both comprised the equipment of wireless signal receiver, it only possesses the wireless signal without emissivitiesThe equipment of receiver, comprises again the equipment that receives and launch hardware, and it has can be at two-wayOn letter link, carry out the reception of two-way communication and the equipment of transmitting hardware. This equipment can wrapDraw together: honeycomb or other communication equipments, it has single line display or multi-line display or does not haveThere are honeycomb or other communication equipments of multi-line display; PCS (PersonalCommunicationsService, PCS Personal Communications System), it can combine voice, data placeReason, fax and/or its communication ability; PDA (PersonalDigitalAssistant, individualDigital assistants), its can comprise radio frequency receiver, pager, the Internet/intranet access,Network environment browser, notepad, calendar and/or GPS (GlobalPositioningSystem,Global positioning system) receiver; Conventional on knee and/or palmtop computer or other equipment,It has and/or comprises the on knee and/or palmtop computer of the routine of radio frequency receiver or otherEquipment. Here " terminal ", " terminal device " that used can be portable, can transport, pacifyBe contained in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or configureFor at local runtime, and/or with distribution form, operate in any other of the earth and/or spacePosition operation. Here " terminal ", " terminal device " that used can also be communication terminal, onNetwork termination, music/video playback terminal can be for example PDA, MID (MobileInternetDevice, mobile internet device) and/or there is the mobile phone of music/video playing function,Also can be the equipment such as intelligent television, Set Top Box.
Those skilled in the art of the present technique are appreciated that the server, the high in the clouds, far away that used hereThe concepts such as end network environment device, have effects equivalent, and it includes but not limited to computer, netNetwork environment main frame, single network environment server, multiple network environment server set or multiple clothesThe cloud that business device forms. At this, a large amount of by based on cloud computing (CloudComputing) of cloudComputer or network environment server form, and wherein, cloud computing is the one of Distributed Calculation,The super virtual machine being formed by the loosely-coupled computer collection of a group. Reality of the present inventionExecute in example, can be by appointing between far-end network environmental unit, terminal device and WNS serverWhat communication mode is realized communication, includes but not limited to, based on 3GPP, LTE, WIMAXMobile communication, computer network environment communication based on TCP/IP, udp protocol and based on indigo plantThe low coverage wireless transmission method of tooth, infrared transmission standard.
It will be appreciated by those skilled in the art that the present invention's alleged " application ", " application program ",The concept of " application software " and similar statement is that those skilled in the art are known identical generalRead, refer to by the electronics that is suitable for of the instruction of series of computation machine and the organic structure of related data resource and transportThe computer software of row. Unless specify, this name itself be not subject to programming language kind,Rank, is not limited by its operating system or the platform of relying operation yet. In the nature of things, thisGenus is not limited by any type of terminal yet.
As shown in Figure 1, data download method according to an embodiment of the invention, comprising:
S1, data to be downloaded in sense terminals (installation kit of for example application program, or installedRenewal bag, the patch etc. of application program, except data to be downloaded, the present invention is also applicable to treatUploading data) data volume and the first speed of download of terminal network environment of living in;
S2, while calculating according to the first speed of download and data volume the download that data to be downloaded needBetween;
S3, judges whether download time is less than Preset Time (for example 1 minute);
S4, if so, downloads (for example, from server) data to be downloaded.
The present embodiment hour is downloaded this number to be downloaded by the download time in data to be downloadedAccording to, can avoid downloading data to be downloaded for a long time, and make terminal long-play download journeyOrder, causes memory usage to remain for a long time higher, and then causes terminal operating slow.
It should be noted that, above-mentioned Preset Time can be that user arranges, and can be also basisThe data volume of data to be downloaded and determining, for example, when large (being greater than 30M), default in data volumeTime large (for example 5 minutes), for example, when data volume less (being less than 500KB), defaultTime less (for example 30 seconds), so that Preset Time more meets different data to be downloaded.
As shown in Figure 1, preferably, described method also comprises:
S5, if download time be more than or equal to Preset Time, the download of buffer memory data to be downloadedTask.
By buffer memory downloading task, can be in this downloading task of follow-up continuation. Download and appoint at buffer memoryWhen business, can generate the downloading task buffer memory of information prompting user data to be downloaded, fromAnd avoid user's long wait to download data to be downloaded, and then improve user and experience.
As shown in Figure 2, preferably, after the downloading task of buffer memory data to be downloaded, described inMethod also comprises:
S6, after the first Preset Time section, whether the first speed of download of Sampling network environment is carriedHigh;
S7, if improve, recalculates and treats according to the first speed of download and data volume after improvingThe download time that downloading data is required;
S8, whether the download time that judgement is recalculated is less than Preset Time;
S9, if so, downloads data to be downloaded.
After the downloading task of buffer memory data to be downloaded, can according to user's control continue intoRow is downloaded, also can be according to period 1 (duration equals the first Preset Time section) Sampling networkThe first speed of download of environment, and bring up to the data to be downloaded that are enough to make in the first speed of downloadIn Preset Time, download complete in the situation that and download.
As shown in Figure 2, preferably, described method also comprises:
S10, if the download time of recalculating is more than or equal to Preset Time, continues buffer memory and treatsThe downloading task of downloading data.
As shown in Figure 3, preferably, after continuing the downloading task of buffer memory data to be downloaded,Described method also comprises:
S11, after the second Preset Time section, whether the first speed of download of Sampling network environment is carriedHigh;
S12, if improve, recalculates according to the first speed of download and data volume after improvingThe download time that data to be downloaded are required;
S13, whether the download time that judgement is recalculated is less than Preset Time;
S14, if so, downloads data to be downloaded.
Preferably, the first Preset Time section is compared with the second Preset Time segment length.
After continuing the downloading task of buffer memory data to be downloaded, can shorten Sampling network environmentCycle of the first speed of download, for example, according to second round, (duration equaled the second Preset TimeSection) the first speed of download of Sampling network environment, and bring up to and be enough to make in the first speed of downloadData to be downloaded in Preset Time, download complete in the situation that and download so that quicklyDetermine the network environment that can meet default download time, treat downloading data thereby complete as early as possibleDownload, to avoid user cannot use for a long time application program corresponding to data to be downloaded.
It should be noted that, the download time recalculating shown in Fig. 3 is not less than defaultIn the situation of time, return after step S10, in the time again carrying out step S11, continue to shorten and detectIn the cycle of the first speed of download of network environment, also can (be less than in the 3rd Preset Time sectionThe second Preset Time section) after the first speed of download of Sampling network environment whether improve.
Preferably, judging download time also comprises before whether being less than Preset Time:
Judge whether network environment is WiFi network environment;
If so, carry out and judge whether download time is less than the step of Preset Time.
The present embodiment can, in the time that network environment is WiFi network environment, directly be downloaded number to be downloadedAccording to, because downloading data in WiFi network environment is generally free, therefore can reduce useThe use of family flow.
Preferably, described method also comprises:
If network environment is not WiFi network environment, inquiry terminal is for the residue of network environmentData traffic;
Judge whether remaining data flow is greater than the data volume of data to be downloaded;
If so, carry out and judge whether download time is less than the step of Preset Time.
The network environment that terminal pins is right can be 2G, 3G or 4G network, when remaining data flowBe while being greater than the data volume of data to be downloaded, can complete to be downloaded by usage data flowThe download of data.
Preferably, if the downloading process of data to be downloaded is interrupted, method also comprises:
The downloading task of data to be downloaded is added into the download list of mourning in silence;
In the time that downloading process is recovered, to mourn in silence, the mode of downloading continues to download data to be downloaded.
Mourning in silence in the present embodiment downloaded and can be included in backstage download, can further includeAfter completing, download installs on backstage. By continuing in the mode of downloading of mourning in silence in the time that downloading process is recoveredContinuous download data to be downloaded, can ensure that data to be downloaded can not exist by interference user in downloading processThe operation on foreground.
Preferably, in the time that downloading process is recovered, to mourn in silence, the mode of downloading continues to download to be downloadedData specifically comprise:
Determine data to be downloaded do not download part and current terminal network environment of living in secondSpeed of download;
Recalculate according to the part of not downloading of the second speed of download and data to be downloaded continuing of needingContinuous download time;
Judge whether continue download time is less than Preset Time;
If so, download the not download part of data to be downloaded.
Downloading process in the present embodiment can be recovered by the instruction that receives user, also canAutomatically to recover in the time automatically applicable network environment being detected. Due to downloading process interrupt before withThe speed of download of the network environment after downloading process is recovered may be different, by not download section of basisDivide with the second speed of current network environment and recalculate required continuation download time, Ke YizhunReally determine the time that downloading data is not downloaded, and then under judging whether exactly to carry outCarry.
Preferably, the first speed of download and the second speed of download are the current network environment of living in of terminalMiddle connective best current speed of download corresponding to network environment. For example, for WiFi network ringsFirst speed of download in border can be the speed of download in the time that WiFi signal strength signal intensity is the strongest.
As shown in Figure 4, the invention allows for a kind of data downloading system 10, comprising:
Detecting unit 11, for detection of data volume and the terminal net of living in of data to be downloaded in terminalThe first speed of download of network environment;
Computing unit 12, for calculating data need to be downloaded according to the first speed of download and data volumeThe download time of wanting;
Judging unit 13, for judging whether download time is less than Preset Time;
Download unit 14, in the time that download time is less than Preset Time, downloads data to be downloaded.
Preferably, said system also comprises:
Buffer unit 15, in the time that download time is more than or equal to Preset Time, buffer memory number to be downloadedAccording to downloading task.
Preferably, detecting unit after the downloading task of buffer unit 15 buffer memory data to be downloaded,After the first Preset Time section, whether the first speed of download of Sampling network environment improves;
Computing unit 12 is in the time that the first speed of download improves, according to the first speed of download after improvingRecalculate required download time of data to be downloaded with data volume;
Judging unit 13 is also for judging whether the download time of recalculating is less than Preset Time;
Download unit 14, in the time that the download time of recalculating is less than Preset Time, is downloaded to be downloadedData.
Preferably, buffer unit 15 is more than or equal to Preset Time in the download time of recalculatingTime, the downloading task of continuation buffer memory data to be downloaded.
Preferably, the download that detecting unit 11 continues buffer memory data to be downloaded at buffer unit 15 is appointedAfter business, after the second Preset Time section, whether the first speed of download of Sampling network environment improves;
Computing unit 12 is in the time that the first speed of download improves, according to the first speed of download after improvingRecalculate required download time of data to be downloaded with data volume;
Judging unit 13 is also for judging whether the download time of recalculating is less than Preset Time;
Download unit 14, in the time that the download time of recalculating is less than Preset Time, is downloaded to be downloadedData.
Preferably, the first Preset Time section is compared with the second Preset Time segment length.
Preferably, judging unit 13 is also for judging whether network environment is WiFi network environment,If so, judge whether download time is less than Preset Time.
Preferably, said system 10 also comprises:
Query unit 16, in the time that network environment is not WiFi network environment, the residue of inquiry terminalData traffic;
Wherein, judging unit 13 is also for judging whether remaining data flow is greater than data volume, ifBe greater than data volume, judge whether download time is less than Preset Time.
Preferably, said system 10 also comprises:
List adding device 17, in the time that the downloading process of data to be downloaded is interrupted, by number to be downloadedAccording to downloading task be added into the download list of mourning in silence;
Wherein, when download unit 14 recovers in downloading process, under the mode of downloading to mourn in silence continuesCarry data to be downloaded.
Preferably, in the time that downloading process is recovered, detecting unit 11 determine data to be downloaded not underCarry the second speed of download of part and current terminal network environment of living in;
Computing unit 12 according to the not download part of the second speed of download and data to be downloaded againCalculate the continuation download time needing;
Judging unit 13 judges whether continue download time is less than Preset Time;
Whether download unit 14, in the time that continuation download time is less than Preset Time, continues download timeBe less than Preset Time
Preferably, the first speed of download and the second speed of download are the current network environment of living in of terminalMiddle connective best current speed of download corresponding to network environment.
Embodiments of the invention disclose:
A1, a kind of data download method, comprising:
In sense terminals first time of the data volume of data to be downloaded and terminal network environment of living inThe speed of carrying;
According under described the first speed of download and the described data needs to be downloaded of data volume calculatingThe time of carrying;
Judge whether described download time is less than Preset Time;
If so, download described data to be downloaded.
A2, according to the data download method described in A1, described method also comprises:
If described download time is more than or equal to Preset Time, data to be downloaded described in buffer memoryDownloading task.
A3, according to the data download method described in 2A, under data to be downloaded described in buffer memoryAfter the task of carrying, described method also comprises:
After the first Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
A4, according to the data download method described in A3, described method also comprises:
If the download time of recalculating is more than or equal to Preset Time, continue to treat down described in buffer memoryCarry the downloading task of data.
A5, according to the data download method described in A4, continuing data to be downloaded described in buffer memoryDownloading task after, described method also comprises:
After the second Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
A6, according to the data download method described in A5, described the first Preset Time section described inThe second Preset Time segment length.
A7, according to the data download method described in A1, judging that whether little described download time isBefore Preset Time, also comprise:
Judge whether described network environment is WiFi network environment;
If so, carry out and judge whether described download time is less than the step of Preset Time.
A8, according to the data download method described in A7, described method also comprises:
If described network environment is not WiFi network environment, inquire about described terminal pins to described netThe remaining data flow of network environment;
Judge whether described remaining data flow is greater than described data volume;
If so, carry out and judge whether described download time is less than the step of Preset Time.
A9, according to the data download method described in A1, if the download of described data to be downloadedJourney is interrupted, and described method also comprises:
The downloading task of described data to be downloaded is added into the download list of mourning in silence;
In the time that described downloading process is recovered, to mourn in silence, the mode of downloading continues to download described to be downloadedData.
A10, according to the data download method described in A9, in the time that described downloading process is recovered, withThe mode of downloading of mourning in silence continues to download described data to be downloaded and specifically comprises:
That determines described data to be downloaded does not download part and current terminal network environment of living inThe second speed of download;
Again count according to the not download part of described the second speed of download and described data to be downloadedCalculate the continuation download time of described need;
Judge whether described continuation download time is less than Preset Time;
If so, download the not download part of described data to be downloaded.
A11, according to the data download method described in A10, described the first speed of download and secondSpeed of download is that in the current network environment of living in of terminal, connective best network environment is correspondingCurrent speed of download.
B1, a kind of data downloading system, comprising:
Detecting unit, for detection of data volume and the terminal network of living in of data to be downloaded in terminalThe first speed of download of environment;
Computing unit, for calculating described to be downloaded according to described the first speed of download and data volumeThe download time that data need;
Judging unit, for judging whether described download time is less than Preset Time;
Download unit, in the time that described download time is less than Preset Time, downloads described number to be downloadedAccording to.
B2, according to the data downloading system described in B1, also comprise:
Buffer unit, in the time that described download time is more than or equal to Preset Time, treats described in buffer memoryThe downloading task of downloading data.
B3, according to the data downloading system described in B2, described detecting unit is at described buffer memory listDescribed in unit's buffer memory after the downloading task of data to be downloaded, Sampling network after the first Preset Time sectionWhether the first speed of download of environment improves;
Described computing unit is in the time that described the first speed of download improves, according to first time after improvingThe speed of carrying and data volume recalculate required download time of described data to be downloaded;
Described judging unit is also for judging whether the download time of recalculating is less than when defaultBetween;
Described download unit is in the time that the download time of recalculating is less than Preset Time, described in downloadData to be downloaded.
B4, according to the data downloading system described in B3, described buffer unit is recalculatingDownload time is while being more than or equal to Preset Time, continues the download of data to be downloaded described in buffer memory and appointsBusiness.
B5, according to the data downloading system described in B4, described detecting unit is at described buffer memory listDescribed in unit's continuation buffer memory, after the downloading task of data to be downloaded, after the second Preset Time section, detectWhether the first speed of download of network environment improves;
Described computing unit, in the time that the first speed of download improves, is downloaded speed according to first after improvingDegree and data volume recalculate required download time of described data to be downloaded;
Described judging unit is also for judging whether the download time of recalculating is less than when defaultBetween;
Described download unit is in the time that the download time of recalculating is less than Preset Time, described in downloadData to be downloaded.
B6, according to the data downloading system described in B5, described the first Preset Time section described inThe second Preset Time segment length.
B7, according to the data downloading system described in B1, described judging unit is also for judgingWhether be WiFi network environment, if so, judge that whether little described download time is if stating network environmentIn Preset Time.
B8, according to the data downloading system described in B7, also comprise:
Query unit, in the time that described network environment is not WiFi network environment, inquires about described terminalRemaining data flow;
Wherein, described judging unit is also for described in judging whether described remaining data flow be greater thanData volume, if be greater than described data volume, judges whether described download time is less than Preset Time.
B9, data downloading system according to power described in B1, also comprise:
List adding device, in the time that the downloading process of described data to be downloaded is interrupted, treats described in inciting somebody to actionThe downloading task of downloading data is added into the download list of mourning in silence;
Wherein, when described download unit recovers in described downloading process, in the mode of mourning in silence and downloadingContinue to download described data to be downloaded.
B10, according to the data downloading system described in B9, in the time that described downloading process is recovered, instituteState detecting unit and determine not download part and the current terminal network of living in of described data to be downloadedThe second speed of download of environment;
Described computing unit according to described the second speed of download and described data to be downloaded not underCarry the continuation download time of partly recalculating described need;
Described judging unit judges whether described continuation download time is less than Preset Time;
Described download unit is in the time that described continuation download time is less than Preset Time, under described continuationWhether the time of carrying is less than Preset Time
B11, according to the data downloading system described in B10, described the first speed of download and secondSpeed of download is that in the current network environment of living in of terminal, connective best network environment is correspondingCurrent speed of download.
In sum, by technical scheme of the present invention, download time of data to be downloadedHour download this data to be downloaded, can avoid downloading data to be downloaded for a long time, and make endEnd long-play downloads, and causes memory usage to remain for a long time higher, and then causesTerminal operating is slow.
It should be noted that the algorithm that provides at this and formula not with any certain computer, virtual systemSystem or miscellaneous equipment are intrinsic relevant. Various general-purpose systems also can with the example one based at thisRise and use. According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language. It should be understood that can utilize variousProgramming language is realized content of the present invention described here, and above language-specific is doneDescription is in order to disclose preferred forms of the present invention.
In the description that provided herein, a large amount of details are described. But, Neng GouliSeparate, embodiments of the invention can be put into practice in the situation that there is no these details. At someIn example, be not shown specifically known method, structure and technology, so that not fuzzy to this theoryThe understanding of bright book.
Similarly, should be appreciated that in order to simplify the present invention and to help to understand various aspects of the present inventionIn one or more, in the above in the description of exemplary embodiment of the present invention, the present inventionEach feature be sometimes grouped together into single embodiment, figure or in its description.But, the method and apparatus of the disclosure should be construed to the following intention of reflection: requirementThe present invention of protection requires more more special than the feature of clearly recording in each claimLevy. Or rather, as claims reflect, inventive aspect is to be less than open aboveAll features of single embodiment. Therefore claims of, following detailed description of the invention byThis is incorporated to this detailed description of the invention clearly, and wherein each claim itself is as the present inventionIndependent embodiment.
Those skilled in the art are appreciated that can be to the module in the equipment in embodimentAdaptively change and they are arranged on to different from this embodiment one or manyIn individual equipment. Module in embodiment or unit or assembly can be combined into a module or listUnit or assembly, and can put them in addition multiple submodules or subelement or sub-component.At least some in such feature and/or process or unit are mutually repelling,Can adopt any combination to this description (comprising claim, summary and the accompanying drawing followed)In disclosed all features and so disclosed any method or equipment all processes orUnit combines. Unless clearly statement in addition, this description (comprise the claim followed,Summary and accompanying drawing) in disclosed each feature can be by providing identical, be equal to or similar objectAlternative features replaces.
In addition, although those skilled in the art will appreciate that embodiment more described hereinComprise some feature instead of further feature included in other embodiment, but different enforcementThe combination of the feature of example means within scope of the present invention and forms different enforcementExample.
All parts embodiment of the present invention can realize with hardware, or with at one or manyThe software module of moving on individual processor realizes, or realizes with their combination. This areaTechnical staff should be appreciated that and can use in practice microprocessor or digital signal processor(DSP) realize according in the web portal security checkout equipment of the embodiment of the present invention some orAll some or all functions of parts. The present invention can also be embodied as for carrying out institute hereEquipment or device program (for example, the computer journey of part or all of the method for describingOrder and computer program). Realizing program of the present invention and can be stored in computer like thisOn computer-readable recording medium, or can there is the form of one or more signal. Such signal canTo download and to obtain from internet website, or provide on carrier signal, or with any itsHe provides form.
The above is only part embodiment of the present invention, it should be pointed out that for this technology and leadsThe those of ordinary skill in territory, under the premise without departing from the principles of the invention, can also makeSome improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a data download method, is characterized in that, comprising:
In sense terminals first time of the data volume of data to be downloaded and terminal network environment of living inThe speed of carrying;
According under described the first speed of download and the described data needs to be downloaded of data volume calculatingThe time of carrying;
Judge whether described download time is less than Preset Time;
If so, download described data to be downloaded.
2. data download method according to claim 1, is characterized in that, described methodAlso comprise:
If described download time is more than or equal to Preset Time, data to be downloaded described in buffer memoryDownloading task.
3. data download method according to claim 2, is characterized in that, in buffer memory instituteAfter stating the downloading task of data to be downloaded, described method also comprises:
After the first Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
4. data download method according to claim 3, is characterized in that, described methodAlso comprise:
If the download time of recalculating is more than or equal to Preset Time, continue to treat down described in buffer memoryCarry the downloading task of data.
5. data download method according to claim 4, is characterized in that, slow in continuationAfter depositing the downloading task of described data to be downloaded, described method also comprises:
After the second Preset Time section, whether the first speed of download of Sampling network environment improves;
If improve, treat described in recalculating according to the first speed of download after improving and data volumeThe download time that downloading data is required;
Whether the download time that judgement is recalculated is less than Preset Time;
If so, download described data to be downloaded.
6. data download method according to claim 5, is characterized in that, described firstMore described the second Preset Time segment length of Preset Time section.
7. data download method according to claim 1, is characterized in that, judgingWhether state download time is less than before Preset Time and also comprises:
Judge whether described network environment is WiFi network environment;
If so, carry out and judge whether described download time is less than the step of Preset Time.
8. data download method according to claim 7, is characterized in that, described methodAlso comprise:
If described network environment is not WiFi network environment, inquire about described terminal pins to described netThe remaining data flow of network environment;
Judge whether described remaining data flow is greater than described data volume;
If so, carry out and judge whether described download time is less than the step of Preset Time.
9. data download method according to claim 1, is characterized in that, if described in treatThe downloading process of downloading data is interrupted, and described method also comprises:
The downloading task of described data to be downloaded is added into the download list of mourning in silence;
In the time that described downloading process is recovered, to mourn in silence, the mode of downloading continues to download described to be downloadedData.
10. data download method according to claim 9, is characterized in that, describedWhen downloading process is recovered, the mode of downloading to mourn in silence continues to download described data to be downloaded and specifically wrapsDraw together:
That determines described data to be downloaded does not download part and current terminal network environment of living inThe second speed of download;
Again count according to the not download part of described the second speed of download and described data to be downloadedCalculate the continuation download time of described need;
Judge whether described continuation download time is less than Preset Time;
If so, download the not download part of described data to be downloaded.
CN201510997676.7A 2015-12-25 2015-12-25 Data download system and data download method Pending CN105610935A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510997676.7A CN105610935A (en) 2015-12-25 2015-12-25 Data download system and data download method
PCT/CN2016/104575 WO2017107684A1 (en) 2015-12-25 2016-11-04 Data download system and data download method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510997676.7A CN105610935A (en) 2015-12-25 2015-12-25 Data download system and data download method

Publications (1)

Publication Number Publication Date
CN105610935A true CN105610935A (en) 2016-05-25

Family

ID=55990469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510997676.7A Pending CN105610935A (en) 2015-12-25 2015-12-25 Data download system and data download method

Country Status (2)

Country Link
CN (1) CN105610935A (en)
WO (1) WO2017107684A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105933855A (en) * 2016-06-30 2016-09-07 武汉科技大学 Internet of vehicles data download methods based on user satisfaction
WO2017107684A1 (en) * 2015-12-25 2017-06-29 北京奇虎科技有限公司 Data download system and data download method
CN106911765A (en) * 2017-01-23 2017-06-30 北京思特奇信息技术股份有限公司 A kind of report file method for down loading and device
CN109041047A (en) * 2018-08-07 2018-12-18 环球天成科技(北京)有限公司 Method for down loading, terminal and the storage medium of terminal data
CN110401691A (en) * 2019-05-09 2019-11-01 腾讯科技(深圳)有限公司 A kind of resource downloading control method, device and terminal
CN115174557A (en) * 2022-07-01 2022-10-11 济南浪潮数据技术有限公司 Log downloading scheduling method, device and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314480A (en) * 2022-07-06 2022-11-08 深圳拓邦股份有限公司 Method and device for remotely upgrading terminal on line

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954296A (en) * 2004-03-16 2007-04-25 松下电器产业株式会社 Terminal device for updating computer program and update method
CN101951404A (en) * 2010-09-20 2011-01-19 优视科技有限公司 Downloading method and device for mobile communication equipment terminal
US20140280447A1 (en) * 2011-10-24 2014-09-18 Samsung Electronics Co., Ltd. Method and apparatus for providing cloud service
US20150120865A1 (en) * 2012-06-14 2015-04-30 Airplug Inc. Method for controlling content data receiving through a plurality of connected wireless networks and an apparatus for said method
CN104753826A (en) * 2015-03-31 2015-07-01 天脉聚源(北京)教育科技有限公司 Bandwidth allocation method and device
CN104796351A (en) * 2015-03-16 2015-07-22 广东欧珀移动通信有限公司 Network data downloading method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238204A (en) * 2010-04-23 2011-11-09 腾讯科技(深圳)有限公司 Network data acquisition method and system
CN104602227A (en) * 2015-02-02 2015-05-06 携程计算机技术(上海)有限公司 Network-adaptive mobile application data loading method
CN105159781B (en) * 2015-08-25 2018-11-27 广东欧珀移动通信有限公司 Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed
CN105610935A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Data download system and data download method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1954296A (en) * 2004-03-16 2007-04-25 松下电器产业株式会社 Terminal device for updating computer program and update method
CN101951404A (en) * 2010-09-20 2011-01-19 优视科技有限公司 Downloading method and device for mobile communication equipment terminal
US20140280447A1 (en) * 2011-10-24 2014-09-18 Samsung Electronics Co., Ltd. Method and apparatus for providing cloud service
US20150120865A1 (en) * 2012-06-14 2015-04-30 Airplug Inc. Method for controlling content data receiving through a plurality of connected wireless networks and an apparatus for said method
CN104796351A (en) * 2015-03-16 2015-07-22 广东欧珀移动通信有限公司 Network data downloading method and device
CN104753826A (en) * 2015-03-31 2015-07-01 天脉聚源(北京)教育科技有限公司 Bandwidth allocation method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107684A1 (en) * 2015-12-25 2017-06-29 北京奇虎科技有限公司 Data download system and data download method
CN105933855A (en) * 2016-06-30 2016-09-07 武汉科技大学 Internet of vehicles data download methods based on user satisfaction
CN105933855B (en) * 2016-06-30 2019-03-15 武汉科技大学 Car networking data download method based on user satisfaction
CN106911765A (en) * 2017-01-23 2017-06-30 北京思特奇信息技术股份有限公司 A kind of report file method for down loading and device
CN109041047A (en) * 2018-08-07 2018-12-18 环球天成科技(北京)有限公司 Method for down loading, terminal and the storage medium of terminal data
CN110401691A (en) * 2019-05-09 2019-11-01 腾讯科技(深圳)有限公司 A kind of resource downloading control method, device and terminal
CN115174557A (en) * 2022-07-01 2022-10-11 济南浪潮数据技术有限公司 Log downloading scheduling method, device and medium
CN115174557B (en) * 2022-07-01 2024-03-01 济南浪潮数据技术有限公司 Log downloading scheduling method, device and medium

Also Published As

Publication number Publication date
WO2017107684A1 (en) 2017-06-29

Similar Documents

Publication Publication Date Title
CN105610935A (en) Data download system and data download method
CN105550003A (en) Application updating system and method
CN110519401A (en) Improve method, apparatus, equipment and the storage medium of network Access Success Rate
CN105955787B (en) A kind of plug-in loading method and device for android system
CN102355500B (en) Service push method and device
CN104462879A (en) Root-free running control method and device of application program
CN110489101A (en) Interface analogy method, system, medium and electronic equipment
CN104506644A (en) Method, device and mobile terminal for accessing network data
CN105450772B (en) Exempt from flow method for down loading and device
CN104424241B (en) Web site url processing method based on two dimensional code, apparatus and system
CN104052769B (en) It is a kind of to mobile terminal apply comprising resource updates methods, devices and systems
CN104376268A (en) Application hiding control method and device
CN106648798A (en) Method for dynamically upgrading cross-version OTA
US10270860B2 (en) Increased interoperability between web-based applications and hardware functions
CN104572207A (en) Intelligent accessories based APP expanded application method and intelligent accessories
CN104834534A (en) Application program function extension method, device and system
CA2885725A1 (en) System and method for managing a power mode of a designated electronic device
WO2014026604A1 (en) Method and device for intelligent control of portable electronic devices
CN106201484A (en) The collocation method of application program, device and terminal unit
CN107704499A (en) A kind of page jump control method and device of application program
CN105871695A (en) Emoji sending method and device
CN110008694A (en) A kind of application security control method, device, equipment and readable storage medium storing program for executing
CN106878562A (en) Control the method and device of wifi functional switches
CN104426960A (en) Paid application trying method and device thereof
CN102664952A (en) Method for managing and monitoring embedded equipment cluster

Legal Events

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

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication