Suche Bilder Maps Play YouTube News Gmail Drive Mehr »
Anmelden
Nutzer von Screenreadern: Klicke auf diesen Link, um die Bedienungshilfen zu aktivieren. Dieser Modus bietet die gleichen Grundfunktionen, funktioniert aber besser mit deinem Reader.

Patentsuche

  1. Erweiterte Patentsuche
VeröffentlichungsnummerCN103618756 A
PublikationstypAnmeldung
AnmeldenummerCN 201310413903
Veröffentlichungsdatum5. März 2014
Eingetragen12. Sept. 2013
Prioritätsdatum12. Sept. 2013
Veröffentlichungsnummer201310413903.8, CN 103618756 A, CN 103618756A, CN 201310413903, CN-A-103618756, CN103618756 A, CN103618756A, CN201310413903, CN201310413903.8
Erfinder张俊丰
Antragsteller天脉聚源(北京)传媒科技有限公司
Zitat exportierenBiBTeX, EndNote, RefMan
Externe Links:  SIPO, Espacenet
Method and apparatus for transmitting resource
CN 103618756 A
Zusammenfassung
The invention discloses a method and an apparatus for transmitting resource. The method for transmitting the resource includes following steps of generating a uniform resource locator according to a network transmission protocol and a domain name of a resource server, accessing the resource server through the generated uniform resource locator to obtain a webpage file containing download information of resource stored in the resource server; analyzing the webpage file to obtain the download information of the resource; and downloading the resource to local according to the acquired download information of the resource. According to the method and the apparatus for transmitting the resource, a webpage file containing download information of resource is obtained, the resource in a resource server is downloaded to local, and automatic download of the resource is achieved.
Ansprüche(10)  übersetzt aus folgender Sprache: Chinesisch
1.一种资源传输方法,其特征在于,包括以下步骤: 根据网络传输协议和资源服务器域名生成统一资源定位符; 通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息; 解析所述网页文件,获取资源的下载信息; 根据获取的资源的下载信息将资源下载到本地。 A resource transmission method comprising the steps of: generating a uniform resource locator according to the network transport protocols and resource domain name server; acquiring a Web page files generated Uniform Resource Locator access the resource server; the page file includes download information stored in the resource server resources; parsing the page file, access to resources download information; depending on the downloaded information obtained resources will resources locally.
2.根据权利要求1所述的方法,其特征在于,所述根据网络传输协议和资源服务器域名生成统一资源定位符,包括:根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符; 所述通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息,包括: 通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 2. A method according to claim 1, wherein said uniform resource locator is generated according to the network transport protocol and domain name server resources, comprising: the network transport protocol, the domain name server resources and user ID generating a uniform resource locator; The acquisition page document generated by a uniform resource locator server to access resources; the web page file includes a resource stored in the resource server to download information, including: acquiring a Web page files generated Uniform Resource Locator access the resource server; the said page file includes a storage resource having to download the user identification information in the resource server.
3.根据权利要求1所述的方法,其特征在于,所述根据网络传输协议和资源服务器域名生成统一资源定位符,包括:根据网络传输协议、资源服务器域名、用户名和密码生成统一资源定位符;其中,所述用户名和密码用于访问资源服务器时进行身份验证。 3. The method according to claim 1, wherein said uniform resource locator is generated according to the network transport protocol and domain name server resources, comprising: the network transport protocol, the resource server domain name, user name and password to generate a uniform resource locator ; wherein the user name and password authentication for access to the resource server.
4.根据权利要求1所述的方法,其特征在于,根据获取的资源的下载信息将资源下载到本地之后,所述方法还包括:向资源服务器发出删除已下载到本地的资源的指令。 After The method according to claim 1, characterized in that, depending on the downloaded information obtained resources will be downloaded to the local resources, the method further comprises: Issue delete downloaded to the local resources of the instruction to the resource server.
5.根据权利要求1所述的方法,其特征在于,所述根据网络传输协议和资源服务器域名生成统一资源定位符之前,所述方法还包括: 读取配置文件,从所述配置文件中获取所述网络传输协议和资源服务器域名。 5. The method according to claim 1, characterized in that, prior to the uniform resource locator is generated according to the network transport protocol and domain name server resources, the method further comprises: reading the configuration file, the configuration file obtained from the The network transport protocols and resource server domain.
6.一种资源传输装置,其特征在于,包括: 生成模块,用于根据网络传输协议和资源服务器域名生成统一资源定位符; 获取模块,用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息; 解析模块,用于解析所述网页文件,获取资源的下载信息; 下载模块,用于根据获取的资源的下载信息将资源下载到本地。 A resource transmission apparatus, characterized by comprising: a generating module for generating a uniform resource locator according to the network transport protocol and domain name server resource; acquiring module, for acquiring a Web page by a uniform resource locator to access a resource server-generated file; download the page file includes a resource information stored in the resource server; the parsing module for parsing the page file, for download information resources; download module for downloading information obtained resources will resources downloaded to the local.
7.根据权利要求6所述的装置,其特征在于,所述生成模块用于根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符; 所述获取模块用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 7. The apparatus according to claim 6, characterized in that said generation module according to the network transport protocol is used, the user ID and the domain name server resource to generate a uniform resource locator; by the acquiring module is used to generate a uniform resource location character page file server to get access to resources; and the page file has downloaded information resources include the user identity stored in the resource server.
8.根据权利要求6所述的装置,其特征在于,所述生成模块用于根据网络传输协议、资源服务器域名、用户名、密码生成统一资源定位符;其中,所述用户名、密码用于访问资源服务器时进行身份验证。 8. The apparatus according to claim 6, characterized in that said generation module according to the network transport protocol is used, the resource server domain name, user name, password generating a uniform resource locator; wherein, the user name and password for for authentication when accessing the resource server.
9.根据权利要求6所述的装置,其特征在于,所述装置还包括: 发送模块,用于向资源服务器发出删除已下载到本地的资源的指令。 9. The apparatus according to claim 6, characterized in that said apparatus further comprises: a sending module, for sending delete downloaded to the local resources of the instruction to the resource server.
10.根据权利要求6所述的装置,其特征在于,所述装置还包括: 读取模块,用于读取配置文件,从所述配置文件中获取所述网络传输协议和资源服务器域名。 10. The apparatus according to claim 6, characterized in that said apparatus further comprising: a read module for reading the configuration file, the network transmission protocol and obtaining resources from the domain name server configuration file.
Beschreibung  übersetzt aus folgender Sprache: Chinesisch

