CN102377588B - Network transmission control method and system - Google Patents

Network transmission control method and system Download PDF

Info

Publication number
CN102377588B
CN102377588B CN201010255970.8A CN201010255970A CN102377588B CN 102377588 B CN102377588 B CN 102377588B CN 201010255970 A CN201010255970 A CN 201010255970A CN 102377588 B CN102377588 B CN 102377588B
Authority
CN
China
Prior art keywords
network
bandwidth
control model
threshold value
idle
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
CN201010255970.8A
Other languages
Chinese (zh)
Other versions
CN102377588A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201010255970.8A priority Critical patent/CN102377588B/en
Publication of CN102377588A publication Critical patent/CN102377588A/en
Application granted granted Critical
Publication of CN102377588B publication Critical patent/CN102377588B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a network transmission control method and a network transmission control system, which belong to the technical field of computers. The system provided by the invention comprises a receiving module, a mode selection module and a mode regulation module. The method comprises the following steps of: receiving a control mode selected by a user; determining a bandwidth threshold value of a preset application program corresponding to the control mode according to preset rules; setting the bandwidth threshold value to be a maximum network bandwidth occupied by the preset application program; and monitoring whether a network is idle or congested or not in real time, and regulating the control mode according to the preset rules if the network is idle or congested. By the embodiment of the invention, the control mode can be selected intuitively, and the user unfamiliar with computer operations also can conveniently control network transmission.

Description

