CN104796351A - Network data downloading method and device - Google Patents

Network data downloading method and device Download PDF

Info

Publication number
CN104796351A
CN104796351A CN201510114324.2A CN201510114324A CN104796351A CN 104796351 A CN104796351 A CN 104796351A CN 201510114324 A CN201510114324 A CN 201510114324A CN 104796351 A CN104796351 A CN 104796351A
Authority
CN
China
Prior art keywords
download
download request
equal
mobile terminal
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510114324.2A
Other languages
Chinese (zh)
Other versions
CN104796351B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711135412.6A priority Critical patent/CN107786463B/en
Priority to CN201510114324.2A priority patent/CN104796351B/en
Publication of CN104796351A publication Critical patent/CN104796351A/en
Application granted granted Critical
Publication of CN104796351B publication Critical patent/CN104796351B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/29Flow control; Congestion control using a combination of thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses a network downloading method. The method includes: when a mobile terminal receives N downloading requests, acquiring the current downloading speed of the mobile terminal, wherein N is an integer larger than 1; judging whether the downloading speed of the mobile terminal is smaller than or equal to a preset threshold or not; if so, downloading the contents requested by W downloading requests in the N downloading request in priority, wherein the content requested by optional one downloading request of the W downloading request is smaller or equal to the content requested by optional one downloading request in the residual N downloading requests after the W downloading requests are removed, and W is an integer larger than or equal to 1. The embodiment of the invention further provides a network data downloading device. By the network downloading method and device, downloading waiting time of users can be shortened, and user experience is increased.

Description