一种资源传输方法和装置 Method and apparatus for transmitting a resource

技术领域 Technical Field

[0001] 本发明涉及通信技术领域,尤其涉及一种资源传输方法和装置。 [0001] The present invention relates to communication technologies, and more particularly to a method and apparatus for transmitting resource.

背景技术 Background

[0002]目前,例如在大型展会中,各个参展商为了吸引游客或宣传自己的产品,需要印制及发放大量的纸质材料,这种发放纸质材料的方式费时费力,且较为盲目,针对性较差。 [0002] Currently, for example, in large-scale exhibition, the respective exhibitors in order to attract tourists and promote their products, require the printing and distribution of vast amounts of paper materials, paper materials such payment the way time-consuming, and more blind, for poor. 而游客由于接收到大量的纸质材料,也无法及时进行翻阅,无法找到自己想了解的参展商。 The large number of tourists due to the reception of the paper material, can not be read in a timely manner, can not find the exhibitors they want to know. 这种分发纸质材料的方式无法为参展商和游客提供好的服务。 This way of distributing paper-based materials can not provide good service for exhibitors and visitors.

发明内容 DISCLOSURE

[0003] 本发明实施例提供一种资源传输方法和装置,用于根据需求从资源服务器下载资源,提高了下载资源的速度和效率。 [0003] The embodiment of the invention provides a method and apparatus for transmitting resource for download from the resource server resources on demand, increase the speed and efficiency of downloading resources.

[0004] 本发明实施例提出的一种资源传输方法,包括以下步骤: [0004] A resource transmission method proposed by the present embodiment of the invention, comprising the steps of:

[0005] 根据网络传输协议和资源服务器域名生成统一资源定位符; [0005] generate a uniform resource locator according to the network transport protocols and resource domain name server;

[0006] 通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息; [0006] Get page files generated Uniform Resource Locator access the resource server; the web page file contains download information stored in the resource server resources;

[0007] 解析所述网页文件,获取资源的下载信息; [0007] parsing the page file, for download information resources;

