[go: up one dir, main page]

CN103560997A - Application program download management method and device and download server - Google Patents

Application program download management method and device and download server Download PDF

Info

Publication number
CN103560997A
CN103560997A CN201310467023.9A CN201310467023A CN103560997A CN 103560997 A CN103560997 A CN 103560997A CN 201310467023 A CN201310467023 A CN 201310467023A CN 103560997 A CN103560997 A CN 103560997A
Authority
CN
China
Prior art keywords
download
client
server
application program
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310467023.9A
Other languages
Chinese (zh)
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.)
Beijing Qianxin Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310467023.9A priority Critical patent/CN103560997A/en
Publication of CN103560997A publication Critical patent/CN103560997A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种应用程序下载管理的方法、装置及下载服务器,其中应用程序下载管理的方法包括:下载服务器接收客户端发送的应用程序的下载请求,该下载请求包括应用程序的数据包的属性信息;下载服务器根据配置的下载管理策略,判断是否允许客户端的下载请求;当下载服务器允许客户端的所述下载请求时,下载服务器根据下载请求到外网下载应用程序的数据包,并将下载得到的数据包发送给客户端;以及当下载服务器不允许客户端的下载请求时,下载服务器拒绝客户端的下载请求。通过下载服务器对客户端的下载请求进行过滤,可避免带宽资源被一些无关的数据包的下载任务所占用,提高带宽资源的合理利用率。

The invention discloses a method, device and download server for application program download management, wherein the application program download management method includes: the download server receives an application program download request sent by a client, and the download request includes the data packet of the application program Attribute information; the download server judges whether to allow the download request of the client according to the configured download management strategy; The obtained data packet is sent to the client; and when the download server does not allow the client's download request, the download server rejects the client's download request. Filtering the download request of the client by the download server can prevent bandwidth resources from being occupied by download tasks of some irrelevant data packets, and improve the reasonable utilization of bandwidth resources.

Description

应用程序下载管理的方法、装置及下载服务器Application program download management method, device and download server

技术领域technical field

本发明属于计算机技术领域,尤其涉及一种应用程序下载管理的方法、装置及下载服务器。The invention belongs to the technical field of computers, and in particular relates to a method, a device and a download server for application program download management.

背景技术Background technique

随着应用程序开发和版本更新速度的不断提高,各种应用程序的下载处理也逐渐频繁。然而目前的下载服务器无法管理客户端所下载的应用程序的数据包的类型,下载服务器对于客户端的下载请求都默认为允许。With the continuous improvement of application program development and version update speed, the download processing of various application programs is also becoming more frequent. However, the current download server cannot manage the type of data packets of the application program downloaded by the client, and the download server defaults to allowing the download request of the client.

由于客户端通过下载服务器下载的应用程序的数据包不受限制,可能导致网络带宽长期被客户端的下载数据包的任务占用。Since the data packets of the application downloaded by the client through the download server are not limited, the network bandwidth may be occupied by the task of downloading the data packets of the client for a long time.

发明内容Contents of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的应用程序下载管理的方法、装置及下载服务器。In view of the above problems, the present invention is proposed to provide an application program download management method, device and download server that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种应用程序下载管理的方法,所述方法包括:下载服务器接收客户端发送的应用程序的下载请求,所述下载请求包括所述应用程序的数据包的属性信息;所述下载服务器根据配置的下载管理策略,判断是否允许客户端的所述下载请求;当所述下载服务器允许所述客户端的所述下载请求时,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包,并将下载得到的所述数据包发送给所述客户端;以及当所述下载服务器不允许所述客户端的下载请求时,所述下载服务器拒绝所述客户端的所述下载请求。According to one aspect of the present invention, a method for managing application program downloads is provided, the method comprising: the download server receives an application program download request sent by a client, and the download request includes attributes of data packets of the application program information; the download server judges whether to allow the download request of the client according to the configured download management strategy; when the download server allows the download request of the client, the download server sends an external Download the data packet of the application program through the Internet, and send the downloaded data packet to the client; and when the download server does not allow the download request of the client, the download server rejects the client The download request from the end.

可选地,所述下载管理策略为:所述下载服务器允许所述客户端的所有的下载请求。Optionally, the download management policy is: the download server allows all download requests of the client.

可选地,所述下载管理策略为:如果在所述下载服务器的数据库中有与所述应用程序的数据包的属性信息匹配的数据时,所述下载服务器允许所述客户端的下载请求;否则,所述下载服务器不允许所述客户端的下载请求。Optionally, the download management policy is: if there is data matching the attribute information of the data package of the application program in the database of the download server, the download server allows the download request of the client; otherwise , the download server does not allow the download request of the client.

可选地,所述属性信息包括:所述应用程序的数据包的下载地址。Optionally, the attribute information includes: a download address of the data package of the application program.

可选地,所述将下载得到的所述数据包发送给所述客户端的步骤包括:所述下载服务器将下载得到的所述数据包暂时保存在本地的缓存空间中;所述下载服务器将本地的缓存空间中的所述数据包发送给所述客户端。Optionally, the step of sending the downloaded data package to the client includes: the download server temporarily saves the downloaded data package in a local cache space; The data packets in the cache space are sent to the client.

可选地,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包的步骤包括:所述下载服务器根据所述应用程序的数据包的属性信息,判断所述数据包是否存储在所述下载服务器的本地的缓存空间中;如果是,则所述下载服务器将本地的缓存空间中的所述数据包发送给所述客户端;如果不是,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包。Optionally, the step of the download server downloading the data package of the application from the external network according to the download request includes: the download server judges whether the data package is based on the attribute information of the data package of the application Stored in the local cache space of the download server; if yes, the download server sends the data packet in the local cache space to the client; if not, the download server sends the data packet according to the download Request to download the data package of the application from the external network.