A kind of method for down loading of network data and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method for down loading and device of network data.
Background technology
At present, when user selects to download multiple network data (such as application program, film etc.) by network simultaneously, be usually all Parallel download or according to select download sequencing download.
When network be not good and download network data capacity larger, Parallel download or the sequencing download of network data downloaded according to selection, time of having downloaded may all can be caused longer, and the time that user is waited for is longer, thus affects Consumer's Experience.
Summary of the invention
The embodiment of the present invention provides a kind of method for down loading and device of network data, for when download speed of mobile terminal is less than predetermined threshold value, preferential download ask the minimum downloading contents of downloading contents amount of capacity downloaded, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
First aspect present invention provides a kind of method for down loading of network data, comprising:
When mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer;
Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value;
If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
In the first possible implementation of embodiment of the present invention first aspect, in the described N number of download request of described preferential download W download request ask download downloading contents, comprising:
Obtain described N number of download request ask the amount of capacity of downloading contents downloaded;
According to the described N number of download request got ask the amount of capacity of downloading contents downloaded to sort according to order from small to large;
Download sequence after front W download request ask download downloading contents.
In conjunction with embodiment of the present invention first aspect, in the implementation that the second of embodiment of the present invention first aspect is possible, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W1 download request in described N number of download request ask the downloading contents of download;
Wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
In conjunction with embodiment of the present invention first aspect, in the third possible implementation of embodiment of the present invention first aspect, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W2 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
In conjunction with embodiment of the present invention first aspect, in the 4th kind of possible implementation of embodiment of the present invention first aspect, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W3 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W3 be more than or equal to 1 integer.
Second aspect present invention provides a kind of download apparatus of network data, comprising:
First acquiring unit, for when mobile terminal receives N number of download request, obtains the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer;
Judging unit, for judging whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value;
First download unit, for judging that at described judging unit the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
In the first possible implementation of embodiment of the present invention second aspect, described first download unit comprises:
Second acquisition unit, for obtain described N number of download request ask the amount of capacity of downloading contents downloaded;
Sequencing unit, for described N number of download request of getting according to described second acquisition unit ask the amount of capacity of the downloading contents downloaded to sort according to order from small to large;
Second download unit, for download described sequencing unit sequence after before W download request ask download downloading contents.
In conjunction with embodiment of the present invention second aspect, in the implementation that the second of embodiment of the present invention second aspect is possible, described device also comprises:
3rd download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W1 download request in described N number of download request ask the downloading contents of download;
Wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
In conjunction with embodiment of the present invention second aspect, in the third possible implementation of embodiment of the present invention second aspect, described device also comprises:
Described device also comprises:
4th download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W2 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
In conjunction with embodiment of the present invention second aspect, in the 4th kind of possible implementation of embodiment of the present invention second aspect, described device also comprises:
5th download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W3 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W3 be more than or equal to 1 integer.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer; Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value; If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download; Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
Term " first ", " second ", " the 3rd " and " the 4th " etc. in specification of the present invention and claims and described accompanying drawing are for distinguishing different object, instead of for describing particular order.In addition, term " comprises " and " having " and their any distortion, and intention is to cover not exclusive comprising.Such as contain the process of series of steps or unit, method, system, product or equipment and be not defined in the step or unit listed, but also comprise the step or unit do not listed alternatively, or also comprise alternatively for other intrinsic step of these processes, method, product or equipment or unit.
An embodiment of the method for down loading of network data of the present invention.Wherein, a kind of method for down loading of network data: when mobile terminal receives N number of download request, obtains the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer; Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value; If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download; Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
First embodiment flow chart of the method for down loading of a kind of network data first provided for the embodiment of the present invention see Fig. 1, Fig. 1.Wherein, as shown in Figure 1, a kind of method for down loading of network data that one embodiment of the present of invention provide can comprise step S101 ~ S103:
S101, when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current.
Wherein, N be greater than 1 integer.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palmtop PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can the terminal equipment of installation and deployment instant messaging applications client, the embodiment of the present invention is not construed as limiting.
S102, judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value.
Wherein, described predetermined threshold value such as can equal 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values etc.
If S103 judges described mobile terminal, current speed of download is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download.
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
Wherein, in the described N number of download request of described preferential download W download request ask the downloading contents downloaded can be such as first obtain the amount of capacity of downloading contents that described N number of download request institute asks download, then ask the amount of capacity of downloading contents downloaded to sort according to order from small to large according to the described N number of download request institute got, and then front W download request after downloading sequence according to sorted order ask the downloading contents of download.
In the embodiment of the present invention, when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer; Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value; If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download; Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
Optionally, after judging whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, if judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, in the described N number of download request of preferential download W1 download request ask download downloading contents, wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
Wherein, in the described N number of download request of preferential download W1 download request ask the downloading contents downloaded can be such as first obtain the time that described N number of download request asks, the morning and evening order of the time of then asking according to described N number of download request of getting sorts, and then front W1 download request after downloading sequence according to sorted order ask the downloading contents of download.
Optionally, after judging whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, if judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, in the described N number of download request of preferential download W2 download request ask download downloading contents, wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
Wherein, in the described N number of download request of preferential download W2 download request ask the downloading contents downloaded can be such as first obtain the priority of downloading contents that described N number of download request institute asks download, then ask the sequence of priority of the downloading contents downloaded to sort according to the described N number of download request institute got, and then front W2 download request after downloading sequence according to sorted order ask the downloading contents of download.
Optionally, after judging whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, if judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, in the described N number of download request of preferential download W3 download request ask download downloading contents, wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W be more than or equal to 1 integer.
Wherein, in the described N number of download request of preferential download W3 download request ask the downloading contents downloaded can be such as first obtain the scoring of downloading contents that described N number of download request institute asks download, then ask the sequence of scoring of the downloading contents downloaded to sort according to the described N number of download request institute got, and then front W3 download request after downloading sequence according to sorted order ask the downloading contents of download.
Refer to Fig. 2, the second embodiment flow chart of the method for down loading of a kind of network data that Fig. 2 provides for the embodiment of the present invention.Wherein, as shown in Figure 2, a kind of method for down loading of network data that one embodiment of the present of invention provide can comprise step S201 ~ S207:
S201, described mobile terminal receive N number of download request, wherein, N be greater than 1 integer.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palmtop PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can the terminal equipment of installation and deployment instant messaging applications client, the embodiment of the present invention is not construed as limiting.
The speed of download that described in S202, described acquisition for mobile terminal, mobile terminal is current.
S203, described mobile terminal judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value.
If so, then step S204 is performed.
If not, then step S205 is performed.
Wherein, described predetermined threshold value such as can equal 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values etc.
N number of download request described in S204, described acquisition for mobile terminal ask the amount of capacity of downloading contents downloaded.
S205, described mobile terminal preferentially download W1 download request in described N number of download request ask the downloading contents downloaded, wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
S206, described mobile terminal according to the described N number of download request got ask the amount of capacity of downloading contents downloaded to sort according to order from small to large.
S207, described mobile terminal download sequence after front W download request ask download downloading contents.
In the embodiment of the present invention, when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer; Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value; If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download; Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
Refer to Fig. 3, the 3rd embodiment flow chart of the method for down loading of a kind of network data that Fig. 3 provides for the embodiment of the present invention.Wherein, as shown in Figure 3, a kind of method for down loading of network data that one embodiment of the present of invention provide can comprise step S301 ~ S307:
S301, described mobile terminal receive N number of download request, wherein, N be greater than 1 integer.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palmtop PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can the terminal equipment of installation and deployment instant messaging applications client, the embodiment of the present invention is not construed as limiting.
The speed of download that described in S302, described acquisition for mobile terminal, mobile terminal is current.
S303, described mobile terminal judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value.
If so, then step S304 is performed.
If not, then step S305 is performed.
Wherein, described predetermined threshold value such as can equal 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values etc.
N number of download request described in S304, described acquisition for mobile terminal ask the amount of capacity of downloading contents downloaded.
S305, described mobile terminal preferentially download W2 download request in described N number of download request ask the downloading contents downloaded, wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W be more than or equal to 1 integer.
S306, described mobile terminal according to the described N number of download request got ask the amount of capacity of downloading contents downloaded to sort according to order from small to large.
S307, described mobile terminal download sequence after front W download request ask download downloading contents.
In the embodiment of the present invention, when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer; Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value; If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download; Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
Refer to Fig. 4, the structural representation of the download apparatus 400 of a kind of network data that Fig. 4 provides for the embodiment of the present invention.Wherein, the download apparatus of described network data can comprise:
First acquiring unit 401, for when mobile terminal receives N number of download request, obtains the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palmtop PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can the terminal equipment of installation and deployment instant messaging applications client, the embodiment of the present invention is not construed as limiting.
Judging unit 402, for judging whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value.
Wherein, described predetermined threshold value such as can equal 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values etc.
First download unit 403, for judging that at described judging unit the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, in the described N number of download request of preferential download W download request ask download downloading contents, wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
Wherein, described first download unit comprises: second acquisition unit (not shown), for obtain described N number of download request ask the amount of capacity of downloading contents downloaded; Sequencing unit (not shown), for described N number of download request of getting according to described second acquisition unit ask the amount of capacity of the downloading contents downloaded to sort according to order from small to large; Second download unit (not shown), for download described sequencing unit sequence after before W download request ask download downloading contents.
Optionally, after described judging unit 402 judges whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value, described device also comprises: the 3rd download unit (not shown), if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, in the described N number of download request of preferential download W1 download request ask download downloading contents, wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W be more than or equal to 1 integer.
Optionally, after described judging unit 402 judges whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value, described device also comprises: the 4th download unit (not shown), if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, in the described N number of download request of preferential download W2 download request ask download downloading contents, wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W be more than or equal to 1 integer.
Optionally, after described judging unit 402 judges whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value, described device also comprises: the 5th download unit (not shown), if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W3 download request in described N number of download request ask the downloading contents of download; Wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W be more than or equal to 1 integer.
Be understandable that, the function of each functional module of the download apparatus 400 of the network data of the present embodiment can according to the method specific implementation in described embodiment of the method, its specific implementation process with reference to the associated description of described embodiment of the method, can repeat no more herein.
In the embodiment of the present invention, first acquiring unit 401 is when mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer, judging unit 402 judges whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value, at described judging unit, first download unit 403 judges that the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, in the described N number of download request of preferential download W download request ask download downloading contents, wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
Refer to Fig. 5, the structural representation of the download apparatus 500 of a kind of network data that Fig. 5 provides for the embodiment of the present invention, the download apparatus of this network data comprises: at least one input equipment 501; At least one output equipment 502; At least one processor 503, such as CPU; With memory 504, described input equipment 501, output equipment 502, processor 503 are connected by bus 505 with memory 504.
Wherein, described input equipment 501 specifically can be the contact panel of the download apparatus of network data, comprises touch-screen and touch screen, the operational order on sense terminals contact panel.
Described output equipment 502 specifically can be the display screen of the download apparatus of network data, for exporting, showing information.
Described memory 504 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Described memory 504 is for storing batch processing code, and described input equipment 501, output equipment 502 and processor 503, for calling the program code stored in memory 504, perform and operate as follows:
Described processor 503, for when mobile terminal receives N number of download request, obtains the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer;
Described processor 503, for judging whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value;
Described processor 503, if also for judging that the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
Wherein, described mobile terminal can be such as mobile phone, panel computer, notebook computer, palmtop PC, mobile internet device (MID, mobile internet device), wearable device (such as intelligent watch (as iwatch etc.), Intelligent bracelet, pedometer etc.) or other can the terminal equipment of installation and deployment instant messaging applications client, the embodiment of the present invention is not construed as limiting.
Wherein, described predetermined threshold value such as can equal 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values etc.
In the embodiment that some are feasible, described input equipment 501 also specifically for: obtain described N number of download request ask the amount of capacity of downloading contents downloaded;
Described processor 503 also specifically for: according to the described N number of download request got ask the amount of capacity of downloading contents downloaded to sort according to order from small to large;
Download sequence after front W download request ask download downloading contents.
In the embodiment that some are feasible, after described processor 503 judges whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, described processor 503 also specifically for:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W1 download request in described N number of download request ask the downloading contents of download; Wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W2 be more than or equal to 1 integer.
In the embodiment that some are feasible, after described processor 503 judges whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, described processor 503 also specifically for:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, in the described N number of download request of preferential download W2 download request ask download downloading contents, wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
In the embodiment that some are feasible, after described processor 503 judges whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, described processor 503 also specifically for:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, in the described N number of download request of preferential download W3 download request ask download downloading contents, wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W3 be more than or equal to 1 integer.
In specific implementation, input equipment 501 described in the embodiment of the present invention, output equipment 502 and processor 503 can perform the implementation described in each embodiment of the method for down loading of the network data that the embodiment of the present invention provides, also can perform the implementation of the terminal described in the first embodiment of the download apparatus of the network data that the embodiment of the present invention provides, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Module in embodiment of the present invention device or unit can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in-computer read/write memory medium in, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The flow chart schematic diagram of the first embodiment of the method for down loading of the network data that Fig. 1 provides for the embodiment of the present invention;
The flow chart schematic diagram of the second embodiment of the method for down loading of the network data that Fig. 2 provides for the embodiment of the present invention;
The flow chart schematic diagram of the 3rd embodiment of the method for down loading of the network data that Fig. 3 provides for the embodiment of the present invention;
First example structure schematic diagram of the download apparatus of the network data that Fig. 4 provides for the embodiment of the present invention;
Second example structure schematic diagram of the download apparatus of the network data that Fig. 5 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method for down loading and device of network data, for when download speed of mobile terminal is less than predetermined threshold value, preferential download ask the minimum downloading contents of downloading contents amount of capacity downloaded, the time that user waits for downloads can be shortened, thus improve Consumer's Experience.
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
Below be described in detail respectively.