[0008] 根据获取的资源的下载信息将资源下载到本地。 [0008] According to information obtained resources to download resources to local.

[0009] 本发明实施例通过获取包括有资源的下载信息的网页文件,将资源服务器中的资源下载到本地,实现了资源的自动下载。 Example [0009] The present invention comprises a resource acquisition download information page document, the resource server resources to the local, to achieve the automatic download of resources.

[0010] 作为上述技术方案的优选,所述根据网络传输协议和资源服务器域名生成统一资源定位符,包括:根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符;所述通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息,包括:通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 [0010] As a preferred aspect of the above, according to the generating network transport protocols and resource server domain Uniform Resource Locator, comprising: the network transport protocol, resource server domain name and user ID generate a uniform resource locator; the pass generated Uniform Resource Locator page file server to get access to resources; the web page file contains download information resources stored in the resource server, comprising: obtaining a page file access via a Uniform Resource Locator server-generated resources; the web page file contains storing a download of the user identification information resources in the resource server. 本方案中所组成的URL中包含用户标识,可以根据该URL获取指定用户上传到资源服务器的资源,能够避免将其他用户的资源也下载下来,节省了下载时间和资源的占用的空间。 The program contains the URL composed of user ID, you can obtain the specified user to upload to the resource server resources based on the URL, users can avoid other resources are downloaded, saving the space occupied by the download time and resources.

[0011] 作为上述技术方案的优选,所述根据网络传输协议和资源服务器域名生成统一资源定位符,包括:根据网络传输协议、资源服务器域名、用户名和密码生成统一资源定位符;其中,所述用户名和密码用于访问资源服务器时进行身份验证。 [0011] As a preferred aspect of the above, according to the generating network transport protocols and resource server domain Uniform Resource Locator, comprising: the network transport protocol, the resource server domain name, user name and password to generate a uniform resource locator; wherein user name and password for authentication when accessing the resource server. 本发明实施例中,通过在URL中携带用户名和密码,可以进行资源服务器所需的身份验证,可以避免资源被随意下载。 Embodiments of the present invention, by carrying the username and password in the URL, the server can authenticate the resources needed to avoid resource is free to download.

[0012] 作为上述技术方案的优选,根据获取的资源的下载信息将资源下载到本地之后,所述方法还包括:向资源服务器发出删除已下载到本地的资源的指令。 After the [0012] As a preferred aspect of the above, depending on the downloaded information obtained resources will be downloaded to the local resources, the method further comprises: Issue delete downloaded to the local resources of the instruction to the resource server. 本方案可节省资源服务器的空间。 The program can save space resources of the server.

[0013] 作为上述技术方案的优选,所述根据网络传输协议和资源服务器域名生成统一资源定位符之前,所述方法还包括:读取配置文件,从所述配置文件中获取所述网络传输协议和资源服务器域名。 Before [0013] As a preferred aspect of the above, the generating uniform resource locator according to the network transport protocols and resource server domain name, the method further comprising: reading the configuration file to get the network transport protocol from the configuration file and resource server domain. 本方案通过读取配置文件获取网络传输协议和资源服务器域名,简便易行。 The program by reading a configuration file for network transport protocols and resource server domain name, easy.

[0014] 本发明实施例还提出一种资源传输装置,包括: [0014] Embodiments of the present invention also provides a resource transfer device, comprising:

[0015] 生成模块,用于根据网络传输协议和资源服务器域名生成统一资源定位符; [0015] generation module for generating network transport protocols and resources according to domain name server uniform resource locator;

[0016] 获取模块,用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息; [0016] acquisition module for acquiring a Web page files generated Uniform Resource Locator access the resource server; the web page file contains download information stored in the resource server resources;

[0017] 解析模块,用于解析所述网页文件,获取资源的下载信息; [0017] The analysis module, for parsing the page file, for download information resources;

[0018] 下载模块,用于根据获取的资源的下载信息将资源下载到本地。 [0018] download module for downloading information obtained resources will be downloaded to the local resources.

[0019] 作为上述技术方案的优选,所述生成模块用于根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符; [0019] As a preferred aspect of the above, the generating module is used according to the network transport protocol resource server domain name and user ID generated Uniform Resource Locator;