Network transmission control method and system
Technical field
The present invention relates to field of computer technology, particularly a kind of network transmission control method and system.
Background technology
Along with the development of Internet technology, Chinese netizen's quantity has exceeded 300,000,000 people according to statistics.It is mainly browsing page that existing netizen uses the Internet, carry out internet gaming, the operations such as (such as software or videos) of downloading various resources.Meanwhile, a lot of netizens adopt multiple operations simultaneously, for example browsing page when downloading various resources.
As when user is when using download software to download, can take most Internet resources, cannot carry out other network operations.Therefore,, when user wishes at browsing page or carries out other non-down operations, wishing to download software can not affect these operations.And when user does not carry out other operations, wish that download software takies whole bandwidth and downloads.
In prior art, some are downloaded software (for example QQ whirlwind) and are all provided with speed limiting function.But all must in the interface of software, downloading speed limiting be set by user.When user carries out other operations, the speed of download of downloading software is turned down; When user does not carry out other operations, the speed of download of downloading software is heightened.
Realizing in process of the present invention, inventor finds that prior art at least exists following problem:
It is very loaded down with trivial details that this mode operates user, requires user to have reasonable computer operation level simultaneously, causes like this user's the non-constant of experience sense.
Summary of the invention
In order to solve in prior art, must to be controlled voluntarily and be downloaded the poor problem of user's experience sense that complex operation that the speed of download of software causes and the certain operant level of needs cause by user, the embodiment of the present invention have proposed a kind of network transmission control method and system.Described technical scheme is as follows:
The embodiment of the present invention has proposed a kind of network transmission control method, comprising:
Receive the control model that user selects; According to preset rules, determine the bandwidth threshold of predetermined application corresponding to described control model;
Described bandwidth threshold is set as to the maximum network bandwidth that described predetermined application takies;
In real time monitoring, to determine network whether the free time occurs or to occur congestedly, is if it is adjusted described control model according to preset rules;
Before the control model that described reception user selects, comprising:
Be all corresponding bandwidth threshold that arranges of each control model in advance;
The control model that described reception user selects, comprising: a display interface is set, includes multiple control models in described display interface.
As technique scheme preferably, whether described definite network the free time occurs comprises:
Real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle.
As technique scheme preferably, whether described definite network there is congested comprising:
Real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
As technique scheme preferably, whether described definite network there is congested comprising:
To default testing server, send ICMP protocol data bag, and the time delay of definite ICMP protocol data bag;
Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
The embodiment of the present invention has also proposed a kind of Internet Transmission control device, comprising:
Receiver module, the control model of selecting for receiving user; According to preset rules, determine the bandwidth threshold of described predetermined application corresponding to described control model;
Mode selection module, for being set as described bandwidth threshold the maximum network bandwidth that predetermined application takies;
Mode adjustment module, to determine network whether the free time occurs or to occur congestedly, if it is adjusts described control model in real time monitoring;
Before the control model that described reception user selects, comprising:
Be all corresponding bandwidth threshold that arranges of each control model in advance;
The control model that described reception user selects, comprising: a display interface is set, includes multiple control models in described display interface.
As technique scheme preferably, described mode adjustment module comprises:
The first monitoring unit, for real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle;
First mode adjustment unit, for adjusting described control model according to preset rules.
As technique scheme preferably, described mode adjustment module comprises:
The second monitoring unit, for real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
The second mode adjustment unit, for adjusting described control model according to preset rules.
As technique scheme preferably, described mode adjustment module comprises:
The 3rd monitoring unit, sends ICMP protocol data bag for the testing server to default, and the time delay of definite ICMP protocol data bag; Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Three-mode adjustment unit, for adjusting described control model according to preset rules.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is: the embodiment of the present invention can be by pre-determining the corresponding relation of the shared bandwidth threshold of control model and predetermined application; When user selects control model, according to this default bandwidth threshold, the network bandwidth of predetermined application is adjusted.User can select control model by mode intuitively like this, for the user who is unfamiliar with computer operation, also can to Internet Transmission, control easily.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, to the accompanying drawing using in embodiment be briefly described below, apparently, listed accompanying drawing is only some embodiments of the present invention below, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of first embodiment of the invention;
Fig. 2 is the schematic flow sheet of setting application program in second embodiment of the invention and allow the maximum network bandwidth taking;
Fig. 3 is the schematic flow sheet that the free time occurs in second embodiment of the invention and adjust a kind of mode of control model;
Fig. 4 is the schematic flow sheet that the free time occurs in second embodiment of the invention and adjust the another kind of mode of control model;
Fig. 5 occurs congested and adjusts the schematic flow sheet of a kind of mode of control model in second embodiment of the invention;
Fig. 6 occurs congested and adjusts the schematic flow sheet of the another kind of mode of control model in second embodiment of the invention;
Fig. 7 is the structural representation of third embodiment of the invention;
Fig. 8 is the structural representation of a kind of mode of mode adjustment module in fourth embodiment of the invention;
Fig. 9 is the structural representation of the another kind of mode of mode adjustment module in fourth embodiment of the invention;
Figure 10 is the structural representation of another mode of mode adjustment module in fourth embodiment of the invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The mentality of designing of the embodiment of the present invention is: by the bandwidth threshold of predetermined application corresponding to default control model, to offer user's multiple choices.When user selects a control model, monitor the shared network bandwidth of predetermined application, and limit the shared maximum network bandwidth of this predetermined application according to described bandwidth threshold.Can multiple control models be shown to user by an interface like this, and make user can select required control model, and adjust the shared maximum network bandwidth of predetermined application according to this control model.
By the following examples the present invention is further detailed.
Embodiment 1
First embodiment of the invention has proposed a kind of network transmission control method, and its flow process as shown in Figure 1, comprising:
The control model that step 101, reception user select; According to preset rules, determine the bandwidth threshold of described predetermined application corresponding to described control model;
Step 102, described bandwidth threshold is set as to the maximum network bandwidth that predetermined application takies;
Step 103, in real time monitoring, to determine network whether the free time occurs or to occur congestedly, are if it is adjusted described control model according to preset rules.
The embodiment of the present invention pre-determines the corresponding relation of control model and the shared bandwidth threshold of predetermined application; When user selects control model, according to this default bandwidth threshold, the network bandwidth of predetermined application is adjusted.User can select control model by mode intuitively like this, for the user who is unfamiliar with computer operation, also can to Internet Transmission, control easily., can also select after control model user meanwhile, according to the whether idle or congested control model of automatically adjusting of network, can prevent from like this operating network waste unskilled or that cause while forgetting modification pattern or impact is normal to be used due to user.
Embodiment 2
Second embodiment of the invention has proposed a kind of network transmission control method, is to improve on the basis of the first embodiment, comprising:
The control model that step 201, reception user select; According to preset rules, determine the bandwidth threshold of described predetermined application corresponding to described control model;
The method of the control model that wherein, reception user selects can be: a display interface is set, multiple control buttons can be set in this display interface, so that user selects to be suitable for the pattern of oneself intuitively.Wherein, the preset rules described in step 201 can define according to actual conditions, for example: be all corresponding bandwidth threshold that arranges of each control model in advance.Needs when this preset rules can be used according to reality are certainly adjusted, and the embodiment of the present invention is not made restriction to this.
For example: control model can be divided into from low to high to online game mode of priority, online mode of priority, download this Three Estate of mode of priority according to downloading shared bandwidth.For example user's downlink bandwidth is 1M, and when selecting online game mode of priority, bandwidth threshold that can download bandwidth is set to 0; When selecting online during mode of priority, bandwidth threshold that can download bandwidth is set to 512K; When select to download during mode of priority can downlink bandwidth bandwidth threshold be set to unrestrictedly.
Certainly, this just illustrates.Can be according to actual conditions setting for control model, more control model is set and can provides more more options to user.Meanwhile, can also make user revise voluntarily the corresponding bandwidth threshold of each control model; Also can make user increase/delete control model.
Step 202, described bandwidth threshold is set as to the maximum network bandwidth that predetermined application takies.
Wherein, it is prior art that application programs is carried out speed limit, and third party's network monitoring program of for example QQ doctor can allow each application program in user's control system allow the maximum network bandwidth taking.Meanwhile, much download software and be also built-in with speed limiting function.In the embodiment of the present invention, also can call the speed limiting function of downloading in software by interface routine.
In embodiments of the present invention, can be when user have set control model, first judge whether current download exceedes default bandwidth threshold, if exceeded, the maximum speed of download of downloading software is revised as to bandwidth threshold; If do not exceeded, the maximum speed of download of downloading software is defined as to bandwidth threshold.That is, being specially as shown in Figure 2:
Step 2021, monitoring Internet Transmission port, to obtain the shared network bandwidth of predetermined application;
Step 2022, judge whether the described network bandwidth is greater than pre-set bandwidths threshold value, if so, first reduce the speed of download of this predetermined application, and bandwidth threshold is set as to this application program allows the maximum network bandwidth taking; If not, bandwidth threshold is set as to this application program and allows the maximum network bandwidth taking.
Wherein, in one embodiment of the present of invention, can monitor on backstage Internet Transmission port, the network bandwidth taking with each application program of Real-time Obtaining always.Can also, when user selects control model, just obtain the network bandwidth that each application program takies.
Wherein, it is prior art that application programs is carried out speed limit, and for example QQ doctor's network monitoring program can allow user control the network bandwidth that on machine, each application program takies.Meanwhile, much download software and be also built-in with speed limiting function.In the embodiment of the present invention, also can call the speed limiting function of downloading in software by interface routine.Certainly, this just realizes a concrete execution mode of the present invention, can also adopt other mode application programs to carry out speed limit, and the embodiment of the present invention is not made restriction to this.
Step 203, determine that whether network occurs or occur congestedly the free time, if it is adjusts described control model according to preset rules.
Wherein, in step 203, can determine whether in several ways to occur idle or occur congested.
Determine that idle mode occurs can be: real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle.
Determine that the method that the free time occurs and adjust control model can be specially: by the control model sorting in advance, adjust step by step.I.e. comprising as shown in Figure 3:
Step 2031a, according to bandwidth threshold, control model is sorted;
Step 2031b, real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network;
Step 2031c, judge whether idle bandwidth and free time are all greater than predetermined threshold value, if it is according to control model sequencing selection bandwidth threshold, be greater than the control model of current bandwidth threshold value.
Be greater than current bandwidth threshold value and refer to that the band that can take that downloads is wider than current bandwidth.
For example: take comprising online game mode of priority, online mode of priority, download mode of priority these three control models as example in precedent, can be 256K by this idle bandwidth Threshold, free time Threshold be 10 minutes.When user has opened when downloading and selecting online game mode of priority, the bandwidth threshold downloading is made as to 0.When user leaves computer, forget adjustment control model, now the volume of transmitted data of Internet Transmission interface is lower than idle bandwidth threshold value.When and free time exceed after 10 minutes, system is set as by control model the mode of priority of surfing the Net automatically, the bandwidth threshold downloading is now 512K.Due to still available free bandwidth now, and this idle bandwidth is still greater than idle bandwidth threshold value, and free time exceedes after 10 dividend, and system is set as control model to download mode of priority again automatically.
Can to control model, adjust according to idle bandwidth like this, to prevent that user from forgetting the bandwidth waste that change control pattern causes, further improve user's experience sense.
Determine that the method that the free time occurs and adjust control model can also be specially: according to the bandwidth of current network free time, and directly determine its corresponding control model by this idle bandwidth.I.e. comprising as shown in Figure 4:
Step 2031A, real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network;
Step 2031B, judge whether idle bandwidth and free time are all greater than predetermined threshold value, if it is read bandwidth threshold corresponding to each control model, and select suitable control model according to idle bandwidth.
This mode can be directly switch to suitable control model, for the situation that is provided with various control pattern, to improve the efficiency of adjustment.
Determine that congested mode occurs can be:
Real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
Or
To default testing server, send ICMP protocol data bag, and the time delay of definite ICMP protocol data bag;
Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
Determine that method congested and that adjust occurs can be specially: by monitoring Internet Transmission port, congested to determine whether to occur according to occupancy.When generation is congested, can, by the control model sorting in advance, adjust step by step.I.e. comprising as shown in Figure 5:
Step 2032a, according to bandwidth threshold, control model is sorted;
Step 2032b, real-time listening Internet Transmission port, to determine the occupancy of current network transmit port;
Step 2032c, be greater than predetermined threshold value when described occupancy, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Step 2032d, according to control model sequencing selection bandwidth threshold, be less than the control model of current bandwidth threshold value.
Be less than current bandwidth threshold value and refer to that the bandwidth that can take that downloads is less than current bandwidth.
Determine that method congested and that adjust occurs can be specially: by the testing server to default, send ICMP packet, and determine whether to occur congested by the time delay of this ICMP packet.When generation is congested, can, by the control model sorting in advance, adjust step by step.I.e. comprising as shown in Figure 6:
Step 2032A, according to bandwidth threshold, control model is sorted;
Step 2032B, to default testing server, send ICMP(Internet Control Message Protocol, Internet Control Message Protocol) protocol data bag, and the time delay of definite ICMP protocol data bag; Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Step 2032C, according to control model sequencing selection bandwidth threshold, be less than the control model of current bandwidth threshold value.
Be less than current bandwidth threshold value and refer to that the bandwidth that can take that downloads is less than current bandwidth.
Processing method when idle or congested to network generation by increase in the embodiment of the present invention, the availability of the raising embodiment of the present invention.Owing to selecting, after a control model, may to forget in use change control pattern as user.And if now occur the network free time, can cause bandwidth waste; Or generation network congestion, cause carrying out online game or browsing page.Therefore, the embodiment of the present invention can also comprise that step 203 changes the step of control model automatically.Can prevent that like this user from forgetting the bandwidth waste that modification pattern causes using after computer.Can pass through the mode of real-time listening Internet Transmission port, determine the idle bandwidth of network.And being set, free time threshold value can prevent the overhead frequently system adjustment being caused.Can prevent that user from downloading after the pattern of this high download bandwidth of mode of priority having selected, in the situation that starts to forget while playing online game or browsing page modification pattern, detecting that network occurs automatically to reduce and download the shared bandwidth of software when congested simultaneously.And being set, congestion time threshold value can prevent the overhead frequently system adjustment being caused.
With a concrete example, the embodiment of the present invention is further illustrated below.For example:
A display interface can be set, in this display interface, include multiple control models.Meanwhile, control model can be divided into online game is preferential, online is preferential, download preferential this Three Estate from low to high according to downloading shared bandwidth.For example user's downlink bandwidth is 1M, when selecting the bandwidth threshold that online game can download bandwidth when preferential to be set to 0; When selecting the bandwidth threshold that online can download bandwidth when preferential to be set to 512K, when select to download when preferential can downlink bandwidth bandwidth threshold be set to 0.8M.Certainly, this just illustrates.Can be according to actual conditions setting for control model, and can increase arbitrarily/delete when user uses; And user can revise arbitrarily bandwidth threshold corresponding to each control model as required.
And for how predetermined application program being carried out to speed limit, also can realize by number of ways.For example: by the network monitoring software of QQ doctor's one class, the shared bandwidth of application program in Internet Transmission port is limited.Now need QQ doctor that external interface is provided, so that the display interface of the embodiment of the present invention calls this interface, with application programs, carry out speed limit.Again for example: directly by downloading software, speed of download is carried out to speed limit, for example user is when using QQ whirlwind to download, and QQ whirlwind can limit the speed of downloading.Now need QQ whirlwind that external interface is provided, so that the display interface of the embodiment of the present invention calls this interface, so that QQ whirlwind is carried out to speed limit.
Embodiment 3
Third embodiment of the invention has proposed a kind of Internet Transmission control device, and its structure as shown in Figure 7, comprising:
Receiver module 1, the control model of selecting for receiving user; According to preset rules, determine the bandwidth threshold of described predetermined application corresponding to described control model;
Mode selection module 2, for being set as described bandwidth threshold the maximum network bandwidth that predetermined application takies;
Mode adjustment module 3, to determine network whether the free time occurs or to occur congestedly, if it is adjusts described control model according to preset rules in real time monitoring.
The embodiment of the present invention pre-determines the corresponding relation of control model and the shared bandwidth threshold of predetermined application; When user selects control model, according to this default bandwidth threshold, the network bandwidth of predetermined application is adjusted.User can select control model by mode intuitively like this, for the user who is unfamiliar with computer operation, also can to Internet Transmission, control easily., can also select after control model user meanwhile, according to the whether idle or congested control model of automatically adjusting of network, can prevent from like this operating network waste unskilled or that cause while forgetting modification pattern or impact is normal to be used due to user.
Embodiment 4
Fourth embodiment of the invention has proposed a kind of Internet Transmission control device, is to improve on the basis of the 3rd embodiment, comprising:
Receiver module 1, the control model of selecting for receiving user; According to preset rules, determine the bandwidth threshold of described predetermined application corresponding to described control model.
The method of the control model that wherein, reception user selects can be: a display interface is set, multiple control buttons can be set in this display interface, so that user selects to be suitable for the pattern of oneself intuitively.
For example: control model can be divided into from low to high to online game mode of priority, online mode of priority, download this Three Estate of mode of priority according to downloading shared bandwidth.For example user's downlink bandwidth is 1M, and when selecting online game mode of priority, bandwidth threshold that can download bandwidth is set to 0; When selecting online during mode of priority, bandwidth threshold that can download bandwidth is set to 512K; When select to download during mode of priority can downlink bandwidth bandwidth threshold be set to unrestrictedly.
Certainly, this just illustrates.Can be according to actual conditions setting for control model, more control model is set and can provides more more options to user.Meanwhile, can also make user revise voluntarily the corresponding bandwidth threshold of each control model; Also can make user increase/delete control model.
Mode selection module 2, for being set as described bandwidth threshold the maximum network bandwidth that predetermined application takies.
Wherein, it is prior art that application programs is carried out speed limit, and third party's network monitoring program of for example QQ doctor can allow each application program in user's control system allow the maximum network bandwidth taking.Meanwhile, much download software and be also built-in with speed limiting function.In the embodiment of the present invention, also can call the speed limiting function of downloading in software by interface routine.
In embodiments of the present invention, can be when user have set control model, first judge whether current download exceedes default bandwidth threshold, if exceeded, the maximum speed of download of downloading software is revised as to bandwidth threshold; If do not exceeded, the maximum speed of download of downloading software is defined as to bandwidth threshold.That is, be specially:
Monitor Internet Transmission port, to obtain the shared network bandwidth of predetermined application; Judge whether the described network bandwidth is greater than pre-set bandwidths threshold value, if so, first reduce the speed of download of this predetermined application, and bandwidth threshold is set as to this application program allows the maximum network bandwidth taking; If not, bandwidth threshold is set as to this application program and allows the maximum network bandwidth taking.
Wherein, in one embodiment of the present of invention, can monitor on backstage Internet Transmission port, the network bandwidth taking with each application program of Real-time Obtaining always.Can also, when user selects control model, just obtain the network bandwidth that each application program takies.
Wherein, it is prior art that application programs is carried out speed limit, and third party's network monitoring program of for example QQ doctor, can allow user control the network bandwidth that on machine, each application program takies.Meanwhile, much download software and be also built-in with speed limiting function.In the embodiment of the present invention, also can call the speed limiting function of downloading in software by interface routine.
Mode adjustment module 3, for determining that whether network occurs or occur congestedly the free time, if it is adjusts described control model according to preset rules.
Wherein, in mode adjustment module, can determine whether in several ways to occur idle or occur congested.
For determine occur idle, mode adjustment module 3 can comprise as shown in Figure 8:
The first monitoring unit 311, for real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle;
First mode adjustment unit 312, for adjusting described control model according to preset rules.
In the above-described embodiment, first mode adjustment unit can be for multiple, that is: for the mode of adjusting control model
Determine that the method that the free time occurs and adjust control model can be specially: by the control model sorting in advance, adjust step by step.That is, mode adjustment module 3 comprising as shown in Figure 8:
The first monitoring unit 311, for real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle;
First mode adjustment unit 312, for sorting to control model according to bandwidth threshold; Also, for when there is the free time, according to control model sequencing selection bandwidth threshold, be greater than the control model of current bandwidth threshold value.
Be greater than current bandwidth threshold value and refer to that the band that can take that downloads is wider than current bandwidth.
For example: take comprising online game mode of priority, online mode of priority, download mode of priority these three control models as example in precedent, can be 256K by this idle bandwidth Threshold, free time Threshold be 10 minutes.When user has opened when downloading and selecting online game mode of priority, the bandwidth threshold downloading is made as to 0.When user leaves computer, forget adjustment control model, now the volume of transmitted data of Internet Transmission interface is lower than idle bandwidth threshold value.When and free time exceed after 10 minutes, system is set as by control model the mode of priority of surfing the Net automatically, the bandwidth threshold downloading is now 512K.Due to still available free bandwidth now, and this idle bandwidth is still greater than idle bandwidth threshold value, and free time exceedes after 10 dividend, and system is set as control model to download mode of priority again automatically.
Can to control model, adjust according to idle bandwidth like this, to prevent that user from forgetting the bandwidth waste that change control pattern causes, further improve user's experience sense.
Determine that the method that the free time occurs and adjust control model can also be specially: according to the bandwidth of current network free time, and directly determine its corresponding control model by this idle bandwidth.That is, mode adjustment module 3 comprising as shown in Figure 8:
The first monitoring unit 311, for real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle;
First mode adjustment unit 312, for when there is the free time, reads bandwidth threshold corresponding to each control model, and selects suitable control model according to idle bandwidth.
This mode can be directly switch to suitable control model, for the situation that is provided with various control pattern, to improve the efficiency of adjustment.
Further, congested for determining generation, mode adjustment module 3 can comprise as shown in Figure 9:
The second monitoring unit 321, for real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
The second mode adjustment unit 322, for adjusting described control model according to preset rules.
Or mode adjustment module 3 can comprise as shown in figure 10:
The 3rd monitoring unit 331, sends ICMP protocol data bag for the testing server to default, and the time delay of definite ICMP protocol data bag; Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Three-mode adjustment unit 332, for adjusting described control model according to preset rules.
Determine that method congested and that adjust occurs can be specially: by monitoring Internet Transmission port, congested to determine whether to occur according to occupancy.When generation is congested, can, by the control model sorting in advance, adjust step by step.Be that mode adjustment module 3 can comprise as shown in Figure 9:
The second monitoring unit 321, for real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
The second mode adjustment unit 322, for sorting to control model according to bandwidth threshold; And according to control model sequencing selection bandwidth threshold, be less than the control model of current bandwidth threshold value.
Be less than current bandwidth threshold value and refer to that the bandwidth that can take that downloads is less than current bandwidth.
Determine there is method congested and that adjust can be also to be specially: by the testing server to default, send ICMP packet, and determine whether to occur congested by the time delay of this ICMP packet.When generation is congested, can, by the control model sorting in advance, adjust step by step.Be that mode adjustment module 3 can comprise as shown in figure 10:
That is:
The 3rd monitoring unit 331, sends ICMP protocol data bag for the testing server to default, and the time delay of definite ICMP protocol data bag; Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Three-mode adjustment unit 332, for sorting to control model according to bandwidth threshold; And according to control model sequencing selection bandwidth threshold, be less than the control model of current bandwidth threshold value.
Be less than current bandwidth threshold value and refer to that the bandwidth that can take that downloads is less than current bandwidth.
Certainly, in the embodiment of the present invention, can comprise the first monitoring module 311, first mode adjustment unit 312, the second monitoring unit 321, the second mode adjustment unit 322 simultaneously; Or comprise the first monitoring module 311, first mode adjustment unit 312, the 3rd monitoring unit 331, three-mode adjustment unit 332 simultaneously.
Processing module when idle or congested to network generation by increase in the embodiment of the present invention, the availability of the raising embodiment of the present invention.Owing to selecting, after a control model, may to forget in use change control pattern as user.And if now occur the network free time, can cause bandwidth waste; Or generation network congestion, cause carrying out online game or browsing page.Therefore, the embodiment of the present invention can also comprise that mode adjustment module changes the step of control model automatically.Can prevent that like this user from forgetting the bandwidth waste that modification pattern causes using after computer.Can pass through the mode of real-time listening Internet Transmission port, determine the idle bandwidth of network.And being set, free time threshold value can prevent the overhead frequently system adjustment being caused.Can prevent that user from downloading after the pattern of this high download bandwidth of mode of priority having selected, in the situation that starts to forget while playing online game or browsing page modification pattern, detecting that network occurs automatically to reduce and download the shared bandwidth of software when congested simultaneously.And being set, congestion time threshold value can prevent the overhead frequently system adjustment being caused.
The device of the embodiment of the present invention the third and fourth embodiment, identical with principle with the method design of aforesaid the first and second embodiment, therefore in the third and fourth embodiment to repeating no more with part identical in the first and second embodiment.
If integrated unit is realized and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of SFU software functional unit described in the embodiment of the present invention.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out all or part of of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
These are only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a network transmission control method, is characterized in that, comprising:
Receive the control model that user selects; According to preset rules, determine the bandwidth threshold of predetermined application corresponding to described control model;
Described bandwidth threshold is set as to the maximum network bandwidth that described predetermined application takies;
In real time monitoring, to determine network whether the free time occurs or to occur congestedly, is if it is adjusted described control model according to preset rules;
Before the control model that described reception user selects, comprising:
Be all corresponding bandwidth threshold that arranges of each control model in advance;
The control model that described reception user selects, comprising: a display interface is set, includes multiple control models in described display interface.
2. network transmission control method according to claim 1, is characterized in that, whether described definite network the free time occurs comprises:
Real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle.
3. network transmission control method according to claim 1, is characterized in that, whether described definite network occur congested comprising:
Real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
4. network transmission control method according to claim 1, is characterized in that, whether described definite network occur congested comprising:
To default testing server, send ICMP protocol data bag, and the time delay of definite ICMP protocol data bag;
Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested.
5. an Internet Transmission control device, is characterized in that, comprising:
Receiver module, the control model of selecting for receiving user; According to preset rules, determine the bandwidth threshold of predetermined application corresponding to described control model;
Mode selection module, for being set as described bandwidth threshold the maximum network bandwidth that described predetermined application takies;
Mode adjustment module, to determine network whether the free time occurs or to occur congestedly, if it is adjusts described control model according to preset rules in real time monitoring;
Before the control model that described reception user selects, comprising:
Be all corresponding bandwidth threshold that arranges of each control model in advance;
The control model that described reception user selects, comprising: a display interface is set, includes multiple control models in described display interface.
6. Internet Transmission control device according to claim 5, is characterized in that, described mode adjustment module comprises:
The first monitoring unit, for real-time listening Internet Transmission port, to determine idle bandwidth and the free time of network; When idle bandwidth and free time are all greater than predetermined threshold value, determine that described network occurs idle;
First mode adjustment unit, for adjusting described control model according to preset rules.
7. Internet Transmission control device according to claim 5, is characterized in that, described mode adjustment module comprises:
The second monitoring unit, for real-time listening Internet Transmission port, to determine the occupancy of current network transmit port; When described occupancy is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
The second mode adjustment unit, for adjusting described control model according to preset rules.
8. Internet Transmission control device according to claim 5, is characterized in that, described mode adjustment module comprises:
The 3rd monitoring unit, sends ICMP protocol data bag for the testing server to default, and the time delay of definite ICMP protocol data bag; Whether the average delay that judges this ICMP packet is greater than predetermined threshold value, and the duration be greater than predetermined threshold value, determine that described network occurs congested;
Three-mode adjustment unit, for adjusting described control model according to preset rules.
CN201010255970.8A 2010-08-13 2010-08-13 Network transmission control method and system Active CN102377588B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010255970.8A CN102377588B (en) 2010-08-13 2010-08-13 Network transmission control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010255970.8A CN102377588B (en) 2010-08-13 2010-08-13 Network transmission control method and system

