Background technology
Continuous increase along with the Internet network size, various network services are fallen over each other to emerge in large numbers, various advanced persons' multimedia system emerges in an endless stream, thereby cause Internet network needs often to send sudden high FTP (File Transfer Protocol, file transfer protocol (FTP)) or close the HTTP multimedia services such as (HTML (Hypertext Markup Language)) of image file.For the real time business in the network, because characteristics such as its propagation delay time to network, delay jitter are comparatively responsive, therefore, network is when transmission FTP or HTTP etc. are professional, and is bigger to the influence of real time business.And multimedia service a large amount of network bandwidth that also accounted for makes the key business that needs in the existing network to guarantee bandwidth be difficult to be transmitted reliably.
Be the described real time business that guarantees to transmit in the network and QoS (the Quality ofService of key business, service quality) problem, ITU has proposed the functional mode of an IP signaling demand, as shown in Figure 1, described functional mode mainly comprises: SCFE (Session/Service Control FunctionalEntity, session/business control function body), BCFE (Bearer Control FunctionalEntity, entity of carrying control function), SFE (Switching Functional Entity, the function of exchange entity), CCI (Connection Control Interface, connect control interface), NCI (Network Control Interface, network control interface) and SCI (Switching ControlInterface, exchange control interface).
To be described each functions entity effect among Fig. 1 respectively below:
(1) SCFE: the terminal use is by applying for service alternately with SCFE;
SCFE initiates the QoS request, is determined the parameter of communicate configuration usually by SCFE, as bandwidth, and parameter informations such as QoS; If one group of acceptable parameter can be discussed and decided, the service that SCFE will use BCFE to provide is set up, safeguarded and disconnects Internet resources provides agreed configuration, i.e. negotiatedarrangement (consulting configuration).
(2) BCFE: be responsible for foundation, modification and releasing network resources agreed configuration is provided;
BCFE asks from the QoS that SCFE receives based on Business Stream, and through after the path analysis, BCFE sends to SFE with the path analysis result;
Depend on selected QoS control model, in order to analyze the QoS request and to generate the QoS configuration data, BCFE need know certain network topological information and resource state information.
(3) SFE: be used for and be based upon the virtual connections and the virtual connections interconnection that is based upon the another one port of a port;
One or more such interconnection by on each SFE between the user finally generates the virtual connections between the user; The characteristic of virtual connections based on the calling parameter of SCFE consultation, its route is then determined by BCFE; SFE by BCFE control generates according to the instruction of receiving on the SCI interface or the release interconnection.
(4) CCI:CCI is the interface between the carrying control plane of call/session layer and transport layer.
(5) NCI:NCI is the interface between BCFE and the BCFE.
(6) SCI:SCI is the interface between transport layer carrying control plane and the transport plane.
In actual applications, for each resource request, though how much determining by SCFE usually of bandwidth, and in resource request message, carried the required bandwidth parameter of user's virtual connections, but owing to the reasons such as IP datagram burst of user's virtual connections may be brought extra bandwidth cost, the bandwidth that causes actual bandwidth demand and SCFE to determine is not inconsistent.And the burst of IP datagram and PMTU (Path MaximumTransmission Unit, PMTU) are relevant.In the prior art, PMTU determines by SFE usually, and is that virtual connections between the user distributes bandwidth to be finished by BCFE usually.
In actual applications, BCFE is the virtual connections between the user when distributing bandwidth, may be more more than the numerical value that SCFE determined, because also will consider the loss of Network Transmission.Such as, at MPLS (Multi-Protocol Label Switching, multiprotocol label switching) in the network, if by BCFE specified virtual connections between the user LSP (the Label Switching Path of process, label switched path), SFE need carry a LSP sequence label in each IP datagram so, thereby make each IP datagram to transmit according to the path of appointment, and this extra LSP sequence label may cause IP datagram length to surpass the PMTU value that SFE determines, at this moment, SFE just need carry out burst to IP datagram, and will bring the extra bandwidth expense of Ethernet stem and IP stem to the IP datagram burst.
In the prior art, because PMTU is determined by SFE, BCFE is when distributing bandwidth for the virtual connections between the user and do not know concrete PMTU value, when IP datagram length surpasses the PMTU value, in the time of need carrying out the burst processing, BCFE can't accurately calculate because the IP datagram burst is handled the extra bandwidth brought, so can to cause BCFE be the bandwidth of distributing of the virtual connections between the user and actual required bandwidth is not inconsistent, and can not be rationally, effectively utilize resource.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide method and device that a kind of resources in network is distributed, make BCFE can accurately calculate extra bandwidth, thereby be the realistic required bandwidth of bandwidth that the virtual connections between the user is distributed.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides the method that a kind of resources in network is distributed, comprising:
A, entity of carrying control function BCFE determine the PMTU PMTU of virtual connections between the user according to the MTU MTU in all paths;
B, BCFE calculate the extra bandwidth and the Resources allocation of virtual connections between the user according to described PMTU.
Described steps A comprises:
A1, each BCFE obtain its MTU MTU for all definite paths of virtual connections between the user;
The minimum value of the MTU in A2, all paths of obtaining according to each BCFE is determined the PMTU of virtual connections between the user.
The mode that BCFE described in the steps A 1 obtains the MTU in path comprises:
With the MTU in path as the attribute configuration in path in BCFE, BCFE obtains the MTU information of respective paths from the information of configuration; Perhaps,
Obtain the MTU information of respective paths from function of exchange entity SFE by exchange control interface SCI.
Described steps A 2 specifically comprises:
A21, source BCFE calculate it for the minimum value among the MTU in all definite paths of virtual connections between the user, as interim PMTU;
A22, source BCFE are transferred to the middle BCFE that is adjacent with its interim PMTU that determines;
A23, BCFE calculates the minimum value among the interim PMTU that the MTU in its all paths of determining for virtual connections between the user receives with it in the middle of each, as the interim PMTU that reaffirms, and the described interim PMTU that reaffirms is transferred to adjacent middle BCFE, until purpose BCFE;
A25, purpose BCFE calculate the minimum value among the interim PMTU that the MTU in its all paths of determining for virtual connections between the user receives with it, as the PMTU of virtual connections between the user;
A26, purpose BCFE are transferred to each middle BCFE and source BCFE with the PMTU of virtual connections between its user who determines.
Described steps A 22 and steps A 23 comprise:
Each BCFE is carried on its interim PMTU that determines in the resource request message and transmits.
Described steps A 26 comprises:
Each BCFE is carried on described PMTU in the resource request response message and transmits.
This method also comprises:
C, BCFE are handed down to function of exchange entity SFE with described PMTU.
Described step C specifically comprises:
BCFE is handed down to SFE by SCI with described PMTU; Perhaps,
BCFE is uploaded to the session/business control function body SCFE that sends resource request message with described PMTU, and this SCFE is handed down to SFE with described PMTU; Perhaps,
BCFE is uploaded to the SCFE that sends resource request message with described PMTU, and this SCFE sends to the terminal use with described PMTU, and the terminal use sends to SFE with described PMTU; Perhaps,
BCFE is uploaded to the SCFE that sends resource request message with described PMTU, and this SCFE sends to the SCFE at SFE place with described PMTU, and the SCFE at SFE place is handed down to SFE with described PMTU; Perhaps,
BCFE is uploaded to described PMTU the SCFE that sends resource request message, this SCFE sends to described PMTU the SCFE at terminal use place, the SCFE at terminal use place sends to the terminal use with described PMTU, and the terminal use sends to SFE with described PMTU.
Described PMTU comprises: forward PMTU and/or reverse PMTU;
And described step C comprises: when described PMTU is forward, by source BCFE described forward PMTU is handed down to SFE;
As described PMTU when being reverse, described reverse PMTU is handed down to SFE by purpose BCFE.
This method also comprises:
SFE carries out burst according to described PMTU to the IP datagram of virtual connections between the user to be handled.
This method also comprises:
Each BCFE calculates the extra bandwidth of virtual connections between the user according to its interim PMTU that determines.
The present invention also provides a kind of resources in network assigned unit, and this device is arranged among the BCFE, and comprises:
The PMTU computing module is used to calculate the minimum value of BCFE for the MTU in all definite paths of virtual connections between the user, determines PMTU;
Resource distribution module is according to the extra bandwidth and the Resources allocation of virtual connections between the described PMTU calculating user.
As seen from the above technical solution provided by the invention, adopt the present invention can make BCFE accurately calculate extra bandwidth, the realistic required bandwidth of bandwidth for the distribution of the virtual connections between the user, thereby strengthened the accuracy and the reliability of Bandwidth Management, can be rationally, effectively utilize resource.
Embodiment
Method core concept of the present invention is: the PMTU that is determined virtual connections between the user by BCFE, BCFE calculates the extra bandwidth and the Resources allocation of virtual connections between the user according to this PMTU, thereby guarantees that BCFE is the realistic demand of bandwidth that virtual connections is distributed between the user.
BCFE determines that the method for the PMTU of virtual connections between the user is:
Each BCFE obtains its MTU MTU for all definite paths of virtual connections between the user;
The minimum value of the MTU in all paths that obtain according to each BCFE is determined the PMTU of virtual connections between the user.
Therefore, BCFE can be according to the content of resource request message, when determining route and all paths for virtual connections between the user or afterwards, obtains the MTU in all paths and determines the PMTU of virtual connections between the user;
The mode that BCFE obtains the MTU in path comprises:
With the MTU in path as the attribute configuration in path in BCFE, BCFE obtains the MTU information of respective paths from the information of configuration; Perhaps, obtain the MTU information of respective paths from SFE by the SCI interface.
BCFE can determine forward PMTU and/or reverse PMTU according to resource request message.
For the present invention there being further understanding, method of the present invention is described in detail below in conjunction with accompanying drawing.
The detailed process that adopts method of the present invention to determine forward PMTU and carry out resource allocation comprises the steps: as shown in Figure 2
Step 21: source BCFE calculates it for the minimum value among the MTU of all definite forward paths of virtual connections between the user, as interim forward PMTU, and BCFE in the middle of being transferred to.
After source BCFE receives the resource request message that session/business control function body SCFE issues, determine route and all forward paths for the virtual connections between the user according to the content of resource request message;
Source BCFE obtains the MTU of its all forward paths of determining for virtual connections between the user, and calculates the minimum value among the MTU of all forward paths, as interim forward PMTU;
Source BCFE is transferred to the middle BCFE that is adjacent with its interim forward PMTU that determines;
Source BCFE can be carried on its interim forward PMTU that determines and be transferred to the middle BCFE that is adjacent in the described resource request message.
Step 22: the minimum value among the MTU that middle BCFE calculates its all paths of determining for virtual connections between the user and the interim forward PMTU that receives, as interim forward PMTU and with its middle BCFE that is transferred to next jumping until purpose BCFE.
After the middle BCFE adjacent with source BCFE receives the resource request message that carries interim forward PMTU that source BCFE transmits, determine route and all forward paths for the virtual connections between the user according to the content of resource request message;
This centre BCFE obtains its MTU for all definite forward paths of virtual connections between the user;
This centre BCFE calculates that the MTU of its all forward paths of determining receives with it is carried on minimum value among the interim forward PMTU in the resource request message, and should be worth conduct forward PMTU temporarily;
This centre BCFE is carried on its interim PMTU that determines in the resource request message, is transferred to the middle BCFE that is adjacent again;
By that analogy, be carried on minimum value among the interim forward PMTU in the resource request message until what the middle BCFE adjacent with purpose BCFE calculated that the MTU of its all forward paths of determining receives with it, and should be worth conduct forward PMTU temporarily;
Then, this BCFE is carried on its interim forward PMTU that determines in the resource request message, is transferred to purpose BCFE again.
Minimum value among the MTU that step 23: purpose BCFE calculates its all forward paths of determining for virtual connections between the user and the interim forward PMTU that receives is as the forward PMTU of virtual connections between the user.
After purpose BCFE receives the resource request message that carries interim forward PMTU, for the virtual connections between the user is determined route and all forward paths;
Purpose BCFE obtains its MTU for all definite forward paths of virtual connections between the user;
Purpose BCFE calculates that the MTU of its all forward paths of determining receives with it is carried on minimum value among the interim forward PMTU in the resource request message, and will be worth the forward PMTU as virtual connections between the user.
Step 24: purpose BCFE calculates extra bandwidth and Resources allocation.
After purpose BCFE has determined forward PMTU, calculate the extra bandwidth of virtual connections between the user, and be virtual connections Resources allocation between the user according to the extra bandwidth of calculating according to this forward PMTU.
Step 25: purpose BCFE is transferred to each BCFE with the forward PMTU that determines, each BCFE calculates extra bandwidth and Resources allocation according to the forward PMTU that determines.
Purpose BCFE can be carried on the forward PMTU that determines and be transferred to the middle BCFE that is adjacent in the resource request response message;
After this centre BCFE receives the response message that carries forward PMTU, calculate the extra bandwidth and the Resources allocation of virtual connections between the user according to this forward PMTU, and then this forward PMTU is carried on is transferred to the middle BCFE that is adjacent in the resource request response message;
By that analogy, be transferred to source BCFE in the resource request message until this forward PMTU is carried on, source BCFE calculates the extra bandwidth of virtual connections between the user according to this forward PMTU, and is virtual connections Resources allocation between the user according to the extra bandwidth of calculating.
Step 26: source BCFE is handed down to SFE with forward PMTU.
In order to guarantee after virtual connections between the user is finally set up, SFE can be according to the IP datagram of virtual connections between the definite PMTU process user of BCFE, make the resource consistence between bearer control layer and the basic bearing bed, source BCFE calculates the extra bandwidth of virtual connections between the user according to the forward PMTU that determines, after judgement can be satisfied user's resource request, PMTU was handed down to corresponding SFE with this forward;
Described SFE sends response message to source BCFE after receiving this forward PMTU.
After source BCFE is handed down to SFE with forward PMTU, send the resource request response message.
The mode that source BCFE is handed down to SFE with forward PMTU has multiple, comprising:
Source BCFE is handed down to SFE by the SCI interface with forward PMTU; Perhaps,
Source BCFE is uploaded to the SCFE that sends resource request message with forward PMTU, and this SCFE is handed down to SFE with this forward PMTU again; Perhaps,
Source BCFE is uploaded to the SCFE that sends resource request message with forward PMTU, and this SCFE sends to the terminal use with this forward PMTU, and the terminal use sends to SFE with this forward PMTU again; Perhaps,
Source BCFE is uploaded to the SCFE that sends resource request message with forward PMTU, and this SCFE sends to the SCFE at SFE place with this forward PMTU, and the SCFE at SFE place is handed down to SFE with this forward PMTU again; Perhaps,
Source BCFE is uploaded to forward PMTU the SCFE that sends resource request message, this SCFE sends to this forward PMTU the SCFE at terminal use place, the SCFE at terminal use place sends to the terminal use with this forward PMTU, and the terminal use sends to SFE with this forward PMTU again.
Step 27:SFE carries out burst to the IP datagram of virtual connections between the user to be handled.
After virtual connections between the user was finally set up, the forward PMTU that described SFE issues according to source BCFE carries out burst to the IP datagram of virtual connections between the user to be handled.
Adopt detailed process that method of the present invention determines reverse PMTU as shown in Figure 3:
BCFE determines that the process of reverse PMTU is identical with process and the method for definite forward PMTU, and difference only is that BCFE is the reverse PMTU that determines virtual connections between the user according to its MTU for all definite inverse paths of virtual connections between the user.
Below in conjunction with Fig. 3 describe in detail each BCFE according to the reverse PMTU that determines calculate extra bandwidth, Resources allocation process, reverse PMTU is handed down to SFE to BCFE and SFE carries out the process that burst is handled to IP datagram, comprise the steps:
Step 31: purpose BCFE calculates extra bandwidth and Resources allocation.
After purpose BCFE has determined reverse PMTU, calculate the extra bandwidth of virtual connections between user, and be virtual connections Resources allocation between the user according to the extra bandwidth of calculating according to this reverse PMTU.
Step 32: purpose BCFE issues reverse PMTU to SFE.
Purpose BCFE after the Resources allocation, should be handed down to corresponding SFE by reverse PMTU according to the extra bandwidth that the reverse PMTU that determines calculates virtual connections between the user;
Described SFE sends response message to purpose BCFE after receiving described reverse PMTU.
Purpose BCFE issues mode from reverse PMTU to SFE is identical to the mode that SFE issues forward PMTU with source BCFE.
The reverse PMTU that step 33: purpose BCFE will determine is transferred to each BCFE, and each BCFE calculates extra bandwidth and Resources allocation according to the reverse PMTU that determines.
Purpose BCFE can be carried on the reverse PMTU that determines and be transferred to the middle BCFE that is adjacent in the resource request response message;
After this centre BCFE receives the response message that carries reverse PMTU, calculate the extra bandwidth and the Resources allocation of virtual connections between user according to this reverse PMTU, and then will this reverse PMTU be carried on and be transferred to the middle BCFE that is adjacent in the resource request response message;
By that analogy, be transferred to source BCFE in the resource request message until should reverse PMTU being carried on, source BCFE is according to the extra bandwidth of should reverse PMTU calculating virtual connections between user, and is virtual connections Resources allocation between the user according to the extra bandwidth of calculating.
After source BCFE calculates the extra bandwidth and Resources allocation of virtual connections between the user, send the resource request response message.
Step 34:SFE carries out burst to the IP datagram of virtual connections between the user to be handled.
After virtual connections between the user was finally set up, the reverse PMTU that SFE issues according to purpose BCFE carries out burst to the IP datagram of virtual connections between the user to be handled.
Again the process that adopts the method for the invention to determine forward and reverse PMTU simultaneously and to carry out resource allocation is simply introduced below.
When BCFE according to resource request message, according to above-mentioned definite forward PMTU and the process of passing to PMTU, according to it is the MTU of all forward paths that virtual connections is determined between the user and the MTU of inverse path, after determining forward PMTU and reverse PMTU respectively, purpose BCFE is handed down to corresponding SFE with reverse PMTU after calculating extra bandwidth and Resources allocation according to determined forward PMTU and reverse PMTU;
After purpose BCFE receives the response message of SFE, the forward PMTU that determines and reverse PMTU be carried on simultaneously be transferred to the middle BCFE that is adjacent in the resource request response message;
After this centre BCFE receives the response message that carries forward and reverse PMTU, calculate the extra bandwidth and the Resources allocation of virtual connections between the user according to this forward and reverse PMTU, and then this forward and reverse PMTU be carried on be transferred to the middle BCFE that is adjacent in the resource request response message;
By that analogy, until being carried on, this forward and reverse PMTU be transferred to source BCFE in the resource request message, source BCFE calculates the extra bandwidth of virtual connections between the user according to this forward and reverse PMTU, and is virtual connections Resources allocation between the user according to the extra bandwidth of calculating;
Source BCFE is handed down to corresponding SFE with the forward PMTU that receives by the SCI interface after calculating the extra bandwidth and Resources allocation of virtual connections between the user;
After virtual connections between the user was finally set up, the forward PMTU that reverse PMTU that SFE issues according to purpose BCFE and source BCFE issue carries out burst to the IP datagram of virtual connections between the user to be handled.
Determine in the PMTU process at above-mentioned BCFE, after each BCFE has determined interim PMTU, can calculate the interim extra bandwidth of virtual connections between the user according to this interim PMTU, for carrying out resource reservation, BCFE provides reference, after treating that each BCFE calculates accurately extra bandwidth according to the final PMTU that determines, again described interim extra bandwidth is revised, like this can be more rationally, effectively utilize resource.
The present invention also provides a kind of resources in network assigned unit, and as shown in Figure 4, this device is arranged among the BCFE, and comprises:
The PMTU computing module is used to calculate the minimum value of BCFE for the MTU in all definite paths of virtual connections between the user, determines PMTU;
Resource distribution module is used for extra bandwidth and Resources allocation according to virtual connections between the described PMTU calculating user.
Wherein, the definite PMTU of PMTU computing module comprises PMTU and the definite interim PMTU of each BCFE that purpose BCFE determines;
The PMTU that resource distribution module is determined according to purpose BCFE calculates extra bandwidth accurately and/or the interim PMTU that determines according to each BCFE calculates interim extra bandwidth.
In sum, because BCFE determines the PMTU of virtual connections between the user, so BCFE can accurately calculate the extra bandwidth expense of virtual connections between the user, make BCFE when distributing bandwidth, to take into account these extra bandwidth expenses, thereby be the realistic required bandwidth of bandwidth that the virtual connections between the user is distributed, strengthen the accuracy and the reliability of Bandwidth Management, realized purpose reasonable, efficent use of resources.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.