[0020] 所述获取模块用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 [0020] The acquisition module for acquiring the page files generated by a uniform resource locator to access the resource server; the page file download information comprises storing the user identification having resources in the resource server.

[0021] 作为上述技术方案的优选,所述生成模块用于根据网络传输协议、资源服务器域名、用户名、密码生成统一资源定位符;其中,所述用户名、密码用于访问资源服务器时进行身份验证。 [0021] As a preferred aspect of the above, the generating module is used according to the network transport protocol resource server domain name, user name, password, generate a uniform resource locator; wherein the user name and password to access the resource server When authentication.

[0022] 作为上述技术方案的优选,所述装置还包括: [0022] As the above-described preferred aspect, the apparatus further comprising:

[0023] 发送模块,用于向资源服务器发出删除已下载到本地的资源的指令。 [0023] The transmitting module for sending delete downloaded to the local resources of the instruction to the resource server.

[0024] 作为上述技术方案的优选,所述装置还包括: [0024] As the above-described preferred aspect, the apparatus further comprising:

[0025] 读取模块,用于读取配置文件,从所述配置文件中获取所述网络传输协议和资源服务器域名。 [0025] reading module for reading the configuration file to get the network transport protocols and resource server domain name from the configuration file.

[0026] 本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。 [0026] Other features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or be learned by practice of the invention. 本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。 The objectives and other advantages of the present invention may be realized and obtained by means of the written description, claims and drawings in the structure particularly pointed out.

[0027] 下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。 [0027] By the following figures and examples, the technical aspect of the present invention are described in further detail do.

附图说明 Brief Description

[0028] 附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。 [0028] The drawings used to provide further understanding of the invention and constitute a part of this specification, the embodiments of the invention, serve to explain the present invention and are not construed to limit the present invention. 在附图中: In the drawings:

[0029] 图1为本发明实施例中资源传输方法的主要流程图; [0029] FIG. 1 is a schematic flow diagram of the invention is primarily resource transfer method of implementation;

[0030] 图2为本发明实施例中资源传输方法的示例的流程图; [0030] Figure 2 is a flowchart of an example of embodiment of the invention, the resource transmission method embodiment;

[0031] 图3为本发明实施例中资源传输方法的另一示例的流程图; [0031] Figure 3 is a flowchart showing another example of the invention the resource transmission method embodiment;

[0032] 图4为本发明实施例中资源传输方法的另一示例的流程图; [0032] FIG. 4 is a flowchart illustrating another example of the invention, the resource transfer method of implementation;

[0033] 图5为本发明实施例中资源传输方法的另一示例的流程图; [0033] FIG. 5 is a flowchart illustrating another example of the invention, the resource transfer method of implementation;

[0034] 图6为本发明实施例中资源传输装置的结构示意图; [0034] Figure 6 is a block diagram representation of the invention, the transmission device resources embodiment;

[0035] 图7为本发明实施例中资源传输装置的一示例的结构示意图。 [0035] FIG. 7 is a schematic diagram of an exemplary configuration of the invention the example of the implementation of the resource transfer apparatus.

具体实施方式 DETAILED DESCRIPTION

[0036] 以下结合附图对本发明的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本发明,并不用于限定本发明。 [0036] The following accompanying drawings of the preferred embodiment of the present invention will be described, it should be understood that the preferred embodiments described herein are only intended to illustrate and explain the present invention and are not intended to limit the present invention.

[0037] 本实施例提供的资源传输方法可以用于在展会上向游客的终端设备提供参展商的资源,可以在中控设备中实现该方法来为游客提供资源。 [0037] The resources provided by the embodiment transmission method can be used to provide exhibitors at the show visitors resources to the terminal device, the method can be implemented in the control device to provide resources for tourists. 参展商将所需要在展会共享的资源上传至资源服务器,然后中控设备从资源服务器将需要提供给游客的资源下载下来,以供参加展会的游客的终端设备(比如手机、平板电脑等)从中控设备中获取资源。 Exhibitors at the show will be the need to share resources uploaded to the resource server, then the control device from the resource server will need to provide resources to the visitors down to participate in the show for tourists terminal devices (such as mobile phone, tablet, etc.) from control device access to resources.

