Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, the embodiment of the invention is explained further details below in conjunction with accompanying drawing.
For ease of understanding embodiment of the invention method, in the present embodiment, it is following at first the ANCP system to be made brief description:
As shown in Figure 1, the ANCP system is made up of following equipment usually:
AN: mutual through ANCP agreement and NAS.Be responsible for the line information of perception line attachment, comprise line status and line parameter circuit value etc., and report NAS; Implement QOS strategy, OAM (Operations, Administration and Maintenance, Operations, Administration and Maintenance) sense command that NAS issues.More common AN such as DSLAM equipment (DSLAM:Digital Subscriber Line Access Multiplexer, Digital Subscriber Line Access Multiplexer) etc.
NAS: be responsible for obtaining the line information of line attachment from AN, and report AAA (Authentication,, Authorization and Accounting, authentication) server; Issue QOS strategy, OAM sense command to AN.More common NAS such as BRAS equipment (BRAS:BroadbandRemote Access Server, Broadband Remote Access Server) etc.
Aaa server: be used for the authentication of access service.Mutual through RADIUS agreements such as (RemoteAuthentication Dial in User Service, remote subscriber is dialled in authentication service) and NAS.
POLICY server: the service of " selecting professional as required " is provided for the user; The configuration of POLICY server completion customer service, strategic decision-making, service billing etc.; Mutual through agreements such as COPS (Common Open Policy Service, general open policy service protocol), RADIUS and NAS.
The ANCP system promptly gets into the life's work stage after syntople is set up, mainly comprise:
1, dynamic topology is found and the line information renewal
The line information of its line attachment of AN monitoring, the information such as circuit ID (sign, the ANCP protocol definition is Access-Loop-Circuit-ID, inserts the loop circuit identifier), standard, upstream and downstream bandwidth that will be in active state report NAS through the ANCP agreement.When line information changed, AN passed through ANC
P notice of settlement NAS upgrades line related information.
2, the user reaches the standard grade, and uses corresponding line information
When the user under the AN on the respective lines reached the standard grade, the line information that NAS preserves according to the front carried out bandwidth control, traffic policing etc. to user's on this circuit business.
3, the POLICY server issues the QOS strategy to AN
The user reaches the standard grade or during custom service, the POLICY server can issue corresponding QOS strategy to NAS according to respective lines information, and NAS gives corresponding AN with this QOS policy distribution, and AN uses this QOS strategy.
4, user's physical circuit OAM detects
NAS issues the OAM detect-message through the ANCP agreement to AN, and AN can carry out loopback detection to respective lines after receiving message, and testing result is fed back to NAS through the ANCP agreement.
Embodiment one
Present embodiment provides a kind of dispatch control method of customer flow:
As shown in Figure 2, in the present embodiment, the dispatch control method of customer flow can comprise:
S201, access node generate the Access Node Control Protocol message, and said Access Node Control Protocol message carries indication information, with the indication network access server customer flow is dispatched.
S202, access node send said Access Node Control Protocol message to network access server.
In the enforcement, the ANCP message carries indication information among the S201, and with indication NAS customer flow being dispatched to have multiple mode, and for example: the newly-generated ANCP message of AN, this ANCP message are exclusively used in indication NAS customer flow is dispatched; Perhaps, the newly-increased indication information of indicating NAS that customer flow is dispatched of being used in existing ANCP message (for example line configuring is receiveed the response, Topology Discovery message etc.); Perhaps,, in these fields, carry the indication information that indication NAS dispatches customer flow, such as some field in the expansion ANCP heading through expanding some field in the existing ANCP message.
Fig. 3 is the sketch map of ANCP heading, and the field that can comprise in the ANCP message has been shown among the figure to be had: version number (Vers), sub-version number (Sub), type of message (Message Type), response (Result) and code word (Code) field.Be example with the reply field in the expansion ANCP heading below, the method that AN dispatches customer flow through ANCP message indication NAS is described.Certainly, expand reply field here and be merely an example, can expand other field in the ANCP message in the enforcement, or adopt other can realize the method for customer flow being dispatched through ANCP message indication NAS.
In existing ANCP agreement, following to the definition of reply field:
To ANCP message sender:
NoSuccessAck (successfully not responding): Result=1
AckAll (responding all): Result=2
To ANCP message recipient:
Success (success): Result=3
Failure (failure): Result=4
In this example, can expand reply field, as: be the newly-increased type of reply field; Be used to indicate NAS that customer flow is dispatched,, can claim that the type is " line configuring application " for describing conveniently; And Result=8 under hypothesis the type, then definable is following:
LineConfigApply (line configuring application) Result=8 (using when AN sends)
In the enforcement,, just can dispatch customer flow through access node Control Network access server as long as access node carries such indication in the Access Node Control Protocol message that network access server sends.
Certainly, optional, AN can generate the node control protocol massages that indication NAS dispatches customer flow, and send to NAS in needs.
For example: when AN does not support to handle the subscriber's line configuration messages from NAS (this ability at the ANCP capability negotiation time confirm), AN can generate the ANCP message, and indication NAS dispatches customer flow.Again for example: when AN did not support customer flow dispatched, this moment, AN also can generate the ANCP message, and indication NAS dispatches customer flow.Under above-mentioned two kinds of situation, AN is failure to the result of customer flow scheduling.
Certainly, except above-mentioned two kinds of situation, in some other scene, AN also can generate the node control protocol massages that indication NAS dispatches customer flow, and sends to NAS.For example: AN receives the subscriber's line configuration messages that NAS issues, and also possesses the ability of handling this message, still, and for fear of NA
Link congestion between S and AN, AN can generate the ANCP message, and indication NAS dispatches customer flow.Again for example: after AN receives certain user's that NAS issues QOS strategy; Link bandwidth between AN and user changes; Make link bandwidth between AN and user less than user's in the QOS strategy total bandwidth, this moment, AN can generate the ANCP message, and indication NAS dispatches customer flow.
Link bandwidth with between AN and user changes, makes that the link bandwidth between AN and user is an example less than user's in the QOS strategy total bandwidth:
In this example, this ANCP message can be a Topology Discovery message, and then above-mentioned S201 practical implementation can be following: access node generates Topology Discovery message, and said Topology Discovery message indication network access server is dispatched customer flow.
Present embodiment can be dispatched customer flow through access node Control Network access server, creates conditions for realizing that network access server is dispatched customer flow, and network access server is dispatched customer flow becomes possibility.
Embodiment two
Present embodiment provides a kind of dispatch control method of customer flow, and is as shown in Figure 4, and handling process can be following:
S401, NAS receive the ANCP message that AN sends, and said ANCP message carries indication information, and indication NAS dispatches customer flow.
S402, NAS dispatch customer flow according to the indication of said ANCP message.
Similar with the description among the last embodiment, in the present embodiment, the ANCP message from AN that NAS receives can be a newly-generated message of AN, and this message is exclusively used in indication NAS customer flow is dispatched; Also can be the multiplexing existing ANCP message of AN (for example line configuring is receiveed the response, Topology Discovery message etc.), in this message, increase newly and be used to the sign of indicating NAS that customer flow is dispatched; Or, be AN multiplexing existing ANCP message, some field in this ANCP message is expanded, be used to indicate NAS that customer flow is dispatched.
Can know that by flow process shown in Figure 4 NAS is after receiving the ANCP message that AN sends, according to said A
The indication of NCP message is dispatched customer flow, realizes that with this NAS dispatches customer flow.
Still change, make that with the link bandwidth between AN and user the link bandwidth between AN and user is an example less than user's in the QOS strategy total bandwidth:
Network access server will receive the ANCP message that access node is sent, and this ANCP message can be a Topology Discovery message, and said Topology Discovery message indication network access server is dispatched customer flow;
Then in this example, above-mentioned S402 can be embodied as: NAS revises user's in the quality of service policy total bandwidth according to the indication of said Topology Discovery message.For example, NAS can compare user's in link bandwidth between current AN and user and the QOS strategy in the said Topology Discovery message total bandwidth; According to comparative result, when the link bandwidth between AN and user less than the QOS strategy in during user's total bandwidth, revise user's in the QOS strategy total bandwidth.
Certainly, in the enforcement, NAS also can limit up and down linear flow rate total bandwidth, perhaps the different business of dispatched users etc. in proportion.As: NAS can adjust this user's downlink traffic, to avoid the link congestion on the AN.
In the present embodiment, NAS according to the indication of said ANCP message, dispatches customer flow after receiving the ANCP message that AN sends, and realizes that with this NAS dispatches customer flow.
Embodiment three
By the description of the foregoing description, can know that in optional embodiment, AN can generate the node control protocol massages that carries indication information in needs, NAS dispatches customer flow with indication, and sends to NAS.For example, AN is to the result of customer flow scheduling during for failure.At this moment, can dispatch user's flow by AN earlier, when AN to the result of customer flow scheduling during for failure, the node control protocol massages that regeneration indication NAS dispatches customer flow, and send to NAS.
As shown in Figure 5, the instantiation that customer flow is dispatched can comprise:
S501, network access server send the subscriber's line configuration messages to access node.
S502, access node are dispatched customer flow according to said subscriber's line configuration messages after receiving the subscriber's line configuration messages.
S503, at access node to the result of customer flow scheduling during for failure, access node generates the ANCP message, this ANCP message indication network access server is dispatched customer flow, in the enforcement, this ANCP message can be that line configuring is receiveed the response.
S504, access node send aforementioned line configuring to network access server receives the response.
The indication that S505, network access server are receiveed the response according to said line configuring is dispatched customer flow.
In the enforcement, can also introduce customer flow scheduling result feedback mechanism, make NAS can know the result that AN dispatches customer flow.For example, when NAS sends the subscriber's line configuration messages to AN, can in this message, carry indication information, AN returns the result that customer flow is dispatched to NAS with indication.Like this, when AN when NAS transmitting line configuration is receiveed the response, can also be by the indication of said subscriber's line configuration messages, receive the response through this line configuring and to return the result that customer flow is dispatched to NAS.
Customer flow is dispatched similar with embodiment one, two said AN through ANCP message indication NAS; Subscriber's line configuration messages indication AN returns the result that customer flow is dispatched to NAS also can have multiple mode, for example in the subscriber's line configuration messages, increases newly to be used to indicate AN to return the result's that customer flow is dispatched sign to NAS; Perhaps, through some field in the extending user line configuring message ANCP message, indication AN returns the result that customer flow is dispatched to NAS, such as some field in the expansion ANCP heading.
Be that example describes still with the reply field in the expansion ANCP heading here; Certainly can expand other field in the ANCP message in implementing, or adopt other can realize that subscriber's line configuration messages indication AN returns the result's that customer flow is dispatched method to NAS.
In this example; Consideration is expanded reply field, for example: for the newly-increased type of reply field, be used to indicate AN to return the result that customer flow is dispatched to NAS; For describing conveniently; Can claim that the type is " a line configuring feedback ", and Result=7 under hypothesis the type, then definable is following:
LineConfigAck (line configuring feedback) Result=7 (using when NAS sends)
In the present embodiment; AN is to the result that customer flow is dispatched of NAS feedback; Can make NAS clearly need its former customer flow scheduling that customer flow is dispatched to fail because of AN; Thereby further perfect under the situation that AN and NAS all can dispatch customer flow, the coordination system between the two.
Introduce a concrete application example below; How to realize that with explanation NAS dispatches customer flow; In this example,, realize that AN indication NAS dispatches customer flow and NAS indication AN returns the result that AN dispatches customer flow to it through reply field in the expansion ANCP message:
As shown in Figure 6, in this example, when the POLICY server issues QOS when strategy of certain user to NAS; NAS issues this QOS strategy through the ANCP agreement to AN; And when issuing, be 7 at the mid-Result of ANCP message, promptly aforementioned " line configuring feedback "; Require AN to return QOS application of policies result, the result who promptly customer flow is dispatched.After AN receives this ANCP message,, send back message using (being that line configuring is receiveed the response) and give NAS according to the result that customer flow is dispatched.If AN is failure to the scheduling result of customer flow, then the Result field in the back message using is changed to 8, promptly aforementioned " line configuring application ".
Lift a concrete application example below again, explain how the previous embodiment method realizes that NAS dispatches customer flow, in this example,, realize that AN indication NAS dispatches customer flow also through reply field in the expansion ANCP message:
As shown in Figure 7, in this example, AN is to the Topology Discovery message of NAS report of user, and indication NAS dispatches customer flow, and the Result field of then putting the ANCP message is changed to 8, promptly aforementioned " line configuring application ".After NAS receives this Topology Discovery message; With the link bandwidth between current AN and user in this Topology Discovery message; And a preceding user bandwidth information (being user's in the QOS strategy total bandwidth) of on NAS, preserving compares; When finding that link bandwidth between AN and user diminishes and during less than the user's total bandwidth in the QOS strategy, then NAS revises user's in the QOS strategy total bandwidth, and to the adjusted QOS strategy of POLICY server forwards.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; This program is when carrying out; Can comprise all or part of step in the foregoing description method, described storage medium can comprise: ROM, RAM, disk, CD etc.
A kind of AN, NAS and ANCP system also are provided in the embodiment of the invention, of following embodiment four, five, six.Because the principle that these equipment are dealt with problems is similar with the dispatch control method of customer flow, so the enforcement of these equipment can repeat part and repeat no more referring to the enforcement of method.
Embodiment four
As shown in Figure 8, the AN in the present embodiment can comprise:
Generation module 801 is used to generate the Access Node Control Protocol message, and said Access Node Control Protocol message carries indication information, with the indication network access server customer flow is dispatched;
Sending module 802 is used for sending said Access Node Control Protocol message to network access server.
In the present embodiment; AN generates the ANCP message and sends this ANCP message to NAS; This ANCP message indication NAS dispatches customer flow; Thereby implement control through NAS being carried out the customer flow scheduling, create conditions for realizing that NAS dispatches customer flow, NAS is dispatched customer flow becomes possibility.
As shown in Figure 9, in another embodiment of the present invention, AN shown in Figure 8 can also comprise:
Receiver module 803 is used to receive the subscriber's line configuration messages that network access server is sent;
Scheduler module 804 is used for according to said subscriber's line configuration messages customer flow being dispatched;
In said scheduler module to the result of customer flow scheduling during for failure; The Access Node Control Protocol message that generation module 801 generates is specially line configuring and receives the response, and the said line configuring indication network access server of receiveing the response is dispatched customer flow.
In the present embodiment; The result who customer flow is dispatched at AN is during for failure; AN dispatches customer flow through ANCP message (line configuring is receiveed the response) indication NAS, and then the reliability can guarantee customer flow dispatched the time, improves the efficient of scheduling; Be implemented under the situation that AN and NAS all can dispatch customer flow the coordination system between the two.
In another embodiment of the present invention; When the link bandwidth between access node and user changes; The Access Node Control Protocol message that generation module 801 generates is specially Topology Discovery message; Said Topology Discovery message indication network access server is revised user's in the quality of service policy total bandwidth according to the link bandwidth between current access node and user.
In the present embodiment, when AN changes in subscriber line information, report Topology Discovery message, and customer flow is dispatched, can make NAS start the application that links with QOS through Topology Discovery message indication NAS to NAS.
Embodiment five
Shown in figure 10, the NAS in the present embodiment can comprise:
Receiver module 1001 is used to receive the Access Node Control Protocol message that access node is sent, and said Access Node Control Protocol message carries indication information, and the indication network access server is dispatched customer flow;
Dispatching control module 1002 is used for the indication according to said Access Node Control Protocol message, and customer flow is dispatched.
In the present embodiment, NAS according to the indication of said ANCP message, dispatches customer flow after receiving the ANCP message that AN sends, and realizes that with this NAS dispatches customer flow.
Shown in figure 11, in another embodiment of the present invention, NAS shown in Figure 10 can also comprise:
Sending module 1003 is used for sending the subscriber's line configuration messages to AN;
At this moment; Receiver module 1001 can also be used for after access node is dispatched failure according to said subscriber's line configuration messages to customer flow; Receive the line configuring that access node sends and receive the response, the said line configuring indication network access server of receiveing the response is dispatched customer flow.
Optional, in the subscriber's line configuration messages that sending module 1003 sends, can carry indication information, AN returns the result that AN dispatches customer flow to NAS with indication.
The result who customer flow is dispatched at AN is during for failure; NAS receives the ANCP message (line configuring is receiveed the response) that AN sends; Indication according to this ANCP message is dispatched customer flow, and then the reliability can guarantee customer flow dispatched the time, improves the efficient of scheduling; Be implemented under the situation that AN and NAS all can dispatch customer flow the coordination system between the two.
In another embodiment of the present invention; When receiver module 1001 can also be used for link bandwidth between access node and user and changes; Receive the Topology Discovery message that access node is sent; Said Topology Discovery message indication network access server is revised user's in the quality of service policy total bandwidth according to the link bandwidth between current access node and user.
Optional, shown in figure 12, dispatching control module 1002 can also comprise:
Comparing unit 1201 is used for user's in link bandwidth between current AN of said Topology Discovery message and user and the QOS strategy total bandwidth is compared;
Scheduling controlling unit 1202 is used for according to comparative result, revises user's in the QOS strategy total bandwidth.
In the present embodiment, when subscriber line information changed, NAS received the Topology Discovery message that AN reports, and according to the indication of Topology Discovery message customer flow is dispatched, and can make NAS start the application that links with QOS.
Embodiment six
Shown in figure 13, the ANCP system in the present embodiment can comprise:
Access node 1301 is used to generate the Access Node Control Protocol message, and said Access Node Control Protocol message carries indication information, with the indication network access server customer flow is dispatched; And, send said Access Node Control Protocol message to network access server;
Network access server 1302 is used to receive said ANCP message; According to the indication of said ANCP message, customer flow is dispatched.
Can know by the foregoing description; AN generates the ANCP message, and this ANCP message indication NAS dispatches customer flow, and AN sends this ANCP message to NAS; Thereby make NAS after receiving the ANCP message that AN sends; According to the indication of said ANCP message, customer flow is dispatched, realize that with this NAS dispatches customer flow.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely specific embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.