Supercharge Your Innovation With Domain-Expert AI Agents!

Method and device for downloading resources

A technology of resources and resource information, applied in the Internet field, can solve the problem of consuming more traffic, and achieve the effect of avoiding the need to consume more traffic

Active Publication Date: 2019-01-08
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a method and device for downloading resources, so as to at least solve the technical problem in the related art that users need to consume more traffic when downloading resources

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for downloading resources
  • Method and device for downloading resources
  • Method and device for downloading resources

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] According to an embodiment of the present invention, a method embodiment of a resource downloading method is provided.

[0031] Optionally, in this embodiment, the method for downloading resources above can be applied to such as figure 1 In the hardware environment constituted by the server 102 and the terminal 104 as shown. Such as figure 1 As shown, the server 102 is connected to the terminal 104 through a network. The above-mentioned network includes but not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for downloading resources in the embodiment of the present invention may be executed by the server 102 , may also be executed by the terminal 104 , or may be executed jointly by the server 102 and the terminal 104 . Wherein, the terminal 104 executes the method for downloading resources in the embodiment of the present inventio...

Embodiment 2

[0092] According to an embodiment of the present invention, a device for downloading resources for implementing the method for downloading resources above is also provided. Figure 7 is a schematic diagram of an optional resource downloading device according to an embodiment of the present invention, such as Figure 7 As shown, the device may include: a receiving unit 72 , a first judging unit 74 , a first downloading unit 76 and a second downloading unit 78 .

[0093] The receiving unit 72 is configured to receive an instruction indicating to download the first resource, where the first resource is a resource related to the target application;

[0094] The first judging unit 74 is configured to judge whether the first resource is the same as the second resource cached on the cache server before downloading the first resource, wherein the second resource is forwarded by the cache server after the terminal requests the first resource from the source server When the source serv...

Embodiment 3

[0118] According to an embodiment of the present invention, a server or a terminal (that is, an electronic device) for implementing the resource downloading method above is also provided.

[0119] Figure 8 is a structural block diagram of a terminal according to an embodiment of the present invention, such as Figure 8 As shown, the terminal may include: one or more ( Figure 8 Only one is shown in the figure) processor 801, memory 803, and transmission device 805 (such as the sending device in the above-mentioned embodiment), such as Figure 8 As shown, the terminal may also include an input and output device 807 .

[0120] Wherein, the memory 803 can be used to store software programs and modules, such as program instructions / modules corresponding to the method and device for downloading resources in the embodiment of the present invention, and the processor 801 runs the software programs and modules stored in the memory 803 to execute Various functional applications and...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a resource downloading method and device. Wherein, the method includes: receiving an instruction indicating to download the first resource, where the first resource is a resource related to the target application; before downloading the first resource, judging whether the first resource and the second resource cached on the cache server are Similarly, the second resource is obtained by caching the forwarded first resource when the cache server forwards the first resource sent by the source server to the terminal after the terminal requests the first resource from the source server; when the second resource is the same as the first resource In the case of , the second resource is downloaded from the cache server; in the case of the second resource being different from the first resource, the first resource is downloaded from the source server. The invention solves the technical problem in the related art that users need to consume more traffic when downloading resources.

Description

technical field [0001] The present invention relates to the field of the Internet, in particular, to a method and device for downloading resources. Background technique [0002] A downloader is an auxiliary download tool for downloading specific applications (such as games, tool software, etc.). Downloaders can be classified according to user permissions. Usually, there are blue diamond downloaders, member downloaders, etc. These types of downloaders Different download methods (such as different download speeds) are adopted according to user permissions. [0003] For the traditional game downloader, after the game client file is uploaded to the background server of the CDN, the game downloader will first request the file to be downloaded and MD5 from the background server when starting, and if the request is not available, the downloader will be used The link to the internally configured file is downloaded. After the download is complete, use the configured MD5 to check whe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L63/12H04L67/34H04L67/568H04L67/63
Inventor 冯小飞洪楷徐士立吴海洋叶威锋张其田刘江冬
Owner TENCENT TECH (SHENZHEN) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More