[0038] 下面通过实施例详细说明本发明实施例提出的资源传输方法。 [0038] The following examples illustrate the resource by transmission method according to the proposed embodiment of the present invention.

[0039] 如图1所示,本实施例提供的资源传输方法包括以下步骤: Resource transmission method [0039] As shown in FIG 1, the present embodiment include the steps of:

[0040] 步骤SlOl:根据网络传输协议和资源服务器域名生成统一资源定位符。 [0040] Step SlOl: Uniform Resource Locator generated according to the network transport protocols and resource server domain.

[0041] 步骤S102:通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息。 [0041] Step S102: Get page files generated Uniform Resource Locator access the resource server; the web page file contains download information stored in the resource server resources.

[0042] 步骤S103:解析所述网页文件,获取资源的下载信息。 [0042] Step S103: parsing the page file, for download information resources.

[0043] 步骤S104:根据获取的资源的下载信息将资源下载到本地。 [0043] Step S104: According to information obtained downloaded resources will resources locally.

[0044] 本发明实施例通过获取包括有资源的下载信息的网页文件,将资源服务器中的资源下载到本地,实现了资源的自动下载。 Example [0044] The present invention comprises a resource acquisition download information page document, the resource server resources to the local, to achieve the automatic download of resources.

[0045] 在本发明实施例中,其中的网络传输协议和资源服务器域名可通过读取预先设置的配置文件来获取。 [0045] In an embodiment of the present invention, wherein the network transport protocols and resource server domain can be obtained by reading configuration files set in advance. 具体地,如图2所示,包括以下步骤: Specifically, as shown in FIG. 2, comprising the steps of:

[0046] 步骤S201:读取配置文件获取网络传输协议和资源服务器域名。 [0046] Step S201: reads the configuration file for the network transport protocols and resource server domain.

[0047] 其中,网络传输协议包括超文本传输协议(Hypertext transfer protocol,HTTP)和文本传输协议(File Transfer Protocol,FTP)等;资源服务器域名也可以用服务器的网络互联协议地址(IP)地址代替。 [0047] wherein the network transport protocols, including Hypertext Transfer Protocol (Hypertext transfer protocol, HTTP) and Hypertext Transfer Protocol (File Transfer Protocol, FTP) and the like; resource server domain name to be replaced with the network address of the server's Internet protocol (IP) address .

[0048] 该配置文件可由用户预先配置。 [0048] The pre-configured by the user profile.

[0049] 步骤S202:根据获取的网络传输协议和资源服务器域名,生成统一资源定位符(Uniform Resource Locator, URL)。 [0049] Step S202: according to the acquired network transport protocols and resource server domain, generate Uniform Resource Locator (Uniform Resource Locator, URL).

[0050] 例如,可根据以下格式生成URL:网络传输协议://资源服务器域名。 [0050] For example, you can generate a URL based on the following format: network transport protocol: // server domain resources. 例如,配置文件中包含的传输协议是超文本传输协议(Hypertext transfer protocol, http),资源服务器的域名是www.ABC.com,那么组成的URL为http://www.ABC.com。 For example, the transport protocol configuration file contains hypertext transfer protocol (Hypertext transfer protocol, http), the domain name server's resources are www.ABC.com, then the URL is composed http://www.ABC.com.

[0051] 步骤S203:通过生成的URL访问资源服务器。 [0051] Step S203: URL to access resources generated by the server.

[0052] 步骤S204:接收资源服务器发送的网页文件,其中,该网页文件中包括存储在资源服务器中的资源的下载信息。 [0052] Step S204: receiving resource page document sent by the server, where the page file contains download information stored in the resource server resources.

[0053] 其中,网页文件包括但不限于:可扩展标记语言(Extensible Markup Language,XML)文件、超文本标记语言(Hypertext Markup Language, HTML)文件等。 [0053] where the page files include but are not limited to: Extensible Markup Language (Extensible Markup Language, XML) files, HTML (Hypertext Markup Language, HTML) files.

[0054] 步骤S205:解析网页文件,获取资源的下载信息。 [0054] Step S205: parsing the page file, for download information resources.

[0055] 优选的,资源的下载信息包括资源的下载地址、资源的名称、资源的目标文件夹名称等。 [0055] Preferably, the download information resources include resources download address, name of the resource, the resource of the target file folder names.