依据本发明的另一个方面,还提供了一种应用程序下载管理的装置,所述装置包括:接收模块,用于接收客户端发送的应用程序的下载请求,所述下载请求包括所述应用程序的数据包的属性信息;判断模块,用于根据配置的下载管理策略,判断是否允许客户端的所述下载请求;下载模块,用于当允许所述客户端的下载请求时,根据所述下载请求到外网下载所述应用程序的数据包,并将下载得到的所述数据包发送给所述客户端;以及拒绝模块,用于当不允许所述客户端的下载请求时,向所述客户端发送拒绝所述下载请求的消息。According to another aspect of the present invention, a device for managing application program downloads is also provided, and the device includes: a receiving module, configured to receive a download request of an application program sent by a client, and the download request includes the application program The attribute information of the data packet; the judging module is used to judge whether to allow the download request of the client according to the configured download management policy; the download module is used to send the download request to the Downloading the data packet of the application program from the external network, and sending the downloaded data packet to the client; and a rejection module, configured to send the downloaded data packet to the client when the download request of the client is not allowed. A message denying the download request.

可选地,所述下载管理策略为所述下载服务器允许所述客户端的下载请求。Optionally, the download management policy is that the download server allows the download request of the client.

可选地,所述下载管理策略为如果在所述下载服务器的数据库中有与所述应用程序的数据包的属性信息匹配的数据时,所述下载服务器允许所述客户端的下载请求;否则,所述下载服务器不允许所述客户端的下载请求。Optionally, the download management policy is that if there is data matching the attribute information of the data package of the application program in the database of the download server, the download server allows the download request of the client; otherwise, The download server does not allow the download request of the client.

可选地,所述属性信息包括:所述应用程序的数据包的下载地址。Optionally, the attribute information includes: a download address of the data package of the application program.

可选地,所述下载模块包括:下载单元,用于根据所述下载请求到外网下载所述应用程序的数据包;缓存单元,用于将下载得到的所述数据包暂时保存在本地的缓存空间中;发送单元,用于将本地的缓存空间中的所述数据包发送给所述客户端。Optionally, the download module includes: a download unit, configured to download the data package of the application from the external network according to the download request; a cache unit, configured to temporarily save the downloaded data package in a local In the cache space; a sending unit, configured to send the data packet in the local cache space to the client.

可选地,所述下载模块还包括:处理单元,用于根据所述应用程序的数据包的属性信息,判断所述数据包是否存储在所述本地的缓存空间中;如果是,则触发所述发送单元将本地的缓存空间中的所述数据包发送给所述客户端;如果不是,则触发所述下载单元根据所述下载请求到外网下载所述应用程序的数据包。Optionally, the download module further includes: a processing unit, configured to judge whether the data packet is stored in the local cache space according to the attribute information of the data packet of the application program; if so, trigger the The sending unit sends the data packet in the local buffer space to the client; if not, the downloading unit is triggered to download the data packet of the application program from the external network according to the download request.

依据本发明的又一方面,还提供了一种下载服务器,所述下载服务器包括如上所述的应用程序下载管理的装置。According to yet another aspect of the present invention, a download server is also provided, and the download server includes the device for managing application downloads as described above.

根据本发明的应用程序下载管理的方法、装置及下载服务器,可以使得下载服务器对客户端的下载请求进行过滤处理,当客户端的下载请求满足下载服务器上配置的下载管理策略时,下载服务器允许客户端的下载请求,当客户端的下载请求不满足下载服务器上配置的下载管理策略时,下载服务器拒绝客户端的下载请求,通过下载服务器对客户端的下载请求进行过滤,可避免带宽资源被一些无关的数据包的下载任务所占用,提高带宽资源的合理利用率,而且管理员可通过调整下载服务器上配置的下载管理策略,使得管理员更好的对客户端上的应用程序进行统一管理。According to the application program download management method, device and download server of the present invention, the download server can filter the download request of the client, and when the download request of the client meets the download management policy configured on the download server, the download server allows the client's Download request, when the client's download request does not meet the download management policy configured on the download server, the download server rejects the client's download request, and filters the client's download request through the download server, which can prevent bandwidth resources from being blocked by some irrelevant data packets The download task is occupied by the download task, which improves the reasonable utilization of bandwidth resources, and the administrator can adjust the download management strategy configured on the download server, so that the administrator can better manage the applications on the client in a unified manner.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:

图1示出了根据本发明一个实施例的应用程序下载管理的方法100的流程图;FIG. 1 shows a flowchart of a method 100 for managing application downloads according to an embodiment of the present invention;

图2示出了根据本发明一个实施例的下载服务器管理下载请求的示意图;以及Fig. 2 shows a schematic diagram of a download server managing a download request according to an embodiment of the present invention; and

图3示出了根据本发明另一个实施例应用程序下载管理的装置300的结构图。Fig. 3 shows a structural diagram of an apparatus 300 for managing application downloads according to another embodiment of the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

本发明的实施例提出的应用程序下载管理的方法主要是,下载服务器对客户端的下载请求进行过滤处理,当客户端的下载请求满足下载服务器上配置的下载管理策略时,下载服务器允许客户端的下载请求,当客户端的下载请求不满足下载服务器上配置的下载管理策略时,下载服务器拒绝客户端的下载请求。下面结合图1具体说明根据本发明一个实施例的、适于解决上述问题的应用程序下载管理的方法100的流程图。The application program download management method proposed by the embodiment of the present invention is mainly that the download server filters the download request of the client, and when the download request of the client satisfies the download management policy configured on the download server, the download server allows the download request of the client , when the client's download request does not meet the download management policy configured on the download server, the download server rejects the client's download request. A flow chart of a method 100 for managing application program downloads according to an embodiment of the present invention and suitable for solving the above-mentioned problems will be described in detail below with reference to FIG. 1 .

如图1所示,本发明的方法100的步骤始于步骤S110,在步骤S110中,下载服务器接收客户端发送的应用程序的下载请求,该下载请求包括:应用程序的数据包的属性信息。As shown in FIG. 1 , the steps of the method 100 of the present invention start at step S110. In step S110, the download server receives the application download request sent by the client, and the download request includes: attribute information of the data package of the application.