Publications (2)

Publication Number Publication Date
CN102377588A CN102377588A (en) 2012-03-14
CN102377588B true CN102377588B (en) 2014-04-16

Family

ID=45795610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010255970.8A Active CN102377588B (en) 2010-08-13 2010-08-13 Network transmission control method and system

Country Status (1)

Country Link
CN (1) CN102377588B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2505203B (en) * 2012-08-22 2017-09-13 Ge Aviat Systems Ltd Method for allocation of network resources in an operations network for a selected environment
CN103873273B (en) 2012-12-10 2017-03-08 腾讯科技(深圳)有限公司 A kind of method and apparatus that network application is limited
CN103929375B (en) * 2013-01-10 2018-04-20 腾讯科技(深圳)有限公司 Bandwidth deployment device and method
CN104253766A (en) * 2013-06-26 2014-12-31 富泰华工业(深圳)有限公司 Network flow distribution system and method
CN103501277B (en) * 2013-09-30 2016-06-15 惠州Tcl移动通信有限公司 The processing method of a kind of self adaptation network speed control and system
CN103716249B (en) * 2013-12-18 2017-07-28 北京奇虎科技有限公司 A kind of network transfer speeds control method and equipment
CN104092627B (en) * 2014-07-15 2017-11-14 中国联合网络通信集团有限公司 Bandwidth adjusting method and device
WO2018027604A1 (en) * 2016-08-10 2018-02-15 董访问 Information pushing method during bandwidth limitation and allocation system
WO2018027602A1 (en) * 2016-08-10 2018-02-15 董访问 Method for allocating bandwidth according to software and allocation system
WO2018027603A1 (en) * 2016-08-10 2018-02-15 董访问 Usage information collection method for bandwidth allocation technology and allocation system
CN108259364B (en) * 2016-12-29 2021-09-14 中国移动通信集团浙江有限公司 Network congestion determination method and device
CN111355768B (en) * 2019-04-24 2023-05-30 深圳市鸿合创新信息技术有限责任公司 Video data transmission method and device and electronic equipment
CN110505660B (en) * 2019-07-23 2023-07-14 维沃移动通信有限公司 Network rate adjusting method and terminal equipment
CN111181763A (en) * 2019-11-28 2020-05-19 泰康保险集团股份有限公司 Network fault reporting method and device
CN113300974B (en) * 2020-07-10 2024-04-26 阿里巴巴集团控股有限公司 Congestion control method, device and computer readable medium
CN114189448A (en) * 2021-12-14 2022-03-15 中国建设银行股份有限公司 Data processing method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431771A (en) * 2008-12-09 2009-05-13 中兴通讯股份有限公司 Method for implementing mobile terminal side packet data service band width allocation and mobile terminal thereof
CN101431473A (en) * 2008-12-31 2009-05-13 深圳市迅雷网络技术有限公司 Method and apparatus for implementing network speed limit
WO2010039023A2 (en) * 2008-10-03 2010-04-08 Mimos Berhad Method to assign traffic priority or bandwidth for application at the end users-device
CN101702743A (en) * 2009-11-04 2010-05-05 中兴通讯股份有限公司 Self-adaption adjustment method of mobile terminal browser and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010039023A2 (en) * 2008-10-03 2010-04-08 Mimos Berhad Method to assign traffic priority or bandwidth for application at the end users-device
CN101431771A (en) * 2008-12-09 2009-05-13 中兴通讯股份有限公司 Method for implementing mobile terminal side packet data service band width allocation and mobile terminal thereof
CN101431473A (en) * 2008-12-31 2009-05-13 深圳市迅雷网络技术有限公司 Method and apparatus for implementing network speed limit
CN101702743A (en) * 2009-11-04 2010-05-05 中兴通讯股份有限公司 Self-adaption adjustment method of mobile terminal browser and device thereof