[0056] 步骤S206:根据获取的资源的下载信息将资源下载到本地。 [0056] Step S206: According to information obtained downloaded resources will resources locally.

[0057] 优选的,将资源下载到本地时,可以将资源存储到指定的存储目录。 [0057] Preferably, the resources to local time, resources can be stored in the designated storage directory.

[0058] 上述方法的整个过程,每隔预设时间就重复一次。 The whole process [0058] The above-described method, every time the preset repeat.

[0059] 本实施例所提供的资源传输的方法,通过读取配置文件获取网络传输协议和资源服务器域名,简便易行。 Method [0059] The present embodiment embodiment provided resources for transmission, access network transport protocols and resource server domain name by reading a configuration file, easy. [0060] 在本发明实施例中,还可以根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符,具体流程如图3所示,包括以下步骤: [0060] In an embodiment of the present invention, it is also possible according to the network transport protocol resource server domain name and user ID generated Uniform Resource Locator, the specific process shown in Figure 3, comprising the steps of:

[0061] 步骤S301:读取配置文件,获取配置文件中的网络传输协议、资源服务器域名和用户标识。 [0061] Step S301: reads the configuration file, the configuration file to obtain network transport protocols, resource server domain name and user ID.

[0062] 其中,用户标识是用于表示资源的上传者的唯一标识,例如为上传资源的终端的MAC (Media Access Control,介质访问控制)地址。 [0062] where the user ID is used to represent the unique identifier uploader resources, such as uploading resources terminal MAC (Media Access Control, MAC) address.

[0063] 步骤S302:根据网络传输协议、资源服务器域名和用户标识生成URL。 [0063] Step S302: The network transport protocol, resource server domain name and user ID generated URL.

[0064] 例如,根据网络传输协议、资源服务器域名和用户标识按照以下格式生成URL:网络传输协议://资源服务器域名/用户标识。 [0064] For example, according to the network transport protocol resource server domain name and user ID generated URL in the following format: network transport protocol: // resource server domain / user ID.

[0065] 步骤S303:通过生成的URL访问资源服务器。 [0065] Step S303: URL to access resources generated by the server.

[0066] 获取资源服务器中的包含资源下载地址的网页文件。 [0066] access to resources in the server page file contains resources address.

[0067] 步骤S304:接收资源服务器发送的网页文件,其中,该网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 [0067] Step S304: receiving resource page document sent by the server, where the page file includes a storage resource having to download the user identification information in the resource server.

[0068] 步骤S305:解析网页文件,获取资源的下载信息。 [0068] Step S305: parsing the page file, for download information resources.

[0069] 步骤S306:根据获取的资源的下载信息将资源下载到本地。 [0069] Step S306: According to information obtained downloaded resources will resources locally.

[0070] 本实施例中所组成的URL中包含用户标识,可以根据该URL获取指定用户上传到资源服务器的资源,能够避免将其他用户的资源也下载下来,节省了下载时间和资源的占用的空间。 [0070] URL in this embodiment consisting of user ID is included, you can get the specified user to upload to the resource server resources based on the URL, can prevent other users also downloaded resources, saving time and resources occupied download the space. 例如,当展会有三天,而每天具有不同的参展商时,无须把所有参展商共享的资源下载到本地,而仅把当天参加展览的参展商的共享的资源下载到本地,使用用户标识即可以实现该功能。 For example, when the show for three days, and each day has a different exhibitors, all exhibitors need to be downloaded to the local shared resources, but only the day to participate in the exhibition exhibitors shared resources to the local user ID that is possible implement this function.

[0071] 在本发明实施例中,还可以根据网络传输协议、资源服务器域名、用户名和密码生成统一资源定位符,如图4所示,包括下列步骤: [0071] In an embodiment of the present invention, it is also possible according to the network transport protocol, the resource server domain name, user name and password to generate a uniform resource locator, shown in Figure 4, comprising the steps of:

[0072] 步骤S401:读取配置文件,获取配置文件中的网络传输协议、资源服务器域名、用户名和密码。 [0072] Step S401: reads the configuration file, the configuration file to obtain network transport protocol, the resource server domain name, user name and password.

[0073] 步骤S402:根据网络传输协议、资源服务器域名、用户名和密码生成URL。 [0073] Step S402: The network transport protocol, the resource server domain name, user name and password generated URL.