在本发明的一些实施例中,该下载服务器上存储有大量的应用程序的数据包,该数据包可以是应用程序的安装包,即通过下载该安装包,实现在客户端上安装该应用程序。当客户端需要安装该应用程序时,客户端向下载服务器发送下载应用程序的安装包的下载请求;该数据包也可以是应用程序的升级包,即通过下载该升级包,实现对客户端上的应用程序进行版本升级。当客户端需要对已安装的应用程序进行升级时,客户端向下载服务器发送下载应用程序的升级包的下载请求。当然可以理解的是,在本发明的实施例中并不限定该数据包的类型。In some embodiments of the present invention, the download server stores a large number of data packages of the application program, and the data package may be the installation package of the application program, that is, by downloading the installation package, the application program can be installed on the client . When the client needs to install the application program, the client sends a download request to the download server to download the installation package of the application program; version upgrade of the application. When the client needs to upgrade the installed application program, the client sends a download request for downloading the upgrade package of the application program to the download server. Of course, it can be understood that the type of the data packet is not limited in the embodiment of the present invention.

可选地,数据包的属性信息包括应用程序的数据包的下载地址。在本发明的实施例中可通过下载地址来区分数据包的类型,进而对客户端的下载请求进行过滤,只有当数据包的下载地址符合下载服务器中配置的下载管理策略时,下载服务器才会允许客户端的下载请求。Optionally, the attribute information of the data package includes a download address of the data package of the application program. In the embodiment of the present invention, the type of the data packet can be distinguished by the download address, and then the download request of the client is filtered. Only when the download address of the data packet conforms to the download management strategy configured in the download server, the download server will allow Client's download request.

随后,在步骤S120中,下载服务器根据配置的下载管理策略,判断是否允许客户端的下载请求。Subsequently, in step S120, the download server judges whether to allow the download request of the client according to the configured download management policy.

在本发明的一些实施例中,下载管理策略可以为:下载服务器允许客户端所有的下载请求。In some embodiments of the present invention, the download management policy may be: the download server allows all download requests from the client.

也就是,下载服务器接收到客户端的下载请求后,可根据配置的下载管理策略判断是否允许客户端的下载请求,如果下载管理策略为下载服务器允许客户端所有的下载请求时,下载服务器对来自客户端的所有的下载请求全部允许,下载服务器不会限制客户端的下载请求。That is, after the download server receives the download request from the client, it can judge whether to allow the download request of the client according to the configured download management strategy. All download requests are allowed, and the download server will not limit the client's download requests.

在本发明的其他实施例中,下载管理策略也可以为:如果在下载服务器的数据库中有与应用程序的数据包的属性信息匹配的数据时,下载服务器允许客户端的下载请求;否则,下载服务器拒绝客户端的下载请求。In other embodiments of the present invention, the download management strategy can also be: if there is data matching the attribute information of the data package of the application program in the database of the download server, the download server allows the download request of the client; otherwise, the download server Deny the client's download request.

也就是,下载服务器接收到客户端的下载请求后,可根据配置的下载管理策略判断是否允许客户端的下载请求,如果下载服务器的数据库中有与应用程序的数据包的属性信息匹配的数据时,下载服务器允许该客户端的下载请求;否则,下载服务器拒绝该客户端的下载请求。That is, after the download server receives the download request from the client, it can judge whether to allow the download request from the client according to the configured download management strategy. The server allows the client's download request; otherwise, the download server rejects the client's download request.

在本发明的实施例中,管理员可在下载服务器上配置多种不同的下载管理策略,下面以数据包的属性信息中包括应用程序的数据包的下载地址为例进行介绍,管理员预先在下载服务器的数据库中配置代理主机的域名列表,例如代理主机的域名列表中存储有procy_hosts和procy_hosts_min的域名,如果数据包的下载地址位于代理主机的域名列表中的地址范围内时,下载服务器允许客户端的下载该数据包的下载请求;如果数据包的下载地址不在代理主机的域名列表中的地址范围内时,下载服务器拒绝客户端的下载该数据包的下载请求。In the embodiment of the present invention, the administrator can configure a variety of different download management strategies on the download server. The following uses the attribute information of the data package to include the download address of the data package of the application program as an example. The domain name list of the proxy host is configured in the database of the download server. For example, the domain names of procy_hosts and procy_hosts_min are stored in the domain name list of the proxy host. If the download address of the data packet is within the address range in the domain name list of the proxy host, the download server allows the client to If the download address of the data packet is not in the address range in the domain name list of the proxy host, the download server rejects the download request of the client to download the data packet.

具体方式一、在下载服务器的代理主机的域名列表中设置指定的服务提供商(例如奇虎360)的所有产品的数据包的代理主机的域名(例如360EntPublish.dat文件中[procy_hosts]和[procy_hosts_min])。参见图2,如果下载服务器24接收到客户端22下载该指定的服务提供商的任一产品的数据包的下载请求时,由于下载服务器24的代理主机的域名列表中设置有该指定的服务提供商的所有产品的数据包的代理主机的域名,因此下载服务器24会允许客户端22的下载请求,然后下载服务器24到外网服务器26下载数据包;而如果客户端22下载的数据包是其他服务提供商的产品时,由于其他服务提供商的产品的数据包的代理主机的域名没有设置在下载服务器24的代理主机的域名列表中,因此下载服务器24会拒绝该下载请求。Specific method 1: Set the domain names of the proxy hosts of the data packets of all products of the specified service provider (such as Qihoo 360) in the domain name list of the proxy host of the download server (such as [procy_hosts] and [procy_hosts_min in the 360EntPublish.dat file ]). Referring to Fig. 2, if download server 24 receives client 22 to download the download request of the data package of any product of this specified service provider, since the domain name list of the proxy host of download server 24 is provided with the specified service provider The domain name of the proxy host of the data packets of all products of the supplier, so the download server 24 can allow the download request of the client 22, and then the download server 24 downloads the data packets to the external network server 26; and if the data packets downloaded by the client 22 are other When the product of service provider, because the domain name of the proxy host of the data packet of the product of other service provider is not set in the domain name list of the proxy host of download server 24, so download server 24 can reject this download request.

具体方式二、在下载服务器的代理主机的域名列表中设置漏洞补丁、卫士木马库、或杀毒病毒库等数据包的代理主机的域名(例如360EntPublish.dat文件中[procy_hosts]和[procy_hosts_min])。参见图2,如果下载服务器24接收到客户端22下载漏洞补丁、卫士木马库、或杀毒病毒库等数据包的下载请求时,由于如果下载服务器24的代理主机的域名列表中设置有漏洞补丁、卫士木马库、或杀毒病毒库等数据包的代理主机的域名,因此,下载服务器24会允许该下载请求,然后下载服务器24到外网服务器26下载数据包;如果下载服务器24接收到客户端下载电影、游戏或音乐等数据包的下载请求时,由于下载服务器24的代理主机的域名列表中没有设置电影、游戏或音乐等数据包的代理主机的域名,因此下载服务器24会拒绝客户端22的下载请求。Specific method 2: Set the domain names of proxy hosts for data packages such as vulnerability patches, guard trojan horse databases, or antivirus databases in the domain name list of proxy hosts of the download server (for example, [procy_hosts] and [procy_hosts_min] in the 360EntPublish.dat file). Referring to Fig. 2, if download server 24 receives client 22 to download the download request of data packets such as vulnerability patch, guard Trojan horse storehouse or antivirus virus library, because if be provided with vulnerability patch, The domain names of the agent hosts of data packets such as the guard's Trojan horse library or antivirus virus database, therefore, the download server 24 can allow this download request, and then the download server 24 downloads the data packets to the extranet server 26; if the download server 24 receives the client download During the download request of data packets such as movies, games or music, because the domain names of the proxy hosts of data packets such as movies, games or music are not set in the domain name list of the proxy host of download server 24, so download server 24 can reject client 22. download request.

由于下载服务器仅允许下载漏洞补丁、卫士木马库或杀毒病毒库等数据包的下载请求,使得客户端无法通过下载服务器下载其他无关的应用程序,比如电影,游戏或者音乐,从而更加便于管理员对客户端上的应用程序进行管理。Since the download server only allows download requests for data packages such as vulnerability patches, guard Trojan horse libraries, or antivirus virus libraries, the client cannot download other irrelevant applications, such as movies, games or music, through the download server, making it easier for administrators to The application on the client side is managed.

如果在步骤S120中判断允许客户端的下载请求后,进入到步骤S130,在步骤S130中,下载服务器根据下载请求到外网下载应用程序的数据包,并将下载得到的数据包发送给客户端。If it is judged in step S120 that the download request of the client is allowed, the process proceeds to step S130. In step S130, the download server downloads the data packet of the application program from the external network according to the download request, and sends the downloaded data packet to the client.

在本发明的一些实施例中,下载服务器根据下载请求到外网下载应用程序的数据包的步骤包括:下载服务器根据应用程序的数据包的属性信息,判断数据包是否存储在下载服务器的本地的缓存空间中;如果存在,下载服务器将本地的缓存空间中的数据包发送给客户端;如果不存在,下载服务器根据下载请求到外网下载应用程序的数据包。In some embodiments of the present invention, the step of the download server downloading the data package of the application program from the external network according to the download request includes: the download server judges whether the data package is stored in the local location of the download server according to the attribute information of the data package of the application program. In the cache space; if it exists, the download server sends the data packet in the local cache space to the client; if it does not exist, the download server downloads the data packet of the application from the external network according to the download request.

可选地,在下载服务器的本地的缓存空间中存储有一数据表,该数据表中记录有缓存空间中缓存的数据包的属性信息,当下载服务器接收到客户端的下载请求后,判断数据包的属性信息是否已经存储在该数据表中,如果是,则下载服务器无需到外网下载该应用程序的数据包,而可以直接将缓存空间中的数据包发送给客户端,由此可以节省带宽资源。如果没有,则下载服务器就需要根据下载请求到外网下载应用程序的数据包。例如根据数据包的属性信息中的数据包的下载地址,下载服务器链接到外网的数据服务器上下载应用程序的数据包。Optionally, a data table is stored in the local cache space of the download server, and the attribute information of the data packets cached in the cache space is recorded in the data table. When the download server receives the download request from the client, it judges the data packet Whether the attribute information has been stored in the data table, if so, the download server does not need to download the data package of the application program from the external network, but can directly send the data package in the cache space to the client, thus saving bandwidth resources . If not, the download server needs to download the data package of the application from the external network according to the download request. For example, according to the download address of the data package in the attribute information of the data package, the download server links to the data server on the external network to download the data package of the application program.

在本发明的一些实施例中,将下载得到的数据包发送给客户端的步骤包括:下载服务器将下载得到的数据包暂时保存在本地的缓存空间中;然后下载服务器将本地的缓存空间中的数据包发送给客户端。使得当有其他客户端下载相同的数据包时,下载服务器可以直接将本地的缓存空间中的数据包发送给客户端。In some embodiments of the present invention, the step of sending the downloaded data package to the client includes: the download server temporarily saves the downloaded data package in a local cache space; then the download server stores the data in the local cache space The package is sent to the client. So that when other clients download the same data package, the download server can directly send the data package in the local cache space to the client.

如果在步骤S120中判断不允许客户端的下载请求后,进入到步骤S140,在步骤S140中,下载服务器拒绝客户端的下载请求。If it is judged in step S120 that the client's download request is not allowed, then go to step S140. In step S140, the download server rejects the client's download request.

也就是,如果客户端的下载请求不满足下载服务器上管理员配置的下载管理策略时,下载服务器就会拒绝这类下载请求,从而使带宽资源不会被一些无关的下载请求所占用,提高了网络资源的合理利用率。That is, if the download request of the client does not meet the download management policy configured by the administrator on the download server, the download server will reject this type of download request, so that the bandwidth resources will not be occupied by some irrelevant download requests, improving the quality of the network. Reasonable utilization of resources.