Claims (10)

1. a method for down loading for network data, is characterized in that, comprising:
When mobile terminal receives N number of download request, obtain the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer;
Judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value;
If judge, the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
2. method according to claim 1, is characterized in that, in the described N number of download request of described preferential download W download request ask download downloading contents, comprising:
Obtain described N number of download request ask the amount of capacity of downloading contents downloaded;
According to the described N number of download request got ask the amount of capacity of downloading contents downloaded to sort according to order from small to large;
Download sequence after front W download request ask download downloading contents.
3. method according to claim 1, is characterized in that, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W1 download request in described N number of download request ask the downloading contents of download;
Wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
4. method according to claim 1, is characterized in that, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W2 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
5. method according to claim 1, is characterized in that, described judge whether the current speed of download of described mobile terminal is less than or equal to predetermined threshold value after, described method also comprises:
If judge, the current speed of download of described mobile terminal is greater than predetermined threshold value, preferential download W3 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W3 be more than or equal to 1 integer.
6. a download apparatus for network data, is characterized in that, comprising:
First acquiring unit, for when mobile terminal receives N number of download request, obtains the speed of download that described mobile terminal is current, wherein, N be greater than 1 integer;
Judging unit, for judging whether the current speed of download of described mobile terminal that described first acquiring unit gets is less than or equal to predetermined threshold value;
First download unit, for judging that at described judging unit the current speed of download of described mobile terminal is less than or equal to predetermined threshold value, preferential download W download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W download request any one download request ask the amount of capacity of downloading contents downloaded, be less than or equal to the downloading contents that any one download request in described N number of download request except a described W download request is asked, wherein, described W be more than or equal to 1 integer.
7. device according to claim 6, is characterized in that, described first download unit comprises:
Second acquisition unit, for obtain described N number of download request ask the amount of capacity of downloading contents downloaded;
Sequencing unit, for described N number of download request of getting according to described second acquisition unit ask the amount of capacity of the downloading contents downloaded to sort according to order from small to large;
Second download unit, for download described sequencing unit sequence after before W download request ask download downloading contents.
8. device according to claim 6, is characterized in that, described device also comprises:
3rd download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W1 download request in described N number of download request ask the downloading contents of download;
Wherein, the time that in a described W1 download request, any one download request is asked, early than or equal the time that any one download request in described N number of download request except a described W1 download request asks, wherein, described W1 be more than or equal to 1 integer.
9. device according to claim 6, is characterized in that, described device also comprises:
4th download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W2 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W2 download request any one download request ask the priority of downloading contents downloaded, be more than or equal to the priority that any one download request in described N number of download request except a described W2 download request is asked, wherein, described W2 be more than or equal to 1 integer.
10. device according to claim 6, is characterized in that, described device also comprises:
5th download unit, if judge that the current speed of download of described mobile terminal is greater than predetermined threshold value for described judging unit, preferential download W3 download request in described N number of download request ask the downloading contents of download;
Wherein, in a described W3 download request any one download request ask the scoring of downloading contents of downloading, greater than or equal to the scoring of the downloading contents that any one download request in described N number of download request except a described W3 download request is asked, wherein, described W3 be more than or equal to 1 integer.
CN201510114324.2A 2015-03-16 2015-03-16 The method for down loading and device of a kind of network data Expired - Fee Related CN104796351B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711135412.6A CN107786463B (en) 2015-03-16 2015-03-16 Network data downloading method and device and medium product
CN201510114324.2A CN104796351B (en) 2015-03-16 2015-03-16 The method for down loading and device of a kind of network data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510114324.2A CN104796351B (en) 2015-03-16 2015-03-16 The method for down loading and device of a kind of network data

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201711135412.6A Division CN107786463B (en) 2015-03-16 2015-03-16 Network data downloading method and device and medium product