[0074] 例如,根据以下格式生成URL:网络传输协议://资源服务器域名/用户名/密码。 [0074] For example, the URL is generated according to the following format: network transport protocol: // resource server domain / username / password.

[0075] 步骤S403:通过生成的URL访问资源服务器。 [0075] Step S403: URL to access resources generated by the server.

[0076] 步骤S404:接收资源服务器返回的验证信息,若验证成功,执行步骤405,若验证失败,则结束。 [0076] Step S404: receiving authentication information returned by the server's resources, if the authentication is successful, step 405, if the validation fails, the end.

[0077] 步骤S405:接收资源服务器发送的网页文件,其中,该网页文件中包括存储在资源服务器中的资源的下载信息。 [0077] Step S405: receiving resource page document sent by the server, where the page file contains download information stored in the resource server resources.

[0078] 步骤S406:解析网页文件,获取资源的下载信息。 [0078] Step S406: parsing the page file, for download information resources.

[0079] 步骤S407:根据获取的资源的下载信息将资源下载到本地。 [0079] Step S407: According to information obtained downloaded resources will resources locally.

[0080] 本发明实施例中,通过在URL中携带用户名和密码,可以进行资源服务器所需的身份验证,可以避免资源服务器中的资源被随意下载。 [0080] The present invention embodiment, by carrying the username and password in the URL, the server can authenticate the resources needed to avoid resource server resources are free to download.

[0081] 本发明实施例中,还可以在资源下载完成后,将资源服务器中的资源删除,以节省资源服务器的空间,如图5所示,具体包括以下步骤: [0081] embodiment of the present invention may also be in the resource download is complete, remove the resource server resources, space-saving server resources, as shown in Figure 5, including the steps of:

[0082] 步骤S501:读取配置文件获取网络传输协议和资源服务器域名。 [0082] Step S501: reads the configuration file for the network transport protocols and resource server domain.

[0083] 步骤S502:根据获取的网络传输协议和资源服务器域名,生成统一资源定位符。 [0083] Step S502: according to the acquired network transport protocols and resource server domain, generating a uniform resource locator. [0084] 步骤S503:通过生成的URL访问资源服务器。 [0084] Step S503: URL to access resources generated by the server.

[0085] 步骤S504:接收资源服务器发送的网页文件,其中,该网页文件中包括存储在资源服务器中的资源的下载信息。 [0085] Step S504: receiving resource page document sent by the server, where the page file contains download information stored in the resource server resources.

[0086] 步骤S505:解析网页文件,获取资源的下载信息。 [0086] Step S505: parsing the page file, for download information resources.

[0087] 步骤S506:根据获取的资源的下载信息将资源下载到本地。 [0087] Step S506: According to information obtained downloaded resources will resources locally.

[0088] 步骤S507:向资源服务器发出删除已下载到本地的资源的指令。 [0088] Step S507: issue by removing downloaded instructions to local resources to the resource server.

[0089] 本实施例提供的资源传输方法,在资源下载完成过后,将资源服务器中的该已下载资源删除,可以节省资源服务器的空间。 [0089] The resource transfer method provided in an embodiment, after the completion of resources, the resource server delete the downloaded resources, you can save space resources of the server.

[0090] 相应地,如图6所示,本发明实施例还提出一种资源传输装置,包括: [0090] Accordingly, as shown in Figure 6, the embodiment of the present invention also provides a resource transfer apparatus, comprising:

[0091] 生成模块601,用于根据网络传输协议和资源服务器域名生成统一资源定位符; [0091] generation module 601 for generating a uniform resource locator according to the network transport protocols and resource domain name server;

[0092] 获取模块602,用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的资源的下载信息; [0092] acquisition module 602 for acquiring a Web page file access via a Uniform Resource Locator server-generated resources; the web page file contains download information stored in the resource server resources;

[0093] 解析模块603,用于解析所述网页文件,获取资源的下载信息; [0093] The parsing module 603 for parsing the page file, for download information resources;

[0094] 下载模块604,用于根据获取的资源的下载信息将资源下载到本地。 [0094] Download module 604 for download based on information obtained resources will be downloaded to the local resources.