Also Published As

Publication number Publication date
CN102377588A (en) 2012-03-14

Similar Documents

Publication Publication Date Title
CN102377588B (en) Network transmission control method and system
CN107018175B (en) Scheduling method and device of mobile cloud computing platform
US8437738B2 (en) Mobile device-based bandwidth throttling
CN104811930B (en) A kind of method for controlling network flow and system of mobile terminal
CN105873022A (en) Downloading method and device for mobile terminal
CN108990110A (en) Network flux management method, device, storage medium and terminal
CN101984404B (en) Method and device for controlling parallel running of application programs and terminal having device
CN103581042B (en) Method and device for sending data package
CN109844716B (en) Application starting control method and control equipment
CN106997351B (en) Resource cache management method, system and device
US9882773B2 (en) Virtual resource provider with virtual control planes
CN109635199A (en) List of application dynamic recommendation method and system based on user behavior
CN104468411A (en) Bandwidth allocation method and device and router
CN106406917A (en) Icon arrangement method and apparatus
CN107959659A (en) A kind of flow medium play control method, device and electronic equipment
CN104951683A (en) Information processing method and electronic equipment
CN112306618B (en) Dynamic adjustment method for desktop icons and terminal equipment
CN100579035C (en) Method and device for intelligently regulating P2P service using terminal performance
CN107978014A (en) A kind of particle renders method, apparatus, electronic equipment and storage medium
CN107608791A (en) A kind of method, terminal and computer-readable recording medium for removing cache file
CN101925051A (en) Mobile terminal and download method thereof
CN107172489A (en) TV applications software refreshing method, TV and computer-readable recording medium
CN101827354A (en) Method and system for optimizing download speed of mobile terminal
CN107197323A (en) A kind of network video-on-demand server and its application based on DVFS
CN106375475A (en) Application program update data packet downloading processing method and apparatus

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