CN105163135B - Method for down loading, apparatus and system and the mobile terminal of Internet resources - Google Patents

Method for down loading, apparatus and system and the mobile terminal of Internet resources Download PDF

Info

Publication number
CN105163135B
CN105163135B CN201510528306.9A CN201510528306A CN105163135B CN 105163135 B CN105163135 B CN 105163135B CN 201510528306 A CN201510528306 A CN 201510528306A CN 105163135 B CN105163135 B CN 105163135B
Authority
CN
China
Prior art keywords
internet resources
mobile terminal
network speed
flow
resolution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510528306.9A
Other languages
Chinese (zh)
Other versions
CN105163135A (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 CN201510528306.9A priority Critical patent/CN105163135B/en
Publication of CN105163135A publication Critical patent/CN105163135A/en
Application granted granted Critical
Publication of CN105163135B publication Critical patent/CN105163135B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available

Abstract

The present invention is suitable for network communication technology field, provides the method for down loading, apparatus and system and mobile terminal of a kind of Internet resources, which comprises receives the downloading request that applications client is sent;Obtain the network speed of mobile terminal;The resolution ratio of the Internet resources of downloading needed for determining mobile terminal according to the network speed of the mobile terminal got;The Internet resources of the resolution ratio are downloaded from server according to the mark of the Internet resources carried in the downloading request, the server provides the Internet resources of different resolution, for mobile terminal downloading.The present invention improves the flexibility of Internet resources downloading so that the resolution ratio of Internet resources of mobile terminal downloading is matched with the network speed of mobile terminal.

Description

Method for down loading, apparatus and system and the mobile terminal of Internet resources
Technical field
The invention belongs to network communication technology field more particularly to a kind of method for down loading of Internet resources, apparatus and system And mobile terminal.
Background technique
Universal and Android Android open system the exploitation of intelligent machine causes mobile phone to grow rapidly, the screen of mobile phone Become large screen from original the small screen, a variety of resolution ratio occur, while various resolution ratio also occur in Internet resources, such as regards The resolution ratio of frequency picture has 480P, 720P, 1080P and 2K.
However, inventor has found the method for down loading for the Internet resources that the prior art provides extremely in realizing process of the present invention It is few that there are the following problems:
When carrying out the downloading of Internet resources, the Internet resources of server side are often just supplied directly to end without differentiation End subscriber downloading, but when the networking mode of terminal user and network speed are restricted, if server can provide a variety of resolutions The Internet resources of rate are downloaded, and server side does not distinguish the resolution ratio of Internet resources, and at this moment terminal user only writes from memory The Internet resources of one of resolution ratio of the downloading recognized, flexibility are poor, thereby increases and it is possible to also will cause following situations: 1, allowing in network speed In the case where, the Internet resources of low resolution are downloaded, cause picture clarity not high;2, in the case that network speed is bad, downloading High-resolution Internet resources, which will lead to, shows that the slow refresh rate of application, the too many flow of consuming, flow consumption may exceed set Situations such as meal.
Summary of the invention
In view of this, the embodiment of the present invention provides the method for down loading, apparatus and system and mobile terminal of a kind of Internet resources, To solve the method for down loading of the Internet resources of prior art offer, the problem of the flexibility difference of Internet resources downloading.
In a first aspect, providing the method for down loading of Internet resources, comprising:
Receive the downloading request that applications client is sent;
Obtain the network speed of mobile terminal;
The resolution ratio of the Internet resources of downloading needed for determining mobile terminal according to the network speed of the mobile terminal got;
The network money of the resolution ratio is downloaded from server according to the mark of the Internet resources carried in the downloading request Source, the server provide the Internet resources of different resolution, for mobile terminal downloading.
With reference to first aspect, in the first possible implementation of the first aspect, the movement that the basis is got The network speed of terminal determines the resolution ratio for the Internet resources downloaded needed for mobile terminal, comprising:
When network speed is excellent, determine that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
When network speed difference, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution The Internet resources of rate are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to When preset network speed threshold value, determine that network speed is poor.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the network speed for the mobile terminal that the basis is got determines the resolution ratio for the Internet resources downloaded needed for mobile terminal, also wraps It includes:
Obtain the networking mode of mobile terminal;
When the networking mode of the mobile terminal got is data network connection, the flow of residual flow packet is obtained;
When the networking mode of mobile terminal is data network connection, network speed is excellent, and residual flow packet flow it is more when, determine The Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
When the networking mode of mobile terminal is data network connection, network speed is poor, and residual flow packet flow it is more when, determine The Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the networking mode of mobile terminal is data network connection, network speed is poor, and residual flow packet flow it is few when, determine The Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the networking mode of mobile terminal is data network connection, network speed is excellent, and residual flow packet flow it is few when, determine The Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, the flow of residual flow packet is determined It is more, when the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few.
The possible implementation of second with reference to first aspect, in the third possible implementation of first aspect In, the network speed for the mobile terminal that the basis is got determines the resolution ratio for the Internet resources downloaded needed for mobile terminal, also wraps It includes:
When the networking mode of mobile terminal is data network connection, and the flow of residual flow packet is equal to zero, number is disconnected According to network connection, and flow package is prompted to have been used up.
Second aspect provides a kind of download apparatus of Internet resources, comprising:
Request reception unit is downloaded, for receiving the downloading request of applications client transmission;
Network speed acquiring unit, for obtaining the network speed of mobile terminal;
The network speed of resolution ratio determination unit, the mobile terminal for being got according to the network speed acquiring unit determines movement The resolution ratio for the Internet resources downloaded needed for terminal;
Download unit downloads the Internet resources carried in request for what is received according to the downloading request reception unit Mark the Internet resources of the resolution ratio are downloaded from server, the server provides the Internet resources of different resolution, with It is downloaded for mobile terminal.
In conjunction with second aspect, in the first possible implementation of the second aspect, the resolution ratio determination unit, packet It includes:
First determining module, for when network speed is excellent, determining that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
Second determining module, for when network speed difference, determining that the Internet resources downloaded needed for mobile terminal are low resolution Internet resources;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution The Internet resources of rate are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to When preset network speed threshold value, determine that network speed is poor.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the resolution ratio determination unit, further includes:
Networking mode obtains module, for obtaining the networking mode of mobile terminal;
Residual flow obtains module, for obtaining when the networking mode of the mobile terminal got is data network connection Take the flow of residual flow packet;
Third determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
4th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
5th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
6th determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, the flow of residual flow packet is determined It is more, when the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few.
In conjunction with second of possible implementation of second aspect, in the third possible implementation of second aspect In, the resolution ratio determination unit, further includes:
Cue module is data network connection for the networking mode when mobile terminal, and the flow etc. of residual flow packet When zero, turn-off data network connection, and flow package is prompted to have been used up.
The third aspect provides a kind of mobile terminal, which is characterized in that the mobile terminal includes as described in second aspect The download apparatus of Internet resources.
Fourth aspect provides a kind of download system of Internet resources, the system comprises server and such as third aspect institute The mobile terminal stated;The server provides the Internet resources of different resolution, for mobile terminal downloading.
After the embodiment of the present invention, the downloading request for receiving applications client transmission, the network speed of mobile terminal is obtained, so The resolution ratio for determining the Internet resources downloaded needed for mobile terminal according to the network speed of the mobile terminal got afterwards, finally according to institute The mark for stating the Internet resources carried in downloading request downloads the Internet resources of the resolution ratio from server, wherein the clothes Business device provides the Internet resources of different resolution, for mobile terminal downloading, thus make the Internet resources of mobile terminal downloading Resolution ratio is matched with the network speed of mobile terminal, improves the flexibility of Internet resources downloading.The net of prior art offer is provided The method for down loading of network resource, the problem of the flexibility difference of Internet resources downloading.
Detailed description of the invention
Fig. 1 is the implementation flow chart of the method for down loading embodiment of inventive network resource;
Fig. 2 is the structural block diagram of the download apparatus embodiment of inventive network resource;
Fig. 3 is the structural block diagram of mobile terminal embodiment of the present invention;
Fig. 4 is the structural block diagram of the download system embodiment of inventive network resource.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In embodiments of the present invention, after the downloading request for receiving applications client transmission, the network speed of mobile terminal is obtained, Then the resolution ratio for the Internet resources downloaded needed for mobile terminal, last basis are determined according to the network speed of the mobile terminal got The mark of the Internet resources carried in the downloading request downloads the Internet resources of the resolution ratio from server, wherein described Server provides the Internet resources of different resolution, for mobile terminal downloading.
Realization of the invention is described in detail below in conjunction with specific embodiment:
Embodiment one
Fig. 1 shows the implementation process of the method for down loading of the Internet resources of the offer of the embodiment of the present invention one, and details are as follows:
In step s101, the downloading request that applications client is sent is received.
In embodiments of the present invention, when user is surfed the Internet using applications client, after clicking the link for needing to network, application Client can generate a networking downloading request, and send the networking and download request under the Internet resources on mobile terminal It carries and sets.
For example, server has the network of different resolution when user uses the news of mobile terminal browse application client Resource is available for download.When user clicks to enter the news of applications client using mobile terminal, applications client can generate one A networking downloading request, and the download apparatus that the networking downloads request to the Internet resources on mobile terminal is sent, request net The download apparatus of network resource downloads corresponding Internet resources from server.
In step s 102, the network speed of mobile terminal is obtained.
In embodiments of the present invention, after the downloading that the download apparatus of Internet resources receives applications client transmission is requested, Obtain the network speed of mobile terminal.
Specifically, the network speed for how obtaining mobile terminal is referred to prior art realization, details are not described herein again.
In step s 103, the Internet resources of downloading needed for determining mobile terminal according to the network speed of the mobile terminal got Resolution ratio.
In embodiments of the present invention, server can provide the Internet resources of different resolution, for mobile terminal downloading. After getting the network speed of mobile terminal, the download apparatus of Internet resources can determine mobile terminal institute according to the network speed of mobile terminal The resolution ratio for the Internet resources that need to be downloaded.
Specifically, can determine that the Internet resources downloaded needed for mobile terminal are high-resolution networks when network speed is excellent Resource;When network speed difference, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution.
Wherein, network speed, networking mode, network speed and residual flow packet stream amount and network to be downloaded has been locally stored in mobile terminal The corresponding relationship of the resolution ratio of resource, the resolution of the Internet resources of downloading needed for can determining mobile terminal according to the corresponding relationship Then rate downloads the Internet resources of the resolution ratio from server.
Wherein, the networking mode of mobile terminal includes WIFI connection and two kinds of data network connection.Preferably, when getting The networking mode of mobile terminal when being data network connection, can also be in the networking mode and network speed for getting mobile terminal Afterwards, the flow of residual flow packet is obtained.
Specifically, the flow of the networking mode and residual flow packet that how to obtain mobile terminal is referred to prior art It realizes, details are not described herein again.
Specifically, server by the Internet resources of different resolution according to the difference of resolution sizes, be divided into high-resolution The download apparatus of rate Internet resources and low resolution Internet resources, Internet resources can determine mobile terminal institute according to following manner The resolution ratio for the Internet resources that need to be downloaded is high-resolution or low resolution:
It is WIFI connection in the networking mode of mobile terminal, and when network speed is excellent, the download apparatus of Internet resources can be determined The Internet resources downloaded needed for mobile terminal are high-resolution Internet resources, can download high-resolution network from server Resource;When the networking mode of mobile terminal is WIFI connection, and when network speed difference, the download apparatus of Internet resources can determine movement The Internet resources downloaded needed for terminal are the Internet resources of low resolution, and the network money of low resolution can be downloaded from server Source;When the networking mode of mobile terminal is data network connection, and network speed is excellent, the network money downloaded needed for mobile terminal is determined Source is high-resolution Internet resources;When the networking mode of mobile terminal is data network connection, and when network speed difference, movement is determined The Internet resources downloaded needed for terminal are the Internet resources of low resolution.
Wherein, high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, low resolution Internet resources be Internet resources that resolution ratio is less than or equal to default resolution threshold.For example, resolution threshold can be set being 1080p, then Internet resources of the resolution ratio greater than 1080p are high-resolution Internet resources, and resolution ratio is less than or equal to 1080p's Internet resources, for example, resolution ratio be 480p Internet resources be then low resolution Internet resources.
When the network speed got is greater than preset network speed threshold value, it is possible to determine that network speed is excellent.Preset network speed threshold value can be with It is 100KB, when the network speed got is greater than 100KB, it is possible to determine that network speed is excellent, otherwise determines that network speed is poor.
By the method for determination of above-mentioned resolution ratio, the resolution ratio for the Internet resources that mobile terminal can be made to download and movement are eventually The network speed at end matches, and improves the flexibility of Internet resources downloading.
In addition, high-resolution Internet resources are downloaded when network speed is excellent, so that the display resolution of the Internet resources of downloading Height downloads low resolution Internet resources in network speed difference, not will lead to and shows that the refresh rate of application is slow, expends too many flow Situations such as.
Preferably, when the networking mode for determining mobile terminal is data network connection, residual flow packet can also be obtained Flow, after the flow for getting residual flow packet, can determine the network money downloaded needed for mobile terminal in the following manner Source is high-resolution Internet resources:
When network speed is excellent, and residual flow packet flow it is more when, the download apparatus of Internet resources can determine mobile terminal institute The Internet resources that need to be downloaded are high-resolution Internet resources, can download high-resolution Internet resources from server;Work as net Speed difference, and residual flow packet flow it is more when, the download apparatus of Internet resources can determine the network downloaded needed for mobile terminal Resource is the Internet resources of low resolution, and the Internet resources of low resolution can be downloaded from server;When network speed is poor, and residual stream When the flow of amount packet is few, the download apparatus of Internet resources can determine that the Internet resources downloaded needed for mobile terminal are low resolution Internet resources, can from server download low resolution Internet resources;When network speed is excellent, and the flow of residual flow packet is few When, the download apparatus of Internet resources can determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution, The Internet resources of low resolution can be downloaded from server.
By the method for determination of above-mentioned resolution ratio, low resolution can be downloaded in the case where the flow of residual flow packet is few The Internet resources of rate avoid excessive flow from consuming, and save flow for user.
Wherein, when the flow of the residual flow packet got is greater than preset flow threshold, it is possible to determine that residual flow The flow of packet is more, when the flow of the residual flow packet got is less than or equal to preset flow threshold, it is possible to determine that residual stream The flow for measuring packet is few.
Preset flow threshold can be 100M, when the flow of the residual flow packet got is greater than 100M, can sentence The flow for determining residual flow packet is more, and otherwise the flow of residual flow packet is few.
Preferably, when networking mode is data network connection, when the flow of residual flow packet is zero, number can be disconnected According to network connection, and flow package is prompted to have been used up, user can be manually reattached data network.Can to avoid user not In the case where knowing, continue down loading network resource.
In step S104, according to the mark of the Internet resources carried in the downloading request from described point of server downloading The Internet resources of resolution, the server provide the Internet resources of different resolution, for mobile terminal downloading.
In embodiments of the present invention, server provides the Internet resources of different resolution, for mobile terminal downloading.Using The mark of Internet resources is carried in the downloading request that client is sent, the download apparatus of Internet resources can be requested according to downloading In carry the Internet resources of the marks of the Internet resources resolution ratio that download step S103 is determined from server.
Be exemplified below: user passes through the news of mobile terminal browse application client, and server has the net of high-low resolution Network resource can provide downloading, and when user clicks to enter the news of applications client using mobile terminal, applications client can be given birth to It is requested at a downloading, and downloading request is sent to the download apparatus of Internet resources, the download apparatus of Internet resources receives To after downloading request, the network speed of mobile terminal is obtained, the Internet resources for needing to download are searched according to the network speed of mobile terminal Resolution ratio, and send and download request to server comprising the resolution ratio, server receives the downloading comprising the resolution ratio and asks After asking, the Internet resources for distributing the resolution ratio are downloaded to the download apparatus of Internet resources, and the download apparatus downloading of Internet resources should The Internet resources of resolution ratio are into applications client.
The present embodiment obtains the network speed of mobile terminal, then basis after the downloading request for receiving applications client transmission The network speed of the mobile terminal got determines the resolution ratio for the Internet resources downloaded needed for mobile terminal, finally according to the downloading The mark of the Internet resources carried in request downloads the Internet resources of the resolution ratio from server, wherein the server mentions For the Internet resources of different resolution, for mobile terminal downloading, thus the resolution ratio for the Internet resources for downloading mobile terminal It is matched with the network speed of mobile terminal, the flexibility of Internet resources downloading can be improved.The network money of prior art offer is provided The method for down loading in source, the problem of the flexibility difference of Internet resources downloading.
Specifically, high-resolution Internet resources are downloaded when network speed is excellent, so that the clarity of the Internet resources of downloading is high, In network speed difference, low resolution Internet resources are downloaded, not will lead to the feelings such as slow, the too many flow of consuming of refresh rate of display application Condition.
In addition, when the networking mode of mobile terminal is data network connection, it can also be according to the flow of residual flow packet How much determining mobile terminals needed for the resolution ratio of Internet resources downloaded, avoid consuming excessively for flow, can be saved for user Save flow.
In addition, can be connected to the network when the flow of residual flow packet is zero with turn-off data, and prompt customer flow set It is finished, down loading network resource can be continued to avoid in the unwitting situation of user.
It should be understood that in embodiments of the present invention, magnitude of the sequence numbers of the above procedures are not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined by its function and internal logic, the implementation process structure without coping with the embodiment of the present invention At any restriction.
Those of ordinary skill in the art will appreciate that all or part of the steps in realization the various embodiments described above method is can It is completed with instructing relevant hardware by program, corresponding program can store in a computer-readable storage medium In, the storage medium, such as ROM/RAM, disk or CD.
Embodiment two
Fig. 2 shows the specific block diagrams of the download apparatus of Internet resources provided by Embodiment 2 of the present invention, in order to just In explanation, only parts related to embodiments of the present invention are shown.The download apparatus 2 of the Internet resources, which can be, is built in movement The unit of software unit, hardware cell in terminal or software and hardware combining, the download apparatus 2 of the Internet resources include: downloading Request reception unit 21, network speed acquiring unit 22, resolution ratio determination unit 23 and download unit 24.
Wherein, request reception unit 21 is downloaded, for receiving the downloading request of applications client transmission;
Network speed acquiring unit 22, for obtaining the network speed of mobile terminal;
The network speed of resolution ratio determination unit 23, the mobile terminal for being got according to the network speed acquiring unit 22 determines The resolution ratio for the Internet resources downloaded needed for mobile terminal;
Download unit 24 downloads the network carried in request for what is received according to the downloading request reception unit 21 The mark of resource downloads the Internet resources of the resolution ratio from server, and the server provides the network money of different resolution Source, for mobile terminal downloading.
Specifically, the resolution ratio determination unit 23, comprising:
First determining module, for when network speed is excellent, determining that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
Second determining module, for when network speed difference, determining that the Internet resources downloaded needed for mobile terminal are low resolution Internet resources;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution The Internet resources of rate are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to When preset network speed threshold value, determine that network speed is poor.
Further, the resolution ratio determination unit 23, further includes:
Networking mode obtains module, for obtaining the networking mode of mobile terminal;
Residual flow obtains module, for obtaining when the networking mode of the mobile terminal got is data network connection Take the flow of residual flow packet;
Third determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
4th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
5th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
6th determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, the flow of residual flow packet is determined It is more, when the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few.
Further, the resolution ratio determination unit 23, further includes:
Cue module is data network connection for the networking mode when mobile terminal, and the flow etc. of residual flow packet When zero, turn-off data network connection, and flow package is prompted to have been used up.
The download apparatus of Internet resources provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method one In, details are referring to the description of above-described embodiment one, and details are not described herein.
Embodiment three
The specific block diagram that Fig. 3 shows the mobile terminal of the offer of the embodiment of the present invention three is only shown for ease of description Part related to the embodiment of the present invention is gone out.The mobile terminal 3 can be smart phone or tablet computer, including embodiment two Described in Internet resources download apparatus 2, the download apparatus 2 of the Internet resources include: downloading request reception unit 21, network speed Acquiring unit 22, resolution ratio determination unit 23 and download unit 24.
Wherein, request reception unit 21 is downloaded, for receiving the downloading request of applications client transmission;
Network speed acquiring unit 22, for obtaining the network speed of mobile terminal;
Resolution ratio determination unit 23, the networking mode of the mobile terminal for being got according to the network speed acquiring unit 22 The resolution ratio of the Internet resources of downloading needed for mobile terminal is determined with network speed;
Download unit 24 downloads the network carried in request for what is received according to the downloading request reception unit 21 The mark of resource downloads the Internet resources of the resolution ratio from server, and the server provides the network money of different resolution Source, for mobile terminal downloading.
Specifically, the resolution ratio determination unit 23, comprising:
First determining module, for when network speed is excellent, determining that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
Second determining module, for when network speed difference, determining that the Internet resources downloaded needed for mobile terminal are low resolution Internet resources;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution The Internet resources of rate are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to When preset network speed threshold value, determine that network speed is poor.
Further, the resolution ratio determination unit 23, further includes:
Networking mode obtains module, for obtaining the networking mode of mobile terminal;
Residual flow obtains module, for obtaining when the networking mode of the mobile terminal got is data network connection Take the flow of residual flow packet;
Third determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
4th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is more, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
5th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
6th determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow When the flow of packet is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, the flow of residual flow packet is determined It is more, when the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few.
Further, the resolution ratio determination unit 23, further includes:
Cue module is data network connection for the networking mode when mobile terminal, and the flow etc. of residual flow packet When zero, turn-off data network connection, and flow package is prompted to have been used up.
Mobile terminal provided in an embodiment of the present invention can be applied in aforementioned corresponding embodiment of the method one, details referring to The description of above-described embodiment one, details are not described herein.
Example IV
Fig. 4 shows the specific block diagram of the download system of the Internet resources of the offer of the embodiment of the present invention four, in order to just In explanation, only parts related to embodiments of the present invention are shown.The download system 4 of the Internet resources is including server 41 and in fact Mobile terminal 3 described in example three is applied, server 41 provides the Internet resources of different resolution, under the mobile terminal 3 It carries.Mobile terminal 3 can determine the Internet resources for downloading which kind of resolution ratio according to the network speed got, improve under Internet resources The flexibility of load.
Specifically, Internet resources are divided into high-resolution Internet resources and low point according to the height of resolution ratio by server 41 Resolution Internet resources.Mobile terminal 3 can be downloading high-resolution Internet resources according to the network speed got, determination, or under Low resolution Internet resources are carried, so that the resolution ratio of Internet resources for downloading mobile terminal is matched with the network speed of mobile terminal, When network speed is excellent, high-resolution Internet resources are downloaded, so that the clarity of the Internet resources of downloading is high, in network speed difference, downloading Low resolution Internet resources not will lead to and show that the refresh rate of application is slow, expend situations such as too many flow.
Preferably, when the networking mode got is data network connection, the flow of residual flow packet can also be obtained, According to the flow of network speed and residual flow packet number come determine be downloading high-resolution Internet resources, or downloading low resolution Internet resources can save flow for user.
Preferably, can be with the connection of turn-off data network when the flow of residual flow packet is zero, and user is prompted, it can To avoid in the unwitting situation of user, continue down loading network resource.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. a kind of method for down loading of the Internet resources of mobile terminal, wherein mobile terminal be locally stored networking mode, network speed and The corresponding relationship of residual flow packet stream amount and the resolution ratio of Internet resources to be downloaded characterized by comprising receive application client The downloading that end is sent is requested, and is downloaded request under the Internet resources on mobile terminal and is carried described in the applications client transmission It sets;
After the download apparatus of Internet resources receives the downloading request of applications client transmission, the network speed of mobile terminal is obtained;
Needed for the download apparatus of Internet resources on mobile terminal determines mobile terminal according to the network speed of the mobile terminal got The resolution ratio of the Internet resources of downloading, and send and download request to server comprising the resolution ratio, further includes:
The networking mode of mobile terminal is obtained, the networking mode includes WIFI connection and data network connection;
When the networking mode of the mobile terminal got is data network connection, the flow of residual flow packet is obtained;
When the networking mode of mobile terminal is data network connection, network speed is excellent, and residual flow packet flow it is more when, determine movement The Internet resources downloaded needed for terminal are high-resolution Internet resources;
When the networking mode of mobile terminal is data network connection, network speed is poor, and residual flow packet flow it is more when, determine movement The Internet resources downloaded needed for terminal are the Internet resources of low resolution;
When the networking mode of mobile terminal is data network connection, network speed is poor, and residual flow packet flow it is few when, determine movement The Internet resources downloaded needed for terminal are the Internet resources of low resolution;
When the networking mode of mobile terminal is data network connection, network speed is excellent, and residual flow packet flow it is few when, determine movement The Internet resources downloaded needed for terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, determine that the flow of residual flow packet is more, when When the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few;
The Internet resources of the resolution ratio, institute are downloaded from server according to the mark of the Internet resources carried in the downloading request It states server and the Internet resources of different resolution is provided, for mobile terminal downloading;
The network speed for the mobile terminal that the basis is got determines the resolution ratio for the Internet resources downloaded needed for mobile terminal, also wraps It includes:
When the networking mode of mobile terminal is WIFI connection and excellent network speed, determine that the Internet resources downloaded needed for mobile terminal are High-resolution Internet resources;
When the networking mode of mobile terminal is WIFI connection and network speed difference, determine that the Internet resources downloaded needed for mobile terminal are The Internet resources of low resolution;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution Internet resources are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to preset Network speed threshold value when, determine network speed it is poor.
2. the method as described in claim 1, which is characterized in that the network speed for the mobile terminal that the basis is got determines movement The resolution ratio for the Internet resources downloaded needed for terminal, further includes:
When the networking mode of mobile terminal is data network connection, and the flow of residual flow packet is equal to zero, turn-off data net Network connection, and flow package is prompted to have been used up.
3. a kind of download apparatus of the Internet resources on mobile terminal, wherein networking mode, network speed has been locally stored in mobile terminal With the corresponding relationship of residual flow packet stream amount and the resolution ratio of Internet resources to be downloaded characterized by comprising
Request reception unit is downloaded, the downloading for receiving applications client transmission is requested, described in the applications client transmission Download request to the download apparatus of the Internet resources on mobile terminal;
Network speed acquiring unit obtains after the download apparatus for Internet resources receives the downloading request of applications client transmission The network speed of mobile terminal;
The network speed of resolution ratio determination unit, the mobile terminal for being got according to the network speed acquiring unit determines mobile terminal The resolution ratio of the Internet resources of required downloading, and send and download request to server comprising the resolution ratio;
The resolution ratio determination unit, further includes:
Networking mode obtains module, and for obtaining the networking mode of mobile terminal, the networking mode includes WIFI connection sum number According to network connection;
Residual flow obtains module, surplus for obtaining when the networking mode of the mobile terminal got is data network connection The flow of residual current amount packet;
Third determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow packet When flow is more, determine that the Internet resources downloaded needed for mobile terminal are high-resolution Internet resources;
4th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow packet When flow is more, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
5th determining module is data network connection for the networking mode when mobile terminal, and network speed is poor, and residual flow packet When flow is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
6th determining module is data network connection for the networking mode when mobile terminal, and network speed is excellent, and residual flow packet When flow is few, determine that the Internet resources downloaded needed for mobile terminal are the Internet resources of low resolution;
When the flow of the residual flow packet got is greater than preset flow threshold, determine that the flow of residual flow packet is more, when When the flow of the residual flow packet got is less than or equal to preset flow threshold, determine that the flow of residual flow packet is few;
Download unit, the mark for downloading the Internet resources carried in request for being received according to the downloading request reception unit Know the Internet resources that the resolution ratio is downloaded from server, the server provides the Internet resources of different resolution, for moving Dynamic terminal downloads;
Resolution ratio determination unit, further includes:
When first determining module for the networking mode when mobile terminal is WIFI connection and excellent network speed, mobile terminal institute is determined The Internet resources that need to be downloaded are high-resolution Internet resources;
When second determining module for the networking mode when mobile terminal is WIFI connection and network speed difference, mobile terminal institute is determined The Internet resources that need to be downloaded are the Internet resources of low resolution;
The high-resolution Internet resources are the Internet resources that resolution ratio is greater than default resolution threshold, the low resolution Internet resources are the Internet resources that resolution ratio is less than or equal to default resolution threshold;
When the network speed got is greater than preset network speed threshold value, determine that network speed is excellent, when the network speed got is less than or equal to preset Network speed threshold value when, determine network speed it is poor.
4. device as claimed in claim 3, which is characterized in that the resolution ratio determination unit, further includes:
Cue module is data network connection for the networking mode when mobile terminal, and the flow of residual flow packet is equal to zero When, turn-off data network connection, and flow package is prompted to have been used up.
5. a kind of mobile terminal, which is characterized in that the mobile terminal includes such as the described in any item networks of claim 3 to 4 The download apparatus of resource.
6. a kind of download system of Internet resources, which is characterized in that the system comprises server and as claimed in claim 5 Mobile terminal;
The server provides the Internet resources of different resolution, for mobile terminal downloading.
CN201510528306.9A 2015-08-25 2015-08-25 Method for down loading, apparatus and system and the mobile terminal of Internet resources Active CN105163135B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510528306.9A CN105163135B (en) 2015-08-25 2015-08-25 Method for down loading, apparatus and system and the mobile terminal of Internet resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510528306.9A CN105163135B (en) 2015-08-25 2015-08-25 Method for down loading, apparatus and system and the mobile terminal of Internet resources

Publications (2)

Publication Number Publication Date
CN105163135A CN105163135A (en) 2015-12-16
CN105163135B true CN105163135B (en) 2019-04-12

Family

ID=54803875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510528306.9A Active CN105163135B (en) 2015-08-25 2015-08-25 Method for down loading, apparatus and system and the mobile terminal of Internet resources

Country Status (1)

Country Link
CN (1) CN105163135B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635133A (en) * 2015-12-28 2016-06-01 深圳市金立通信设备有限公司 Multimedia content transmission method and terminal
CN105847979A (en) * 2016-03-31 2016-08-10 乐视控股(北京)有限公司 Method and device of downloading and providing video files
CN106487808A (en) * 2016-11-21 2017-03-08 武汉斗鱼网络科技有限公司 A kind of dynamic method for uploading of live video and system
CN107277031A (en) * 2017-06-30 2017-10-20 广东欧珀移动通信有限公司 A kind of Internet video method for down loading, device, storage medium and terminal
CN108512937B (en) * 2018-04-17 2020-10-30 银川华联达科技有限公司 Computer data sharing system based on mobile network
CN109089285A (en) * 2018-07-19 2018-12-25 深圳市沃特沃德股份有限公司 The method and system of data connection are automatically closed
CN109391694B (en) * 2018-10-26 2022-07-26 深圳壹账通智能科技有限公司 SFTP-based file transmission method and related equipment
CN111953739B (en) * 2020-07-20 2023-10-03 厦门美柚股份有限公司 Resource downloading method, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014301A (en) * 2010-11-26 2011-04-13 优视科技有限公司 Video playing method, system and server
CN103533452A (en) * 2013-10-24 2014-01-22 中国联合网络通信集团有限公司 Transmission control method and device for streaming media
CN104092648A (en) * 2013-12-03 2014-10-08 腾讯科技(深圳)有限公司 File request method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8799259B2 (en) * 2008-11-07 2014-08-05 Core Wireless Licensing, S.a.r.l. Method and apparatus for quality ranking of media
CN101765003A (en) * 2008-12-23 2010-06-30 上海茂碧信息科技有限公司 Method for transmitting audio and video under environment of network with different speeds
CN103986696B (en) * 2014-04-24 2017-04-26 华为技术有限公司 Multimedia file transmission device and method
CN104767809B (en) * 2015-04-02 2018-12-21 天脉聚源(北京)教育科技有限公司 A kind of download control method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102014301A (en) * 2010-11-26 2011-04-13 优视科技有限公司 Video playing method, system and server
CN103533452A (en) * 2013-10-24 2014-01-22 中国联合网络通信集团有限公司 Transmission control method and device for streaming media
CN104092648A (en) * 2013-12-03 2014-10-08 腾讯科技(深圳)有限公司 File request method and device

Also Published As

Publication number Publication date
CN105163135A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
CN105163135B (en) Method for down loading, apparatus and system and the mobile terminal of Internet resources
CN109542614B (en) Resource allocation method, device, terminal and storage medium
CN111163130B (en) Network service system and data transmission method thereof
CN110070496B (en) Method and device for generating image special effect and hardware device
CN103701927B (en) A kind of image sharing method of terminal room, terminal device and communication system
CN103731487A (en) Download method, device, system and router for resource file
CN107396199A (en) Barrage method for exhibiting data and device, computer-readable recording medium
CN104580506B (en) Acquisition methods, cloud server and the client of offline map datum
CN105868420A (en) Network resource loading mode configuration method and device
CN107800814B (en) Virtual machine deployment method and device
CN105487640A (en) Image pre-loading and caching method of Android watch
CN107734556B (en) Data transfer control method and Related product
CN105848117A (en) Recharging method and recharging device
CN106209523B (en) Screen sharing realization method and device and media terminal
CN105847319A (en) Mobile terminal network request method and system
CN105763616B (en) Resource downloading method and device
CN112866985B (en) Flow control method, resource downloading method, device, equipment and storage medium
CN105138107B (en) Downloading method of mobile terminal, device and mobile terminal
CN110286981A (en) The display methods and display system of the use state of virtual cloud desktop server
CN104349202B (en) Video acquiring method and device
CN107277780A (en) A kind of broadcast message sending method and device, mobile terminal
CN106302670B (en) A kind of picture update method, communication terminal and server
WO2023169272A1 (en) Cloud application-based processing method, electronic device, and storage medium
CN113835789A (en) Rendering method, rendering device, electronic equipment and computer storage medium
CN109309858B (en) Display method, device, equipment and medium of mutually exclusive icon

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523841 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant