[go: up one dir, main page]

CN101841554B - Resource downloading request method of terminal and terminal - Google Patents

Resource downloading request method of terminal and terminal Download PDF

Info

Publication number
CN101841554B
CN101841554B CN201010104347.2A CN201010104347A CN101841554B CN 101841554 B CN101841554 B CN 101841554B CN 201010104347 A CN201010104347 A CN 201010104347A CN 101841554 B CN101841554 B CN 101841554B
Authority
CN
China
Prior art keywords
broadcast domain
download
file server
terminal
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010104347.2A
Other languages
Chinese (zh)
Other versions
CN101841554A (en
Inventor
陈海彬
赖后华
崔文林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN201010104347.2A priority Critical patent/CN101841554B/en
Publication of CN101841554A publication Critical patent/CN101841554A/en
Application granted granted Critical
Publication of CN101841554B publication Critical patent/CN101841554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供终端请求下载资源的方法和一种终端,可以减少大量终端对文件服务器同时发起下载请求时对文件服务器造成的冲击。所述方法包括:向广播域广播咨询报文,所述咨询报文用于咨询所述广播域内的其他终端是否正在从文件服务器下载或请求下载待下载的文件;接收所述咨询报文的应答报文,根据所述应答报文反映的所述广播域中其他终端从文件服务器下载所述文件的状况确定是否连接至所述文件服务器下载所述文件。本发明不仅对何时请求下载的控制的准确度高,最大程度地减少或避免多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击,而且,本发明实施例提供的方法可以支持多种外部服务器。

Embodiments of the present invention provide a method for a terminal to request download resources and a terminal, which can reduce the impact on the file server when a large number of terminals initiate download requests to the file server at the same time. The method includes: broadcasting a consultation message to the broadcast domain, where the consultation message is used to consult whether other terminals in the broadcast domain are downloading or requesting to download a file to be downloaded from a file server; receiving a response to the consultation message message, and determine whether to connect to the file server to download the file according to the status of other terminals in the broadcast domain downloading the file from the file server reflected in the response message. The present invention not only has high accuracy in controlling when to request downloading, and minimizes or avoids the impact on the file server when multiple terminals simultaneously initiate download requests to the file server at the same time, but also, the method provided by the embodiment of the present invention can Supports a variety of external servers.

Description

终端请求下载资源的方法和一种终端Method for terminal to request resource download and a terminal

技术领域technical field

本发明涉及计算机网络管理领域,具体涉及终端请求下载资源的方法和一种终端。The invention relates to the field of computer network management, in particular to a method for a terminal to request downloading resources and a terminal.

背景技术Background technique

互联网的迅猛发展,使个人电脑(PC,Personal Computer)等终端面临着越来越恶劣的应用环境,蠕虫、木马、冲击波等病毒层出不穷,时刻威胁着终端安全,使得终端出现运行缓慢、应用程序出错或系统崩溃等现象。而对于那些大量应用PC终端的企业来说,PC终端数量多、故障发生概率高也是一件棘手的事情,这些来自外部和内部的不利因素都成为了企业PC终端管理与维护需要面对的一大问题。如何确保PC终端拥有一个高效安全的运行环境、实施低成本的PC终端管理,已经成为企业亟待解决的重要课题。With the rapid development of the Internet, terminals such as PCs (Personal Computers) are facing increasingly harsh application environments. Viruses such as worms, Trojan horses, and shock waves emerge in endlessly, threatening the security of terminals at all times, making terminals run slowly and application errors occur. or system crashes. For those enterprises that use a large number of PC terminals, the large number of PC terminals and the high probability of failure are also difficult things. These external and internal unfavorable factors have become a problem that enterprises need to face in the management and maintenance of PC terminals. big problem. How to ensure that PC terminals have an efficient and safe operating environment and how to implement low-cost PC terminal management has become an important issue that enterprises need to solve urgently.

终端安全管理(TSM,Terminal Security Management)系统是目前解决上述终端安全问题的常用解决方案。TSM提供软件分发功能,终端会经常性地从服务器下载安全软件以更新安全本地软件。当配置了一个软件分发任务的时候,任务马上下发到终端,终端启动软件下载任务,尝试到文件服务器上下载软件。如果大量终端同时请求下载软件,对文件服务器造成很大的压力。例如,对于金融行业,大多数分支机构到总部的带宽不会很大(例如,2M bit/s),当处于分支机构的大量终端并发下载,会大量占用分支机构到总部之间网络带宽,影响其他业务正常运行。Terminal Security Management (TSM, Terminal Security Management) system is currently a common solution to solve the above terminal security problems. TSM provides the software distribution function, and the terminal will frequently download security software from the server to update the security local software. When a software distribution task is configured, the task is sent to the terminal immediately, and the terminal starts the software download task, trying to download the software from the file server. If a large number of terminals request to download software at the same time, it will put a lot of pressure on the file server. For example, for the financial industry, the bandwidth from most branches to the headquarters is not very large (for example, 2M bit/s). When a large number of terminals in the branch download concurrently, it will occupy a large amount of network bandwidth between the branch and the headquarters, affecting Other businesses are operating normally.

对于上述并发下载引发的问题,某些文件服务器,例如文件传输协议(FTP,File Transfer Protocol)文件服务器或者超文本传输协议(HTTP,HyperText Transfer Protocol)文件服务器等提供并发连接数控制功能,通过在文件服务器上进行配置,可以限制连接到该文件服务器的会话数,从而达到保护文件服务器的目的和在一定程度上限制占用的网络带宽。For the problems caused by the above concurrent downloads, some file servers, such as File Transfer Protocol (FTP, File Transfer Protocol) file servers or Hypertext Transfer Protocol (HTTP, HyperText Transfer Protocol) file servers, etc. provide concurrent connection number control function, through Configured on the file server, you can limit the number of sessions connected to the file server, so as to achieve the purpose of protecting the file server and limit the occupied network bandwidth to a certain extent.

按照上述现有技术,虽然FTP或HTTP等文件服务器可以限制同时下载的并发连接数,但是无法控制终端对文件服务器同时发起的下载请求,也就无法控制大量终端对文件服务器造成的冲击。According to the above-mentioned prior art, although file servers such as FTP or HTTP can limit the number of concurrent connections for simultaneous download, they cannot control the download requests initiated by terminals to the file server at the same time, and the impact of a large number of terminals on the file server cannot be controlled.

发明内容Contents of the invention

本发明实施例提供终端请求下载资源的方法和一种终端,可以减少大量终端对文件服务器同时发起下载请求时对文件服务器造成的冲击。Embodiments of the present invention provide a method for a terminal to request download resources and a terminal, which can reduce the impact on the file server when a large number of terminals initiate download requests to the file server at the same time.

一种终端请求下载资源的方法,包括:终端T1向广播域广播咨询报文,所述咨询报文用于咨询所述广播域内的其他终端是否正在从文件服务器下载或请求下载待下载的文件;所述终端T1接收所述咨询报文的应答报文,根据所述应答报文统计所述广播域中正在从所述文件服务器下载所述文件的终端数量;若所述广播域中所述正在从所述文件服务器下载所述文件的终端数量大于所述广播域内允许从所述文件服务器并发下载的最大终端数量,则所述终端T1放弃连接至所述文件服务器下载所述文件;若所述广播域中正在下载的终端数量小于或等于所述广播域内允许从所述文件服务器并发下载的最大终端数量,所述终端T1根据所述广播域内允许从所述文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值判决是否连接至所述文件服务器下载文件。A method for a terminal to request to download resources, comprising: a terminal T1 broadcasting a consultation message to a broadcast domain, where the consultation message is used to consult other terminals in the broadcast domain whether they are downloading or requesting to download a file to be downloaded from a file server ; The terminal T 1 receives the response message of the consultation message, and counts the number of terminals downloading the file from the file server in the broadcast domain according to the response message; if all in the broadcast domain If the number of terminals downloading the file from the file server is greater than the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, then the terminal T 1 gives up connecting to the file server to download the file; If the number of downloading terminals in the broadcast domain is less than or equal to the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, the terminal T 1 can download the data according to the number of concurrent downloads allowed from the file server in the broadcast domain. The difference between the maximum number of terminals and the number of downloading terminals in the broadcast domain determines whether to connect to the file server to download files.

一种终端,包括:发送模块,用于向广播域广播咨询报文,所述咨询报文用于咨询所述广播域内的其他终端是否正在从文件服务器下载或请求下载所述文件;统计单元,用于根据所述应答报文统计所述广播域中正在从所述文件服务器下载所述文件的终端数量;比较单元,用于比较统计单元统计的所述广播域中正在从所述文件服务器下载所述文件的终端数量与所述广播域内允许从文件服务器并发下载的最大终端数量的大小;处理单元,用于所述比较单元比较的结果为所述广播域中正在从所述文件服务器下载所述文件的终端数量大于所述广播域内允许从所述文件服务器并发下载的最大终端数量时,放弃连接至所述文件服务器下载文件,或者用于所述比较单元比较的结果为所述广播域中正在下载的终端数量小于或等于所述广播域内允许从所述文件服务器并发下载的最大终端数量时,根据所述广播域内允许从所述文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值判决是否连接至所述文件服务器下载文件。A terminal, comprising: a sending module, configured to broadcast a consultation message to a broadcast domain, and the consultation message is used to consult whether other terminals in the broadcast domain are downloading or requesting to download the file from a file server; a statistical unit, It is used to count the number of terminals in the broadcast domain that are downloading the file from the file server according to the response message; the comparison unit is used to compare the number of terminals that are downloading from the file server in the broadcast domain counted by the statistics unit The size of the terminal quantity of the file and the maximum terminal quantity allowed to be downloaded concurrently from the file server in the broadcast domain; the processing unit is used for the comparison result of the comparison unit to be that the file is being downloaded from the file server in the broadcast domain When the number of terminals of the file is greater than the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, the connection to the file server to download the file is given up, or the result of the comparison used by the comparison unit is that in the broadcast domain When the number of terminals being downloaded is less than or equal to the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, according to the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain and the number of terminals currently downloading from the file server in the broadcast domain The difference in the number of downloaded terminals determines whether to connect to the file server to download the file.

本发明实施例通过获悉所述广播域中终端的下载状况,将终端何时可以连接至文件服务器交由终端决定,不仅对何时请求下载的控制的准确度高,最大程度地减少或避免多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击,而且,本发明实施例提供的方法可以支持多种外部服务器。In the embodiment of the present invention, by knowing the download status of the terminal in the broadcast domain, the terminal decides when the terminal can connect to the file server, which not only has high accuracy in controlling when to request downloading, but also minimizes or avoids multiple impact on the file server when two terminals simultaneously initiate download requests to the file server, and the method provided in the embodiment of the present invention can support multiple external servers.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例一提供的终端请求下载资源的方法基本流程示意图;FIG. 1 is a schematic flowchart of a method for a terminal requesting to download resources provided in Embodiment 1 of the present invention;

图2是本发明实施例二提供的终端请求下载资源的方法基本流程示意图;FIG. 2 is a schematic flowchart of a method for a terminal requesting to download resources provided in Embodiment 2 of the present invention;

图3是本发明实施例提供的判决是否连接至文件服务器下载文件方法基本流程示意图;Fig. 3 is a schematic diagram of the basic flow of a method for judging whether to connect to a file server to download a file provided by an embodiment of the present invention;

图4是本发明实施例提供的一种终端基本逻辑结构示意图;FIG. 4 is a schematic diagram of a basic logical structure of a terminal provided by an embodiment of the present invention;

图5是本发明实施例提供的另一种终端基本逻辑结构示意图。FIG. 5 is a schematic diagram of another basic logical structure of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

请参考图1,本发明实施例一提供的终端请求下载资源的方法基本流程示意图,主要包括:Please refer to FIG. 1 , which is a schematic flowchart of a method for a terminal requesting to download resources provided by Embodiment 1 of the present invention, which mainly includes:

S101,向广播域广播咨询报文,该咨询报文用于咨询所述广播域内的其他终端是否正在从文件服务器下载或请求下载所述文件。S101. Broadcast a consultation message to a broadcast domain, where the consultation message is used to consult whether other terminals in the broadcast domain are downloading or requesting to download the file from a file server.

本发明实施例一提供的终端请求下载资源的方法的执行主体可以是一种终端。在本发明实施例中,若干终端与网关连接,网关再通过网络连接到文件传输协议(FTP,File Transfer Protocol)或超文本传输协议(HTTP,HyperTextTransfer Protocol)等文件服务器,网关、若干终端及其连接就构成了一个广播域,广播域内任何一个终端向广播域广播咨询报文,其他终端都可以收到并向该终端发送咨询报文的应答报文。例如,终端T1向广播域广播一个咨询报文,终端T1所在的广播域内的其他终端都可以收到该咨询报文。The subject of execution of the method for a terminal to request resource download provided in Embodiment 1 of the present invention may be a terminal. In the embodiment of the present invention, several terminals are connected to the gateway, and the gateway is connected to file servers such as File Transfer Protocol (FTP, File Transfer Protocol) or Hypertext Transfer Protocol (HTTP, HyperTextTransfer Protocol) through the network, and the gateway, some terminals and their The connection constitutes a broadcast domain, and any terminal in the broadcast domain broadcasts a consultation message to the broadcast domain, and other terminals can receive and send a response message of the consultation message to the terminal. For example, the terminal T1 broadcasts a consultation message to the broadcast domain, and other terminals in the broadcast domain where the terminal T1 is located can receive the consultation message.

S102,接收咨询报文的应答报文,根据该应答报文反映的所述广播域中其他终端从文件服务器下载文件的状况确定是否连接至文件服务器下载文件。S102. Receive a response message of the consultation message, and determine whether to connect to the file server to download the file according to the status of downloading files from the file server by other terminals in the broadcast domain reflected in the response message.

如前所述,广播域内任何一个终端发送咨询报文后,其他终端是可以收到并向该终端发送该咨询报文的应答报文的。例如,当前终端T1向广播域发送一个请求从文件服务器下载文件的咨询报文Dm,广播域内的另一个终端T2收到该咨询报文Dm。若终端T2正在执行文件下载任务,则针对咨询报文Dm发送一个应答报文ACK1(Dm):正在下载消息,以向当前终端T1表明终端T2的当前状况是“正在从文件服务器上下载文件”;若终端T2已经向广播域发送了一个请求从文件服务器下载文件的咨询报文,正在等待文件服务器的应答,则针对发送咨询报文Dm一个应答报文ACK2(Dm):正在请求下载消息,以向当前终端T1表明终端T2的当前状况是“正在请求从文件服务器上下载文件”。As mentioned above, after any terminal in the broadcast domain sends a consultation message, other terminals can receive and send a response message of the consultation message to the terminal. For example, the current terminal T 1 sends a consultation message D m requesting to download a file from a file server to the broadcast domain, and another terminal T 2 in the broadcast domain receives the consultation message D m . If the terminal T2 is executing the file downloading task, it will send a response message ACK1 (D m ) to the consultation message D m : downloading message to indicate to the current terminal T1 that the current status of the terminal T2 is "is downloading from the file download file from the server”; if the terminal T 2 has sent an advisory message requesting to download the file from the file server to the broadcast domain, and is waiting for the response of the file server, then an answer message ACK2(D m ): requesting a download message to indicate to the current terminal T1 that the current status of the terminal T2 is "requesting to download a file from the file server".

在本发明实施例中,还有一种情形是:当当前终端T1向广播域发送一个请求从文件服务器下载文件的咨询报文Dm时,终端T2收到咨询报文Dm,但终端T2既没有执行文件下载任务,也没有向广播域发送咨询报文并正在等待文件服务器的应答,此时终端T2不做任何应答。但一段时间后,终端T2请求从文件服务器下载文件,此时终端T2也会向广播域发送“正在请求下载消息”的报文,以表明终端T2的当前状况是“正在请求从文件服务器上下载文件”。显然,当前终端T1收到上述报文时,尽管该报文不是咨询报文Dm的应答报文,但仍然可以知晓终端T2“正在请求从文件服务器上下载文件”。In the embodiment of the present invention, there is another situation: when the current terminal T 1 sends a consultation message D m requesting to download a file from the file server to the broadcast domain, the terminal T 2 receives the consultation message D m , but the terminal T 2 neither executes the file download task nor sends a consultation message to the broadcast domain and is waiting for a response from the file server. At this time, terminal T 2 does not make any response. But after a period of time, terminal T 2 requests to download files from the file server, and at this time terminal T 2 will also send a message of "requesting to download a message" to the broadcast domain to indicate that the current status of terminal T 2 is "requesting to download from a file server". Download file from server". Apparently, when the current terminal T1 receives the above-mentioned message, although the message is not a response message to the consultation message Dm , it can still know that the terminal T2 is "requesting to download a file from the file server".

本发明实施例通过获悉所述广播域中终端的下载状况,将终端何时连接至文件服务器且不会对服务器造成冲击交由终端决定,不仅对何时请求下载的控制的准确度高,最大程度地减少或避免多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击,而且,本发明实施例提供的方法可以支持多种外部服务器。In the embodiment of the present invention, by knowing the download status of the terminal in the broadcast domain, the terminal decides when the terminal will connect to the file server without causing impact on the server. To minimize or avoid the impact on the file server when multiple terminals initiate download requests to the file server at the same time, and the method provided by the embodiment of the present invention can support various external servers.

请参考图2,本发明实施例二提供的终端请求下载资源的方法基本流程示意图,主要包括步骤:Please refer to FIG. 2 , which is a schematic flowchart of a method for a terminal requesting to download resources provided by Embodiment 2 of the present invention, which mainly includes steps:

S201,向广播域广播咨询报文,该咨询报文用于咨询正在从文件服务器下载文件的终端数量。S201. Broadcast a consultation message to a broadcast domain, where the consultation message is used to consult the number of terminals that are downloading a file from a file server.

S202,接收咨询报文的应答报文,根据应答报文统计所述广播域中正在从文件服务器下载文件的终端数量。S202. Receive a response message of the consultation message, and count the number of terminals in the broadcast domain that are downloading the file from the file server according to the response message.

广播域内任何一个终端发送咨询报文后,其他终端是可以收到并向该终端发送该咨询报文的应答报文的。例如,当前终端T1向广播域发送一个请求从文件服务器下载文件的咨询报文Dm,广播域内的另一个终端T2收到该咨询报文Dm。若终端T2正在执行文件下载任务,则针对发送咨询报文Dm一个应答报文ACK1(Dm):正在下载消息,以向当前终端T1表明终端T2的当前状况是“正在从文件服务器上下载文件”;若终端T2已经向广播域发送了一个请求从文件服务器下载文件的咨询报文,正在等待文件服务器的应答,则针对发送咨询报文Dm一个应答报文ACK2(Dm):正在请求下载消息,以向当前终端T1表明终端T2的当前状况是“正在请求从文件服务器上下载文件”。After any terminal in the broadcast domain sends the consultation message, other terminals can receive and send the response message of the consultation message to the terminal. For example, the current terminal T 1 sends a consultation message D m requesting to download a file from a file server to the broadcast domain, and another terminal T 2 in the broadcast domain receives the consultation message D m . If the terminal T 2 is executing the file download task, it sends a response message ACK1 (D m ): downloading message to the current terminal T 1 to indicate to the current terminal T 1 that the current status of the terminal T 2 is "is downloading from the file. download file from the server”; if the terminal T 2 has sent an advisory message requesting to download the file from the file server to the broadcast domain, and is waiting for the response of the file server, then an answer message ACK2(D m ): requesting a download message to indicate to the current terminal T1 that the current status of the terminal T2 is "requesting to download a file from the file server".

在本发明实施例中,还有一种情形是:当当前终端T1向广播域发送一个请求从文件服务器下载文件的咨询报文Dm时,终端T2收到咨询报文Dm,但终端T2既没有执行文件下载任务,也没有向广播域发送咨询报文并正在等待文件服务器的应答,此时终端T2不做任何应答。但一段时间后,终端T2请求从文件服务器下载文件,此时终端T2也会向广播域发送“正在请求下载消息”的报文,以表明终端T2的当前状况是“正在请求从文件服务器上下载文件”。显然,当前终端T1收到上述报文时,尽管该报文不是咨询报文Dm的应答报文,但仍然可以知晓终端T2“正在请求从文件服务器上下载文件”In the embodiment of the present invention, there is another situation: when the current terminal T 1 sends a consultation message D m requesting to download a file from the file server to the broadcast domain, the terminal T 2 receives the consultation message D m , but the terminal T 2 neither executes the file download task nor sends a consultation message to the broadcast domain and is waiting for a response from the file server. At this time, terminal T 2 does not make any response. But after a period of time, terminal T 2 requests to download files from the file server, and at this time terminal T 2 will also send a message of "requesting to download a message" to the broadcast domain to indicate that the current status of terminal T 2 is "requesting to download from a file server". Download file from server". Obviously, when the current terminal T1 receives the above-mentioned message, although the message is not a response message of the consultation message Dm , it can still know that the terminal T2 is "requesting to download a file from the file server"

当前终端T1收到咨询报文Dm的应答报文后,就可以根据应答报文统计所述广播域中正在下载的终端数量TD,例如,当前终端T1收到10个“正在下载消息”之类的应答报文,则当前终端T1统计所述广播域中正在下载的终端数量为10个。After the current terminal T 1 receives the response message of the consultation message D m , it can count the number of downloading terminals T D in the broadcast domain according to the response message. For example, the current terminal T 1 receives 10 "downloading"message", the current terminal T 1 counts the number of downloading terminals in the broadcast domain as 10.

S203,比较所述广播域中正在下载的终端数量TD与广播域内允许从文件服务器并发下载的最大终端数量Mt的大小。S203. Compare the number T D of downloading terminals in the broadcast domain with the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain.

广播域内允许从文件服务器并发下载的最大终端数量Mt可以通过在服务器端配置,然后下发至广播域内各终端,包括当前终端T1The maximum number of terminals M t allowed to download concurrently from the file server in the broadcast domain can be configured on the server side, and then sent to all terminals in the broadcast domain, including the current terminal T 1 .

S204,若所述广播域中正在下载的终端数量TD已经大于广播域内允许从文件服务器并发下载的最大终端数量Mt,则当前终端T1放弃连接至文件服务器下载文件。S204. If the number T D of downloading terminals in the broadcast domain is greater than the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain, the current terminal T 1 gives up connecting to the file server to download files.

这是因为,所述广播域中正在下载的终端数量TD已经大于广播域内允许从文件服务器并发下载的最大终端数量Mt时,则表明连接至文件服务器下载文件的终端数量已经达到其能够并发下载的极限终端数量,不可能或不适宜再接受其他终端的下载请求,当前终端T1应当放弃连接至文件服务器下载文件。This is because, when the number T of downloading terminals in the broadcast domain has been greater than the maximum number of terminals M t allowed to download concurrently from the file server in the broadcast domain, it indicates that the number of terminals connected to the file server to download files has reached its capacity. It is impossible or inappropriate to accept download requests from other terminals due to the limited number of terminals for downloading. The current terminal T 1 should give up connecting to the file server to download files.

S205,若所述广播域中正在下载的终端数量TD小于广播域内允许从文件服务器并发下载的最大终端数量Mt,则当前终端根据广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值判决是否连接至文件服务器下载文件。S205, if the number T D of downloading terminals in the broadcast domain is less than the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain, then the current terminal according to the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and The difference in the number T D of downloading terminals in the broadcast domain determines whether to connect to the file server to download the file.

若所述广播域中正在下载的终端数量TD小于广播域内允许从文件服务器并发下载的最大终端数量Mt,则表明当前终端T1还可能连接至文件服务器下载文件。在上述情况下,在本发明实施例中,当前终端T1是可以根据广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT(=Mt-TD)判决是否连接至文件服务器下载文件的。If the number T D of downloading terminals in the broadcast domain is less than the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain, it indicates that the current terminal T 1 may also be connected to the file server to download files. Under the above circumstances, in the embodiment of the present invention, the current terminal T1 can be based on the difference ⊿ between the maximum number of terminals M t allowed to download concurrently from the file server in the broadcast domain and the number of terminals T D being downloaded in the broadcast domain MT (= M t - T D ) decides whether to connect to the file server to download files.

例如,针对上述差值⊿MT,当前终端T1的一种判决是否连接至文件服务器下载文件方法如图3所示,包括步骤:For example, for the above-mentioned difference ⊿MT, a method for judging whether to connect to a file server to download a file for the current terminal T1 is shown in Figure 3, including steps:

S301,根据应答报文统计所述广播域中正在从文件服务器请求下载文件的终端数量TRS301. Count the number T R of terminals in the broadcast domain that are requesting to download files from the file server according to the response message.

根据应答报文中“正在请求下载消息”这一类报文的数量,统计所述广播域中正在请求下载的终端(包括当前终端T1)数量TR。例如,当前终端T1收到15个“正在请求下载消息”之类的应答报文,则当前终端T1统计所述广播域中正在请求下载的终端数量为15个。According to the number of messages of the type "requesting download messages" in the response messages, the number T R of terminals (including the current terminal T 1 ) that are requesting downloads in the broadcast domain is counted. For example, if the current terminal T 1 receives 15 response messages such as "requesting download messages", the current terminal T 1 counts 15 terminals in the broadcast domain that are requesting download.

S302,若上述正在请求下载的终端数量TR小于或等于广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT,则当前终端T1确定连接至文件服务器下载文件。S302, if the above-mentioned number T R of terminals requesting downloading is less than or equal to the difference ⊿MT between the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and the number T D of downloading terminals in the broadcast domain, then the current The terminal T1 determines to connect to the file server to download the file.

若上述正在请求下载的终端数量TR小于或等于广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT,则表明文件服务器还没有达到其并发下载的极限终端数量,还允许终端连接至文件服务器下载文件,因此,当前终端T1确定连接至文件服务器下载文件,向文件服务器发起连接请求。If the above-mentioned number T R of terminals requesting downloading is less than or equal to the difference ⊿MT between the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and the number T D of downloading terminals in the broadcast domain, it indicates that the file server The limit number of terminals for concurrent download has not yet been reached, and the terminal is allowed to connect to the file server to download files. Therefore, the current terminal T1 determines to connect to the file server to download files, and initiates a connection request to the file server.

S303,若上述正在请求下载的终端数量TR大于广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT,则进一步地,对包括当前终端T1在内的该TR个正在请求下载的终端进行优先级排序。S303, if the above-mentioned number T R of terminals requesting download is greater than the difference ⊿MT between the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and the number T D of terminals downloading in the broadcast domain, then further, Prioritize the T R terminals that are requesting downloading including the current terminal T 1 .

在本实施例中,对包括当前终端T1在内的该TR个正在请求下载的终端进行优先级排序规则可以是:优先级排序的序号Ps按照优先级的大小从1递增。例如,优先级最高的终端的序号Ps定为1,其次为2,再其次为3,……;In this embodiment, the prioritization rule for the T R terminals requesting download including the current terminal T1 may be as follows: the serial number P s of the prioritization increases from 1 according to the priority. For example, the serial number P s of the terminal with the highest priority is set to 1, followed by 2, followed by 3, ...;

S304,若经过优先级排序后,当前终端T1优先级排序的序号Ps小于或等于广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT,则表明当前终端T1仍然可以与文件服务器连接,因此,当前终端T1确定连接至文件服务器下载文件。S304, if after prioritization, the sequence number P s of the current terminal T 1 prioritization is less than or equal to the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and the number T D of terminals being downloaded in the broadcast domain The difference ⊿MT of , indicates that the current terminal T 1 can still connect to the file server, therefore, the current terminal T 1 determines to connect to the file server to download files.

S305,若经过优先级排序后,当前终端T1优先级排序的序号Ps大于广播域内允许从文件服务器并发下载的最大终端数量Mt与所述广播域中正在下载的终端数量TD的差值⊿MT,则表明当前终端T1不可以与文件服务器连接,因此,当前终端T1需要等待一段时间后再尝试接至文件服务器下载文件。S305, if after the priority sorting, the serial number P s of the current terminal T 1 priority sorting is greater than the difference between the maximum number M t of terminals allowed to download concurrently from the file server in the broadcast domain and the number T D of terminals being downloaded in the broadcast domain A value of ⊿MT indicates that the current terminal T1 cannot connect to the file server. Therefore, the current terminal T1 needs to wait for a period of time before trying to connect to the file server to download files.

本发明实施例中,由于当前终端获悉了其他终端的下载状况,能够自行决定何时可以连接至文件服务器,因此最大程度地避免了现有技术中多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击。In the embodiment of the present invention, since the current terminal is aware of the download status of other terminals, it can decide when it can connect to the file server. Therefore, it is avoided to the greatest extent when multiple terminals simultaneously initiate download requests to the file server in the prior art. Impact on file servers.

可以理解的是,由于相对于广播域内的其他终端,例如终端T2而言,当前终端T1也是“其他终端”,因此,当前终端T1也响应来自其他终端发送的咨询报文,向其他终端发送应答报文,以向其他终端表明当前终端T1正在下载文件或正在请求下载文件。It can be understood that, compared to other terminals in the broadcast domain, such as terminal T2 , the current terminal T1 is also a "other terminal", therefore, the current terminal T1 also responds to the consultation message sent by other terminals, and sends a message to other terminals. The terminal sends a response message to indicate to other terminals that the current terminal T 1 is downloading a file or is requesting to download a file.

从上述实施例可知,通过获悉所述广播域中终端的下载状况,将终端何时可以连接至文件服务器交由终端决定,不仅对何时下载的控制的准确度高,最大程度地减小或避免多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击,而且,本发明实施例提供的方法可以支持多种外部服务器。同时,由于本发明实施例中是由网关、终端及其连接构成广播域,因此,本发明实施例提供的方法可以按照子网为单位限制并发连接数,从而控制某个区域的终端占用网络带宽的大小,特别适合分支机构众多、带宽资源紧张的网络。It can be seen from the above embodiments that by knowing the download status of the terminal in the broadcast domain, the terminal decides when the terminal can connect to the file server, which not only has high accuracy in controlling when to download, but also minimizes or The impact on the file server caused by multiple terminals simultaneously initiating download requests to the file server at the same time is avoided, and the method provided by the embodiment of the present invention can support various external servers. At the same time, since the broadcast domain is composed of gateways, terminals and their connections in the embodiments of the present invention, the method provided in the embodiments of the present invention can limit the number of concurrent connections in units of subnets, thereby controlling the network bandwidth occupied by terminals in a certain area The size is especially suitable for networks with many branches and tight bandwidth resources.

请参阅图4,本发明实施例提供的一种终端基本逻辑结构示意图。为了便于说明,仅仅示出了与本发明实施例相关的部分。该终端包含的功能模块/单元可以是硬件模块/单元、软件模块/单元或软硬件相结合的模块/单元,本发明实施例对此并不加限制。终端包括:Please refer to FIG. 4 , which is a schematic diagram of a basic logical structure of a terminal provided by an embodiment of the present invention. For ease of description, only parts related to the embodiments of the present invention are shown. The functional modules/units included in the terminal may be hardware modules/units, software modules/units, or modules/units combining software and hardware, which is not limited in this embodiment of the present invention. Terminals include:

发送模块41,用于向广播域发送咨询报文,该咨询所述广播域内的其他终端是否正在从文件服务器下载或请求下载所述文件;The sending module 41 is configured to send a consultation message to the broadcast domain, which consults whether other terminals in the broadcast domain are downloading or requesting to download the file from the file server;

下载判决模块42,用于接收发送模块41发送的咨询报文的应答报文,根据应答报文反映的所述广播域中其他终端从文件服务器下载文件的状况确定是否连接至文件服务器下载文件,下载判决模块42包括:The download judgment module 42 is used to receive the response message of the consulting message sent by the sending module 41, and determine whether to connect to the file server to download the file according to the status of other terminals in the broadcast domain reflected in the response message downloading the file from the file server, Download judgment module 42 comprises:

统计单元421,用于根据下载判决模块42接收的应答报文统计所述广播域中正在下载的终端数量;A statistics unit 421, configured to count the number of terminals being downloaded in the broadcast domain according to the response message received by the download decision module 42;

比较单元422,用于比较统计单元421统计的所述广播域中正在下载的终端数量与阈值获取模块43获取的广播域内允许从文件服务器并发下载的最大终端数量的大小;The comparison unit 422 is used to compare the number of terminals being downloaded in the broadcast domain counted by the statistics unit 421 with the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain obtained by the threshold acquisition module 43;

处理单元423,用于比较单元422比较的结果为所述广播域中正在下载的终端数量大于广播域内允许从文件服务器并发下载的最大终端数量时,当前终端放弃连接至文件服务器下载文件。The processing unit 423 is used for comparison by the comparison unit 422. When the number of downloading terminals in the broadcast domain is greater than the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, the current terminal gives up connecting to the file server to download files.

在本实施例中,处理单元423也可以用于比较单元422比较的结果为所述广播域中正在下载的终端数量小于或等于广播域内允许从所述文件服务器并发下载的最大终端数量时,当前终端根据广播域内允许从文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值判决是否连接至文件服务器下载文件。In this embodiment, the processing unit 423 can also be used to compare the result of the comparison unit 422. When the number of terminals being downloaded in the broadcast domain is less than or equal to the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, the current The terminal determines whether to connect to the file server to download the file according to the difference between the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain and the number of downloading terminals in the broadcast domain.

如此,若比较单元422比较的结果为所述广播域中正在下载的终端数量小于或等于广播域内允许从文件服务器并发下载的最大终端数量,则处理单元423进一步包括:In this way, if the comparison result of the comparison unit 422 is that the number of terminals being downloaded in the broadcast domain is less than or equal to the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain, the processing unit 423 further includes:

第一统计子单元4231,用于根据下载判决模块42接收的应答报文统计所述广播域中正在请求下载的终端数量;The first statistics subunit 4231 is configured to count the number of terminals requesting downloading in the broadcast domain according to the response message received by the download decision module 42;

第一判决子单元4233,用于在所述正在请求下载的终端数量小于或等于所述广播域内允许从所述文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值时,确定连接至所述文件服务器下载文件。The first judging subunit 4233 is configured to determine the difference between the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain and the number of downloading terminals in the broadcast domain when the number of terminals requesting downloading is less than or equal to the difference When the value is set, it is determined to connect to the file server to download the file.

作为本发明中终端的另一个实施例,如图5所示。在本实施例中,处理单元423还可以包括:As another embodiment of the terminal in the present invention, it is shown in FIG. 5 . In this embodiment, the processing unit 423 may also include:

第二判决子单元5233,用于在所述正在请求下载的终端数量大于所述广播域内允许从所述文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值时,对所述广播域中正在请求下载的终端以及自身进行优先级排序,所述优先级排序的序号Ps按照优先级的大小从1递增,若经过优先级排序后,自身的优先级排序的序号Ps小于或等于所述广播域内允许从所述文件服务器并发下载的最大终端数量与所述广播域中正在下载的终端数量的差值,则确定连接至所述文件服务器下载文件。The second decision subunit 5233 is configured to be used when the number of terminals requesting downloading is greater than the difference between the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain and the number of terminals being downloaded in the broadcast domain , performing priority sorting on the terminal requesting downloading in the broadcast domain and itself, the sequence number Ps of the priority sequence is incremented from 1 according to the size of the priority, after the priority sorting, the sequence number of the priority sequence If Ps is less than or equal to the difference between the maximum number of terminals allowed to download concurrently from the file server in the broadcast domain and the number of downloading terminals in the broadcast domain, it is determined to connect to the file server to download the file.

由于在本发明实施例中,终端可以与网关连接,网关再通过网络连接到FTP或HTTP等文件服务器,网关、若干终端及其连接构成一个广播域,因此,可以理解的是,相对于广播域内的其他终端,例如终端T2而言,当前终端T1也是“其他终端”,当前终端T1也响应来自其他终端发送的咨询报文,向其他终端发送应答报文,以向其他终端表明当前终端T1正在下载文件或正在请求下载文件。这就是说,在图4和图5所示本发明实施例中,终端还可以包括接收模块44和响应模块43,用于响应来自其他终端发送的咨询报文,向其他终端发送应答报文,该应答报文表明当前终端正在下载文件或正在请求下载文件。Because in the embodiment of the present invention, the terminal can be connected with the gateway, and the gateway is connected to a file server such as FTP or HTTP through the network, and the gateway, several terminals and their connections constitute a broadcast domain, so it can be understood that, relative to the broadcast domain For other terminals, such as terminal T 2 , the current terminal T 1 is also "other terminal", and the current terminal T 1 also responds to the consultation message sent from other terminals, and sends a response message to other terminals to indicate to other terminals that the current Terminal T1 is downloading a file or is requesting to download a file. That is to say, in the embodiment of the present invention shown in FIG. 4 and FIG. 5, the terminal may also include a receiving module 44 and a response module 43, which are used to respond to the consultation message sent from other terminals, and send a response message to other terminals, The response message indicates that the current terminal is downloading a file or is requesting to download a file.

需要说明的是,上述设备各模块/单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。It should be noted that the information interaction and execution process between the above-mentioned equipment modules/units are based on the same concept as the method embodiment of the present invention, and the specific content can refer to the description in the method embodiment of the present invention, and will not be repeated here. repeat.

从上述实施例可知,通过获悉所述广播域中终端的下载状况,将终端何时可以连接至文件服务器交由终端决定,不仅对何时下载的控制的准确度高,最大程度地减小或避免现有技术中多个终端同时向文件服务器同时发起下载请求时对文件服务器造成的冲击,而且,本发明提供的实施例可以支持多种外部服务器。同时,由于本发明实施例中终端与网关连接,构成广播域,因此,本发明实施例中的终端与网关连接构成广播域后,可以按照子网为单位限制并发连接数,从而控制某个区域的终端占用网络带宽的大小,特别适合分支机构众多、带宽资源紧张的网络。It can be seen from the above embodiments that by knowing the download status of the terminal in the broadcast domain, the terminal decides when the terminal can connect to the file server, which not only has high accuracy in controlling when to download, but also minimizes or In the prior art, the impact on the file server caused by multiple terminals simultaneously initiating download requests to the file server at the same time is avoided, and the embodiments provided by the present invention can support various external servers. At the same time, since the terminal is connected to the gateway in the embodiment of the present invention to form a broadcast domain, therefore, after the terminal and the gateway in the embodiment of the present invention are connected to form a broadcast domain, the number of concurrent connections can be limited in units of subnets, thereby controlling a certain area The terminal occupies the size of the network bandwidth, which is especially suitable for the network with many branches and tight bandwidth resources.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

以上对本发明实施例所提供的终端请求下载资源的方法和一种终端进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The method for requesting resources downloaded by a terminal provided by the embodiment of the present invention and a terminal are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping Understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification is not It should be understood as a limitation of the present invention.

Claims (8)

1. the method for a terminal request downloaded resources is characterized in that, comprising:
Terminal T 1Seek advice from message to broadcast domain broadcasting, whether the other-end that described consulting message is used in the described broadcast domain of consulting downloads or asks to download file to be downloaded from file server;
Described terminal T 1Receive the response message of described consulting message, add up the terminal quantity of downloading described file in the described broadcast domain from described file server according to described response message;
If download the terminal quantity of described file greater than the maximum terminal quantity that allows in the described broadcast domain from the concurrent download of described file server, then described terminal T from described file server described in the described broadcast domain 1Abandon being connected to described file server and download file;
If the terminal quantity of downloading in the described broadcast domain is less than or equal to the maximum terminal quantity that allows in the described broadcast domain from the concurrent download of described file server, described terminal T 1Whether the difference judgement according to the terminal quantity that allows in the described broadcast domain downloading from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain is connected to described file server download file.
2. method according to claim 1 is characterized in that, described terminal T 1Adjudicate according to the difference of the terminal quantity that allows in the described broadcast domain from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, downloading and whether to be connected to described file server download file and to draw together:
Add up terminal quantity from the described broadcast domain to described file server requests that download described file in according to described response message;
If described terminal quantity of asking to download is less than or equal to the difference that allows the terminal quantity downloaded in the described broadcast domain from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, then determine to be connected to described file server download file.
3. method according to claim 2 is characterized in that, also comprises:
If the described terminal quantity downloaded of asking is greater than the difference of the terminal quantity that allows in the described broadcast domain downloading from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, then to the terminal of asking in the described broadcast domain to download and self carry out prioritization;
If the sequence number of self prioritization is less than or equal to the difference that allows the terminal quantity downloaded in the described broadcast domain from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, then determine to be connected to described file server download file.
4. according to any described method of claim 1 to 3, it is characterized in that, also comprise:
Reception is from the consulting message of other-end in the described broadcast domain;
Send the response message of described consulting message to described other-end, described response message shows to be downloaded file or is asking to download file.
5. a terminal is characterized in that, described terminal comprises:
Sending module is used for to broadcast domain broadcasting consulting message, and whether described consulting message is downloaded or the described file of request download from file server for the other-end in the described broadcast domain of consulting;
Statistic unit is used for adding up described broadcast domain is being downloaded described file from described file server terminal quantity according to response message;
Permission is from the size of the maximum terminal quantity of the concurrent download of file server in the terminal quantity that comparing unit, the described broadcast domain that is used for comparative statistics unit statistics are being downloaded described file from described file server and the described broadcast domain;
Processing unit, the terminal quantity that the result who is used for described comparing unit comparison is downloading described file from described file server for described broadcast domain is during greater than the maximum terminal quantity that allows in the described broadcast domain from the concurrent download of described file server, abandon being connected to described file server and download file, when perhaps being used for terminal quantity that the result of described comparing unit comparison downloading for described broadcast domain and being less than or equal to the maximum terminal quantity that allows in the described broadcast domain from the concurrent download of described file server, adjudicate whether be connected to described file server download file according to the difference of the terminal quantity that allows in the described broadcast domain from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, downloading.
6. terminal according to claim 5 is characterized in that, described processing unit comprises:
The first statistics subelement is used for adding up described broadcast domain is being downloaded described file from described file server requests terminal quantity according to described response message;
The first judgement subelement, be used for when described terminal quantity of asking to download is less than or equal to the difference that allows the terminal quantity downloaded from maximum terminal quantity and the described broadcast domain of the concurrent download of described file server in the described broadcast domain, determining to be connected to described file server download file.
7. terminal according to claim 6 is characterized in that, also comprises:
The second judgement subelement, be used for described when asking the difference of the terminal quantity that the terminal quantity downloaded allows in greater than described broadcast domain and downloading from maximum terminal quantity and the described broadcast domain of the concurrent download of described file server, to the terminal of asking in the described broadcast domain to download and self carry out prioritization, the sequence number Ps of described prioritization increases progressively from 1 according to the size of priority, if through after the prioritization, the sequence number Ps of the prioritization of self is less than or equal to the difference that allows the terminal quantity downloaded in the described broadcast domain from the maximum terminal quantity of the concurrent download of described file server and described broadcast domain, then determines to be connected to described file server download file.
8. according to any described terminal of claim 5 to 7, it is characterized in that described terminal also comprises:
Receiver module is used for receiving the consulting message from described broadcast domain other-end;
Respond module, for the response message that sends described consulting message to described other-end, described response message shows to be downloaded file or is asking to download file.
CN201010104347.2A 2010-01-28 2010-01-28 Resource downloading request method of terminal and terminal Expired - Fee Related CN101841554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010104347.2A CN101841554B (en) 2010-01-28 2010-01-28 Resource downloading request method of terminal and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010104347.2A CN101841554B (en) 2010-01-28 2010-01-28 Resource downloading request method of terminal and terminal

Publications (2)

Publication Number Publication Date
CN101841554A CN101841554A (en) 2010-09-22
CN101841554B true CN101841554B (en) 2013-09-11

Family

ID=42744676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010104347.2A Expired - Fee Related CN101841554B (en) 2010-01-28 2010-01-28 Resource downloading request method of terminal and terminal

Country Status (1)

Country Link
CN (1) CN101841554B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329741B (en) * 2017-06-12 2020-12-25 北京北信源软件股份有限公司 Software distributed upgrading method and device based on fingerprint identification
CN110290418B (en) * 2018-03-19 2022-06-17 视联动力信息技术股份有限公司 Data processing method and device for video network
CN110290160A (en) * 2018-03-19 2019-09-27 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN114125031B (en) * 2022-01-28 2022-06-21 南湖实验室 Broadcast response method and system based on internet regional linkage
CN117037349B (en) * 2023-08-28 2024-02-20 珠海市辰宇智能技术有限公司 Face recognition technology and data interaction service management and control method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852105A (en) * 2005-09-15 2006-10-25 华为技术有限公司 Method and system for realizing end-to-end data sharing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101146047B (en) * 2007-11-06 2011-05-11 中国电信股份有限公司 A method, system and gateway for controlling quantity of network access terminal under routing mode

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852105A (en) * 2005-09-15 2006-10-25 华为技术有限公司 Method and system for realizing end-to-end data sharing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特開2003-223387A 2003.08.08

Also Published As

Publication number Publication date
CN101841554A (en) 2010-09-22

Similar Documents

Publication Publication Date Title
US10447775B2 (en) System and method to balance servers based on server load status
CN115004673B (en) Message pushing method, device, electronic equipment and computer readable medium
US9374425B2 (en) Behavior based client selection for disparate treatment
CN112118315A (en) Data processing system, method, device, electronic equipment and storage medium
CN101841554B (en) Resource downloading request method of terminal and terminal
US20150067840A1 (en) Method for packet processing, electronic device and storage medium
WO2017185615A1 (en) Method for determining service status of service processing device and scheduling device
CN112398689A (en) Network recovery method and device, storage medium and electronic equipment
CN114124929A (en) Cross-network data processing method and device
CN114338650A (en) File transmission method and device, electronic equipment and readable storage medium
WO2013085740A1 (en) Throttling of rogue entities to push notification servers
KR101200906B1 (en) High Performance System and Method for Blocking Harmful Sites Access on the basis of Network
CN113765871B (en) Method and device for managing fort machine
CN116301568A (en) A data access method, device and equipment
CN110191131A (en) A file sharing method, device, system, server and storage medium
CN108429703B (en) DHCP client-side online method and device
CN107343037B (en) Data transmission method and device for distributed storage system
JP2019109891A (en) Long polling for load distribution of clustered applications
CN106911739B (en) Information distribution method and device
CN115412609B (en) Service processing method, device, server and storage medium
CN108111431B (en) Service data sending method, apparatus, computing device, and computer-readable storage medium
US20140025730A1 (en) Managing concurrent conversations over a communications link between a client computer and a server computer
CN116389288A (en) A multi-range scene construction method and system for power network security
CN108055305B (en) Storage expansion method and storage expansion device
CN105007339A (en) Resource downloading method, device and intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

Free format text: FORMER NAME: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Patentee before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220906

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130911