[0095] 优选的,所述生成模块601用于根据网络传输协议、资源服务器域名和用户标识生成统一资源定位符; [0095] Preferably, the generating module 601 is used according to the network transport protocol resource server domain name and user ID generated Uniform Resource Locator;

[0096] 所述获取模块602用于通过生成的统一资源定位符访问资源服务器获取网页文件;所述网页文件中包括存储在资源服务器中的具有所述用户标识的资源的下载信息。 [0096] The acquisition module 602 for acquiring the page files generated by a uniform resource locator to access the resource server; download the web page file having the user identification information resources stored in the resource comprises a server.

[0097] 优选的,生成模块601用于根据网络传输协议、资源服务器域名、用户名和密码生成统一资源定位符;其中,所述用户名、密码用于访问资源服务器时进行身份验证。 [0097] Preferably, the generation module 601 is used according to the network transport protocol resource server domain name, user name and password to generate a uniform resource locator; wherein the user name and password for authentication when accessing the resource server.

[0098] 优选的,如图7所示,所述装置还包括: [0098] Preferably, as shown in FIG. 7, the apparatus further comprising:

[0099] 发送模块605,用于向资源服务器发出删除已下载到本地的资源的指令。 [0099] transmit module 605 for emitting delete downloaded to the local resources of the instruction to the resource server.

[0100] 优选的,如图7所示,所述装置还包括: [0100] Preferably, as shown in FIG. 7, the apparatus further comprising:

[0101] 读取模块606,用于读取配置文件,从所述配置文件中获取所述网络传输协议和资源服务器域名。 [0101] reading module 606 is used to read the configuration file to get the network transport protocols and resource server domain name from the configuration file.

[0102] 本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。 [0102] Those skilled in the art should understand, embodiments of the present invention may provide a method, system, or computer program product. 因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。 Accordingly, the present invention may be entirely hardware embodiment, an entirely software embodiment, or a combination of forms of embodiment of software and hardware aspects. 而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。 Furthermore, the present invention can be used in one or more of which contains a computer usable program code, computer usable storage media (including, but not limited to, disk storage and optical storage, etc.), implemented on a computer program product.

[0103] 本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。 [0103] The present invention has been described in accordance with a method embodiment of the present invention, apparatus (systems), and flow computer program products and / or block diagram to describe. 应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。 It should be understood by the computer program instructions, and a combination of the flowchart and / or block diagram each of the processes and / or block flow and / or block diagram of the process and / or box. 可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。 These computer program instructions can be provided to a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions executed by a computer or other programmable data processing apparatus generating In the apparatus for implementing a process flow diagram or more processes and / or block diagram block or blocks a specified function.

[0104] 这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。 [0104] These computer program instructions may also be stored in a computer can boot the computer or other programmable data processing apparatus to function in a particular manner readable memory so that stored in the computer readable instructions in the memory to produce articles of manufacture including instruction means The instruction means implemented in a process flow diagram or more processes and / or block diagram block or blocks a specified function.

[0105] 这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。 [0105] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus, so that the implementation of a series of steps on the computer or other programmable apparatus to produce a computer implemented, resulting in a computer or other programmable apparatus Instruction is provided on the implementation of a process for implementing the flowchart or more processes and / or block diagram of a block or blocks functions specified steps.

[0106] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0106] Obviously, those skilled in the art of the present invention may be various changes and modifications without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if such modifications and variations of the present invention belongs to the claims of the invention and their equivalents technology range, the present invention is also intended to encompass such changes and modifications included.

Patentzitate
Zitiertes PatentEingetragen Veröffentlichungsdatum Antragsteller Titel
CN101645905A *31. Aug. 200910. Febr. 2010深圳市茁壮网络股份有限公司Data downloading method and data uploading method and browser
CN102073667A *23. Nov. 200925. Mai 2011鸿富锦精密工业(深圳)有限公司Method for browsing web albums in electronic device
CN102446051A *11. Okt. 20109. Mai 2012英业达股份有限公司Webpage display adjustment system and display adjustment method thereof
US20120059708 *26. Aug. 20118. März 2012Adchemy, Inc.Mapping Advertiser Intents to Keywords
Klassifizierungen
Internationale KlassifikationH04L29/12, H04L29/08
Juristische Ereignisse
DatumCodeEreignisBeschreibung
2. Apr. 2014C10Entry into substantive examination