Background technology
In evolved packet system (EPS, Evolved Packet System), adopted new core network architecture, and used the GTPv2 agreement.The architecture of EPS system as shown in Figure 1, in the EPS system, service GPRS service node (SGSN is arranged, Serving GPRS Support Node), gateway (Serving GW), Mobility Management Entity (MME, Mobility Management Entity), packet data network gateway (PDN GW, Packet Data Network Gateway), home subscriber servers (HSS, Home Subscriber Server), strategy and charging rule functions (PCRF, Policy and Charging Rules Function) entity and IP operation (Operator ' s IP Services) entity.Existing TS29.274 standard has determined that S3, the S4 shown in Fig. 1, S5, S8, S10, S11 interface use the GTPv2 agreement, when Serving GW is positioned at different operators with PDN GW, interface between Serving GW and the PDN GW is the S8 interface, the S8 interface is the roaming interface of S5 interface, being similar to gp interface is the roaming interface of gn interface, equally, the S8 interface also uses the GTPv2 agreement.
The EPS system is a kind of novel 3GPP system, and it with a very big difference of traditional 2G/3G system is: the EPS system supports the always online function of Internet Protocol IP.That is to say, be registered in the EPS system that system just distributes an IP address to give this UE immediately, and be that this UE activates an EPS carrying (Bearer) in case work as user terminal (UE).And traditional 2G/3G does not have the always online function of IP.
The GTP (hereinafter to be referred as GTPv0) of the version 0 that traditional 2G/3G uses or the GTP (hereinafter to be referred as GTPv1) of version 1, and the EPS system uses new version GTP agreement, i.e. GTPv2 agreement.As shown in Figure 2, GTPv0 and GTPv1 protocol requirement use GTP tunnel to transmit GTP message at present, network entity identifies an one GTP tunnel by IP address, Tunnel End Point Identifier (TEID) and User Datagram Protoco (UDP) (UDP, the User Datagram Protocol) port numbers of GTP tunnel.Wherein the GTP agreement is pointed out clearly, and the tunnel IP agreement in tunnel must be supported the Internet Protocol IPv4 of edition 4.And at present the GTPv2 agreement is just in definition procedure, and the GTPv2 agreement stipulates that clearly its tunnel IP agreement must support the IPv4 agreement.
In traditional 2G/3G system, GTP control (plane) (GTP-C of GTPv0 agreement or GTPv1 agreement, GTP Control) message only appears on two interfaces, it is the interface between SGSN and the SGSN, and the interface between SGSN and the GPRS service node gateway (GGSN, Gateway GPRS Support Node).
The tunnel IP agreement of GTPv0 is only supported IPv4, does not support the Internet protocol IP v6 of version 6, as shown in Figure 1.In the GTPv1 agreement, clearly indicate the tunnel IP agreement of GTPv1 agreement must support the IPv4 agreement.But, in the version after the GTPv1 agreement, along with the appearance of IPv6 agreement, the tunnel IP agreement mechanism through consultation that has defined GTP tunnel in the GTPv1 agreement is used the IPv6 agreement, therefore, the tunnel IP agreement use IPv6 agreement of GTP tunnel is optional in the GTPv1 agreement.
For example, in the GTPv1 agreement, support the GTP request message of the SGSN of IPv4 agreement and IPv6 agreement in transmission---in update packet data protocol contexts request (the SGSN-InitiatedUpdate PDP Context Request) message that SGSN initiates, can comprise " the optional SGSN of control plane address (Alternative SGSN Address for Control Plane) " information, when being used to refer to SGSN and setting up GTP tunnel, the IPv6 address of the SGSN of this GTP tunnel one end.Equally, support the GTP response message of the GGSN of IPv4 and IPv6 agreement to the SGSN transmission---in update packet data protocol contexts response (Update PDP Context Response) message, can comprise " the optional GGSN of control plane address (Alternative GGSN Address for Control Plane) " information, when being used to refer to GGSN and setting up GTP tunnel, the IPv6 address of the GGSN of this GTP tunnel other end.
If SGSN and GGSN all support IPv4 and IPv6 agreement, GTPv1 agreement regulation: SGSN and GGSN according to the result who consults should first-selected IPv6 agreement as the tunnel IP agreement of setting up GTP tunnel; If as long as have a node only to support the IPv4 agreement among SGSN and the GGSN, then the result of Xie Shanging can only use the IPv4 agreement as the IP agreement of setting up GTP tunnel.
Yet through consultation mechanism is supported the method for IPv6 agreement as the IP agreement of GTP tunnel with expanding in the GTPv1 agreement, test and the complexity of using when having increased the complexity of the complexity that agreement realizes, equipment development and network design.
In sum, the GTPv2 agreement that prior art is being formulated must be supported the IP agreement of IPv4 version owing to clearly stipulate GTP tunnel, but do not point out whether the IPv6 agreement is optional, therefore the GTPv2 agreement does not still solve the problem that the GTPv1 agreement exists, promptly need mechanism through consultation to support the IP agreement of IPv6 agreement, test when the GTPv2 agreement still exists agreement realization, equipment development and network design and the problem of using more complicated as the GTP tunnel of GTPv1 agreement with expanding.
Summary of the invention
The embodiment of the invention provides a kind of method, system and device of transmitting GTPv 2 message, in order to the IP address negotiation process of avoiding prior art when setting up the GTP tunnel of GTPv2 agreement, to exist, make and adopt the GTPv2 agreement to realize that the process of transmitting GTPv 2 message is simpler.
The method of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises:
Support first network entity of GTPv2 agreement to adopt the GTPv2 agreement, by supporting the GTP tunnel transmitting GTPv 2 message set up between second network entity of GTPv2 agreement at self and another in advance, wherein, when setting up described GTP tunnel, the Internet Protocol IPv6 of version 6 is tunnel IP agreements of unique use, and first network entity and second network entity by searching the resource record in the domain name resolution server, obtain the other side's IPv6 address.
The system of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises:
First network entity and second network entity;
Described first network entity is used to adopt the GTPv2 agreement to set up the GTP tunnel that is used for transmitting GTPv 2 message between self and described second network entity, and adopt the GTPv2 agreement by described GTP tunnel to described second network entity transmission GTPv2 message;
Described second network entity, be used to adopt the GTPv2 agreement between self and described first network entity, to set up the GTP tunnel that is used for transmitting GTPv 2 message, and adopt the GTPv2 agreement to receive the GTPv2 message that described first network entity sends by described GTP tunnel;
Wherein, when setting up described GTP tunnel, the Internet Protocol IPv6 of version 6 is tunnel IP agreements of unique use, and first network entity and second network entity, by searching the resource record in the domain name resolution server, obtains the other side's IPv6 address.
The device of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises:
Set up the unit, tunnel, be used to adopt the GTPv2 agreement at self and support to set up the GTP tunnel that is used for transmitting GTPv 2 message between the network entity of GTPv2 agreement, wherein, when setting up described GTP tunnel, the Internet Protocol IPv6 of version 6 is tunnel IP agreements of unique use, and, obtain the IPv6 address that another supports the network entity of GTPv2 agreement by searching the resource record in the domain name resolution server;
Transmission unit is used to adopt the GTPv2 agreement by described GTP tunnel transmitting GTPv 2 message.
The embodiment of the invention, support first network entity of GTPv2 agreement to adopt the GTPv2 agreement, by supporting the GTP tunnel transmitting GTPv 2 message set up between second network entity of GTPv2 agreement at self and another in advance, wherein, when setting up described GTP tunnel, the Internet Protocol IPv6 of version 6 is tunnel IP agreements of unique use, thereby the IP address negotiation process of avoiding prior art to exist when setting up the GTP tunnel of GTPv2 agreement makes and adopts the GTPv2 agreement to realize that the process of transmitting GTPv 2 message is simpler.
Embodiment
The embodiment of the invention provides a kind of method, system and device of transmitting GTPv 2 message, in order to the IP address negotiation process of avoiding prior art when setting up the GTP tunnel of GTPv2 agreement, to exist, make and adopt the GTPv2 agreement to realize that the process of transmitting GTPv 2 message is simpler.
Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
Referring to Fig. 3, the group method of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises:
S301, only with the tunnel IP agreement of IPv6 as unique use, between first network entity of supporting the GTPv2 agreement and second network entity, set up the GTP tunnel that is used for transmitting GTPv 2 message.
Need to prove,, in the lifetime of GTP tunnel, only adopt the tunnel IP agreement of IPv6 as unique use for the GTPv2 agreement.That is to say that when adopting the GTPv2 agreement to create GTP tunnel, the IP agreement of this GTP tunnel can not be IPv4; And, do not allow to revise this GTP tunnel yet, the IP agreement of this GTP tunnel is become be IPv4.
S302, between first network entity of supporting the GTPv2 agreement and second network entity, adopt the GTPv2 agreement, by the GTP tunnel transmitting GTPv 2 message of setting up among the step S301.
In the embodiment of the invention, support the network entity of GTPv2 agreement must support IPv4 agreement and IPv6 agreement simultaneously.In theory, support the network entity of GTPv2 agreement can only support the IPv6 agreement, but, owing to exist requirement and possibility that the network entity of supporting the GTPv2 agreement and the network entity of only supporting the GTPv1 agreement interconnect, therefore, the embodiment of the invention proposes to support the network entity of GTPv2 agreement must support IPv4 agreement and IPv6 agreement simultaneously.Need to prove, support the network entity of GTPv2 agreement must support IPv4 agreement and IPv6 agreement to refer to a kind of ability of this network entity simultaneously, do not show that the GTP tunnel of GTPv2 agreement must be supported IPv4 and IPv6 agreement.
The structure of the GTPv2 protocol stack in the embodiment of the invention as shown in Figure 4, the GTP tunnel of GTPv2 agreement only adopts the IPv6 agreement.
In the embodiment of the invention, between two network entities supporting the GTPv2 agreement, set up when being used for the GTP tunnel of transmitting GTPv 2 message, these two network entities must use IPv6 address, tunnel, and only provide the IPv6 address, tunnel of self to opposite end, tunnel network entity, do not allow only to provide the IPv4 address, tunnel of self, or provide simultaneously self IPv4 address, tunnel and IPv6 address, tunnel as IP address, tunnel.The described GTP tunnel of the embodiment of the invention comprises the control plane tunnel (GTPv2-C tunnel) of GTPv2 agreement, and the user-plane tunnel of GTPv2 agreement (GTPv2-U tunnel).
For example, the flow process of setting up the GTPv2-C tunnel as shown in Figure 5, MME comprises the GTP-C IPv6 address of MME in the step 1 in foundation carrying request (Create Bearer Request) message that Serving GW sends.And Serving GW responds the GTP-C IPv6 address that comprises Serving GW in (Create Bearer Response) message to the foundation carrying that MME responds in the step 2.After step 2 is finished, execution in step 3, promptly set up the control plane tunnel of a GTPv2 between MME and Serving GW, the IPv6 address at the two ends of this GTP tunnel is respectively the GTP-C IPv6 address of Serving GW in the GTP-C IPv6 address of MME in the step 1 and the step 2.
As shown in Figure 6, it is the flow process of setting up GTPv2-C and GTPv2-U tunnel, ServingGW includes the GTP-C IPv6 address of Serving GW in the step 1 in more new bearer request (the Update Bearer Request) message that PDN GW sends, and also comprising Serving GW is the GTP-U IPv6 address of the Serving GW of EPS Bearer (being identified by EPSBearer ID) distribution.PDN GW includes the GTP-U IPv6 address of PDN GW for the PDN GW of EPS Bearer distribution in more new bearer response (Update Bearer Response) message that Serving GW responds in step 2.Because of Serving GW in step 1 when PDN GW sends Update Bearer Request message, Serving GW has known the GTP-C IPv6 address of the PDN GW of PDN GW, this moment, PDN GW in step 2 can not comprise the GTP-C IPv6 address of PDN GW in more new bearer response (Update Bearer Response) message that Serving GW responds, but if PDN GW for this reason Serving GW redistributed the GTP-C IPv6 address of a new PDN GW, then PDN GW must comprise the GTP-C IPv6 address of new PDNGW in more new bearer response (Update Bearer Response) message that ServingGW responds in step 2.After step 2 is finished, execution in step 3, GTPv2-C tunnel and GTPv2 user (plane) (GTPv2-U promptly between Serving GW and PDN GW, have been set up, GTPv2User) tunnel, wherein, the IPv6 address at the two ends in the GTPv2-C tunnel of foundation is respectively the GTP-C IPv6 address of PDN GW in the GTP-C IPv6 address of Serving GW in the step 1 and the step 2; The IPv6 address at the two ends in the GTPv2-U tunnel of setting up is respectively the GTP-U IPv6 address of PDN GW in the GTP-UIPv6 address of Serving GW in the step 1 and the step 2.
In the embodiment of the invention, two network entities of supporting GTPv2 are when foundation is used for the GTP tunnel of transmitting GTPv 2 message, do not allow to use optional address (Alternative Address) mechanism to carry out the negotiation of IP version, that is to say, except the situation that the network entity of the network entity of supporting the GTPv2 agreement and GTPv1 agreement communicates, the negotiation functionality of IP version is not supported in the GTPv2 agreement.
In the embodiment of the invention, the GTPv2 agreement can only be used the IPv6 address, thereby simplify the realization of GTPv2 agreement, the test when having reduced equipment development and network design and the complexity of use owing to there is not the negotiations process of IP address.
In the embodiment of the invention, domain name mapping (DNS at the EPS network, Domain Name System) in the server, support each name (Name of the network entity of GTPv2 agreement at each, as universe name (FQDN, Fully Qualified Domain Name), in dns server, all defines the resource record (AAAA Resource Record) of " AAAA " type, in the Resource of this AAAA type Record, put down in writing the IPv6 address of this network entity.
Need to prove in the EPS network a plurality of dns servers to be arranged, a network entity in EPS network might have a plurality of names on a dns server, and a name may be corresponding to a plurality of dissimilar Resource Record.For example, a name supposing a PDN GW is " APN1.mccxxx.mncyyy.gprs.org ", then this " APN1.mccxxx.mncyyy.gprs.org " can have the Resource Record (A Resource Record) of a category-A type, and the Resource Record (AAAA Resource Record) of an AAAA type also can be arranged.Utilize AAAA Resource Record, can access the IPv6 address of network entity; Utilize A Resource Record, can access the IPv4 address of network entity.
For example, MME is when the selection of the network entity that carries out PDN GW and Serving GW, MME must obtain the IPv6 address of PDN GW and Serving GW by DNS, the IPv6 address of the MME Serving GW that will obtain from dns server is as the IP address in message receiver tunnel then, send GTPv2 message to Serving GW, and set up a GTPv2-C tunnel with Serving GW, MME gives Serving GW with the IPv6 address notification of PDN GW, the IPv6 address of Serving GW PDN GW that MME is provided sends GTPv2 message and sets up a GTPv2-C tunnel with PDN GW to PDN GW as the IP address in message receiver tunnel then.As shown in Figure 7, detailed process comprises:
Step 1, MME sends domain name AAAA query requests (DNS AAAAQuery Request) message to dns server, and the information that comprises in this message has: the universe name (FQDN) of PDN GW, and the type of inquiry is AAAA.
Step 2, dns server is according to the name of PDN GW, find the Resource Record of corresponding AAAA type, therefrom obtain the IPv6 address of PDN GW, and to MME transmission domain name AAAA inquiry response (DNS AAAA Query Response) message, the information that comprises in this message has: the IPv6 address of PDNGW.
Step 3, MME sends domain name AAAA query requests (DNS AAAAQuery Request) message to dns server, and the information that comprises in this message has: the universe name (FQDN) of Serving GW, and the type of inquiry is AAAA.
Step 4, dns server is according to the name of Serving GW, find the Resource Record of corresponding AAAA type, therefrom obtain the IPv6 address of Serving GW, and to MME transmission domain name AAAA inquiry response (DNS AAAA Query Response) message, the information that comprises in this message has: the IPv6 address of Serving GW.
Need to prove that when PDN GW and Serving GW were a composite entity, then step 3 can be omitted with step 4, promptly only just can obtain the IPv6 address of PDN GW and Serving GW by step 1 and 2.
Step 5, MME is with the IP address as the message receiver tunnel, the IPv6 address of the Serving GW that obtains in the step 4, send foundation carrying request (Create Bearer Request) message to Serving GW, the GTP-C IPv6 address and the PDN GW GTP-C IPv6 address that comprise MME in this message, PDNGW GTP-C IPv6 address are the IPv6 address of the PDN GW that obtains in the step 2.
Step 6, Serving GW is with the IP address as the message receiver tunnel, the PDN GW GTP-C IPv6 address that obtains in the step 5, send establishment carrying request (Create Bearer Request) message to PDN GW, the GTP-C IPv6 address that wherein includes Serving GW, and Serving GW is the GTP-U IPv6 address of the Serving GW of EPSBearer (being identified by EPS Bearer ID) distribution.
Step 7, PDN GW responds to Serving GW and creates carrying response (Create Bearer Response) message, wherein includes the GTP-UIPv6 address of PDN GW for the PDN GW of EPS Bearer distribution, and the GTP-C IPv6 address of PDN GW.
Step 8 is set up GTPv2-C tunnel and GTPv2-U tunnel between Serving GW and PDN GW.
Step 9, Serving GW responds to MME and sets up carrying response (Create Bearer Response) message, wherein comprises the GTP-C IPv6 address of Serving GW.
Step 10 is set up a GTPv2-C tunnel between MME and Serving GW.
In the embodiment of the invention,, need first when another network entity B sends GTP message, need obtain the IP address of the IP address of network entity B as GTP message receiver tunnel as the network entity A that supports the GTPv2 agreement,
When if network entity A passes through the Resource Record of network entity B in the inquiry dns server, find that network entity B has only the IPv4 address, then support the network entity A of GTPv2 agreement need reduce the version of its GTP agreement, promptly use the GTPv1 agreement to send GTPv1 message to network entity B;
When if network entity A passes through the Resource Record of network entity B in the inquiry dns server, the IP address packet of finding network entity B contains IPv6 address and IPv4 address, and then network entity A at first uses the GTPv2 agreement to send GTPv2 message to network entity B according to this IPv6 address; When network entity A receives that the GTP message that network entity B returns is after version is not supported (Version Not Supported) message, then network entity A uses the GTPv1 agreement to send GTPv1 message to network entity B according to the IPv4 address of network entity B again; If network entity A receives that the GTP message that network entity B returns is not Version Not Supported message, then network entity A can determine that network entity B also is a network entity of supporting the GTpv2 agreement, thereby continues to use GTPv2 agreement and network entity B to carry out the mutual of GTPv2 message.
The detailed process that network entity A obtains the IPv4 address of network entity B or IPv6 address by the inquiry dns server is for example:
The AAAA type Resource Record of network entity A requester network entity B,
If dns server has the AAAA type Resource Record of network entity B, then dns server sends includes the IPv6 address of network entity B in receiveing the response;
If dns server does not have the AAAA type Resource Record of network entity B, middle this Node B of indication of receiveing the response that then dns server sends does not have the IPv6 address;
Equally, the category-A type Resource Record of network entity A requester network entity B,
If dns server has the category-A type Resource Record of network entity B, then dns server sends includes the IPv4 address of network entity B in receiveing the response;
If dns server does not have the category-A type Resource Record of network entity B, middle this network entity of the indication B of receiveing the response that then dns server sends does not have the IPv4 address.
In addition, network entity A also can obtain the IPv4 address of network entity B or the IPv6 address IP address as GTP message receiver tunnel by other modes, the for example mode by preformulation, the IPv4 address of configuration network entity B or IPv6 address or the like in network entity A in advance.
Introduce system and device that the embodiment of the invention provides below.
Referring to Fig. 8, the system of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises: first network entity 81 and second network entity 82 of supporting the GTPv2 agreement.
First network entity 81 is used to adopt the GTPv2 agreement to set up the GTP tunnel that is used for transmitting GTPv 2 message between self and described second network entity 82, and adopt the GTPv2 agreement by described GTP tunnel to described second network entity, 82 transmission GTPv2 message.
Second network entity 82, be used to adopt the GTPv2 agreement between self and described first network entity 81, to set up the GTP tunnel that is used for transmitting GTPv 2 message, and adopt the GTPv2 agreement to receive the GTPv2 message that described first network entity 81 sends by described GTP tunnel.
Wherein, first network entity 81 and second network entity 82 are when setting up described GTP tunnel, and IPv6 is the tunnel IP agreement of unique use.
Preferably, this system also comprises:
Domain name resolution server 83, be used to preserve the resource record of AAAA type of each name correspondence of first network entity 81 and second network entity 82, the IPv6 address that the resource record of each name corresponding A AAA type of each network entity is used to write down this network entity.
Referring to Fig. 9, the device 90 of a kind of transmitting GTPv 2 message that the embodiment of the invention provides comprises:
Set up unit, tunnel 901, be used to adopt the GTPv2 agreement at self and support to set up the GTP tunnel that is used for transmitting GTPv 2 message between the network entity of GTPv2 agreement, wherein, when setting up this GTP tunnel, IPv6 is the tunnel IP agreement of unique use.
Transmission unit 902 is used to adopt the GTPv2 agreement by the described GTP tunnel transmitting GTPv 2 message of setting up 901 foundation of unit, tunnel.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.