需要说明的是,图1所示的方法并不限定按所示的各步骤的顺序进行,可以根据需要调整各步骤的先后顺序,比如步骤S130和步骤S140,另外,所述步骤也不限定于上述步骤划分,上述步骤可以进一步拆分成更多步骤也可以合并成更少步骤。It should be noted that the method shown in FIG. 1 is not limited to the order of the steps shown, and the order of the steps can be adjusted as required, such as step S130 and step S140. In addition, the steps are not limited to The above steps are divided, and the above steps can be further divided into more steps or combined into fewer steps.

下面结合图3说明根据本发明一个实施例的、适于解决上述问题的一种应用程序下载管理的装置300。An apparatus 300 for managing application program downloads according to an embodiment of the present invention and suitable for solving the above problems will be described below with reference to FIG. 3 .

如图3所示,本发明的应用程序下载管理的装置300包括:接收模块302、判断模块304、下载模块306和拒绝模块308。As shown in FIG. 3 , the device 300 for managing application downloads in the present invention includes: a receiving module 302 , a judging module 304 , a downloading module 306 and a rejecting module 308 .

其中,接收模块302用于接收客户端发送的应用程序的下载请求,下载请求包括应用程序的数据包的属性信息;判断模块304用于根据配置的下载管理策略,判断是否允许客户端的下载请求;下载模块306用于当允许客户端的下载请求时,根据下载请求到外网下载应用程序的数据包,并将下载得到的数据包发送给客户端;以及,拒绝模块308用于当不允许客户端的下载请求时,向客户端发送拒绝下载请求的消息。Wherein, the receiving module 302 is used to receive the download request of the application sent by the client, and the download request includes the attribute information of the data packet of the application; the judging module 304 is used to judge whether to allow the download request of the client according to the configured download management strategy; The download module 306 is used for when the download request of the client is allowed, downloads the data packet of the application program from the external network according to the download request, and sends the downloaded data packet to the client; When downloading a request, send a message rejecting the download request to the client.

在本发明的一些实施例中,该装置上存储有大量的应用程序的数据包,该数据包可以是应用程序的安装包,即通过下载该安装包,实现在客户端上安装该应用程序。当客户端需要安装该应用程序时,客户端向该装置发送下载应用程序的安装包的下载请求;该数据包也可以是应用程序的升级包,即通过下载该升级包,实现对客户端上的应用程序进行版本升级。当客户端需要对已安装的应用程序进行升级时,客户端向该装置发送下载应用程序的升级包的下载请求。当然可以理解的是,在本发明的实施例中并不限定该数据包的类型。In some embodiments of the present invention, a large number of application program data packages are stored on the device, and the data packages may be application program installation packages, that is, the application program is installed on the client by downloading the installation package. When the client needs to install the application program, the client sends a download request to the device to download the installation package of the application program; version upgrade of the application. When the client needs to upgrade the installed application, the client sends a download request for downloading the upgrade package of the application to the device. Of course, it can be understood that the type of the data packet is not limited in the embodiment of the present invention.

可选地,数据包的属性信息包括应用程序的数据包的下载地址。在本发明的实施例中该装置可通过下载地址来区分数据包的类型,进而对客户端的下载请求进行过滤,只有当数据包的下载地址符合该装置中配置的下载管理策略时,该装置才会允许客户端的下载请求。Optionally, the attribute information of the data package includes a download address of the data package of the application program. In the embodiment of the present invention, the device can distinguish the type of the data packet through the download address, and then filter the download request of the client. Only when the download address of the data packet conforms to the download management strategy configured in the device, the device will The client's download request will be allowed.

在本发明的一些实施例中,下载管理策略可以为:该装置允许客户端所有的下载请求。也就是,该装置接收到客户端的下载请求后,可根据配置的下载管理策略判断是否允许客户端的下载请求,如果下载管理策略为该装置允许客户端所有的下载请求时,该装置对来自客户端的所有的下载请求全部允许,该装置不会限制客户端的下载请求。In some embodiments of the present invention, the download management policy may be: the device allows all download requests from the client. That is, after the device receives the download request from the client, it can judge whether to allow the download request from the client according to the configured download management strategy. All download requests are allowed, and the device will not limit the client's download requests.

在本发明的其他实施例中,下载管理策略也可以为:如果在该装置的数据库中有与应用程序的数据包的属性信息匹配的数据时,该装置允许客户端的下载请求;否则,该装置拒绝客户端的下载请求。In other embodiments of the present invention, the download management strategy can also be: if there is data matching the attribute information of the data package of the application program in the database of the device, the device allows the download request of the client; otherwise, the device Deny the client's download request.

也就是,该装置接收到客户端的下载请求后,可根据配置的下载管理策略判断是否允许客户端的下载请求,如果该装置的数据库中有与应用程序的数据包的属性信息匹配的数据时,该装置允许该客户端的下载请求;否则,该装置拒绝该客户端的下载请求。That is, after the device receives the download request from the client, it can judge whether to allow the download request from the client according to the configured download management policy. If there is data matching the attribute information of the application data package in the database of the device, the The device allows the client's download request; otherwise, the device rejects the client's download request.

管理员可在该装置上配置多种不同的下载管理策略,下面以数据包的属性信息包括应用程序的数据包的下载地址为例,管理员在该装置的数据库中配置代理主机的域名列表,例如代理主机的域名列表中存储有procy_hosts和procy_hosts_min的域名,如果数据包的下载地址位于代理主机的域名列表中的地址范围内时,该装置允许客户端的下载该数据包的下载请求;如果数据包的下载地址不在代理主机的域名列表中的地址范围内时,该装置拒绝客户端的下载该数据包的下载请求。The administrator can configure a variety of download management strategies on the device. The following is an example where the attribute information of the data package includes the download address of the data package of the application program. The administrator configures the domain name list of the proxy host in the database of the device. For example, the domain names of procy_hosts and procy_hosts_min are stored in the domain name list of the proxy host, if the download address of the data packet is within the address range in the domain name list of the proxy host, the device allows the download request of the client to download the data packet; if the data packet When the download address is not within the address range in the domain name list of the proxy host, the device rejects the download request of the client to download the data package.

