Embodiment
The embodiment of the invention provides a kind of method for building up of Ethernet service, comprising: obtain Ethernet service QoS information and Ethernet information of classifier; Described Ethernet information of classifier comprises: the source MAC of described Ethernet service and target MAC (Media Access Control) address; According to the source MAC and the target MAC (Media Access Control) address of described Ethernet service QoS information and described Ethernet service, set up the Access Network connection that is used to carry described Ethernet service data.Use the technical scheme that the embodiment of the invention provided, can in wireless network, set up Ethernet service.
Consult Fig. 3, the embodiment of the invention one provides a kind of method for building up of Ethernet service, and this method is set up the Access Network carrying that is applicable to the transmission Ethernet service and is connected with eating dishes without rice or wine when accessing terminal to network, and this method comprises:
Step 301, terminal and network side carry out basic capability negotiating, and (ConvergenceSublayer, type CS) is: Ethernet CS to consult convergence sub-layer.
In the basic capability negotiation process that terminal and network side carry out, IAD can be known the source MAC and the target MAC (Media Access Control) address of the Ethernet service of terminal request.
The access authentication procedure of step 302, terminal and network side.The IAD of network side sends authentication to terminal and begins request, and terminal is carried user ID in authentication response message, and IAD sends the access authentication request of carrying user ID to aaa server.
Step 303, aaa server are after to the authentification of user success, and the Ethernet strategy according to user signing contract information and/or local network preset generates Ethernet service QoS set (Ethernet QoS profile).Aaa server sends insertion authority message Access-Accept to IAD, and this insertion authority message is carried: Ethernet service QoS gathers (Ethemet QoS profile).
Wherein, Ethernet service QoS set comprises: Ethernet service QoS information and Ethernet information of classifier.Ethernet service QoS information comprises: maximum/minimum bandwidth, the grade of service and User Priority.The Ethernet information of classifier comprises: the source MAC of this Ethernet service and target MAC (Media Access Control) address.Above-mentioned Ethernet service QoS information can also comprise: and the guarantee information rate (committed Information Rate, CIR), CBS (Committed Burst Size), EIR (Exess Information Rate), EBS (ExcessBurst Size) and CM information such as (Color Mode).
Generating Ethernet service QoS in this step gathers concrete mode and is: type and the ability of knowing the Ethernet service that the user contracts according to user signing contract information, according to the type and the ability of the Ethernet service that the user contracted, from the Ethernet strategy that local network presets, obtain this user's Ethernet service QoS set.Wherein, the Ethernet strategy that presets of local network comprises the source MAC and the target MAC (Media Access Control) address of Ethernet service.The source MAC of the Ethernet service in this step and target MAC (Media Access Control) address can be not included in the Ethernet strategy that local network presets, and can be that IAD takes aaa server in the access authentication request message, do not influence realization of the present invention.
Also can be in this step only according to user's CAMEL-Subscription-Information generation Ethernet service QoS set, perhaps, only an Ethernet strategy that presets according to local network generates Ethernet service QoS set, does not influence realization of the present invention.
The QoS information of step 304, the carrying of generation Access Network is set up the grader of Access Network carrying.
The specific implementation of this step is: the QoS information that Ethernet service QoS information mapping is become the Access Network carrying, the QoS information of this Access Network carrying comprises: Access Network bearing identification, maximum/minimum bandwidth, time delay, shake, transfer type and User Priority etc.(Anchor Data Path Function ADPF) sets up the grader of Access Network carrying, and the grader of this Access Network carrying comprises: source MAC and target MAC (Media Access Control) address to be positioned at anchoring data pathway entity on the IAD.
The data path type of supposing current Access Network is a Virtual Local Area Network, and then ADPF maps out the VLAN sign according to user's precedence information.In this step Ethernet service QoS information mapping is become VLAN QoS information, above-mentioned VLAN QoS information comprises: VLAN sign, maximum/minimum bandwidth and User Priority etc.
Step 305, IAD are established to the Access Network carrying of base station according to QoS information and information of classifier that Access Network carries.
IAD sends resource reservation request to the base station earlier in this step, creates the Access Network carrying of transmission Ethernet service data with request.Comprise in the resource reservation request: the QoS information and the information of classifier of Access Network carrying.
If current Ethernet service type is VLAN, the connection that is based on VLAN of setting up in this step.
The QoS information of eating dishes without rice or wine the QoS information mapping one-tenth of Access Network carrying to connect in step 306, base station is set up the grader of eating dishes without rice or wine to connect according to the information of classifier of Access Network carrying, and this grader of eating dishes without rice or wine to connect comprises: source MAC and target MAC (Media Access Control) address.
Step 307, base station are established to the connection of eating dishes without rice or wine of terminal according to the QoS information and the information of classifier of eating dishes without rice or wine to connect.
Consult Fig. 4, the embodiment of the invention two provides a kind of method for building up of Ethernet service, and this method is set up the Access Network carrying that is applicable to the transmission Ethernet service and is connected with eating dishes without rice or wine when accessing terminal to network, and this method comprises:
Step 401-step 402 is identical with step 301-step 302.
Step 403, aaa server are after to the authentification of user success, send insertion authority message Access-Accept to IAD, in insertion authority message, can carry Ethernet service QoS set, identical in the Ethernet service QoS set in this step and the step 303.
Step 404, IAD send authorization request message as Policy Enforcement Point PCEF to PCRF, with the further mandate among the request PCRF.
Wherein, if the insertion authority message in the step 403 is carried Ethernet service QoS set, before this step 404, can obtain sign, Ethernet service QoS set and the information of classifier of terminal.If PCRF before this step for described terminal distribution Access Network bearing identification and/or set up the Access Network carrying, at this moment, IAD can comprise to the authorization request message that PCRF sends in this step: Ethernet information of classifier and the Access Network beared information that comprises the Access Network bearing identification.This authorization request message can also comprise: Ethernet service QoS set provides reference for PCRF.Wherein the Ethernet information of classifier comprises: the source MAC of Ethernet service and target MAC (Media Access Control) address, the obtain manner of source MAC and target MAC (Media Access Control) address can be to obtain from Ethernet service QoS set, also can be IAD obtains from the information interaction that terminal and network side carry out, and does not influence realization of the present invention.
If aaa server has sent the insertion authority message of carrying Ethernet service QoS set in the step 403 to IAD, can set up the Access Network carrying according to Ethernet service QoS set in this step, receive PCC when rule of containing Ethernet service QoS information and Ethernet information of classifier at subsequent step from PCRF, revise the Access Network carrying of having set up according to Ethernet service QoS information again, do not influence realization of the present invention.
Step 405, PCRF obtain user signing contract information according to user ID from user-subscribed database.User-subscribed database can be arranged in aaa server or PCRF or other customer data bases.
This step is specially: PCRF sends the CAMEL-Subscription-Information request message to user-subscribed database, this CAMEL-Subscription-Information request message carries user ID, user-subscribed database obtains this user's CAMEL-Subscription-Information according to user ID, and this user's CAMEL-Subscription-Information is provided to PCRF.
At least a among the authorization request message that step 406, PCRF send according to user's CAMEL-Subscription-Information, Ethernet strategy that local network presets and IAD, generate the PCC rule of Ethernet service, the PCC rule of Ethernet service comprises: Ethernet service QoS information, Ethernet information of classifier and charge information.
Wherein, Ethernet service QoS information comprises: User Priority, maximum/minimum bandwidth and the grade of service; The Ethernet grader comprises: information such as Ethernet service source MAC and target MAC (Media Access Control) address (use VLAN if obtain access network data channel from the Access Network beared information, then also comprise VLAN ID in the Ethernet grader, VLAN such as VLAN Tag sign).
This step has following several implementation:
First kind of mode is: PCRF only obtains the source MAC and the target MAC (Media Access Control) address of Ethernet service QoS information and Ethernet service according to user signing contract information, comprises the PCC rule of Ethernet service QoS information and Ethernet information of classifier with generation; This user signing contract information can comprise: information such as the source MAC of Ethernet service QoS information and Ethernet service and target MAC (Media Access Control) address.
The second way is: the Ethernet strategy that PCRF only presets according to local network obtains the source MAC and the target MAC (Media Access Control) address of Ethernet service QoS information and Ethernet service, comprises the PCC rule of Ethernet service QoS information and Ethernet information of classifier with generation; The Ethernet strategy that this local network presets can comprise: information such as the source MAC of Ethernet service QoS information and Ethernet service and target MAC (Media Access Control) address.
The third mode is: the authorization request message that PCRF only sends according to IAD is obtained the source MAC and the target MAC (Media Access Control) address of Ethernet service QoS information and Ethernet service, comprises the PCC rule of Ethernet service QoS information and Ethernet information of classifier with generation; The authorization request message that this IAD sends can comprise: information such as the source MAC of Ethernet service QoS information and Ethernet service and target MAC (Media Access Control) address.
The 4th kind of mode is: the Ethernet strategy that PCRF presets according to user signing contract information and local network generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.Specifically can realize in the following way: PCRF is known the type and the ability of the Ethernet service that the user contracts according to user's CAMEL-Subscription-Information, type and ability according to the Ethernet service that the user contracted, from the Ethernet strategy that local network presets, obtain Ethernet service QoS information and Ethernet information of classifier, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The 5th kind of mode is: PCRF generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier according to the authorization request message of user signing contract information and IAD transmission.Specifically can realize in the following way: PCRF is known the type and the ability of the Ethernet service that the user contracts according to user's CAMEL-Subscription-Information, type and ability according to the Ethernet service that the user contracted, from authorization request message, obtain Ethernet service QoS information and Ethernet information of classifier, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The 6th kind of mode is: the authorization request message that Ethernet strategy that PCRF presets according to local network and IAD send generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.Specifically can realize in the following way: PCRF obtains the source MAC and the target MAC (Media Access Control) address of Ethernet service from the Ethernet strategy that local network presets, from the authorization request message that IAD sends, obtain Ethernet service QoS information, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The 7th kind of mode is: the authorization request message that Ethernet strategy that PCRF presets according to user signing contract information, local network and IAD send generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.Specifically can realize in the following way: PCRF is known the type and the ability of the Ethernet service that the user contracts according to user's CAMEL-Subscription-Information, type and ability according to the Ethernet service that the user contracted, the Ethernet strategy that presets from local network obtains Ethernet service QoS information, to the authorization request message that PCRF sends, obtain the Ethernet information of classifier from IAD, comprise the PCC rule of Ethernet service QoS information and Ethernet information of classifier with generation.
Step 407, PCRF send authorization response message to IAD, carry the PCC rule of Ethernet service in this message.
Step 408-step 411 is identical with step 304-step 307.
Consult Fig. 5, the embodiment of the invention three provides a kind of method for building up of Ethernet service, and this method is set up the Access Network carrying that is applicable to Ethernet service and is connected with eating dishes without rice or wine when Ethernet service is initiated, and this method comprises:
(Application Function AF) carries out the information interaction of application layer, the service authorization request message of receiving terminal in information interaction with terminal for step 501, Application Function.
After step 502, Application Function AF receive the service authorization request message of terminal, carry the service authorization request message of Ethernet service information, carry out the resource authorization of Ethernet service with request PCRF to the PCRF transmission.
Wherein, the Ethernet service information in this step can comprise: the source MAC of Ethernet service and target MAC (Media Access Control) address, and Ethernet qos policy information.The service authorization request message can also comprise: traffic type information.What traffic type information represented that the user asks is Ethernet service or other business.Ethernet qos policy information is type and the ability that terminal is wanted the Ethernet service of asking.
Step 503, PCRF obtain user signing contract information according to user ID from user-subscribed database.
What step 504, PCRF knew that the user asks according to traffic type information is Ethernet service, at least a among the entrained Ethernet service information of the service authorization request message that Ethernet strategy that presets according to user signing contract information, local network and AF send, generate the PCC rule of Ethernet service, the PCC rule of this Ethernet service comprises: Ethernet service QoS information, Ethernet information of classifier and charge information.
This step has following several implementation:
First kind of mode is: the entrained Ethernet service information of service authorization request message that PCRF sends according to AF generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The second way is: the entrained Ethernet service information of service authorization request message according to user signing contract information and AF transmission generates the described PCC rule that comprises described Ethernet service QoS information and Ethernet information of classifier.Concrete implementation can be for obtaining the source MAC and the target MAC (Media Access Control) address of Ethernet service the entrained Ethernet service information of: the service authorization request message that sends from AF, from user signing contract information, obtain Ethernet service QoS information, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The third mode is: the entrained Ethernet service information of service authorization request message that Ethernet strategy that presets according to local network and AF send generates the described PCC rule that comprises described Ethernet service QoS information and Ethernet information of classifier.Concrete implementation can be for obtaining the source MAC and the target MAC (Media Access Control) address of Ethernet service the entrained Ethernet service information of: the service authorization request message that sends from AF, from the Ethernet strategy that local network presets, obtain Ethernet service QoS information, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
The 4th kind of mode is: the entrained Ethernet service information of service authorization request message that Ethernet strategy, user signing contract information and the AF that presets according to local network sends generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.Concrete implementation can for: PCRF is known the type and the ability of the Ethernet service that the user contracts according to user's CAMEL-Subscription-Information, type and ability according to the Ethernet service that the user contracted, from the entrained Ethernet service information of the service authorization request message of AF transmission, obtain the source MAC and the target MAC (Media Access Control) address of Ethernet service, from the Ethernet strategy that local network presets, obtain Ethernet service QoS information, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.
Also can be only according to user signing contract information, perhaps, only the Ethernet strategy that presets according to local network generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier.Perhaps, the Ethernet strategy that presets according to user signing contract information and local network generates the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier, and these three kinds of appropriate sections that implementation can be consulted embodiment two do not influence realization of the present invention.
The message of carrying is set up in the request that step 505, IAD receiving terminal send, and carries the convergence sub-layer type of being asked in this message.
Step 506, IAD obtain the PCC rule of Ethernet service from PCRF after the message of carrying is set up in the request that receives the terminal transmission.
Whether successfully step 507, PCRF send the mandate of authorization response message indexed resource to AF.
Step 508-step 511 is identical with step 304-step 307.
Step 512, base station send to carry to IAD eats dishes without rice or wine to create successful response message.
Consult Fig. 6, the embodiment of the invention four provides a kind of method for building up of Ethernet service, and this method is set up the Access Network carrying that is applicable to Ethernet service and is connected with eating dishes without rice or wine when Ethernet service is initiated, and this method comprises:
Step 601, Application Function AF and terminal are carried out the information interaction of application layer, the service authorization request message of receiving terminal in information interaction.
After step 602, AF receive the service authorization request message of terminal, send the service authorization request message, with the resource authorization of request PCRF to PCRF.
Wherein, comprise in the service authorization request message that sends in this step: the source MAC of user ID, Ethernet service and target MAC (Media Access Control) address and QoS information.
Step 603, PCRF obtain user signing contract information according to user ID from user-subscribed database.
Step 604, PCRF generate the PCC rule, and this PCC rule comprises: IP QoS information, Ethernet information of classifier and charge information etc.
IP QoS information in this step is to generate according to the QoS information in the step 602.
The Ethernet information of classifier comprises: the source MAC and the target MAC (Media Access Control) address of Ethernet service.Ethernet information of classifier in this step can obtain according to source MAC in the service authorization request message and target MAC (Media Access Control) address, also can obtain from user signing contract information, does not influence realization of the present invention.
The message of carrying is set up in the request that step 605, IAD receiving terminal send, and carries the convergence sub-layer type of being asked in this message.
Step 606, IAD obtain the PCC rule from PCRF after the message of carrying is set up in the request that receives the terminal transmission.
Whether successfully step 607, PCRF send the mandate of authorization response message indexed resource to AF.
The convergence sub-layer type that step 608, IAD are asked according to the message of request foundation carrying becomes Ethernet service QoS information with IP QoS information translation.
If the convergence sub-layer type that the message of request foundation carrying is asked in this step is VLAN, then in this step IP QoS information translation is become VLAN QoS information, VLAN QoS information comprises: User Priority, VLAN sign and VLAN Tag etc.
Step 609-step 613 is identical with step 508-step 512.
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 a kind of computer-readable recording medium, read-only memory for example, disk or CD etc.
Consult Fig. 7, the embodiment of the invention five provides a kind of network element device, comprising: information acquisition unit 701 is set up unit 702 with being connected, wherein,
Information acquisition unit 701 is obtained Ethernet service QoS information and Ethernet information of classifier; Ethernet service QoS information comprises: bandwidth information, the grade of service and User Priority; The Ethernet information of classifier comprises: the source MAC of Ethernet service and target MAC (Media Access Control) address;
Connect and set up unit 702,, set up the Access Network connection that is used to carry the Ethernet service data according to Ethernet service QoS information and Ethernet information of classifier.
Concrete, information acquisition unit 701 is obtained Ethernet service QoS set from the authentication and authorization charging aaa server, and Ethernet service QoS set comprises: described Ethernet service QoS information and Ethernet information of classifier.Perhaps, information acquisition unit 701 is obtained the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier from strategy and charging controlled entity PCRF.
Consult Fig. 8, the embodiment of the invention six provides a kind of network element device, comprising: unit 802 is set up in information acquisition unit 801, connection and the message sink unit 803 of carrying is set up in request, wherein,
The message sink unit 803 that carries is set up in request, and the message of carrying is set up in the request that receiving terminal sends, and the convergence sub-layer type that carried terminal is asked in the message of carrying is set up in this request;
Information acquisition unit 801 comprises: IP QoS information and Ethernet information of classifier acquiring unit 8011 and converting unit 8012, wherein, IP QoS information and Ethernet information of classifier acquiring unit 8011 obtain IP QoS information and Ethernet information of classifier from PCRF; Converting unit 8012 when request is set up convergence sub-layer type that the terminal of carrying in the message of carrying asks and is ethernet type, becomes Ethernet service IP QoS information with IP QoS information translation.Wherein, Ethernet service QoS information comprises: bandwidth information, the grade of service and User Priority; The Ethernet information of classifier comprises: the source MAC of described Ethernet service and target MAC (Media Access Control) address;
Connect and set up unit 802,, set up the Access Network connection that is used to carry the Ethernet service data according to Ethernet service QoS information and Ethernet information of classifier.
Consult Fig. 9, the embodiment of the invention seven provides a kind of network system, and this system comprises: IAD and authentication and authorization charging aaa server,
The authentication and authorization charging aaa server, the Ethernet strategy that presets according to user's CAMEL-Subscription-Information and/or local network, generate Ethernet service QoS set and send to IAD, Ethernet service QoS set comprises: Ethernet service QoS information and Ethernet information of classifier, and the Ethernet information of classifier comprises: the source MAC of Ethernet service and target MAC (Media Access Control) address;
IAD receives Ethernet service QoS set, and according to Ethernet service QoS information and Ethernet information of classifier in the Ethernet service QoS set, sets up the Access Network connection that is used to carry described Ethernet service data.
Consult Figure 10, the embodiment of the invention eight provides a kind of network system, and this system comprises: aaa server, and strategy and charging controlled entity PCRF, IAD, wherein,
Aaa server authenticates the user, after to the authentification of user success, sends insertion authority message Access-Accept to IAD, can carry Ethernet service QoS set in insertion authority message;
IAD, after receiving the insertion authority message of aaa server, send authorization request message to PCRF, receive the PCC rule that comprises Ethernet information of classifier and Ethernet service QoS information that PCRF sends again, according to Ethernet service QoS information and Ethernet information of classifier, set up the Access Network connection that is used to carry the Ethernet service data;
PCRF receives the authorization request message that IAD sends; At least a among the authorization request message that the Ethernet strategy that presets according to user signing contract information, local network, IAD send, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier and send to IAD.
Consult Figure 11, the embodiment of the invention nine provides a kind of network system, and this system comprises: Application Function AF, and strategy and charging controlled entity PCRF, IAD, wherein,
AF carries the service authorization request message of Ethernet service information to the PCRF transmission;
PCRF, the service authorization request message of Ethernet service information is carried in reception, and at least a among the entrained Ethernet service information of the service authorization request message that sends of the Ethernet strategy that presets according to user signing contract information, local network, AF, generate the PCC rule that comprises Ethernet service QoS information and Ethernet information of classifier and send to described IAD;
IAD receives the PCC rule that comprises Ethernet information of classifier and Ethernet service QoS information that PCRF sends, and according to Ethernet service QoS information and Ethernet information of classifier, sets up the Access Network connection that is used to carry described Ethernet service data.
Consult Figure 11, the embodiment of the invention ten provides a kind of network system, and this system comprises: Application Function AF, strategy and charging controlled entity PCRF and IAD, wherein,
AF sends the service authorization request message that carries QoS information and Ethernet service source MAC and target MAC (Media Access Control) address to PCRF;
PCRF receives the service authorization request message, and generates IP QoS information according to the QoS information in the service authorization request message, obtains the Ethernet information of classifier, to obtain comprising the PCC rule of Ethernet information of classifier and IP QoS information; Wherein, the Ethernet information of classifier can obtain according to source MAC entrained in the service authorization request message and target MAC (Media Access Control) address, also can obtain from the user signing contract information that user-subscribed database obtains, and does not influence realization of the present invention.
IAD, reception comprises the PCC rule of Ethernet information of classifier and IP QoS information, the message of carrying is set up in the request that receiving terminal sends, the convergence sub-layer type that carried terminal is asked in the message of carrying is set up in this request, when the convergence sub-layer type of being asked is ethernet type, IP QoS information mapping is become Ethernet service QoS information,, set up the Access Network connection that is used to carry described Ethernet service data according to Ethernet service QoS information and Ethernet information of classifier.
As seen from the above analysis, the embodiment of the invention has following beneficial effect:
The embodiment of the invention is obtained Ethernet service QoS information and Ethernet information of classifier in wireless network, the Ethernet information of classifier comprises the source MAC and the target MAC (Media Access Control) address of Ethernet service, source MAC and target MAC (Media Access Control) address according to Ethernet service QoS information and Ethernet service, foundation is used to carry the Access Network connection of Ethernet service data, to be implemented in the purpose of setting up Ethernet service in the wireless network.The Access Network connection of being set up can use source MAC and target MAC (Media Access Control) address to discern the data of this Ethernet service, and can carry out corresponding policy control according to the QoS information of Ethernet service, be particularly useful in the WiMAX system Ethernet service being authorized and policy control.But the technical scheme that the embodiment of the invention provided is not limited to use in the WiMAX system, can also be applied to other wireless networks, as 3g mobile network (3G) and WLAN (WLAN) etc.The technical scheme that the embodiment of the invention provided makes the operator provide the different grades of service with different Ethernet services to different Ethernet service users, and abundanter professional presentation mode and better user experience is provided.
More than method for building up, network element device and the network system of a kind of Ethernet service provided by the present invention is described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, this description should not be construed as limitation of the present invention.