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
terminal
file server
download
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.)
Active
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a resource downloading request method of a terminal and the terminal, which can reduce the impact caused to a file server when a large number of terminals send downloading request to the file server at the same time. The method comprises: broadcasting a consultation message to a broadcast domain, wherein the consultation message is used for consulting if other terminals in the broadcast domain are downloading or requesting to download a file to be downloaded from the file server; and receiving a response message of the consultation message, and determining if to access to the file server to download the file according to the file downloading conditions, reflected by the response message, of the other terminals in the broadcast domain from the file server. The method can accurately control any downloading request and reduce or avoid the impact caused to the file server when a plurality of terminals send downloading requests to the file server atthe same time to a maximum degree, and can support various external servers.

Description

The method of terminal request downloaded resources and a kind of terminal
Technical field
The present invention relates to field of computer network administration, be specifically related to method and a kind of terminal of terminal request downloaded resources.
Background technology
The fast development of the Internet, make PC (PC, Personal Computer) etc. terminal is faced with more and more abominable applied environment, viruses such as worm, wooden horse, shock wave emerge in an endless stream, constantly threatening terminal security, make terminal occur operation slowly, application program is made mistakes or phenomenon such as system crash.And for those enterprises that widely applies the PC terminal, the PC terminal quantity is many, fault probability of happening height also is a thorny thing, and these all become the PC of enterprise terminal management and safeguard the big problem that need face from outside and inner unfavorable factor.How to guarantee that the PC terminal has the running environment of a highly effective and safe, implements PC terminal management cheaply, has become the important topic that enterprise needs to be resolved hurrily.
Terminal Security Management (TSM, Terminal Security Management) system is the solution commonly used that solves above-mentioned terminal security problem at present.TSM provides the software dispatch function, and terminal can be downloaded fail-safe software to upgrade safe local software from server regularly.When having disposed a software dispatch task, task is issued to terminal at once, and starting terminal software downloading task attempts downloading software to file server.If great amount of terminals asks to download software simultaneously, file server is caused very big pressure.For example, for financial industry, the bandwidth of most of branch-to-headquarters can be very not big (for example, 2M bit/s), when the concurrent download of the great amount of terminals that is in branch, can take the network bandwidth between the branch-to-headquarters in a large number, influence other professional normal operations.
Problem for above-mentioned concurrent download initiation; some file server; file transfer protocol (FTP) (FTP for example; File Transfer Protocol) file server or HTML (Hypertext Markup Language) (HTTP; Hyper Text Transfer Protocol) file server etc. provides concurrent connection number control function; by being configured at file server; can limit the session number that is connected to this document server, thereby reach the purpose of protected file server and limit the network bandwidth that takies to a certain extent.
According to above-mentioned prior art, though file server such as FTP or HTTP can limit the concurrent connection number of downloading simultaneously, but the download request that uncontrollable terminal is initiated simultaneously to file server, the also impact that file server is caused with regard to uncontrollable great amount of terminals.
Summary of the invention
The embodiment of the invention provides method and a kind of terminal of terminal request downloaded resources, the impact that in the time of can reducing great amount of terminals file server is initiated download request simultaneously file server is caused.
A kind of method of terminal request downloaded resources comprises: 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 described 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.
A kind of terminal comprises: sending module, be 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 described 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.
The embodiment of the invention is by learning the download of terminal in the described broadcast domain, when terminal can be connected to file server transfer to the terminal decision, not only to the accuracy height of the control of when asking to download, the impact that farthest reduces or file server is caused when avoiding a plurality of terminals to initiate download request simultaneously to file server simultaneously, and the method that the embodiment of the invention provides can be supported multiple external server.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method basic procedure schematic diagram of the terminal request downloaded resources that provides of the embodiment of the invention one;
Fig. 2 is the method basic procedure schematic diagram of the terminal request downloaded resources that provides of the embodiment of the invention two;
Fig. 3 is whether the judgement that the embodiment of the invention provides is connected to file server download document method basic procedure schematic diagram;
Fig. 4 is a kind of terminal basic logical structure schematic diagram that the embodiment of the invention provides;
Fig. 5 is the another kind of terminal basic logical structure schematic diagram that the embodiment of the invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Please refer to Fig. 1, the method basic procedure schematic diagram of the terminal request downloaded resources that the embodiment of the invention one provides mainly comprises:
S101, to broadcast domain broadcasting consulting message, whether this 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.
The executive agent of the method for the terminal request downloaded resources that the embodiment of the invention one provides can be a kind of terminal.In embodiments of the present invention, some terminals are connected with gateway, gateway arrives file transfer protocol (FTP) (FTP by network connection again, File Transfer Protocol) or HTML (Hypertext Markup Language) (HTTP, HyperText Transfer Protocol) file server such as, gateway, some terminals and connection thereof have just constituted a broadcast domain, and any one terminal is to broadcast domain broadcasting consulting message in the broadcast domain, and the response message of message can be received and be seeked advice to this terminal transmission to other-end.For example, terminal T1 is to a consulting of broadcast domain broadcasting message, and the other-end in the broadcast domain at terminal T1 place can be received this consulting message.
S102 receives the response message of seeking advice from message, and the situation of downloading file from file server according to other-end in the described broadcast domain of this response message reflection determines whether to be connected to file server download file.
As previously mentioned, after any one terminal sent consulting message in the broadcast domain, other-end was the response message that can receive and send to this terminal this consulting message.For example, current terminal T 1Send file is downloaded in a request from file server consulting message D to broadcast domain m, another terminal T in the broadcast domain 2Receive this consulting message D mIf terminal T 2Just in the execute file downloading task, then at consulting message D mSend a response message ACK1(D m): just in download message, with to current terminal T 1Show terminal T 2The present situation be " publish papers up and down from file server to part "; If terminal T 2Sent a request to broadcast domain and downloaded the consulting message of file from file server, just the replying of pending file server, then at sending consulting message D mA response message ACK2(D m): asking download message, with to current terminal T 1Show terminal T 2The present situation be " asking publish papers up and down from file server to part ".
In embodiments of the present invention, also have a kind of situation to be: as current terminal T 1Send file is downloaded in a request from file server consulting message D to broadcast domain mThe time, terminal T 2Receive consulting message D m, but terminal T 2Both do not had the execute file downloading task, do not sent the consulting message and just the replying of pending file server to broadcast domain yet, this moment terminal T 2Do not do any replying.But after a period of time, terminal T 2Request is downloaded file from file server, at this moment terminal T 2Also can send the message of " asking download message " to broadcast domain, to show terminal T 2The present situation be " asking publish papers up and down from file server to part ".Obviously, current terminal T 1When receiving above-mentioned message, although this message is not consulting message D mResponse message, but still can know terminal T 2" asking publish papers up and down from file server to part ".
The embodiment of the invention is by learning the download of terminal in the described broadcast domain, when terminal be connected to file server and can not impact to server transfer to terminal and determine, not only to the accuracy height of the control of when asking to download, the impact that farthest reduces or file server is caused when avoiding a plurality of terminals to initiate download request simultaneously to file server simultaneously, and the method that the embodiment of the invention provides can be supported multiple external server.
Please refer to Fig. 2, the method basic procedure schematic diagram of the terminal request downloaded resources that the embodiment of the invention two provides mainly comprises step:
S201, to broadcast domain broadcasting consulting message, this consulting message is used for file is being downloaded in consulting from file server terminal quantity.
S202 receives the response message of seeking advice from message, adds up the terminal quantity of downloading file in the described broadcast domain from file server according to response message.
After any one terminal sent consulting message in the broadcast domain, other-end was the response message that can receive and send to this terminal this consulting message.For example, current terminal T 1Send file is downloaded in a request from file server consulting message D to broadcast domain m, another terminal T in the broadcast domain 2Receive this consulting message D mIf terminal T 2Just in the execute file downloading task, then at sending consulting message D mA response message ACK1(D m): just in download message, with to current terminal T 1Show terminal T 2The present situation be " publish papers up and down from file server to part "; If terminal T 2Sent a request to broadcast domain and downloaded the consulting message of file from file server, just the replying of pending file server, then at sending consulting message D mA response message ACK2(D m): asking download message, with to current terminal T 1Show terminal T 2The present situation be " asking publish papers up and down from file server to part ".
In embodiments of the present invention, also have a kind of situation to be: as current terminal T 1Send file is downloaded in a request from file server consulting message D to broadcast domain mThe time, terminal T 2Receive consulting message D m, but terminal T 2Both do not had the execute file downloading task, do not sent the consulting message and just the replying of pending file server to broadcast domain yet, this moment terminal T 2Do not do any replying.But after a period of time, terminal T 2Request is downloaded file from file server, at this moment terminal T 2Also can send the message of " asking download message " to broadcast domain, to show terminal T 2The present situation be " asking publish papers up and down from file server to part ".Obviously, current terminal T 1When receiving above-mentioned message, although this message is not consulting message D mResponse message, but still can know terminal T 2" asking publish papers up and down from file server to part "
Current terminal T 1Receive consulting message D mResponse message after, just can add up the terminal quantity T that is downloading in the described broadcast domain according to response message D, for example, current terminal T 1Receive the response message of 10 " just in download message " and so on, then current terminal T 1Adding up the terminal quantity of downloading in the described broadcast domain is 10.
S203, the terminal quantity T that is downloading in the more described broadcast domain DWith the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tSize.
Allow the maximum terminal quantity M from the concurrent download of file server in the broadcast domain tCan be issued to each terminal in the broadcast domain then by in the server end configuration, comprise current terminal T 1
If S204 is the terminal quantity T that is downloading in the described broadcast domain DGreater than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server t, current terminal T then 1Abandon being connected to file server and download file.
This be because, the terminal quantity T that is downloading in the described broadcast domain DGreater than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tThe time, show that then being connected to file server downloads the terminal quantity of file and reached the limit terminal quantity that it can concurrent download, can not or be not suitable for accepting the download request of other-end, current terminal T again 1Should abandon being connected to file server and download file.
If S205 is the terminal quantity T that is downloading in the described broadcast domain DLess than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server t, then current terminal is according to the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DDifference judgement whether be connected to file server and download file.
If the terminal quantity T that is downloading in the described broadcast domain DLess than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server t, then show current terminal T 1Also may be connected to file server and download file.In these cases, in embodiments of the present invention, current terminal T 1Be can be according to the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT(=M t-T D) whether judgement is connected to file server downloads file.
For example, at above-mentioned Cha Zhi ⊿ MT, current terminal T 1A kind of judgement whether be connected to file server and download document method as shown in Figure 3, comprise step:
S301 adds up the terminal quantity T that downloads file in the described broadcast domain from file server requests according to response message R
According to the quantity of this class message of " asking download message " in the response message, add up the terminal of asking in the described broadcast domain to download and (comprise current terminal T 1) quantity T RFor example, current terminal T 1Receive the response message of 15 " asking download message " and so on, then current terminal T 1Adding up the terminal quantity of asking in the described broadcast domain to download is 15.
If S302 is the above-mentioned terminal quantity T that downloads of asking RBe less than or equal to the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT, current terminal T then 1Determine to be connected to file server and download file.
If the above-mentioned terminal quantity T that downloads of asking RBe less than or equal to the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT, show that then file server does not also reach the limit terminal quantity of its concurrent download, also allow terminal to be connected to file server and download file, therefore, current terminal T 1Determine to be connected to file server and download file, initiate connection request to file server.
If S303 is the above-mentioned terminal quantity T that downloads of asking RGreater than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT, then further, to comprising current terminal T 1At this interior T RIndividual terminal of asking to download is carried out prioritization.
In the present embodiment, to comprising current terminal T 1At this interior T RIndividual terminal of asking to download is carried out the prioritization rule and can is: the sequence number P of prioritization sSize according to priority increases progressively from 1.For example, the sequence number P of the terminal that priority is the highest sBeing decided to be 1, secondly is 2, secondly is 3 again,
S304, if through after the prioritization, current terminal T 1The sequence number P of prioritization sBe less than or equal to the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT, then show current terminal T 1Still can be connected with file server, therefore, current terminal T 1Determine to be connected to file server and download file.
S305, if through after the prioritization, current terminal T 1The sequence number P of prioritization sGreater than the maximum terminal quantity M that allows in the broadcast domain from the concurrent download of file server tWith the terminal quantity T that is downloading in the described broadcast domain DCha Zhi ⊿ MT, then show current terminal T 1Cannot be connected with file server, therefore, reattempt after current terminal T1 need wait for a period of time and be connected to file server download file.
In the embodiment of the invention, because current terminal has been learned the download of other-end, can decide when can be connected to file server in its sole discretion, therefore farthest avoid the impact that when a plurality of terminals are initiated download request simultaneously to file server simultaneously in the prior art file server is caused.
Be understandable that, because with respect to the other-end in the broadcast domain, terminal T for example 2, current terminal T 1Also be " other-end ", therefore, current terminal T 1Also respond the consulting message that sends from other-end, send response message to other-end, to show current terminal T to other-end 1Download file or asking to download file.
From above-described embodiment as can be known, by learning the download of terminal in the described broadcast domain, when terminal can be connected to file server transfer to the terminal decision, not only to the accuracy height of the control of when downloading, the impact that farthest reduces or file server is caused when avoiding a plurality of terminals to initiate download request simultaneously to file server simultaneously, and the method that the embodiment of the invention provides can be supported multiple external server.Simultaneously, owing to being by gateway, terminal in the embodiment of the invention and connecting and composing broadcast domain, therefore, the method that the embodiment of the invention provides can be the unit limit concurrent connection number according to subnet, thereby control the size that certain regional terminal takies the network bandwidth, be particularly suitable for the network that branch is numerous, bandwidth resources are nervous.
See also Fig. 4, a kind of terminal basic logical structure schematic diagram that the embodiment of the invention provides.For convenience of explanation, only show the part relevant with the embodiment of the invention.Functional module/unit that this terminal comprises can be module/unit that hardware module/unit, software module/unit or software and hardware combine, and the embodiment of the invention does not add restriction to this.Terminal comprises:
Sending module 41 is used for sending the consulting message to broadcast domain, and whether this other-end of seeking advice from the described broadcast domain downloads described file from file server download or request;
Download judging module 42, the response message that is used for the consulting message of reception sending module 41 transmissions, the situation of downloading file from file server according to other-end in the described broadcast domain of response message reflection determines whether to be connected to file server download file, downloads judging module 42 and comprises:
Statistic unit 421 is used for adding up the terminal quantity that described broadcast domain is being downloaded according to the response message of downloading judging module 42 receptions;
Comparing unit 422 allows from the size of the maximum terminal quantity of the concurrent download of file server in the broadcast domain that the terminal quantity that the described broadcast domain that is used for adding up comparative statistics unit 421 is being downloaded and threshold value acquisition module 43 obtain;
Processing unit 423, when being used for terminal quantity that comparing unit 422 result relatively downloading for described broadcast domain greater than the maximum terminal quantity that allows in the broadcast domain from the concurrent download of file server, current terminal abandons being connected to file server download file.
In the present embodiment, when processing unit 423 also can be used for terminal quantity that comparing unit 422 result relatively download for described broadcast domain and be less than or equal to the maximum terminal quantity that allows in the broadcast domain from the concurrent download of described file server, current terminal adjudicated whether be connected to file server download file according to the difference of the terminal quantity that allows in the broadcast domain downloading from the maximum terminal quantity of the concurrent download of file server and described broadcast domain.
So, if comparing unit 422 result relatively is less than or equal to the maximum terminal quantity that allows in the broadcast domain from the concurrent download of file server for the terminal quantity of downloading in the described broadcast domain, then processing unit 423 further comprises:
The first statistics subelement 4231 is used for adding up described broadcast domain and asking the terminal quantity downloaded according to downloading response message that judging module 42 receives;
The first judgement subelement 4233, 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.
As another embodiment of terminal among the present invention, as shown in Figure 5.In the present embodiment, processing unit 423 can also comprise:
The second judgement subelement 5233, 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.
Because in embodiments of the present invention, terminal can be connected with gateway, and gateway arrives file servers such as FTP or HTTP again by network connection, therefore gateway, some terminals and connect and compose a broadcast domain, be understandable that, with respect to the other-end in the broadcast domain, terminal T for example 2, current terminal T 1Also be " other-end ", current terminal T 1Also respond the consulting message that sends from other-end, send response message to other-end, to show current terminal T to other-end 1Download file or asking to download file.In other words, in Fig. 4 and the embodiment of the invention shown in Figure 5, terminal can also comprise receiver module 44 and respond module 43, be used for the consulting message that response sends from other-end, send response message to other-end, this response message shows that current terminal downloading file or asking to download file.
Need to prove, contents such as the information interaction between each module/unit of the said equipment, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
From above-described embodiment as can be known, by learning the download of terminal in the described broadcast domain, when terminal can be connected to file server transfer to the terminal decision, not only to the accuracy height of the control of when downloading, the impact that farthest reduces or file server is caused when avoiding that a plurality of terminals are initiated download request simultaneously to file server simultaneously in the prior art, and embodiment provided by the invention can support multiple external server.Simultaneously, because terminal is connected with gateway in the embodiment of the invention, constitute broadcast domain, therefore, after terminal in the embodiment of the invention and gateway connect and compose broadcast domain, can be the unit limit concurrent connection number according to subnet, thereby control the size that certain regional terminal takies the network bandwidth, be particularly suitable for the network that branch is numerous, bandwidth resources are nervous.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than method and a kind of terminal of terminal request downloaded resources that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as 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 Active 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 Active 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
CN110290160A (en) * 2018-03-19 2019-09-27 北京视联动力国际信息技术有限公司 A kind of data processing method and device of view networking
CN110290418B (en) * 2018-03-19 2022-06-17 视联动力信息技术股份有限公司 Data processing method and device for video network
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
US8117258B2 (en) Distributed computing by carrier-hosted agent
JP5855663B2 (en) System and method for balancing servers based on server load conditions
US7872975B2 (en) File server pipelining with denial of service mitigation
CN101841554B (en) Resource downloading request method of terminal and terminal
US8514750B2 (en) Multiplexed communication for duplex applications
CN103067292B (en) The load-balancing method of a kind of sing on web Socket transmission and device
US11394765B2 (en) Web server request identification
US8693499B2 (en) Dynamic adjustment of bandwidth allocation for an in-progress media session
CN103516681A (en) Network access control method and device thereof
US8935377B2 (en) Dynamic registration of listener resources for cloud services
CN104426862A (en) Method, system, and browser realizing cross-domain request login
CN109450766B (en) Access processing method and device for work area level VPN
KR102118815B1 (en) IP address acquisition method and device
CN109819033A (en) A kind of resource file loading method and system
CN102137104B (en) Transmission control protocol (TCP) long-connection access control method and device
EP3313022B1 (en) Resending method and device for hypertext transfer request, and client
CN109618004A (en) A kind of message forwarding method and device
US8533333B2 (en) Shared hosting using host name affinity
CN103181140A (en) Method, media server and terminal device for identifying service request type
EP3967023B1 (en) Web application wrapper
CN103609074A (en) Application specific WEB request routing
CN109451074A (en) A kind of server load balancing treating method based on portal agreement
WO2014161338A1 (en) Method, apparatus, and system for webgame interaction
US20120054323A1 (en) Regulating media quality using a session bandwidth limit
CN116962030A (en) Service current limiting method and device, storage medium and electronic equipment

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

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.

TR01 Transfer of patent right