具体方式一、在该装置的代理主机的域名列表中设置指定的服务提供商(例如奇虎360)的所有产品的数据包的代理主机的域名(例如360EntPublish.dat文件中[procy_hosts]和[procy_hosts_min])。如果该装置接收到客户端下载该指定的服务提供商的任一产品的数据包的下载请求时,由于该装置的代理主机的域名列表中设置有该指定的服务提供商的所有产品的数据包的代理主机的域名,因此该装置允许客户端的下载请求,该装置到外网服务器下载数据包;而如果客户端下载的数据包是其他的服务提供商的产品时,由于其他的服务提供商的产品的数据包的代理主机的域名没有设置在该装置的代理主机的域名列表中,因此该装置会拒绝该下载请求。Specific method 1: Set the domain name of the proxy host of the data packets of all products of the specified service provider (such as Qihoo 360) in the domain name list of the proxy host of the device (such as [procy_hosts] and [procy_hosts_min in the 360EntPublish.dat file ]). If the device receives a download request from the client to download the data package of any product of the specified service provider, since the domain name list of the proxy host of the device is set with data packages of all products of the specified service provider The domain name of the proxy host, so the device allows the download request of the client, and the device downloads the data package to the external network server; and if the data package downloaded by the client is the product of other service providers, due to the other service provider’s The domain name of the proxy host of the product data package is not set in the domain name list of the proxy host of the device, so the device will reject the download request.

具体方式二、在下载服务器的代理主机的域名列表中设置漏洞补丁、卫士木马库、或杀毒病毒库等数据包的代理主机的域名(例如360EntPublish.dat文件中[procy_hosts]和[procy_hosts_min])。如果该装置接收到客户端下载漏洞补丁、卫士木马库、或杀毒病毒库等数据包的下载请求时,由于如果该装置的代理主机的域名列表中设置有漏洞补丁、卫士木马库、或杀毒病毒库等数据包的代理主机的域名,因此,该装置允许该下载请求,该装置到外网服务器下载数据包;如果该装置接收到客户端下载电影、游戏或音乐等数据包的下载请求时,由于该装置的代理主机的域名列表中没有设置电影、游戏或音乐等数据包的代理主机的域名,因此该装置会拒绝客户端的下载请求。由于该装置仅允许下载漏洞补丁、卫士木马库或杀毒病毒库等数据包的下载请求,使得客户端无法通过该装置下载其他无关的应用程序,比如电影,游戏或者音乐,从而更加便于管理员对客户端上的应用程序进行管理。Specific method 2: Set the domain names of proxy hosts for data packages such as vulnerability patches, guard trojan horse databases, or antivirus databases in the domain name list of proxy hosts of the download server (for example, [procy_hosts] and [procy_hosts_min] in the 360EntPublish.dat file). If the device receives a download request from the client to download data packages such as the vulnerability patch, the guard Trojan library, or the antivirus virus database, because if the domain name list of the proxy host of the device is set with the vulnerability patch, the guard Trojan library, or the antivirus virus Therefore, the device allows the download request, and the device downloads the data package to the external network server; if the device receives a download request from the client to download data packages such as movies, games or music, Because the domain name list of the proxy host of the device does not set the domain name of the proxy host of data packets such as movies, games or music, the device will reject the download request of the client. Since the device only allows download requests for data packages such as bug patches, guard Trojan horse libraries, or anti-virus virus libraries, the client cannot download other irrelevant applications, such as movies, games or music through the device, making it easier for administrators to The application on the client side is managed.

可选地,下载模块206包括:下载单元、缓存单元和发送单元,其中下载单元用于根据下载请求到外网下载应用程序的数据包;缓存单元用于将下载得到的数据包暂时保存在本地的缓存空间中;发送单元用于将本地的缓存空间中的数据包发送给客户端。Optionally, the download module 206 includes: a download unit, a cache unit, and a sending unit, wherein the download unit is used to download data packets of the application program from the external network according to the download request; the cache unit is used to temporarily store the downloaded data packets locally in the cache space; the sending unit is used to send the data packets in the local cache space to the client.

可选地,下载模块206还包括:处理单元,用于根据应用程序的数据包的属性信息判断数据包是否存储在本地的缓存空间中;如果存在,则触发发送单元将本地的缓存空间中的数据包发送给客户端;如果不存在,则触发下载单元根据下载请求到外网下载应用程序的数据包。Optionally, the download module 206 further includes: a processing unit, configured to judge whether the data packet is stored in the local cache space according to the attribute information of the data packet of the application program; The data packet is sent to the client; if it does not exist, the download unit is triggered to download the data packet of the application program from the external network according to the download request.

根据本发明的另一个方面,还提供了一种下载服务器,该下载服务器包括如上所述的装置,具体结构可参见图3。According to another aspect of the present invention, a download server is also provided. The download server includes the above-mentioned device, and the specific structure can be referred to FIG. 3 .

根据本发明的应用程序下载管理的方法、装置及下载服务器,可以使得下载服务器对客户端的下载请求进行过滤处理,当客户端的下载请求满足下载服务器上配置的下载管理策略时,下载服务器允许客户端的下载请求,当客户端的下载请求不满足下载服务器上配置的下载管理策略时,下载服务器拒绝客户端的下载请求,通过下载服务器对客户端的下载请求进行过滤,可避免带宽资源被一些无关的数据包的下载任务所占用,提高带宽资源的合理利用率,而且管理员可通过调整下载服务器上配置的下载管理策略,使得管理员更好的对客户端上的应用程序进行统一管理。According to the application program download management method, device and download server of the present invention, the download server can filter the download request of the client, and when the download request of the client meets the download management policy configured on the download server, the download server allows the client's Download request, when the client's download request does not meet the download management policy configured on the download server, the download server rejects the client's download request, and filters the client's download request through the download server, which can prevent bandwidth resources from being blocked by some irrelevant data packets The download task is occupied by the download task, which improves the reasonable utilization of bandwidth resources, and the administrator can adjust the download management strategy configured on the download server, so that the administrator can better manage the applications on the client in a unified manner.

本发明的实施例中,所述属性信息包括:所述应用程序的数据包的下载地址。In an embodiment of the present invention, the attribute information includes: a download address of the data package of the application program.