Publications (2)

Publication Number Publication Date
CN104796351A true CN104796351A (en) 2015-07-22
CN104796351B CN104796351B (en) 2017-11-24

Family

ID=53560870

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201711135412.6A Expired - Fee Related CN107786463B (en) 2015-03-16 2015-03-16 Network data downloading method and device and medium product
CN201510114324.2A Expired - Fee Related CN104796351B (en) 2015-03-16 2015-03-16 The method for down loading and device of a kind of network data

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201711135412.6A Expired - Fee Related CN107786463B (en) 2015-03-16 2015-03-16 Network data downloading method and device and medium product

Country Status (1)

Country Link
CN (2) CN107786463B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049374A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Method and device for scheduling download task, and mobile terminal
CN105610935A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Data download system and data download method
CN106604263A (en) * 2016-12-01 2017-04-26 钟苡苇 Downloading method and system based on mobile equipment
CN106790679A (en) * 2017-01-23 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and server, terminal for downloading application resource bag
CN108989272A (en) * 2017-06-07 2018-12-11 北京视联动力国际信息技术有限公司 A kind of data processing method, device and electronic equipment
CN110868626A (en) * 2019-11-06 2020-03-06 北京达佳互联信息技术有限公司 Method and device for preloading content data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141459A (en) * 2007-10-25 2008-03-12 南京远古科技有限公司 Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
US20100100635A1 (en) * 2008-10-16 2010-04-22 Tomoaki Takemura Reception Apparatus, Content Reception Method, and Program
CN101702743A (en) * 2009-11-04 2010-05-05 中兴通讯股份有限公司 Self-adaption adjustment method of mobile terminal browser and device thereof
CN103873513A (en) * 2012-12-13 2014-06-18 中国电信股份有限公司 Adaptive downloading method and adaptive downloading system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070027929A1 (en) * 2005-08-01 2007-02-01 Whelan Gary J System, method, and/or computer program product for a file system interface
CN101383751B (en) * 2008-07-24 2011-06-22 四川长虹电器股份有限公司 Network downloading method
CN103902575B (en) * 2012-12-27 2018-02-27 腾讯科技(深圳)有限公司 A kind of pictorial information loading method and relevant apparatus
CN104363302A (en) * 2014-11-27 2015-02-18 北京奇艺世纪科技有限公司 Method and device for downloading file offline

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101141459A (en) * 2007-10-25 2008-03-12 南京远古科技有限公司 Method of implementing data transmission or stream media transmission using combination of HTTP and P2P
US20100100635A1 (en) * 2008-10-16 2010-04-22 Tomoaki Takemura Reception Apparatus, Content Reception Method, and Program
CN101702743A (en) * 2009-11-04 2010-05-05 中兴通讯股份有限公司 Self-adaption adjustment method of mobile terminal browser and device thereof
CN103873513A (en) * 2012-12-13 2014-06-18 中国电信股份有限公司 Adaptive downloading method and adaptive downloading system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049374A (en) * 2015-08-25 2015-11-11 广东欧珀移动通信有限公司 Method and device for scheduling download task, and mobile terminal
CN105049374B (en) * 2015-08-25 2018-01-16 广东欧珀移动通信有限公司 Dispatching method, device and the mobile terminal of downloading task
CN105610935A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Data download system and data download method
CN106604263A (en) * 2016-12-01 2017-04-26 钟苡苇 Downloading method and system based on mobile equipment
CN106790679A (en) * 2017-01-23 2017-05-31 腾讯科技(深圳)有限公司 A kind of method and server, terminal for downloading application resource bag
CN108989272A (en) * 2017-06-07 2018-12-11 北京视联动力国际信息技术有限公司 A kind of data processing method, device and electronic equipment
CN108989272B (en) * 2017-06-07 2022-05-17 视联动力信息技术股份有限公司 Data processing method and device and electronic equipment
CN110868626A (en) * 2019-11-06 2020-03-06 北京达佳互联信息技术有限公司 Method and device for preloading content data
CN110868626B (en) * 2019-11-06 2021-06-11 北京达佳互联信息技术有限公司 Method and device for preloading content data

