CN104796351B - The method for down loading and device of a kind of network data - Google Patents

The method for down loading and device of a kind of network data Download PDF

Info

Publication number
CN104796351B
CN104796351B CN201510114324.2A CN201510114324A CN104796351B CN 104796351 B CN104796351 B CN 104796351B CN 201510114324 A CN201510114324 A CN 201510114324A CN 104796351 B CN104796351 B CN 104796351B
Authority
CN
China
Prior art keywords
download
download request
request
equal
mobile terminal
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.)
Expired - Fee Related
Application number
CN201510114324.2A
Other languages
Chinese (zh)
Other versions
CN104796351A (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]

Landscapes

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

Abstract

The invention discloses a kind of method for down loading of network data, including:When mobile terminal receives N number of download request, the current speed of download of the mobile terminal is obtained, wherein, N is the integer more than 1;Judge whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value;If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, preferentially downloads the download content that W download request in N number of download request asks to download;Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, the download content asked less than or equal to any one download request in N number of download request in addition to the W download request, wherein, the W is the integer more than or equal to 1.The embodiment of the present invention additionally provides a kind of download apparatus of network data.The time that user waits for downloads can be shortened using the embodiment of the present invention, so as to improve Consumer's Experience.

Description

The method for down loading and device of a kind of network data
Technical field
The present invention relates to the method for down loading and device of communication technical field, more particularly to a kind of network data.
Background technology
At present, when user downloads multiple network data (such as application program, films etc.) by network simultaneous selection, generally All it is that Parallel download or the sequencing downloaded according to selection are downloaded.
Network be not network data capacity that is good and downloading it is larger in the case of, Parallel download or according under selection The sequencing download of network data of load, can all may cause download complete time it is longer so that user wait time compared with It is long, so as to influence Consumer's Experience.
The content of the invention
The embodiment of the present invention provides a kind of method for down loading and device of network data, for small in download speed of mobile terminal It is preferential to download the download content for asking the download content capacity size downloaded minimum when predetermined threshold value, user etc. can be shortened Time to be downloaded, so as to improve Consumer's Experience.
First aspect present invention provides a kind of method for down loading of network data, including:
When mobile terminal receives N number of download request, the current speed of download of the mobile terminal is obtained, wherein, N is Integer more than 1;
Judge whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value;
If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, preferentially downloads described N number of W download request asks the download content downloaded in download request;
Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, Asked down less than or equal to any one download request in N number of download request in addition to the W download request Content is carried, wherein, the W is the integer more than or equal to 1.
In the first possible implementation of first aspect of the embodiment of the present invention, it is described preferentially download it is described it is N number of under The download content that W download request in request asks to download is carried, including:
Obtain the amount of capacity that N number of download request asks the download content of download;
The amount of capacity for the download content that N number of download request according to getting asks to download is according to from small to large Order be ranked up;
Download the download content that the preceding W download request after sequence asks to download.
With reference to the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention second of possible implementation In, whether the speed of download for judging that the mobile terminal is current is less than or equal to after predetermined threshold value, and methods described is also wrapped Include:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W1 download request is asked to ask the download content downloaded;
Wherein, the time that any one download request is asked in the W1 download request, earlier than or equal to described N number of The time that any one download request in download request in addition to the W1 download request is asked, wherein, the W1 is Integer more than or equal to 1.
With reference to the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the third possible implementation In, whether the speed of download for judging that the mobile terminal is current is less than or equal to after predetermined threshold value, and methods described is also wrapped Include:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W2 download request is asked to ask the download content downloaded;
Wherein, any one download request asks the priority for the download content downloaded in the W2 download request, Asked more than or equal to any one download request in N number of download request in addition to the W2 download request excellent First level, wherein, the W2 is the integer more than or equal to 1.
With reference to the embodiment of the present invention in a first aspect, first aspect of the embodiment of the present invention the 4th kind of possible implementation In, whether the speed of download for judging that the mobile terminal is current is less than or equal to after predetermined threshold value, and methods described is also wrapped Include:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W3 download request is asked to ask the download content downloaded;
Wherein, any one download request asks the scoring for the download content downloaded in the W3 download request, high In or equal to the download asked of any one download request in N number of download request in addition to the W3 download request The scoring of content, wherein, the W3 is the integer more than or equal to 1.
Second aspect of the present invention provides a kind of download apparatus of network data, including:
First acquisition unit, it is current for when mobile terminal receives N number of download request, obtaining the mobile terminal Speed of download, wherein, N is the integer more than 1;
Judging unit, for judging that the current speed of download of the mobile terminal that the first acquisition unit is got is It is no to be less than or equal to predetermined threshold value;
First download unit, for the judging unit judge the current speed of download of the mobile terminal be less than or Equal to predetermined threshold value, the download content that W download request in N number of download request asks to download preferentially is downloaded;
Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, Asked down less than or equal to any one download request in N number of download request in addition to the W download request Content is carried, wherein, the W is the integer more than or equal to 1.
In the first possible implementation of second aspect of the embodiment of the present invention, first download unit includes:
Second acquisition unit, the amount of capacity for asking the download content of download for obtaining N number of download request;
Sequencing unit, N number of download request for being got according to the second acquisition unit ask what is downloaded The amount of capacity for downloading content is ranked up according to order from small to large;
Second download unit, asked for downloading the preceding W download request after the sequencing unit sorts under downloading Carry content.
With reference to second aspect of the embodiment of the present invention, in second of possible implementation of second aspect of the embodiment of the present invention In, described device also includes:
3rd download unit, if it is pre- to judge that the current speed of download of the mobile terminal is more than for the judging unit If threshold value, the download content that W1 download request in N number of download request asks to download preferentially is downloaded;
Wherein, the time that any one download request is asked in the W1 download request, earlier than or equal to described N number of The time that any one download request in download request in addition to the W1 download request is asked, wherein, the W1 is Integer more than or equal to 1.
With reference to second aspect of the embodiment of the present invention, in the third possible implementation of second aspect of the embodiment of the present invention In, described device also includes:
Described device also includes:
4th download unit, if it is pre- to judge that the current speed of download of the mobile terminal is more than for the judging unit If threshold value, the download content that W2 download request in N number of download request asks to download preferentially is downloaded;
Wherein, any one download request asks the priority for the download content downloaded in the W2 download request, Asked more than or equal to any one download request in N number of download request in addition to the W2 download request excellent First level, wherein, the W2 is the integer more than or equal to 1.
With reference to second aspect of the embodiment of the present invention, in the 4th kind of possible implementation of second aspect of the embodiment of the present invention In, described device also includes:
5th download unit, if it is pre- to judge that the current speed of download of the mobile terminal is more than for the judging unit If threshold value, the download content that W3 download request in N number of download request asks to download preferentially is downloaded;
Wherein, any one download request asks the scoring for the download content downloaded in the W3 download request, high In or equal to the download asked of any one download request in N number of download request in addition to the W3 download request The scoring of content, wherein, the W3 is the integer more than or equal to 1.
Implement the embodiment of the present invention, have the advantages that:
In the embodiment of the present invention, when mobile terminal receives N number of download request, under obtaining the mobile terminal currently Speed is carried, wherein, N is the integer more than 1;Judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value;If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, and preferentially downloading N number of download please Middle W download request is asked to ask the download content downloaded;Wherein, any one download request institute in the W download request Ask download download content amount of capacity, less than or equal in N number of download request in addition to the W download request The download content asked of any one download request, wherein, the W is the integer more than or equal to 1, can shorten user etc. Time to be downloaded, so as to improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart schematic diagram of the first embodiment of the method for down loading of network data provided in an embodiment of the present invention;
Fig. 2 is the flow chart schematic diagram of the second embodiment of the method for down loading of network data provided in an embodiment of the present invention;
Fig. 3 is the flow chart schematic diagram of the 3rd embodiment of the method for down loading of network data provided in an embodiment of the present invention;
Fig. 4 is the first embodiment structural representation of the download apparatus of network data provided in an embodiment of the present invention;
Fig. 5 is the second embodiment structural representation of the download apparatus of network data provided in an 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 small in download speed of mobile terminal It is preferential to download the download content for asking the download content capacity size downloaded minimum when predetermined threshold value, user etc. can be shortened Time to be downloaded, so as to improve Consumer's Experience.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
One embodiment of the method for down loading of inventive network data.Wherein, a kind of method for down loading of network data:Work as shifting When dynamic terminal receives N number of download request, the current speed of download of the mobile terminal is obtained, wherein, N is the integer more than 1; Judge whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value;If judging, the mobile terminal is current Speed of download be less than or equal to predetermined threshold value, preferentially download W download request in N number of download request ask download Download content;Wherein, any one download request asks the capacity for the download content downloaded big in the W download request It is small, asked less than or equal to any one download request in N number of download request in addition to the W download request Content is downloaded, wherein, the W is the integer more than or equal to 1.
Referring first to Fig. 1, Fig. 1 is a kind of first embodiment of the method for down loading of network data provided in an embodiment of the present invention Flow chart.Wherein, as shown in figure 1, a kind of method for down loading for network data that one embodiment of the present of invention provides can include Step S101~S103:
S101, when mobile terminal receives N number of download request, obtain the current speed of download of the mobile terminal.
Wherein, N is the integer more than 1.
Wherein, the mobile terminal for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (MID, mobile internet device), wearable device (such as intelligent watch (such as iwatch), intelligent hand Ring, pedometer etc.) or other can installation and deployment instant messaging applications client terminal device, the embodiment of the present invention do not limit It is fixed.
S102, judge whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value.
Wherein, the predetermined threshold value can for example be equal to 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values Etc..
If S103, judging that the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, institute is preferentially downloaded State the download content that W download request in N number of download request asks to download.
Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, Asked down less than or equal to any one download request in N number of download request in addition to the W download request Content is carried, wherein, the W is the integer more than or equal to 1.
Wherein, it is described preferentially download W download request in N number of download request ask download download content for example Can be the amount of capacity for first obtaining the download content that N number of download request asks download, then according to the institute got The amount of capacity for stating the download content that N number of download request asks to download is ranked up according to order from small to large, Ran Houzai The download content that the preceding W download request after sequence asks to download is downloaded according to sorted order.
In the embodiment of the present invention, when mobile terminal receives N number of download request, under obtaining the mobile terminal currently Speed is carried, wherein, N is the integer more than 1;Judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value;If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, and preferentially downloading N number of download please Middle W download request is asked to ask the download content downloaded;Wherein, any one download request institute in the W download request Ask download download content amount of capacity, less than or equal in N number of download request in addition to the W download request The download content asked of any one download request, wherein, the W is the integer more than or equal to 1, can shorten user etc. Time to be downloaded, so as to improve Consumer's Experience.
Optionally, after judging whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, if Judge that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download in N number of download request under W1 Carry ask download download content, wherein, in the W1 download request any one download request asked when Between, asked earlier than or equal to any one download request in N number of download request in addition to the W1 download request Time, wherein, the W1 is integer more than or equal to 1.
Wherein, the download content that W1 download request in N number of download request asks to download preferentially is downloaded for example may be used To be first to obtain the time that N number of download request asked, then asked according to the N number of download request got The morning and evening order of time is ranked up, and is then asked further according to the preceding W1 download request after the progressive download sequence after sequence The download content of download.
Optionally, after judging whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, if Judge that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download in N number of download request under W2 The download content for asking to download is carried, wherein, any one download request asks to download in the W2 download request Download content priority, it is any one in addition to the W2 download request more than or equal in N number of download request The priority that individual download request is asked, wherein, the W2 is the integer more than or equal to 1.
Wherein, the download content that W2 download request in N number of download request asks to download preferentially is downloaded for example may be used It is then described N number of according to getting to be the priority for first obtaining the download content that N number of download request asks download The sequence of the priority for the download content that download request asks to download is ranked up, then further according to the order after sequence Download the download content that the preceding W2 download request after sequence asks to download.
Optionally, after judging whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, if Judge that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download in N number of download request under W3 The download content for asking to download is carried, wherein, any one download request asks to download in the W3 download request Download content scoring, greater than or equal to any one in N number of download request in addition to the W3 download request The scoring for the download content that download request is asked, wherein, the W is the integer more than or equal to 1.
Wherein, the download content that W3 download request in N number of download request asks to download preferentially is downloaded for example may be used Be first obtain N number of download request ask download downloads content scoring, then basis get it is described it is N number of under The sequence for carrying the scoring for the download content for asking to download is ranked up, then further according to the progressive download after sequence Preceding W3 download request after sequence asks the download content downloaded.
Fig. 2 is referred to, Fig. 2 is a kind of second embodiment stream of the method for down loading of network data provided in an embodiment of the present invention Cheng Tu.Wherein, as shown in Fig. 2 a kind of method for down loading for network data that one embodiment of the present of invention provides can include step Rapid S201~S207:
S201, the mobile terminal receive N number of download request, wherein, N is the integer more than 1.
Wherein, the mobile terminal for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (MID, mobile internet device), wearable device (such as intelligent watch (such as iwatch), intelligent hand Ring, pedometer etc.) or other can installation and deployment instant messaging applications client terminal device, the embodiment of the present invention do not limit It is fixed.
The current speed of download of mobile terminal described in S202, the acquisition for mobile terminal.
S203, the mobile terminal judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value.
If so, then perform step S204.
If it is not, then perform step S205.
Wherein, the predetermined threshold value can for example be equal to 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values Etc..
N number of download request described in S204, the acquisition for mobile terminal asks the amount of capacity for the download content downloaded.
S205, the mobile terminal are preferentially downloaded W1 download request in N number of download request and asked under downloading Content is carried, wherein, the time that any one download request is asked in the W1 download request, earlier than or equal to described N number of The time that any one download request in download request in addition to the W1 download request is asked, wherein, the W1 is Integer more than or equal to 1.
The appearance for the download content that S206, the mobile terminal ask to download according to the N number of download request got Amount size is ranked up according to order from small to large.
The preceding W download request that S207, the mobile terminal are downloaded after sequence asks the download content downloaded.
In the embodiment of the present invention, when mobile terminal receives N number of download request, under obtaining the mobile terminal currently Speed is carried, wherein, N is the integer more than 1;Judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value;If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, and preferentially downloading N number of download please Middle W download request is asked to ask the download content downloaded;Wherein, any one download request institute in the W download request Ask download download content amount of capacity, less than or equal in N number of download request in addition to the W download request The download content asked of any one download request, wherein, the W is the integer more than or equal to 1, can shorten user etc. Time to be downloaded, so as to improve Consumer's Experience.
Fig. 3 is referred to, Fig. 3 is a kind of 3rd embodiment stream of the method for down loading of network data provided in an embodiment of the present invention Cheng Tu.Wherein, as shown in figure 3, a kind of method for down loading for network data that one embodiment of the present of invention provides can include step Rapid S301~S307:
S301, the mobile terminal receive N number of download request, wherein, N is the integer more than 1.
Wherein, the mobile terminal for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (MID, mobile internet device), wearable device (such as intelligent watch (such as iwatch), intelligent hand Ring, pedometer etc.) or other can installation and deployment instant messaging applications client terminal device, the embodiment of the present invention do not limit It is fixed.
The current speed of download of mobile terminal described in S302, the acquisition for mobile terminal.
S303, the mobile terminal judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value.
If so, then perform step S304.
If it is not, then perform step S305.
Wherein, the predetermined threshold value can for example be equal to 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values Etc..
N number of download request described in S304, the acquisition for mobile terminal asks the amount of capacity for the download content downloaded.
S305, the mobile terminal are preferentially downloaded W2 download request in N number of download request and asked under downloading Content is carried, wherein, any one download request asks the priority for the download content downloaded in the W2 download request, greatly Asked in or equal to any one download request in N number of download request in addition to the W2 download request preferential Level, wherein, the W is the integer more than or equal to 1.
The appearance for the download content that S306, the mobile terminal ask to download according to the N number of download request got Amount size is ranked up according to order from small to large.
The preceding W download request that S307, the mobile terminal are downloaded after sequence asks the download content downloaded.
In the embodiment of the present invention, when mobile terminal receives N number of download request, under obtaining the mobile terminal currently Speed is carried, wherein, N is the integer more than 1;Judge whether the current speed of download of the mobile terminal is less than or equal to default threshold Value;If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, and preferentially downloading N number of download please Middle W download request is asked to ask the download content downloaded;Wherein, any one download request institute in the W download request Ask download download content amount of capacity, less than or equal in N number of download request in addition to the W download request The download content asked of any one download request, wherein, the W is the integer more than or equal to 1, can shorten user etc. Time to be downloaded, so as to improve Consumer's Experience.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of the download apparatus 400 of network data provided in an embodiment of the present invention Figure.Wherein, the download apparatus of the network data may include:
First acquisition unit 401, work as when mobile terminal receives N number of download request, obtaining the mobile terminal Preceding speed of download, wherein, N is the integer more than 1.
Wherein, the mobile terminal for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (MID, mobile internet device), wearable device (such as intelligent watch (such as iwatch), intelligent hand Ring, pedometer etc.) or other can installation and deployment instant messaging applications client terminal device, the embodiment of the present invention do not limit It is fixed.
Judging unit 402, the download speed current for judging the mobile terminal that the first acquisition unit is got Whether degree is less than or equal to predetermined threshold value.
Wherein, the predetermined threshold value can for example be equal to 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values Etc..
First download unit 403, for judging that the current speed of download of the mobile terminal is small in the judging unit In or equal to predetermined threshold value, the download content that W download request in N number of download request asks to download preferentially is downloaded, its In, any one download request asks the amount of capacity for the download content downloaded in the W download request, is less than or equal to The download content that any one download request in N number of download request in addition to the W download request is asked, its In, the W is the integer more than or equal to 1.
Wherein, first download unit includes:Second acquisition unit (not shown), please for obtaining N number of download Seek the amount of capacity for the download content for asking to download;Sequencing unit (not shown), for being obtained according to the second acquisition unit The amount of capacity for the download content that the N number of download request got asks to download is arranged according to order from small to large Sequence;Second download unit (not shown), ask what is downloaded for downloading the preceding W download request after the sequencing unit sorts Download content.
Optionally, judge that the mobile terminal that the first acquisition unit is got is current in the judging unit 402 Speed of download whether be less than or equal to predetermined threshold value after, described device also includes:3rd download unit (not shown), is used for If the judging unit judges that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download it is described it is N number of under The download content that W1 download request in request asks to download is carried, wherein, any one in the W1 download request is downloaded Request asked time, earlier than or equal to any one in N number of download request in addition to the W1 download request The time that download request is asked, wherein, the W is the integer more than or equal to 1.
Optionally, judge that the mobile terminal that the first acquisition unit is got is current in the judging unit 402 Speed of download whether be less than or equal to predetermined threshold value after, described device also includes:4th download unit (not shown), is used for If the judging unit judges that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download it is described it is N number of under The download content that W2 download request in request asks to download is carried, wherein, any one in the W2 download request is downloaded The priority of download content downloaded is asked, please more than or equal to described W2 download is removed in N number of download request The priority that any one download request outside asking is asked, wherein, the W is the integer more than or equal to 1.
Optionally, judge that the mobile terminal that the first acquisition unit is got is current in the judging unit 402 Speed of download whether be less than or equal to predetermined threshold value after, described device also includes:5th download unit (not shown), is used for If the judging unit judges that the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially download it is described it is N number of under Carry the download content that W3 download request in request asks to download;Wherein, any one in the W3 download request is downloaded The scoring of download content downloaded is asked, greater than or equal to removing the W3 download request in N number of download request Outside the scoring of download content asked of any one download request, wherein, the W is the integer more than or equal to 1.
It is understood that the function of each functional module of the download apparatus 400 of the network data of the present embodiment can basis Method specific implementation in methods described embodiment, the correlation that its specific implementation process is referred to methods described embodiment are retouched State, here is omitted.
In the embodiment of the present invention, first acquisition unit 401 is when mobile terminal receives N number of download request, described in acquisition The current speed of download of mobile terminal, wherein, N is the integer more than 1, and judging unit 402 judges that the first acquisition unit obtains Whether the current speed of download of the mobile terminal got is less than or equal to predetermined threshold value, and the first download unit 403 is described Judging unit judges that the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, preferentially download it is described it is N number of under The download content that W download request in request asks to download is carried, wherein, any one in the W download request is downloaded please The amount of capacity for the download content for asking to download is sought, less than or equal to removing the W download request in N number of download request Outside the download content asked of any one download request, wherein, the W is the integer more than or equal to 1, can shorten use The time that family waits for downloads, so as to improve Consumer's Experience.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of the download apparatus 500 of network data provided in an embodiment of the present invention Figure, the download apparatus of the network data include:At least one input equipment 501;At least one output equipment 502;It is at least one Processor 503, such as CPU;With memory 504, the input equipment 501, output equipment 502, processor 503 and memory 504 are connected by bus 505.
Wherein, the contact panel of the input equipment 501 concretely download apparatus of network data, including touch-screen and Touch screen, for the operational order on detection terminal contact panel.
The display screen of the output equipment 502 concretely download apparatus of network data, for exporting, display information.
The memory 504 can be high-speed RAM memory, or non-labile memory (non-volatile ), such as magnetic disk storage memory.The memory 504 is used to store batch processing code, the input equipment 501, output Equipment 502 and processor 503 are used to call the program code stored in memory 504, perform following operation:
The processor 503, for when mobile terminal receives N number of download request, it is current to obtain the mobile terminal Speed of download, wherein, N is integer more than 1;
The processor 503, for judging whether the current speed of download of the mobile terminal is less than or equal to default threshold Value;
The processor 503, if being additionally operable to judge the current speed of download of the mobile terminal less than or equal to default Threshold value, preferentially download the download content that W download request in N number of download request asks to download;
Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, Asked down less than or equal to any one download request in N number of download request in addition to the W download request Content is carried, wherein, the W is the integer more than or equal to 1.
Wherein, the mobile terminal for example can be mobile phone, tablet personal computer, notebook computer, palm PC, mobile interchange Net equipment (MID, mobile internet device), wearable device (such as intelligent watch (such as iwatch), intelligent hand Ring, pedometer etc.) or other can installation and deployment instant messaging applications client terminal device, the embodiment of the present invention do not limit It is fixed.
Wherein, the predetermined threshold value can for example be equal to 100kb/s, 300kb/s, 500kb/s, 1mb/s or other values Etc..
In some feasible embodiments, the input equipment 501 also particularly useful for:Obtain N number of download request institute Ask the amount of capacity of download content downloaded;
The processor 503 also particularly useful for:N number of download request according to getting is asked in the download of download The amount of capacity of appearance is ranked up according to order from small to large;
Download the download content that the preceding W download request after sequence asks to download.
In some feasible embodiments, judge that the current speed of download of the mobile terminal is in the processor 503 It is no be less than or equal to predetermined threshold value after, the processor 503 also particularly useful for:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W1 download request is asked to ask the download content downloaded;Wherein, any one download request in the W1 download request The time asked, earlier than or equal in N number of download request in addition to the W1 download request any one download Request the asked time, wherein, the W2 is the integer more than or equal to 1.
In some feasible embodiments, judge that the current speed of download of the mobile terminal is in the processor 503 It is no be less than or equal to predetermined threshold value after, the processor 503 also particularly useful for:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W2 download request is asked to ask the download content downloaded, wherein, any one download request in the W2 download request Ask download downloads content priority, more than or equal in N number of download request except the W2 download request it The priority that any one outer download request is asked, wherein, the W2 is the integer more than or equal to 1.
In some feasible embodiments, judge that the current speed of download of the mobile terminal is in the processor 503 It is no be less than or equal to predetermined threshold value after, the processor 503 also particularly useful for:
If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, and preferentially downloading N number of download please Middle W3 download request is asked to ask the download content downloaded, wherein, any one download request in the W3 download request Ask download download content scoring, greater than or equal in N number of download request in addition to the W3 download request The scoring of download content asked of any one download request, wherein, the W3 is the integer more than or equal to 1.
In the specific implementation, the input equipment 501, output equipment 502 and processor 503 described in the embodiment of the present invention can The implementation described in each embodiment of the method for down loading of network data provided in an embodiment of the present invention is performed, also can perform The implementation of terminal described in the first embodiment of the download apparatus of network data provided in an embodiment of the present invention, herein Repeat no more.
Unit in all embodiments of the invention, universal integrated circuit, such as CPU (Central can be passed through Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, application specific integrated circuit) realize.
Step in present invention method can be sequentially adjusted, merged and deleted according to actual needs.
Module or unit in device of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in-computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (8)

  1. A kind of 1. method for down loading of network data, it is characterised in that including:
    When mobile terminal receives N number of download request, obtain the current speed of download of the mobile terminal, wherein, N be more than 1 integer;
    Judge whether the current speed of download of the mobile terminal is less than or equal to predetermined threshold value;
    If judging, the current speed of download of the mobile terminal is less than or equal to predetermined threshold value, preferentially downloads N number of download W download request asks the download content downloaded in request;
    Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, is less than Or in the download asked equal to any one download request in N number of download request in addition to the W download request Hold, wherein, the W is the integer more than or equal to 1;
    Wherein, the download content preferentially downloaded W download request in N number of download request and ask to download, including:
    Obtain the amount of capacity that N number of download request asks the download content of download;
    The amount of capacity for the download content that N number of download request according to getting asks to download is suitable according to from small to large Sequence is ranked up;
    Download the download content that the preceding W download request after sequence asks to download.
  2. 2. according to the method for claim 1, it is characterised in that it is described judge that the mobile terminal is current speed of download be No to be less than or equal to after predetermined threshold value, methods described also includes:
    If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially downloads in N number of download request W1 download request asks the download content downloaded;
    Wherein, the time that any one download request is asked in the W1 download request, earlier than or equal to N number of download The time that any one download request in request in addition to the W1 download request is asked, wherein, the W1 be more than Or the integer equal to 1.
  3. 3. according to the method for claim 1, it is characterised in that it is described judge that the mobile terminal is current speed of download be No to be less than or equal to after predetermined threshold value, methods described also includes:
    If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially downloads in N number of download request W2 download request asks the download content downloaded;
    Wherein, any one download request asks the priority for the download content downloaded in the W2 download request, is more than Or asked equal to any one download request in N number of download request in addition to the W2 download request preferential Level, wherein, the W2 is the integer more than or equal to 1.
  4. 4. according to the method for claim 1, it is characterised in that it is described judge that the mobile terminal is current speed of download be No to be less than or equal to after predetermined threshold value, methods described also includes:
    If judging, the current speed of download of the mobile terminal is more than predetermined threshold value, preferentially downloads in N number of download request W3 download request asks the download content downloaded;
    Wherein, in the W3 download request any one download request ask download download content scoring, be higher than or The download content asked equal to any one download request in N number of download request in addition to the W3 download request Scoring, wherein, the W3 is integer more than or equal to 1.
  5. A kind of 5. download apparatus of network data, it is characterised in that including:
    First acquisition unit, for when mobile terminal receives N number of download request, obtaining the current download of the mobile terminal Speed, wherein, N is the integer more than 1;
    Judging unit, for judging whether the current speed of download of the mobile terminal that the first acquisition unit is got is small In or equal to predetermined threshold value;
    First download unit, for judging that the current speed of download of the mobile terminal is less than or equal in the judging unit Predetermined threshold value, preferentially download the download content that W download request in N number of download request asks to download;
    Wherein, any one download request asks the amount of capacity for the download content downloaded in the W download request, is less than Or in the download asked equal to any one download request in N number of download request in addition to the W download request Hold, wherein, the W is the integer more than or equal to 1;
    Wherein, first download unit includes:
    Second acquisition unit, the amount of capacity for asking the download content of download for obtaining N number of download request;
    Sequencing unit, N number of download request for being got according to the second acquisition unit ask the download downloaded The amount of capacity of content is ranked up according to order from small to large;
    Second download unit, asked for downloading the preceding W download request after the sequencing unit sorts in the download of download Hold.
  6. 6. device according to claim 5, it is characterised in that described device also includes:
    3rd download unit, if judging that the current speed of download of the mobile terminal is more than default threshold for the judging unit Value, preferentially download the download content that W1 download request in N number of download request asks to download;
    Wherein, the time that any one download request is asked in the W1 download request, earlier than or equal to N number of download The time that any one download request in request in addition to the W1 download request is asked, wherein, the W1 be more than Or the integer equal to 1.
  7. 7. device according to claim 5, it is characterised in that described device also includes:
    4th download unit, if judging that the current speed of download of the mobile terminal is more than default threshold for the judging unit Value, preferentially download the download content that W2 download request in N number of download request asks to download;
    Wherein, any one download request asks the priority for the download content downloaded in the W2 download request, is more than Or asked equal to any one download request in N number of download request in addition to the W2 download request preferential Level, wherein, the W2 is the integer more than or equal to 1.
  8. 8. device according to claim 5, it is characterised in that described device also includes:
    5th download unit, if judging that the current speed of download of the mobile terminal is more than default threshold for the judging unit Value, preferentially download the download content that W3 download request in N number of download request asks to download;
    Wherein, in the W3 download request any one download request ask download download content scoring, be higher than or The download content asked equal to any one download request in N number of download request in addition to the W3 download request Scoring, wherein, the W3 is integer more than or equal to 1.
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 CN104796351A (en) 2015-07-22
CN104796351B true CN104796351B (en) 2017-11-24