本发明的实施例中,所述下载模块包括:In an embodiment of the present invention, the download module includes:

下载单元,用于根据所述下载请求到外网下载所述应用程序的数据包;a download unit, configured to download the data package of the application from the external network according to the download request;

缓存单元,用于将下载得到的所述数据包暂时保存在本地的缓存空间中;A cache unit, configured to temporarily save the downloaded data package in a local cache space;

发送单元,用于将本地的缓存空间中的所述数据包发送给所述客户端。A sending unit, configured to send the data packets in the local buffer space to the client.

本发明的实施例中,所述下载模块还包括:In an embodiment of the present invention, the download module also includes:

处理单元,用于根据所述应用程序的数据包的属性信息,判断所述数据包是否存储在所述本地的缓存空间中;如果是,则触发所述发送单元将本地的缓存空间中的所述数据包发送给所述客户端;如果不是,则触发所述下载单元根据所述下载请求到外网下载所述应用程序的数据包。A processing unit, configured to judge whether the data packet is stored in the local cache space according to the attribute information of the data packet of the application program; if yes, trigger the sending unit to send all the data packets in the local cache space The data packet is sent to the client; if not, the download unit is triggered to download the data packet of the application program from the external network according to the download request.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的应用程序下载管理的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the apparatus for managing application downloads according to the embodiments of the present invention. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

Claims (10)

1.一种应用程序下载管理的方法,其特征在于,所述方法包括:1. A method for application download management, characterized in that the method comprises: 下载服务器接收客户端发送的应用程序的下载请求,所述下载请求包括所述应用程序的数据包的属性信息;The download server receives the download request of the application program sent by the client, and the download request includes the attribute information of the data packet of the application program; 所述下载服务器根据配置的下载管理策略,判断是否允许客户端的所述下载请求;The download server judges whether to allow the download request of the client according to the configured download management strategy; 当所述下载服务器允许所述客户端的所述下载请求时,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包,并将下载得到的所述数据包发送给所述客户端;以及When the download server allows the download request of the client, the download server downloads the data package of the application program from the external network according to the download request, and sends the downloaded data package to the client; and 当所述下载服务器不允许所述客户端的下载请求时,所述下载服务器拒绝所述客户端的所述下载请求。When the download server does not allow the download request of the client, the download server rejects the download request of the client. 2.根据权利要求1所述的方法,其特征在于,所述下载管理策略为:所述下载服务器允许所述客户端的所有的下载请求。2. The method according to claim 1, wherein the download management policy is: the download server allows all download requests of the client. 3.根据权利要求1或2所述的方法,其特征在于,所述下载管理策略为:如果在所述下载服务器的数据库中有与所述应用程序的数据包的属性信息匹配的数据时,所述下载服务器允许所述客户端的下载请求;否则,所述下载服务器不允许所述客户端的下载请求。3. The method according to claim 1 or 2, wherein the download management strategy is: if there is data matching the attribute information of the data packet of the application program in the database of the download server, The download server allows the client's download request; otherwise, the download server does not allow the client's download request. 4.根据权利要求3所述的方法,其特征在于,所述属性信息包括:所述应用程序的数据包的下载地址。4. The method according to claim 3, wherein the attribute information includes: a download address of the data package of the application program. 5.根据权利要求1~4任一所述的方法,其特征在于,所述将下载得到的所述数据包发送给所述客户端的步骤包括:5. The method according to any one of claims 1 to 4, wherein the step of sending the downloaded data packet to the client comprises: 所述下载服务器将下载得到的所述数据包暂时保存在本地的缓存空间中;The download server temporarily saves the downloaded data package in a local cache space; 所述下载服务器将本地的缓存空间中的所述数据包发送给所述客户端。The download server sends the data packets in the local cache space to the client. 6.根据权利要求1~5任一所述的方法,其特征在于,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包的步骤包括:6. The method according to any one of claims 1 to 5, wherein the step of downloading the data package of the application from the external network by the download server according to the download request comprises: 所述下载服务器根据所述应用程序的数据包的属性信息,判断所述数据包是否存储在所述下载服务器的本地的缓存空间中;The download server judges whether the data packet is stored in the local cache space of the download server according to the attribute information of the data packet of the application program; 如果是,则所述下载服务器将本地的缓存空间中的所述数据包发送给所述客户端;If so, the download server sends the data packet in the local cache space to the client; 如果不是,所述下载服务器根据所述下载请求到外网下载所述应用程序的数据包。If not, the download server downloads the data package of the application from the external network according to the download request. 7.一种应用程序下载管理的装置,其特征在于,所述装置包括:7. A device for application program download management, characterized in that the device comprises: 接收模块,用于接收客户端发送的应用程序的下载请求,所述下载请求包括所述应用程序的数据包的属性信息;The receiving module is configured to receive the download request of the application program sent by the client, and the download request includes the attribute information of the data packet of the application program; 判断模块,用于根据配置的下载管理策略,判断是否允许客户端的所述下载请求;A judging module, configured to judge whether to allow the download request of the client according to the configured download management strategy; 下载模块,用于当允许所述客户端的下载请求时,根据所述下载请求到外网下载所述应用程序的数据包,并将下载得到的所述数据包发送给所述客户端;以及A download module, configured to download the data package of the application from the external network according to the download request when the download request of the client is allowed, and send the downloaded data package to the client; and 拒绝模块,用于当不允许所述客户端的下载请求时,向所述客户端发送拒绝所述下载请求的消息。A rejecting module, configured to send a message of rejecting the download request to the client when the download request of the client is not allowed. 8.根据权利要求7所述的装置,其特征在于,所述下载管理策略为所述下载服务器允许所述客户端的下载请求。8. The device according to claim 7, wherein the download management policy is that the download server allows the download request of the client. 9.根据权利要求7或8所述的装置,其特征在于,所述下载管理策略为如果在所述下载服务器的数据库中有与所述应用程序的数据包的属性信息匹配的数据时,所述下载服务器允许所述客户端的下载请求;否则,所述下载服务器不允许所述客户端的下载请求。9. The device according to claim 7 or 8, wherein the download management strategy is that if there is data matching the attribute information of the data packet of the application program in the database of the download server, the The download server allows the download request of the client; otherwise, the download server does not allow the download request of the client. 10.一种下载服务器,其特征在于,所述下载服务器包括如权利要求7~9任一所述的应用程序下载管理的装置。10. A download server, characterized in that the download server comprises the device for managing application program downloads according to any one of claims 7-9.
CN201310467023.9A 2013-10-09 2013-10-09 Application program download management method and device and download server Pending CN103560997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310467023.9A CN103560997A (en) 2013-10-09 2013-10-09 Application program download management method and device and download server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310467023.9A CN103560997A (en) 2013-10-09 2013-10-09 Application program download management method and device and download server

