Specific embodiment
In being described below, for illustration and not for limitation, propose such as specific system structure, interface, technology it
The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with
And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.
Refering to fig. 1, Fig. 1 is one embodiment flow chart of the application flow control methods.The executing subject of present embodiment
For host side, wherein host side is the terminal as access point, and connecting pin is the terminal for accessing described access point.This embodiment party
In formula, flow control methods the following steps are included:
S101: host side obtains the flow control policy information of user's selection, wherein the flow control policy includes master
Generator terminal is preferential, connecting pin is preferential, mean allocation, and the host side is the terminal as access point, and the connecting pin is access institute
State the terminal of access point.
When mobile terminal is host side, when being arranged to wireless access point, connecting pin is searching the wireless access point
After service set (Service Set Identifier, SSID), correct access pin is inputted, this can be accessed and wirelessly connect
Access point, and core network is connected to by the wireless access point, network resources locating is carried out with host side.Wherein, connecting pin is
The terminal of the wireless access point is accessed, the quantity of host side is one, and the quantity of connecting pin is at least one.Wireless access point can
Think WiFi access point, or other wireless access point.
When Internet resources are shared in host side and connecting pin, host side obtains the stream that user selects according to user's self-demand
Measure control strategy information.Wherein, flow control policy includes that host side is preferential, connecting pin is preferential, mean allocation.
The preferential flow control policy of host side are as follows: currently available network bandwidth is made preferentially to meet the use net of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available network
Bandwidth is used for connecting pin again.
The preferential flow control policy in connecting pin are as follows: currently available network bandwidth is made preferentially to meet the use net of connecting pin
The demand of network bandwidth, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining network bandwidth
It is used again for host side.
The flow control policy of mean allocation are as follows: host side and the currently available network bandwidth of connecting pin mean allocation.
For example, when host side or connecting pin need to be implemented important network task, user may be selected host side it is preferential or
The preferential flow control policy in connecting pin, to guarantee preferentially to execute important network task.When there is no particular/special requirement, use
The flow control policy of mean allocation may be selected in family, can meet the demand of the user of host side and connecting pin simultaneously.
It is understood that in the present embodiment, flow control policy includes that host side is preferential, connecting pin is preferential, flat
It distributes, but it is not limited to this, and in other embodiments, flow control policy can also include other methods of salary distribution.
S102: being that network bandwidth is distributed in host side and/or connecting pin according to the flow control policy information.
Host side is host side and/or company in the flow control policy information got according to the flow control policy for including
End distribution network bandwidth is connect, so that host side and/or connecting pin, which are able to use the network bandwidth being assigned to, executes net task,
Wherein, connecting pin is the terminal for accessing the wireless access point.
For example, if the flow control policy for including in the flow control policy information that host side is got is that host side is excellent
First, then currently available network bandwidth is preferentially distributed to host side by host side, with meet host side using network bandwidth
Demand, meet host side using network bandwidth demand under the premise of, if there are also remaining available network bandwidth, will
Remaining available network bandwidth distributes to connecting pin, for connecting pin use.
If the flow control policy for including in the flow control policy information that host side is got is that connecting pin is preferential,
Currently available network bandwidth is preferentially distributed to connecting pin by host side, to meet the demand using network bandwidth of connecting pin,
Meet connecting pin using network bandwidth demand under the premise of, if there are also remaining available network bandwidth, will be remaining
Available network bandwidth distribute to host side, for host side use.
If the flow control policy for including in the flow control policy information that host side is got is mean allocation, lead
Generator terminal averagely gives currently available network bandwidth to host side and connecting pin, so that host side and connecting pin use the net being assigned to
Network bandwidth executes network task.
Above scheme, the flow control policy information that host side is selected according to demand by receiving user, and according to flow
The flow control policy for including in control strategy information by currently available network bandwidth be host side and/or connecting pin, thus
So as to use the bandwidth access core network being assigned to.Aforesaid way can distribute network bandwidth according to user demand,
Available network bandwidth can be used in maximum efficiency under the premise of guaranteeing user demand, guarantee the terminal of access network all
It being capable of normal use.
Referring to Fig.2, Fig. 2 is another embodiment flow chart of the application flow control methods.The execution master of present embodiment
Body is host side, wherein host side is the terminal as access point, and connecting pin is the terminal for accessing described access point.This implementation
In mode, flow control methods the following steps are included:
S201: flow control policy is arranged in host side, wherein the flow control policy includes that host side is preferential, connects
Hold preferential, mean allocation.
Flow control policy is arranged in host side, so that user selects the flow control policy needed according to demand.Wherein, it flows
Amount control strategy includes that host side is preferential, connecting pin is preferential, mean allocation.
For example, when host side or connecting pin need to be implemented important network task, user may be selected host side it is preferential or
The preferential flow control policy in connecting pin, to guarantee preferentially to execute important network task.When there is no particular/special requirement, use
The flow control policy of mean allocation may be selected in family, can meet the demand of the user of host side and connecting pin simultaneously.
The preferential flow control policy of host side are as follows: currently available network bandwidth is made preferentially to meet the use net of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available network
Bandwidth is used for connecting pin again.
The preferential flow control policy in connecting pin are as follows: currently available network bandwidth is made preferentially to meet the use net of connecting pin
The demand of network bandwidth, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining network bandwidth
It is used again for host side.
The flow control policy of mean allocation are as follows: host side and the currently available network bandwidth of connecting pin mean allocation.
It is understood that in the present embodiment, flow control policy includes that host side is preferential, connecting pin is preferential, flat
It distributes, but it is not limited to this, and in other embodiments, flow control policy can also include other methods of salary distribution.
S202: host side obtains the flow control policy information of user's selection, wherein the host side is as access point
Terminal.
When mobile terminal is host side, when being arranged to wireless access point, connecting pin is searching the wireless access point
After service set (Service Set Identifier, SSID), correct access pin is inputted, this can be accessed and wirelessly connect
Access point, and core network is connected to by the wireless access point, network resources locating is carried out with host side.Wherein, connecting pin is
The terminal of the wireless access point is accessed, the quantity of host side is one, and the quantity of connecting pin is at least one.Wireless access point can
Think WiFi access point, or other wireless access point.
When Internet resources are shared in host side and connecting pin, host side obtains the stream that user selects according to user's self-demand
Measure control strategy information.Wherein, flow control policy information includes flow control policy, and flow control policy includes that host side is excellent
First, connecting pin is preferential, mean allocation.
S203: it is identical as the step S102 of a upper embodiment, please refer to the step S102 and correlation of an embodiment
Description, does not repeat herein.
S204: judge whether distributed the host side of the network bandwidth or connecting pin is used the network of the distribution
Bandwidth has been distributed if the terminal for having distributed the network bandwidth does not use the allocated network bandwidth by described
Network bandwidth be reassigned to the terminal needed using network bandwidth, wherein the terminal belongs to the host side or connection
Wherein one end in end.
Whether the host side or connecting pin that host side judgement has distributed network bandwidth are used the network bandwidth being assigned to,
If having distributed the terminal of network bandwidth currently without allocated network bandwidth is used, the network of the terminal will have been distributed to
Bandwidth is reassigned to other and needs the terminal using network bandwidth, if the terminal for having distributed network bandwidth is being currently used
Allocated network bandwidth then keeps current network data control strategy, does not change allocated network bandwidth.Wherein, when
It is preceding that allocated network bandwidth terminal is not used to belong to wherein one end in host side or connecting pin, if currently without using
The terminal of allocated network bandwidth is one of terminal in connecting pin, then will distribute to the band preference point of the terminal
Other in dispensing connecting pin need the terminal using network bandwidth, in the use Netowrk tape for meeting other terminals in connecting pin
After wide needs, then by remaining network bandwidth allocation to host side, to use available network bandwidth in maximum efficiency.Such as
Fruit is host side currently without the terminal of allocated network bandwidth is used, then will distribute to the bandwidth allocation of the terminal to company
Connect the terminal needed in end using network bandwidth.
For example, host side judges whether host side is used and is assigned to when flow control policy is that host side is preferential
Network bandwidth, if the terminal as host side is currently without allocated network bandwidth is used, host side will divide
The network bandwidth of dispensing host side is reassigned to the terminal as connecting pin, is used with being provided as the terminal of connecting pin, thus
It realizes and uses available network bandwidth in maximum efficiency, preferably meet the demand of the user of connecting pin.
When flow control policy is that connecting pin is preferential, host side judges whether connecting pin is used the network being assigned to
Bandwidth, if any terminal as connecting pin is currently without allocated network bandwidth is used, host side preferentially will distribution
The terminal using network bandwidth is needed to other in connecting pin to the bandwidth allocation of the terminal, is meeting other in connecting pin
After the needs using network bandwidth of terminal, then remaining available network bandwidth distributed into host side, to be provided as host side
Terminal use, so as to preferably meet connecting pin and host side user demand, realization use in maximum efficiency
Available network bandwidth.Wherein, the quantity of the terminal of host side is one, and the quantity of the terminal of connecting pin is at least one, weight
The mode for newly having distributed to the network bandwidth of the current terminal without using network bandwidth can be randomly assigned, and can be average
Distribution can also be arranged the other modes such as preferential distribution principle by user demand and distribute, herein without limitation.
When flow control policy is mean allocation, host side judges whether host side or connecting pin are used and is assigned to
Network bandwidth, if led as host side or any terminal of connecting pin currently without allocated network bandwidth is used
The network bandwidth for being already allocated to the terminal is averagely allocated to all terminals of other in host side and connecting pin by generator terminal again,
For the use of other terminals, available network bandwidth is used in maximum efficiency to realize, preferably meets host side and connection
The demand of the user at end.
S205: judge whether the network bandwidth use state of the terminal changes every the first preset time, wherein described
Network bandwidth use state includes use state and idle state, if the network bandwidth use state of the terminal changes,
Then network bandwidth is adjusted according to the network bandwidth use state of the terminal.
Host side is every the first preset time (for example, the first preset time is 15 minutes, but it is not limited to this) judgement master
Whether the network bandwidth use state of generator terminal or the terminal of connecting pin changes, if the Netowrk tape of host side or the terminal of connecting pin
Wide use state changes, and the network bandwidth use state according to the terminal adjusts network bandwidth.If the network bandwidth of the terminal
Use state does not change, then keeps current flow control policy, does not adjust current network bandwidth.
Specifically, if the network bandwidth use state of host side or the terminal of connecting pin changes, judge whether to receive
The network bandwidth sent to other terminals uses solicited message, if receiving network bandwidth using solicited message, will divide
The network bandwidth allocation for the terminal that dispensing network bandwidth use state changes is to the terminal for issuing solicited message, if do not had
Network bandwidth is received using solicited message, then keeps current network data control strategy, does not change allocated Netowrk tape
It is wide.Wherein, network bandwidth use state includes use state and idle state, and terminal belongs to its in host side or connecting pin
Middle one end.
If the terminal that network bandwidth use state changes is one of terminal in connecting pin, also, host
The network bandwidth of the terminal transmission of host side and connecting pin is held while received using solicited message, then host side will have been distributed to
The network bandwidth of the terminal is preferentially distributed to and issues other terminals that network bandwidth uses solicited message in connecting pin, connects meeting
It connects in end after the needs using network bandwidth of other terminals, then gives remaining available network bandwidth allocation to sending network bandwidth
Using the host side of solicited message, to use available network bandwidth in maximum efficiency.
If the terminal that network bandwidth use state changes is host side, also, receives the net of connecting pin transmission
Network bandwidth uses solicited message, then host side is by the network bandwidth allocation for having distributed to host side to issuing Netowrk tape in connecting pin
Width uses the terminal of solicited message.
For example, host side judges the network bandwidth use state of host side when flow control policy is that host side is preferential
Whether change, if the network bandwidth use state of host side changes, judges whether the net for receiving connecting pin transmission
Network bandwidth uses solicited message;If no change has taken place for the network bandwidth use state of host side, current flow is kept
Control strategy does not adjust current network bandwidth.If the network bandwidth use that host side judgement receives connecting pin transmission is asked
Information is sought, then the network bandwidth for having distributed to host side is reassigned to sending network bandwidth in connecting pin and uses solicited message
Terminal, for the terminal use;If the network bandwidth that host side judgement is not received by connecting pin transmission uses request letter
Breath, then keep current flow control policy, do not adjust current network bandwidth, to realize in maximum efficiency using available
Network bandwidth is preferably met the needs of users.
When flow control policy is that connecting pin is preferential, host side judges whether the network bandwidth use state of connecting pin changes
Become, if the network bandwidth use state of any terminal changes in connecting pin, judges whether to receive in connecting pin
The network bandwidth that other terminals or host side are sent uses solicited message;If the network bandwidth use state of connecting pin is not sent out
It is raw to change, then current flow control policy is kept, does not adjust current network bandwidth.If host side judges while receiving
The network bandwidth that other terminals and host side in connecting pin are sent uses solicited message, then will distribute to network bandwidth use
The network bandwidth for the terminal that state changes preferentially is reassigned to sending network bandwidth in connecting pin and uses solicited message
Other terminals use need using the network bandwidth of other terminals of solicited message if issuing network bandwidth in meeting connecting pin
After asking, then remaining available network bandwidth is distributed to the host side for issuing network bandwidth and using solicited message.If host side
Judgement receives only the network bandwidth that other terminals in connecting pin are sent and uses solicited message, then will distribute to network bandwidth
The network bandwidth for the terminal that use state changes is reassigned to sending network bandwidth in connecting pin and uses solicited message
Other terminals.If host side judgement receives only the network bandwidth of host side transmission using solicited message, will distribute to
The network bandwidth for the terminal that network bandwidth use state changes, is reassigned to host side.If host side judgement does not have
Network bandwidth is received using solicited message, then keeps current flow control policy, does not adjust current network bandwidth, thus
It realizes and uses available network bandwidth in maximum efficiency, preferably meet the needs of users.
Wherein, the quantity of the terminal of host side is one, and the quantity of the terminal of connecting pin is at least one, redistributes
Distributing in connecting pin can currently be randomly assigned without using the mode of the network bandwidth of the terminal of network bandwidth, can be average
Distribution can also be arranged the other modes such as preferential distribution principle by user demand and distribute, herein without limitation.
When flow control policy is mean allocation, host side judges the network bandwidth use state of host side and connecting pin
Whether change, if the network bandwidth use state of any terminal or host side changes in connecting pin, judges whether to connect
The network bandwidth for receiving the transmission of other terminals uses solicited message;If host side and the network bandwidth use state of connecting pin
No change has taken place, then keeps current flow control policy, does not adjust current network bandwidth.If host side judges simultaneously
It receives the network bandwidth that other terminals and host side in connecting pin are sent and uses solicited message, then will distribute to Netowrk tape
The network bandwidth for the terminal that wide use state changes is averagely allocated to the end that all sending network bandwidths use solicited message
End.If host side judgement receives only other terminals in connecting pin or receives only the network bandwidth use of host side transmission
Solicited message will then distribute to the network bandwidth for the terminal that network bandwidth use state changes, and distribute to sending network
Bandwidth uses the terminal of solicited message, uses available network bandwidth in maximum efficiency to realize, preferably meets user's
Demand.
Above scheme, the flow control policy information that host side is selected according to demand by receiving user, and according to flow
Currently available network bandwidth is host side and/or connecting pin by the flow control policy for including in control strategy information, is being given
It, can also be by judging whether the terminal for having distributed network bandwidth makes after host side and/or connecting pin distribution network bandwidth
Whether change with the network bandwidth being assigned to, and by the network bandwidth use state of terminal, so as to adjust network bandwidth
Distribution condition is realized so that intelligence reasonably distributes network bandwidth and uses available network bandwidth in maximum efficiency, preferably full
The demand of the user of foot.
It is one embodiment structure schematic diagram of the application flow control terminal refering to Fig. 3, Fig. 3.In present embodiment, flow
Controlling terminal includes obtaining module 310 and distribution module 320.
Obtain the flow control policy information that module 310 is used to obtain user's selection, wherein flow control policy includes master
Generator terminal is preferential, connecting pin is preferential, mean allocation, and host side is the terminal as access point, and connecting pin is the end for accessing access point
End.
For example, when being arranged to wireless access point, connecting pin is searching the wireless access when mobile terminal is host side
After the service set (Service Set Identifier, SSID) of point, correct access pin is inputted, the nothing can be accessed
Line access point, and core network is connected to by the wireless access point, network resources locating is carried out with host side.Wherein, it connects
End is the terminal for accessing the wireless access point, and the quantity of host side is one, and the quantity of connecting pin is at least one.Wireless access
Point can be WiFi access point, or other wireless access point.
When Internet resources are shared in host side and connecting pin, obtains module 310 and obtain user according to the choosing of user's self-demand
The flow control policy information selected.Wherein, flow control policy includes that host side is preferential, connecting pin is preferential, mean allocation.
The preferential flow control policy of host side are as follows: currently available network bandwidth is made preferentially to meet the use net of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available network
Bandwidth is used for connecting pin again.
The preferential flow control policy in connecting pin are as follows: currently available network bandwidth is made preferentially to meet the use net of connecting pin
The demand of network bandwidth, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining network bandwidth
It is used again for host side.
The flow control policy of mean allocation are as follows: host side and the currently available network bandwidth of connecting pin mean allocation.
For example, when host side or connecting pin need to be implemented important network task, user may be selected host side it is preferential or
The preferential flow control policy in connecting pin, to guarantee preferentially to execute important network task.When there is no particular/special requirement, use
The flow control policy of mean allocation may be selected in family, can meet the demand of the user of host side and connecting pin simultaneously.
It is understood that in the present embodiment, flow control policy includes that host side is preferential, connecting pin is preferential, flat
It distributes, but it is not limited to this, and in other embodiments, flow control policy can also include other methods of salary distribution.
The flow control policy information that obtaining module 310 will acquire is sent to distribution module 320.
Distribution module 320 for receiving flow control policy information, and according to flow control policy information be host side and/
Or network bandwidth is distributed in connecting pin, wherein host side is the terminal as access point, and connecting pin is the end for accessing described access point
End.
For example, distribution module 320 is according to based on the flow control policy for including in the flow control policy information received
Network bandwidth is distributed in generator terminal and/or connecting pin, so that host side and/or connecting pin are able to use the network bandwidth being assigned to
Execute net task, wherein connecting pin is the terminal for accessing the wireless access point.
For example, if based on the flow control policy for including in the flow control policy information that distribution module 320 is got
Generator terminal is preferential, then currently available network bandwidth is preferentially distributed to host side by distribution module 320, to meet the use of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available net
Remaining available network bandwidth is then distributed to connecting pin by network bandwidth, for connecting pin use.
If the flow control policy for including in the flow control policy information that distribution module 320 is got is that connecting pin is excellent
Elder generation, then currently available network bandwidth is preferentially distributed to connecting pin by distribution module 320, to meet the use Netowrk tape of connecting pin
Wide demand, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining available network bandwidth,
Remaining available network bandwidth is then distributed into host side, for host side use.
If the flow control policy for including in the flow control policy information that distribution module 320 is got is average mark
Match, then distribution module 320 averagely gives currently available network bandwidth to host side and connecting pin, so that host side and connecting pin make
Network task is executed with the network bandwidth being assigned to.
Above scheme, the flow control policy information that host side is selected according to demand by receiving user, and according to flow
The flow control policy for including in control strategy information by currently available network bandwidth be host side and/or connecting pin, thus
So as to use the bandwidth access core network being assigned to.Aforesaid way can distribute network bandwidth according to user demand,
Network bandwidth can be used in maximum efficiency under the premise of guaranteeing user demand, guarantee that the terminal of access network can be just
It is often used.
It is another embodiment structure schematic diagram of the application flow control terminal refering to Fig. 4, Fig. 4.In present embodiment, stream
Amount controlling terminal includes: setup module 410, obtains module 420, distribution module 430, the first adjustment module 440, second adjustment mould
Block 450, wherein the first adjustment module 440 includes the first judging unit 441 and the first adjustment unit 442, second adjustment module
450 include second judgment unit 451 and second adjustment unit 452.
Setup module 410 is for being arranged flow control policy, wherein flow control policy includes that host side is preferential, connects
Hold preferential, mean allocation.For example, flow control policy is arranged in setup module 410, so that user selects the stream needed according to demand
Measure control strategy.Wherein, flow control policy includes that host side is preferential, connecting pin is preferential, mean allocation, and host side is to be used as to connect
The terminal of access point, connecting pin are the terminal for accessing access point.The quantity of host side is one, and the quantity of connecting pin is at least one
It is a.Wireless access point can be WiFi access point, or other wireless access point.
For example, when host side or connecting pin need to be implemented important network task, user may be selected host side it is preferential or
The preferential flow control policy in connecting pin, to guarantee preferentially to execute important network task.When there is no particular/special requirement, use
The flow control policy of mean allocation may be selected in family, can meet the demand of the user of host side and connecting pin simultaneously.
The preferential flow control policy of host side are as follows: currently available network bandwidth is made preferentially to meet the use net of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available network
Bandwidth is used for connecting pin again.
The preferential flow control policy in connecting pin are as follows: currently available network bandwidth is made preferentially to meet the use net of connecting pin
The demand of network bandwidth, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining network bandwidth
It is used again for host side.
The flow control policy of mean allocation are as follows: host side and the currently available network bandwidth of connecting pin mean allocation.
It is understood that in the present embodiment, flow control policy includes that host side is preferential, connecting pin is preferential, flat
It distributes, but it is not limited to this, and in other embodiments, flow control policy can also include other methods of salary distribution.
Obtain the flow control policy information that module 420 is used to obtain user's selection, wherein flow control policy packet
Containing flow control policy, flow control policy includes that host side is preferential, connecting pin is preferential, mean allocation.
For example, when being arranged to wireless access point, connecting pin is searching the wireless access when mobile terminal is host side
After the service set (Service Set Identifier, SSID) of point, correct access pin is inputted, the nothing can be accessed
Line access point, and core network is connected to by the wireless access point, network resources locating is carried out with host side.Wherein, it connects
End is the terminal for accessing the wireless access point, and the quantity of host side is one, and the quantity of connecting pin is at least one.Wireless access
Point can be WiFi access point, or other wireless access point.
When Internet resources are shared in host side and connecting pin, obtains module 420 and obtain user according to the choosing of user's self-demand
The flow control policy information selected.Wherein, flow control policy information includes flow control policy, and flow control policy includes master
Generator terminal is preferential, connecting pin is preferential, mean allocation.
The flow control policy information that obtaining module 420 will acquire is sent to distribution module 430.
Distribution module 430 is used to be that network bandwidth is distributed in host side and/or connecting pin according to flow control policy information,
In, host side is the terminal as access point, and connecting pin is the terminal for accessing described access point.
For example, for example, distribution module 430 is according to the flow control policy for including in the flow control policy information received
Network bandwidth is distributed for host side and/or connecting pin, so that host side and/or connecting pin are able to use the network being assigned to
Bandwidth executes net task, wherein connecting pin is the terminal for accessing the wireless access point.
For example, if based on the flow control policy for including in the flow control policy information that distribution module 430 is got
Generator terminal is preferential, then currently available network bandwidth is preferentially distributed to host side by distribution module 430, to meet the use of host side
The demand of network bandwidth, meet host side using network bandwidth demand under the premise of, if there are also remaining available net
Remaining available network bandwidth is then distributed to connecting pin by network bandwidth, for connecting pin use.
If the flow control policy for including in the flow control policy information that distribution module 430 is got is that connecting pin is excellent
Elder generation, then currently available network bandwidth is preferentially distributed to connecting pin by distribution module 430, to meet the use Netowrk tape of connecting pin
Wide demand, meet connecting pin using network bandwidth demand under the premise of, if there are also remaining available network bandwidth,
Remaining available network bandwidth is then distributed into host side, for host side use.
If the flow control policy for including in the flow control policy information that distribution module 430 is got is average mark
Match, then distribution module 430 averagely gives currently available network bandwidth to host side and connecting pin, so that host side and connecting pin make
Network task is executed with the network bandwidth being assigned to.
The network bandwidth of distribution is sent to host side and/or connecting pin by distribution module 430, so that host side and/or company
It connects end and executes network task using the network bandwidth being assigned to.
Whether the host side or connecting pin that the first judging unit 441 is used to judge to have distributed network bandwidth are used distribution
Network bandwidth, wherein terminal belongs to wherein one end in host side or connecting pin.
For example, after distribution module 430 is assigned with network bandwidth to host side and/or connecting pin, the first judging unit
441 judge whether distributed the host side of network bandwidth or connecting pin is used the network bandwidth of distribution, wherein terminal belongs to
Wherein one end in host side or connecting pin.
The judgement of first judging unit 441 has distributed the host side of network bandwidth or whether connecting pin is used and is assigned to
Network bandwidth.Judging result is sent to the first adjustment unit 442 by the first judging unit 441.
The first adjustment unit 442 is used for, when the terminal for having distributed network bandwidth does not use allocated network bandwidth,
Allocated network bandwidth is reassigned to the terminal needed using network bandwidth.For example, the reception of the first adjustment unit 442 is sentenced
It is disconnected as a result, will divide when judging result is to have distributed the terminal of network bandwidth currently without allocated network bandwidth is used
The network bandwidth of the dispensing terminal is reassigned to other and needs the terminal using network bandwidth.When judging result is to have distributed net
Allocated network bandwidth is being currently used in the terminal of network bandwidth, then keeps current network data control strategy, do not change
Allocated network bandwidth.
Wherein, currently without using the terminal of allocated network bandwidth to belong to wherein one in host side or connecting pin
End, the quantity of the terminal of host side are one, and the quantity of the terminal of connecting pin is at least one.When the first adjustment unit 442 is true
It is fixed currently without when the terminal of allocated network bandwidth being used to be one of terminal in connecting pin, the first adjustment unit
442 by the band preference for having distributed to the terminal distribute to other in connecting pin need the terminal using network bandwidth, full
After the needs using network bandwidth of other terminals in sufficient connecting pin, then by remaining network bandwidth allocation to host side, from
And available network bandwidth is used in maximum efficiency.When the first adjustment unit 442 is currently without using allocated network bandwidth
Terminal when being host side, then the first adjustment unit 442 is by the bandwidth allocation for having distributed to the terminal to needing to make in connecting pin
With the terminal of network bandwidth.
For example, when flow control policy is that host side is preferential, if it is judged that current for the terminal as host side
Allocated network bandwidth is not used, then the first adjustment unit 442 divides the network bandwidth for being already allocated to host side again
Terminal of the dispensing as connecting pin is used with being provided as the terminal of connecting pin, uses available net in maximum efficiency to realize
Network bandwidth preferably meets the demand of the user of connecting pin.
When flow control policy is that connecting pin is preferential, if it is judged that not having currently for any terminal as connecting pin
Have using allocated network bandwidth, then the first adjustment unit 442 will preferentially distribute to the bandwidth allocation of the terminal to connecting pin
In other need the terminal using network bandwidth, in the needs using network bandwidth for meeting other terminals in connecting pin
Afterwards, then by remaining available network bandwidth host side is distributed to, is used with being provided as the terminal of host side, so as to preferably
Meet the demand of the user of connecting pin and host side, realizes and use available network bandwidth in maximum efficiency.Wherein, host side
The quantity of terminal be one, the quantity of the terminal of connecting pin is at least one, redistributes and has distributed to currently without using net
The mode of the network bandwidth of the terminal of network bandwidth can be randomly assigned, and can be mean allocation, can also be arranged by user demand
The other modes distribution such as preferential distribution principle, herein without limitation.
When flow control policy is mean allocation, if it is judged that for any terminal as host side or connecting pin
Currently without allocated network bandwidth is used, then the first adjustment unit 442 will be already allocated to the network bandwidth weight of the terminal
All terminals of other in host side and connecting pin newly are averagely allocated to, for the use of other terminals, to realize maximal efficiency
Ground uses available network bandwidth, preferably meets the demand of the user of host side and connecting pin.
Second adjustment module 450 is used to judge whether the network bandwidth use state of terminal changes every the first preset time
Become, wherein network bandwidth use state includes use state and idle state;If the network bandwidth use state of terminal changes
Become, then adjusts network bandwidth according to the network bandwidth use state of terminal.Wherein, second judgment unit 451 is used for when terminal
When network bandwidth use state changes, judge whether that the network bandwidth for receiving the transmission of other terminals uses solicited message.
For example, second judgment unit 451 is every the first preset time (for example, the first preset time is 15 minutes, but not
It is limited to this) judge whether the network bandwidth use state of the terminal of host side or connecting pin changes, if host side or connecting pin
The network bandwidth use state of terminal change, then the network bandwidth for judging whether to receive the transmission of other terminals uses request letter
Breath.Wherein, network bandwidth use state includes use state and idle state, the end that network bandwidth use state changes
End belongs to wherein one end in host side or connecting pin.
Judging result is sent to second adjustment unit 452 by second judgment unit 451.
Second adjustment unit 452 is for receiving judging result, when judging result is to receive network bandwidth to use request letter
When breath, the network bandwidth allocation of the terminal will have been distributed to the terminal for issuing solicited message.
For example, second adjustment unit 452 receives judging result, when the judging result received is host side or connecting pin
When the network bandwidth use state of terminal does not change, second adjustment unit 452 keeps current flow control policy, uncomfortable
Whole current network bandwidth.
When the network bandwidth use state change for the terminal that judging result is host side or connecting pin, and it is not received by
When the network bandwidth that other terminals are sent uses solicited message, second adjustment unit 452 keeps current flow control policy, no
Adjust current network bandwidth.
When the network bandwidth use state change for the terminal that judging result is host side or connecting pin, and receive other
When the network bandwidth that terminal is sent uses solicited message, second adjustment unit 452 will distribute to network bandwidth use state hair
The network bandwidth allocation of the raw terminal changed is to the terminal for issuing solicited message.Wherein,
When second adjustment unit 452 determines that the terminal that changes of network bandwidth use state is wherein one in connecting pin
A terminal, also, when the network bandwidth that sends of the terminal for receiving host side and connecting pin simultaneously is using solicited message, second adjusts
The network bandwidth for having distributed to the terminal is preferentially distributed to sending network bandwidth in connecting pin and uses solicited message by whole unit 452
Other terminals, in meeting connecting pin after the needs using network bandwidth of other terminals, then by remaining available Netowrk tape
Width, which is distributed to, issues the host side that network bandwidth uses solicited message, to use available network bandwidth in maximum efficiency.
When second adjustment unit 452 determines that the terminal that changes of network bandwidth use state is host side, also, receive
When the network bandwidth sent to connecting pin uses solicited message, second adjustment unit 452 will distribute to the Netowrk tape of host side
Width is distributed to and issues the terminal that network bandwidth uses solicited message in connecting pin.
For example, when the network bandwidth use that the judging result that second adjustment unit 452 receives is host side or connecting pin
No change has taken place for state, and when being not received by the network bandwidth of other terminals transmission using solicited message, second adjustment
Unit 452 keeps current flow control policy, does not adjust current network bandwidth.
When the network bandwidth use state hair that the judging result that second adjustment unit 452 receives is host side or connecting pin
It is raw to change, and when being not received by the network bandwidth of other terminals transmission using solicited message, second adjustment unit 452 is kept
Current flow control policy does not adjust current network bandwidth.
When the network bandwidth use state hair that the judging result that second adjustment unit 452 receives is host side or connecting pin
When giving birth to and change, and receiving the network bandwidth of other terminals transmission using solicited message, the work feelings of second adjustment unit 452
Condition is divided into following several (but it is not limited to this):
When flow control policy is that host side is preferential, if based on the judging result that second adjustment unit 452 receives
The network bandwidth use state of generator terminal changes, and the network bandwidth for receiving connecting pin transmission uses solicited message, then
The network bandwidth for having distributed to host side is reassigned to sending network bandwidth use in connecting pin and asked by second adjustment unit 452
The terminal of information is sought, is used for issuing network bandwidth using the terminal of solicited message, to realize that use can in maximum efficiency
Network bandwidth is preferably met the needs of users.
When flow control policy is that connecting pin is preferential, if the judging result that second adjustment unit 452 receives is company
The network bandwidth use state for connecing any terminal in end changes, and receives other terminals or host side in connecting pin
The network bandwidth of transmission uses solicited message, when second adjustment unit 452 determines other terminals and the master received in connecting pin
When the network bandwidth that generator terminal is sent simultaneously uses solicited message, second adjustment unit 452 will distribute to network bandwidth and use shape
The network bandwidth for the terminal that state changes, be preferentially reassigned in connecting pin issue network bandwidth use solicited message its
His terminal, if issuing network bandwidth in meeting connecting pin uses the network bandwidth use demand of other terminals of solicited message
Afterwards, remaining available network bandwidth then is distributed to the host side for issuing network bandwidth and using solicited message.When second adjustment list
When member 452 determines that receiving only the network bandwidth that other terminals in connecting pin are sent uses solicited message, second adjustment unit
452 will distribute to the network bandwidth for the terminal that network bandwidth use state changes, and are reassigned in connecting pin and issue
Network bandwidth uses other terminals of solicited message.When second adjustment unit 452 determines the network for receiving only host side and sending
When bandwidth uses solicited message, second adjustment unit 452 will distribute to terminal that network bandwidth use state changes
Network bandwidth is reassigned to host side, uses available network bandwidth in maximum efficiency to realize, preferably meets user
Demand.
Wherein, the quantity of the terminal of host side is one, and the quantity of the terminal of connecting pin is at least one, redistributes
Distributing in connecting pin can currently be randomly assigned without using the mode of the network bandwidth of the terminal of network bandwidth, can be average
Distribution can also be arranged the other modes such as preferential distribution principle by user demand and distribute, herein without limitation.
When flow control policy is mean allocation, if the judging result that second adjustment unit 452 receives is, connection
The network bandwidth use state of any terminal or host side changes in end, and receives the Netowrk tape of other terminals transmission
Width uses solicited message, when second adjustment unit 452 determines while receiving other terminals in connecting pin and host side transmission
Network bandwidth use solicited message when, second adjustment unit 452 will distribute to what network bandwidth use state changed
The network bandwidth of terminal is averagely allocated to the terminal that all sending network bandwidths use solicited message.When second adjustment unit 452
It determines and receives only other terminals in connecting pin or receive only the network bandwidth of host side transmission using solicited message, second
Adjustment unit 452 will distribute to the network bandwidth for the terminal that network bandwidth use state changes, and distribute to sending network
Bandwidth uses the terminal of solicited message, uses available network bandwidth in maximum efficiency to realize, preferably meets user's
Demand.
Above scheme, the flow control policy information that host side is selected according to demand by receiving user, and according to flow
Currently available network bandwidth is host side and/or connecting pin by the flow control policy for including in control strategy information, is being given
It, can also be by judging whether the terminal for having distributed network bandwidth makes after host side and/or connecting pin distribution network bandwidth
Whether change with the network bandwidth being assigned to, and by the network bandwidth use state of terminal, so as to adjust network bandwidth
Distribution condition is realized so that intelligence reasonably distributes network bandwidth and uses available network bandwidth in maximum efficiency, preferably full
The demand of the user of foot.
In above description, for illustration and not for limitation, propose such as specific system structure, interface, technology it
The detail of class, so as to provide a thorough understanding of the present application.However, it will be clear to one skilled in the art that there is no these specific
The application also may be implemented in the other embodiment of details.In other situations, omit to well-known device, circuit with
And the detailed description of method, so as not to obscure the description of the present application with unnecessary details.