Family

ID=53560870

Family Applications (2)

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

Family Applications After (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) CN104796351B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN106604263B (en) * 2016-12-01 2020-12-15 嘉兴市盛康信息科技有限公司 Downloading method and system based on mobile equipment
CN106790679B (en) * 2017-01-23 2020-11-17 腾讯科技(深圳)有限公司 Method for downloading application resource package, server and terminal
CN108989272B (en) * 2017-06-07 2022-05-17 视联动力信息技术股份有限公司 Data processing method and device and electronic equipment
CN110868626B (en) * 2019-11-06 2021-06-11 北京达佳互联信息技术有限公司 Method and device for preloading content data

Citations (3)

* 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
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 (5)

* 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
JP2010098526A (en) * 2008-10-16 2010-04-30 Sony Corp Receiving apparatus, content receiving method, and program
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 (3)

* 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
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

Also Published As

Publication number Publication date
CN104796351A (en) 2015-07-22
CN107786463A (en) 2018-03-09
CN107786463B (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN104796351B (en) The method for down loading and device of a kind of network data
US11036820B2 (en) Page loading method and electronic device
EP2557490B1 (en) Method and apparatus for adding an icon to a home interface of an android operating system
CN110673772B (en) Page returning method and device, electronic equipment and computer readable medium
CN105867714B (en) Application program method for down loading, apparatus and system
TW201512865A (en) Method for searching web page digital data, device and system thereof
CN103279269A (en) Method, device and terminal equipment for data interaction among application programs
CN106991179A (en) Data-erasure method, device and mobile terminal
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
CN106354804A (en) File download processing method and device thereof
CN104462283A (en) Method, device and client for requesting webpage elements in mobile terminal
US20190107929A1 (en) Method and device for loading content of page, and electronic device
CN106371706A (en) Method and device for site selection of application shortcuts
CN108062401B (en) Application recommendation method and device and storage medium
CN110770720B (en) Resource searching method and related products
CN107480218B (en) Webpage display method and device, electronic equipment and storage medium
CN105095161B (en) Method and device for displaying rich text information
CN104102560A (en) Method and device for testing system performance
CN111353296B (en) Article processing method, apparatus, electronic device and computer readable storage medium
US11188582B2 (en) Method for resource search and related products
CN107193956A (en) Page processing method and device
CN106651410B (en) Application management method and device
CN105183460B (en) A kind of list methods of exhibiting and terminal
CN102867060B (en) A kind of rapid search method for data, apparatus and system
CN105956050B (en) A kind of method of data capture, device and equipment

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