Publications (1)

Publication Number Publication Date
CN103560997A true CN103560997A (en) 2014-02-05

Family

ID=50015147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310467023.9A Pending CN103560997A (en) 2013-10-09 2013-10-09 Application program download management method and device and download server

Country Status (1)

Country Link
CN (1) CN103560997A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909401A (en) * 2015-12-22 2017-06-30 北京奇虎科技有限公司 A kind of control method and device of application program
CN107493350A (en) * 2017-09-30 2017-12-19 迈普通信技术股份有限公司 Caching method, apparatus and system
CN108234598A (en) * 2017-12-06 2018-06-29 国网江西省电力有限公司赣西供电分公司 A kind of network communication applied to power industry controls management method
CN108243242A (en) * 2017-12-06 2018-07-03 国网江西省电力有限公司赣西供电分公司 Power information communication network control method, computer readable storage medium and device
CN109783115A (en) * 2018-12-29 2019-05-21 努比亚技术有限公司 Program application management method, mobile terminal and computer readable storage medium
CN114448958A (en) * 2021-12-24 2022-05-06 天翼云科技有限公司 Resource pool software downloading method and device and server
CN115396535A (en) * 2022-08-24 2022-11-25 北京安天网络安全技术有限公司 Patch updating method, device and system based on agent

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784883A (en) * 2002-12-09 2006-06-07 高通股份有限公司 System and method for handshaking between wireless devices and servers
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101541002A (en) * 2008-03-21 2009-09-23 展讯通信(上海)有限公司 Web server-based method for downloading software license of mobile terminal
CN101873355A (en) * 2010-06-28 2010-10-27 深圳市迅雷网络技术有限公司 A method, device and system for downloading files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784883A (en) * 2002-12-09 2006-06-07 高通股份有限公司 System and method for handshaking between wireless devices and servers
CN101030873A (en) * 2007-02-15 2007-09-05 深圳市迅雷网络技术有限公司 Method and system for downloading data
CN101541002A (en) * 2008-03-21 2009-09-23 展讯通信(上海)有限公司 Web server-based method for downloading software license of mobile terminal
CN101873355A (en) * 2010-06-28 2010-10-27 深圳市迅雷网络技术有限公司 A method, device and system for downloading files

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106909401A (en) * 2015-12-22 2017-06-30 北京奇虎科技有限公司 A kind of control method and device of application program
CN106909401B (en) * 2015-12-22 2021-05-25 北京奇虎科技有限公司 Application program control method and device
CN107493350A (en) * 2017-09-30 2017-12-19 迈普通信技术股份有限公司 Caching method, apparatus and system
CN108234598A (en) * 2017-12-06 2018-06-29 国网江西省电力有限公司赣西供电分公司 A kind of network communication applied to power industry controls management method
CN108243242A (en) * 2017-12-06 2018-07-03 国网江西省电力有限公司赣西供电分公司 Power information communication network control method, computer readable storage medium and device
CN109783115A (en) * 2018-12-29 2019-05-21 努比亚技术有限公司 Program application management method, mobile terminal and computer readable storage medium
CN114448958A (en) * 2021-12-24 2022-05-06 天翼云科技有限公司 Resource pool software downloading method and device and server
CN115396535A (en) * 2022-08-24 2022-11-25 北京安天网络安全技术有限公司 Patch updating method, device and system based on agent
CN115396535B (en) * 2022-08-24 2024-02-23 北京安天网络安全技术有限公司 Patch updating method, device, system, equipment and medium based on proxy

Similar Documents

Publication Publication Date Title
CN103560997A (en) Application program download management method and device and download server
US11218445B2 (en) System and method for implementing a web application firewall as a customized service
CN103034512B (en) The method and apparatus of more new procedures
JP6081925B2 (en) Satisfy application dependencies
CN106357738B (en) A kind of automatically dispose methods, devices and systems of server cluster
CN103577757B (en) Virus defending method and device
CN102999354B (en) file loading method and device
CN104486291B (en) Establish the method, apparatus and system of connection
CN103268442B (en) A kind of method and apparatus realizing secure access video website
CN103198253B (en) The method and system of operating file
CN104484599A (en) Behavior processing method and device based on application program
CN104836843A (en) Client application program updating method and device
CN103793248B (en) Method and device for upgrading application program
CN106155739A (en) A kind of plug-in unit control metering method, server, client and control amount platform
CN104036019A (en) Method and device for opening webpage links
CN103019765B (en) A kind of file redirection method, device and computer system
CN104580361A (en) Method, device and system for downloading data
CN104484224A (en) Server process control method, device and system
CN104484219B (en) The method and apparatus of distributing policy in virtual platform
CN103647753A (en) LAN file security management method, server and system
WO2020038388A1 (en) Resource configuration method and apparatus, and storage medium
CN103020180A (en) Control node-based program deploying method and device
CN103546563A (en) Terminal software intelligent update method and system
CN102902564B (en) Method and the device of patch are installed
CN102867061B (en) Method for managing system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161123

Address after: 100015 Chaoyang District Road, Jiuxianqiao, No. 10, building No. 3, floor 15, floor 17, 1701-26,

Applicant after: BEIJING QI'ANXIN SCIENCE & TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

Applicant before: Qizhi Software (Beijing) Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205