Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, the embodiment of the invention is described in further details below in conjunction with accompanying drawing.
For ease of understanding embodiment of the invention method, in the present embodiment, it is as follows 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 by 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 Q0S 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 by 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 POLICY server is finished configuration, strategic decision-making, service billing of customer service etc., mutual by agreements such as COPS (Common Open Policy Service, general open policy service protocol), RADIUS and NAS.
The ANCP system promptly enters the life's work stage after syntople is set up, mainly comprise:
1, dynamic topology is found and the line information renewal
AN monitors the line information of its line attachment, and 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 by the ANCP agreement.When line information changed, AN upgraded line related information by ANCP notice of settlement NAS.
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, NAS carried out bandwidth control, traffic policing etc. according to the line information of preserving previously to the business of user on this circuit.
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 by 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 by 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 described Access Node Control Protocol message carries indication information, with the indication network access server customer flow is dispatched.
S202, access node send described 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 by expanding some field in the existing ANCP message.
Fig. 3 is the schematic diagram of ANCP heading, and there is shown the field that can comprise in the ANCP message has: 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 by ANCP message indication NAS is described.Certainly, expanding reply field herein is an example only, can expand other field in the ANCP message in the enforcement, or adopt other can realize the method for customer flow being dispatched by ANCP message indication NAS.
In existing ANCP agreement, reply field is defined as follows:
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, for convenience of description, can claim that the type is " line configuring application ", and Result=8 under hypothesis the type, then can be defined as follows:
LineConfigApply (line configuring application) Result=8 (using when AN sends)
In the enforcement,, just can dispatch customer flow by 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, optionally, 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 subscriber's line configuration messages from NAS (this ability at the ANCP capability negotiation time determine), 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.In the above two kinds of cases, AN is failure to the result of customer flow scheduling.
Certainly, except above-mentioned two kinds of situations, 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, and still, for fear of the link congestion between NAS 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 the total bandwidth of user in the QOS strategy, this moment, AN can generate the ANCP message, and indication NAS dispatches customer flow.
Change, make that with the link bandwidth between AN and user the link bandwidth between AN and user is an example less than the total bandwidth of user in the Q0S strategy:
In this example, this ANCP message can be a Topology Discovery message, and the concrete enforcement of then above-mentioned S201 can be as follows: access node generates Topology Discovery message, and described Topology Discovery message indication network access server is dispatched customer flow.
Present embodiment can be dispatched customer flow by 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 as shown in Figure 4, handling process can be as follows:
S40l, NAS receive the ANCP message that AN sends, and described ANCP message carries indication information, and indication NAS dispatches customer flow.
S402, NAS dispatch customer flow according to the indication of described 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.
By flow process shown in Figure 4 as can be known, NAS according to the indication of described ANCP message, dispatches customer flow after receiving the ANCP message that AN sends, and 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 the total bandwidth of user in the QOS strategy:
Network access server will receive the ANCP message that access node is sent, and this ANCP message can be a Topology Discovery message, and described Topology Discovery message indication network access server is dispatched customer flow;
Then in this example, above-mentioned S402 can be embodied as: NAS revises the total bandwidth of user in the quality of service policy according to the indication of described Topology Discovery message.For example, NAS can compare the total bandwidth of user in link bandwidth between current AN and user and the QOS strategy in the described Topology Discovery message; According to comparative result, when the link bandwidth between AN and user less than the QOS strategy in during user's total bandwidth, revise the total bandwidth of user in the QOS strategy.
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 described 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, as can be known, in optional embodiment, AN can generate the node control protocol massages that carries indication information in needs, and 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:
S50l, network access server send the subscriber's line configuration messages to access node.
S502, access node are dispatched customer flow according to described 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 and receive the response.
The indication that S505, network access server are receiveed the response according to described 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 carry indication information in this message, 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 described subscriber's line configuration messages, receive the response by this line configuring and to return the result that customer flow is dispatched to NAS.
Customer flow is dispatched similar with embodiment one, two described AN by 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 increases newly to be used to indicate AN to return the result's that customer flow is dispatched sign to NAS in the subscriber's line configuration messages; Perhaps, by 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 herein, 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: be the newly-increased type of reply field, be used to indicate AN to return the result that customer flow is dispatched to NAS, for convenience of description, can claim that the type is " a line configuring feedback ", and Result=7 under hypothesis the type, then can be defined as follows:
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 by 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 by 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 i.e. result that 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, illustrate how the previous embodiment method realizes that NAS dispatches customer flow, in this example,, realize that AN indication NAS dispatches customer flow also by 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 the total bandwidth of user in the QOS strategy) of preserving on NAS 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 the total bandwidth of user in the QOS strategy, 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 finish by 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 are also provided in the embodiment of the invention, as described in the following examples four, five, six.Because the principle that these equipment are dealt with problems is similar to 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 described 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 described 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 by 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 described subscriber's line configuration messages customer flow being dispatched;
In described 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 described 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 by 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, described Topology Discovery message indication network access server is revised the total bandwidth of user in the quality of service policy 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 by Topology Discovery message indication NAS to NAS.
Embodiment five
As 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 described 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 described Access Node Control Protocol message, and customer flow is dispatched.
In the present embodiment, NAS according to the indication of described ANCP message, dispatches customer flow after receiving the ANCP message that AN sends, and realizes that with this NAS dispatches customer flow.
As 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 described subscriber's line configuration messages to customer flow, receive the line configuring that access node sends and receive the response, the described line configuring indication network access server of receiveing the response is dispatched customer flow.
Optionally, 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, described Topology Discovery message indication network access server is revised the total bandwidth of user in the quality of service policy according to the link bandwidth between current access node and user.
Optionally, as shown in figure 12, dispatching control module 1002 can also comprise:
Comparing unit 1201 is used for the total bandwidth of user in link bandwidth between current AN of described Topology Discovery message and user and the QOS strategy is compared;
Scheduling controlling unit 1202 is used for according to comparative result, revises the total bandwidth of user in the QOS strategy.
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
As 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 described Access Node Control Protocol message carries indication information, with the indication network access server customer flow is dispatched; And, send described Access Node Control Protocol message to network access server;
Network access server 1302 is used to receive described ANCP message; According to the indication of described ANCP message, customer flow is dispatched.
By the foregoing description as can be known, AN generates the ANCP message, this ANCP message indication NAS dispatches customer flow, AN sends this ANCP message to NAS, thereby make NAS after receiving the ANCP message that AN sends, according to the indication of described ANCP message, customer flow is dispatched, realize that with this NAS dispatches customer flow.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.