Also Published As

Publication number Publication date
CN107786463B (en) 2021-09-14
CN104796351B (en) 2017-11-24
CN107786463A (en) 2018-03-09

Similar Documents

Publication Publication Date Title
CN104796351A (en) Network data downloading method and device
EP2557490B1 (en) Method and apparatus for adding an icon to a home interface of an android operating system
CN105867714B (en) Application program method for down loading, apparatus and system
CN108063818B (en) Data downloading method, device, terminal and computer readable storage medium
CN104601683B (en) A kind of file download management method and mobile terminal and communication system
CN104142966A (en) Web page displaying method and client
CN105808307B (en) Page display method and device
US20190107929A1 (en) Method and device for loading content of page, and electronic device
CN105549850A (en) Fuzzy processing method and device for images
CN109358927B (en) Application program display method and device and terminal equipment
CN110770720B (en) Resource searching method and related products
CN105049580A (en) Information processing method and electronic equipment
CN106815037B (en) Application function execution method and device
CN109614195A (en) A kind of preloading method, apparatus, equipment and the storage medium of list items
CN107566503B (en) Automatic downloading method and device of electronic reading object and terminal equipment
CN107908662B (en) Method and device for realizing search system
CN107193956A (en) Page processing method and device
CN112182446B (en) Page display method and device, terminal equipment and computer readable storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN111274513B (en) Window display method, device, terminal and storage medium
CN110515718B (en) Batch task breakpoint continuous method, device, equipment and medium
CN103379086A (en) Method for realizing hot-plugging data interaction and data service center
CN112131840A (en) Page processing method, device, storage medium and processor
CN104765527A (en) Settings displaying method and mobile terminal
CN104426946A (en) Method and device for bulk download data processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171124