Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention provides a kind of control method, device and communication system of direct tunnel.Below be elaborated respectively.
Embodiment one,
Present embodiment will use the angle of equipment to be described from network topological information, and this network topological information use equipment is specifically as follows SGSN.
As shown in Figure 1, the embodiment of the invention provides a kind of control method of direct tunnel, comprising:
101, obtain network topological information; This network topological information can react composition situation and the connection status of whole network;
Wherein, obtain network topological information and can adopt following any one mode:
(1) receives the RNC of operations support systems (OSS, Operations Support System) transmission and the connection state information between the GGSN;
Certainly, Internet protocol (the IP of the GGSN that surveys about need that can also receive before this that the OSS system sends, Internet Protocol) request of address, returning according to the request that receives then needs the IP address list of the GGSN that surveys to give the OSS system, so that connection state information between RNC and the GGSN is collected according to this tabulation by the OSS system.
(2) send the domain name mapping request that has direct Tunnel Identifier to domain name system (DNS, Domain Name System) system, receive the IP address result of the GGSN of the domain name correspondence of returning after the DNS system records by nslookup; It should be noted that wherein, this direct Tunnel Identifier refers to the sign that expression need be set up direct tunnel, and is not to identify the direct tunnel of setting up;
Certainly, before sending the domain name mapping request that has direct Tunnel Identifier to the DNS system, can also comprise:
The request of the IP address of the RNC that surveys about need that receives that the OSS system sends, return the IP address list of the RNC that needs detection to the OSS system according to the request that receives then, so that the OSS system upgrades the domain name record in the DNS system after collecting connection state information between RNC and the GGSN according to this tabulation.
(3) send wireless network resource to RNC and distribute request, wherein, this wireless network resource is distributed the IP address of carrying GGSN in the request, after this, receives RNC and carries out the wireless network resource assignment response that connection status judges that the back is returned according to the IP address of GGSN;
102, according to the network topological information that gets access to determine between RNC and the GGSN connection status just often, enable direct tunnel; For example, at three kinds of modes of obtaining network topological information in the step 101, corresponding processing respectively can be as follows:
(1) if the connection state information that receives represents that the connection status between RNC and the GGSN is normal, then enables direct tunnel;
(2) if the IP address result who receives not for empty, then enables direct tunnel according to this IP address result;
(3) if receive the successful wireless network resource assignment response of expression, then enable direct tunnel.
Wherein, this method can also comprise step 103; As follows:
When 103, determining that according to the network topological information that gets access to connection status between RNC and the GGSN is unusual, set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN; For example, at three kinds of modes of obtaining network topological information in the step 101, corresponding processing respectively can be as follows:
(1) if the connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then sets up the tunnel that arrives RNC and set up the tunnel that arrives GGSN.
(2) if the IP address result who receives is sky, then send the domain name mapping request that does not have direct Tunnel Identifier, and receive the IP address result of the GGSN of the domain name correspondence that the DNS system returns, set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN according to this IP address result then.
(3) if receive the wireless network resource assignment response of expression failure, then set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN.
Certainly, in order to save the signaling process between the network equipment, after the wireless network resource assignment response that receives the expression failure, can also comprise:
The information that connection status between record expression RNC and the GGSN is unusual, and start timer, in the time that timer presets, between this RNC and GGSN, do not start direct tunnel.Certainly, in order to discharge memory space, overtime in the time that timer presets after, can also remove the unusual information of the expression RNC that records and the connection status between the GGSN.
In addition, after overtime in the time that timer presets, the request about the IP address of surveying GGSN of can also sending is to RNC, and receives the result of detection that RNC returns, if result of detection represents that the connection status between RNC and the GGSN address is normal, then allow the follow-up direct tunnel of enabling; If result of detection represents that the connection status between RNC and the GGSN address is unusual, then continue to start this timer.
As from the foregoing, present embodiment adopts and obtains network topological information, determine whether enabling direct tunnel according to network topological information then, namely, determine between RNC and the GGSN connection status just often, then enable direct tunnel, otherwise, if determine that the connection status between RNC and the GGSN is unusual, then set up two sections common tunnels because this scheme will the factor relevant with setting up direct tunnel, such as with dynamic network topological information as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment two,
According to the described method of enforcement, below will elaborate for example.
In the present embodiment, with collecting network topology information unit and the network topological information Dispatching Unit of OSS system as the network topological information treatment facility, with the network topological information performance element of RNC as the network topological information treatment facility, SGSN is used equipment as network topological information.
Referring to Fig. 2, idiographic flow can be as follows:
201, the OSS system sends the request of IP address of the GGSN that surveys about need to SGSN.
It should be noted that, because the OSS system has preserved GGSN under some scenes IP address, so step 201 is optional step.
202, after the request of the IP address of the SGSN GGSN that surveys about need that receives that the OSS system sends, report the IP address list of the GGSN that needs survey to the OSS system according to the request that receives.
Certainly, SGSN also can adopt the mode that regularly reports the IP address list of GGSN, so step 202 is optional step.
203, after the OSS system received the IP address list of the GGSN that needs that SGSN sends survey, the IP address list of the GGSN of Tan Ceing was to the IP address of RNC request detection GGSN as required.
Certainly, RNC also can adopt the mode that regularly reports, and report once the result of detection that is connected with the IP address of the GGSN that oneself set up the tunnel to the OSS system, so step 203 is optional step.
204, RNC sends GTPv1 message to the IP address of each GGSN, such as acknowledges requests (EchoRequest).
205, if being connected between GGSN and the RNC is normal, then GGSN can echo reply response (EchoResponse) give RNC, otherwise, if RNC do not receive the Echo Response message that GGSN returns, then RNC determine between this self (being RNC) and the GGSN be connected unusual.
206, RNC gathers the situation that is connected between the IP address of self (being RNC) and each GGSN, obtains the result of detection of the IP address of GGSN, and the result of detection of the IP address of this GGSN is reported the OSS system.
207, the OSS system upgrades the RNC that self preserves and the connection state information between the GGSN according to the result of detection of the IP address of the GGSN that receives, and the GGSN after will upgrading then and the connection state information between the RNC send to SGSN.
After SGSN receives connection state information between these GGSN and the RNC, when needs judge whether to enable direct tunnel for the user, then can judge according to these connection state informations, as follows:
If the connection state information that receives represents that the connection status between RNC and the GGSN is normal, then can enable direct tunnel for the user.
If the connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then not for the user enables direct tunnel, but set up two sections common tunnels, namely set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN.
As from the foregoing, the SGSN of present embodiment adopts the RNC of reception OSS system transmission and the connection state information between the GGSN, determine whether enabling direct tunnel according to this connection state information then, namely, if this connection state information represent between RNC and the GGSN connection status just often, then enable direct tunnel, otherwise, if this connection state information represents that the connection status between RNC and the GGSN is unusual, then set up two sections common tunnels, because this scheme will the factor relevant with setting up direct tunnel, be that connection status between RNC and the GGSN is as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment three,
With implement two and identical be, in the present embodiment, also with the collecting network topology information unit of OSS system as the network topological information treatment facility, SGSN is used equipment as network topological information, with implement two and different be, in the present embodiment, with the network topological information performance element of GGSN as the network topological information treatment facility, with the network topological information Dispatching Unit of DNS system as the network topological information treatment facility.
Prerequisite is that configuration has the domain name record of direct Tunnel Identifier in the DNS system, except comprising direct Tunnel Identifier, also comprises in this domain name:
(1) APN (APN, Access Point Name) is used for sign GGSN
(2) (ID Identity) or route district sign indicating number (Routing Area Code), is used for sign RNC for RNC sign
The IP address of having recorded the GGSN of this domain name correspondence in the domain name record, SGSN can select GGSN for the user by sending the domain name mapping request message to DNS.
Referring to Fig. 3, idiographic flow can be as follows:
301, the OSS system sends the request of the IP address of the RNC that surveys about need to SGSN.
It should be noted that, because the OSS system has preserved RNC under some scenes IP address, so this step, namely step 301 is optional step.
302, after the request of the IP address of the SGSN RNC that surveys about need that receives that the OSS system sends, report the IP address list of the RNC that needs survey to the OSS system according to the request that receives.
Certainly, SGSN also can adopt the mode that regularly reports the IP address list of RNC, so step 302 is optional step.
303, after the OSS system received the IP address list of the RNC that needs that SGSN sends survey, the IP address list of the RNC of Tan Ceing was to the IP address of GGSN request detection RNC as required.
Certainly, GGSN can adopt the mode that regularly reports, and report once the result of detection that is connected with the IP address of the RNC that oneself set up the tunnel to the OSS system, so step 303 is optional step.
304, GGSN sends GTPv1 message to the IP address of each RNC, such as Echo Request message.
305, if being connected between GGSN and the RNC is normal, then RNC can return Echo Response message.Otherwise, if GGSN do not receive the Echo Response message that RNC returns, then GGSN determine between self (being GGSN) and this RNC be connected unusual.
306, GGSN gathers the situation that is connected between the IP address of self (being GGSN) and each RNC, obtain the connection state information between GGSN and each RNC, the connection state information between GGSN and each RNC is reported the OSS system as result of detection.
307, the OSS system receives the GGSN and the connection state information between each RNC that GGSN reports, according to the domain name record in the renewal of the connection state information between the GGSN that receives and the RNC DNS system:
(1) if the connection state information that receives represents that the connection status between RNC and the GGSN is normal, then keep the domain name record constant.
(2) if the connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then remove the IP address of the GGSN in the corresponding domain name record.
308, set up in the process at user conversation, when SGSN selects GGSN for the user, send the domain name mapping request that has direct Tunnel Identifier to the DNS system, except comprising direct Tunnel Identifier, also comprise in this domain name:
(1) APN is used for sign GGSN
(2) RNC ID or Routing Area Code are used for sign RNC
309, the DNS system is according to the domain name mapping request nslookup record that has direct Tunnel Identifier that receives, and the IP address result who returns the GGSN corresponding with domain name then gives SGSN, and is as follows:
(1) if the connection status between RNC and the GGSN is unusual, then the IP address result that returns of DNS system is for empty, and then this moment can execution in step 310;
(2) if the connection status between RNC and the GGSN is normal, then the IP address result that returns of DNS system is for empty, namely return the IP address result of the GGSN corresponding with domain name, SGSN receive this for empty IP address result after, set up direct tunnel according to this IP address result;
310, SGSN sends not domain name mapping request with direct Tunnel Identifier to the DNS system.
311, the DNS system receives this not after the domain name mapping request with direct Tunnel Identifier, and not with the domain name mapping request nslookup record of direct Tunnel Identifier, the IP address result who returns the GGSN of domain name correspondence gives SGSN according to this;
SGSN does not enable direct tunnel after receiving IP address result, but for the user sets up two sections common tunnels, namely sets up the tunnel that arrives RNC and set up the tunnel that arrives GGSN according to this IP address result.
As from the foregoing, the SGSN of present embodiment adopts to the DNS system and sends the domain name mapping request that has direct Tunnel Identifier, behind the IP address result of the GGSN that receives the domain name correspondence that the DNS system returns, determine whether enabling direct tunnel according to this IP address result then, namely, if this IP address result is not empty, then represent between RNC and the GGSN connection status just often, can enable direct tunnel, otherwise, if this IP address result is empty, represent that then the connection status between RNC and the GGSN is unusual, so determine to set up two sections common tunnels, because this scheme will the factor relevant with setting up direct tunnel, be connection status between RNC and the GGSN as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment four,
With implement two and identical be, in the present embodiment, also with the network topological information performance element of RNC as the network topological information treatment facility, with implement two and three and different be, in the present embodiment, SGSN is integrated network topological information use equipment, the collecting network topology information unit of network topological information treatment facility and the function of network topological information Dispatching Unit.
As shown in Figure 4, idiographic flow can be as follows:
401, SGSN sends wireless network resource distribution request to RNC, and wherein, this wireless network resource is distributed the IP address of carrying GGSN in the request.
It should be noted that, sending to RNC before wireless network resource distributes request that communicate by letter between SGSN and the GGSN, just this moment, SGSN did not determine whether to set up direct tunnel as yet, therefore, SGSN can be known the IP address of GGSN.
402, after RNC receives this wireless network resource distribution request, carry out connection status according to the IP address of GGSN and judge, namely carry out the GTP path and survey, for example, corresponding GGSN sends GTPv1 message to RNC to the IP address of GGSN, such as Echo Request message.
If the connection status between 403 RNC and the GGSN IP address is normal, after then GGSN receives the Echo Request message of RNC transmission, will return Echo Response message; Otherwise, if the connection status between RNC and the GGSN IP address is unusual, then GGSN can't receive the EchoRequest message that RNC sends, thereby GGSN can not return Echo Response message yet and give RNC, so, if RNC does not receive GGSN and returns Echo Response message, then RNC can determine the interruption that is connected between self (being RNC) and this GGSN IP address.
Certainly, also can carry out the path to each GGSN that is connected with oneself in advance on the RNC surveys, and connection status preserved as result of detection, after receiving this wireless network resource distribution request, directly distribute the corresponding result of detection record of request inquiry according to this wireless network resource, survey and need not to distribute request to carry out the path according to this wireless network resource, therefore, step 402 and 403 is optional step.
If 404 RNC determine that the connection status between the IP address of self (being RNC) and GGSN is normal, then RNC returns the successful wireless network resource assignment response of expression to SGSN, after SGSN receives this wireless network resource assignment response, direct tunnel between RNC and the GGSN is set up successfully, and flow process finishes.
Otherwise, if RNC determines that the connection status between the IP address of self (being RNC) and GGSN is unusual, then RNC returns the wireless network resource assignment response message that expression is failed to SGSN, and the path between the IP address of indication SGSNRNC and this GGSN is obstructed, can execution in step 405.
405, SGSN can send wireless network resource distribution request to RNC again, and wherein, this wireless network resource is distributed the IP address of carrying SGSN in the request.
406, after RNC receives the wireless network resource distribution request of the IP address of carrying SGSN, return the wireless network resource assignment response according to the IP address of SGSN to SGSN; SGSN sets up between RNC and the SGSN after receiving this wireless network resource assignment response, and common two sections tunnels between SGSN and the GGSN.
At this moment, SGSN can also record the unusual information of connection status between the IP address of representing this RNC and GGSN, and starts timer, in the time that timer presets, does not start direct tunnel between this RNC and GGSN.Certainly, prerequisite is that SGSN inside need arrange a timer.
Certainly, in order to discharge memory space, overtime in the time that timer presets after, SGSN can also directly remove the unusual information of the expression RNC that records and the connection status between the GGSN.
407, optional, overtime in the time that timer presets after, SGSN also can continue to ask RNC to survey the IP address of GGSN, namely SGSN also can send request about the IP address of surveying GGSN to RNC.
408, after RNC receives this request about the IP address of detection GGSN, carry out the GTP path according to the IP address of GGSN and survey, for example, RNC sends GTPv1 message to the GGSN of the IP address correspondence of GGSN, such as Echo Request message.
If the connection status between 409 RNC and the GGSN IP address is normal, then GGSN can return Echo Response and give RNC; Otherwise the non-return Echo Response of GGSN gives RNC;
So if RNC receives the Echo Response that GGSN returns, then RNC determines that the connection status between self (being RNC) and GGSN IP address is normal; If RNC do not receive the EchoResponse that GGSN returns, then RNC determines to take place unusually being connected between the IP address of self (being RNC) and this GGSN.
410, RNC is with result of detection, and namely the connection state information between RNC and the GGSN reports SGSN;
After SGSN receives connection state information between these GGSN and the RNC, when needs judge whether to enable direct tunnel for the user, then can judge according to these connection state informations, as follows:
The connection state information that receives represents that the connection status between RNC and the GGSN is normal, then allows the follow-up direct tunnel of enabling, and namely in follow-up flow process, if desired for the user enables direct tunnel, then SGSN can enable direct tunnel for the user.
The connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then continue to start this timer, namely in follow-up flow process, when determining whether to enable direct tunnel for the user if desired, SGSN does not enable direct tunnel for the user, but set up two sections common tunnels, namely then set up two sections tunnels that arrive RNC and GGSN respectively.
As from the foregoing, the SGSN of present embodiment adopts the wireless network resource distribution request that sends the IP address of carrying GGSN to RNC, receive RNC then and carry out the wireless network resource assignment response that connection status judges that the back is returned according to the IP address of GGSN, determine whether enabling direct tunnel according to this wireless network resource assignment response, namely, receive the successful wireless network resource assignment response of expression, then enable direct tunnel, otherwise, if receive the wireless network resource assignment response of expression failure, then set up two sections common tunnels, because this scheme will the factor relevant with setting up direct tunnel, be connection status between RNC and the GGSN as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment five,
In order to implement above method better, the embodiment of the invention also correspondingly provides a kind of network topological information to use equipment 500, shown in Fig. 5 (a), Fig. 5 (b) and Fig. 5 (c), this network topological information uses equipment 500 to comprise acquiring unit 501 and first processing unit 502;
Acquiring unit 501 is used for obtaining network topological information;
First processing unit 502, be used for according to the network topological information that acquiring unit 501 gets access to determine between radio network controller (RNC) and the ggsn GGSN connection status just often, enable direct tunnel;
Shown in Fig. 5 (a), Fig. 5 (b) and Fig. 5 (c), this network topological information uses equipment 500 can also comprise second processing unit 503;
Second processing unit 503 when being used for determining that according to the network topological information that acquiring unit 501 gets access to connection status between RNC and the GGSN is unusual, being set up the tunnel that arrives RNC and is set up the tunnel that arrives GGSN.
General, this network topological information uses equipment 500 to be specifically as follows SGSN.
(1) referring to Fig. 5 (a), the collecting network topology information unit of network topological information treatment facility and network topological information Dispatching Unit are specifically as follows the A900 of OSS system, the network topological information performance element of network topological information treatment facility is specifically as follows RNC, network topological information uses equipment 500 to be specifically as follows SGSN, and then each unit in the network topology information use equipment 500 specifically can be as follows:
To it should be noted that, in order describing clearlyer, to give the A900 of OSS system among Fig. 5 (a).
Acquiring unit 501 specifically can be used for receiving the RNC of the OSS A900 of system transmission and the connection state information between the GGSN;
First processing unit 502, specifically can be used for determine connection state information that acquiring unit 501 receives represent between RNC and the GGSN connection status just often, enable direct tunnel;
Second processing unit 503 in the time of can be used for determining that specifically connection state information that acquiring unit 501 receives represents that connection status between RNC and the GGSN is unusual, is set up the tunnel that arrives RNC and is set up the tunnel that arrives GGSN.
At this moment, shown in Fig. 5 (a), this network topological information uses equipment 500 can also comprise the first receiving element A504 and the first transmitting element A505
The first receiving element A504, the request of the Internet protocol IP address of the GGSN that surveys about need that be used for to receive that the OSS A900 of system sends;
The first transmitting element A505 returns the IP address list of the GGSN that needs detection and gives the A900 of OSS system for the request that receives according to the first receiving element A504, so that the A900 of OSS system is according to the connection state information between this tabulation collection RNC and the GGSN.
(2) referring to Fig. 5 (b), the collecting network topology information unit of network topological information treatment facility is specifically as follows the OSS system, the network topological information performance element of network topological information treatment facility is specifically as follows GGSN, the network topological information Dispatching Unit of network topological information treatment facility is specifically as follows the B900 of DNS system, network topological information uses equipment 500 to be specifically as follows SGSN, and then each unit in the network topology information use equipment 500 specifically can be as follows:
To it should be noted that, in order describing clearlyer, to give the B900 of DNS system among Fig. 5 (b).
Acquiring unit 501 can comprise that domain name mapping request subelement B5011 and address result receive subelement B5012;
Domain name mapping request subelement B5011 is used for sending the domain name mapping request that has direct Tunnel Identifier to the B900 of DNS system;
The address result receives subelement B5012, be used for to receive the IP address result of the GGSN of the domain name correspondence that domain name mapping request that the DNS B900 of system receives according to domain name mapping request subelement B5011 returns after by the nslookup record;
At this moment, first processing unit 502, concrete being used for receives IP address result that subelement B5012 receives when empty in the address result, enables direct tunnel according to this IP address result;
Second processing unit 503, concrete being used for receives IP address result that subelement B5012 receives when empty in the address result, send the domain name mapping request that does not have direct Tunnel Identifier, and receive the IP address result of the GGSN of the domain name correspondence that the DNS system returns, set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN according to this IP address result then.
At this moment, shown in Fig. 5 (b), this network topological information uses equipment 500 can also comprise the second receiving element B504 and the second transmitting element B505;
The second receiving element B504, the request of the IP address of the RNC that surveys about need that be used for to receive that the OSS system sends;
The second transmitting element B505, be used for returning the IP address list of the RNC that needs detection to the OSS system according to the request that the second receiving element B504 receives, so that the OSS system upgrades the domain name record among the DNS B900 of system after collecting connection state information between RNC and the GGSN according to this tabulation.
(3) referring to Fig. 5 (c), the network topological information performance element of network topological information treatment facility is specifically as follows RNC, network topological information uses collecting network topology information unit and the network topological information Dispatching Unit of equipment 500, network topological information treatment facility then specifically can be integrated among the SGSN, at this moment, each unit in the network topology information use equipment 500 specifically can be as follows:
Acquiring unit 501 can comprise that resource allocation request subelement C5011 and assignment response receive subelement C5012;
Resource allocation request subelement C5011 is used for sending wireless network resource to RNC and distributes request, and wherein, this wireless network resource is distributed the IP address of carrying GGSN in the request;
Assignment response receives subelement C5012, and the wireless network resource assignment response that connection status judges that the back is returned is carried out in the IP address that is used for receiving the GGSN that RNC receives according to resource allocation request subelement C5011;
At this moment, first processing unit 502, concrete being used for enabled direct tunnel when assignment response receives subelement C5012 and receives the successful wireless network resource assignment response of expression;
Second processing unit 503, concrete being used for sets up the tunnel that arrives RNC and sets up the tunnel that arrives GGSN when assignment response receives subelement C5012 and receives the wireless network resource assignment response of expression failure.
For the signaling process in the saving system, shown in Fig. 5 (c), this network topology information uses equipment 500 can also comprise the 3rd processing unit C504;
The 3rd processing unit C504, be used for when assignment response reception subelement C5012 receives the wireless network resource assignment response of expression failure, the information that connection status between record RNC and the GGSN is unusual, and startup timer, in the time that timer presets, between this RNC and GGSN, do not start direct tunnel.Certainly, in order to discharge memory space, overtime in the time that timer presets after, SGSN can also directly remove the unusual information of the expression RNC that records and the connection status between the GGSN.
Further, this network topology information uses equipment 500 to comprise that also the manages unit C505 everywhere;
The manages unit C505 everywhere, be used for overtime in the time that the timer that the 3rd processing unit C504 starts presets after, the request about the IP address of surveying GGSN of sending is to RNC; Receive the result of detection that RNC returns; If result of detection represents that the connection status between RNC and the GGSN address is normal, then allow the follow-up direct tunnel of enabling; If result of detection represents that the connection status between RNC and the GGSN address is unusual, then continue to start this timer.
More than the concrete enforcement of each unit can not repeat them here referring to the method embodiment of front.
As from the foregoing, the network topological information of present embodiment uses the acquiring unit 501 of equipment 500 can obtain network topological information, determine whether enabling direct tunnel according to network topological information then, namely, determine between RNC and the GGSN connection status just often, then enable direct tunnel by first processing unit 502, otherwise, if determine that the connection status between RNC and the GGSN is unusual, then set up two sections common tunnels by second processing unit 503, because this scheme will the factor relevant with setting up direct tunnel, such as with dynamic network topological information as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment six,
Correspondingly, the embodiment of the invention also provides a kind of network topological information treatment facility, shown in Fig. 6 (a), Fig. 6 (b) and Fig. 6 (b), this network topological information treatment facility can comprise network topological information performance element 601, collecting network topology information unit 602 and network topological information Dispatching Unit 603;
Network topological information performance element 601 is used for carrying out the detection of network topological information, obtains the network topological information result of detection, and report network topology information result of detection is given collecting network topology information unit 602.
Collecting network topology information unit 602, be used for receiving the network topological information result of detection that network topological information performance element 601 reports, upgrade the network topological information that network topological information Dispatching Unit 603 is preserved according to the network topological information result of detection that receives;
Network topological information Dispatching Unit 603, the network topological information after being used for upgrading offers network topological information and uses equipment.
(1) referring to Fig. 6 (a), network topological information performance element 601 is specially radio network controller (RNC), at this moment, network topological information performance element 601 can comprise that the first detection subelement A6011 and first gathers subelement A6013 and first and reports subelement A6013;
First surveys subelement A6011, be used for sending acknowledges requests to each GGSN respectively, if receive the response that GGSN returns, then determine between RNC and this GGSN be connected normal, if do not receive the response that GGSN returns, then determine between RNC and this GGSN be connected unusual;
First gathers subelement A6012, is used for surveying the determined RNC of subelement A6011 according to first and gathers with the situation that is connected between each GGSN, and obtains the result of detection of the IP address of GGSN;
First reports subelement A6013, is used for reporting first result of detection that gathers the IP address of the GGSN that subelement A6012 obtains to give collecting network topology information unit 602.
At this moment, collecting network topology information unit 602 can comprise that first receives subelement A6021 and the first renewal subelement A6022;
First receives subelement A6021, is used for receiving network topological information performance element 601, such as first result of detection that reports the IP address of the GGSN that subelement A6013 reports;
First upgrades subelement A6022, is used for upgrading RNC that network topological information Dispatching Unit 603 preserves and the connection state information between the GGSN according to the first IP address result who receives the GGSN that subelement A6021 receives
Network topological information Dispatching Unit 603 uses equipment for the RNC after the transmission first renewal subelement A6022 renewal and the connection state information between the GGSN to network topological information.
(2) referring to Fig. 6 (b), network topological information performance element 601 is specially GGSN, and at this moment, network topological information performance element 601 can comprise that the second detection subelement B6011 and second gathers subelement B6012 and second and reports subelement B6013;
Second surveys subelement B6011, be used for sending acknowledges requests to each RNC respectively, if receive the response that RNC returns, then determine between GGSN and this RNC be connected normal, if do not receive the response that RNC returns, then determine between GGSN and this RNC be connected unusual;
Second gathers subelement B6012, is used for surveying the determined GGSN of subelement B6011 according to second and gathers with the situation that is connected between each RNC, and obtains the connection state information between GGSN and each RNC;
Second reports subelement B6013, concrete is used for reporting second to gather GGSN that subelement B6012 obtains and the connection state information between each RNC to collecting network topology information unit 602.
At this moment, collecting network topology information unit 602 can comprise that second receives subelement B6021 and the second renewal subelement B6022;
Second receives subelement B6021, is used for receiving network topological information performance element 601, specifically can be second to report GGSN that subelement B6013 reports and the connection state information between each RNC;
Second upgrades subelement B6022, is used for upgrading the domain name record that network topological information Dispatching Unit 603 is preserved according to GGSN and the connection state information between each RNC that the second reception subelement B6021 receives;
Network topological information Dispatching Unit 603, be used for receive that network topological information use equipment sends have the domain name mapping request of direct Tunnel Identifier the time, the IP address result who sends the GGSN of domain name correspondence according to the domain name record that upgrades uses equipment to network topological information.
(3) referring to Fig. 6 (c), network topological information performance element 601 is specifically as follows RNC, network topological information receives unit 602 and network topological information Dispatching Unit 603 then can be integrated in the network topological information use equipment 500, then this moment, network topological information performance element 601 can comprise that reception subelement C6011, the 3rd surveys subelement C6012 and the 3rd and reports subelement C6013;
Receive subelement C6011, be used for receiving the wireless network resource distribution request that network topological information use equipment sends, wherein, this wireless network resource is distributed the IP address of carrying GGSN in the request;
The 3rd surveys subelement C6012, IP address for the GGSN that receives according to reception subelement C6011 sends acknowledges requests to GGSN, if receive the response that GGSN returns, then determine between RNC and the GGSN be connected normal, if do not receive the response that GGSN returns, then determine between RNC and the GGSN be connected unusual;
The 3rd reports subelement C6013, concrete be used for surveying subelement C6012 the 3rd and determine being connected just often between RNC and the GGSN, returns the successful wireless network resource assignment response of expression to network topological information use equipment; Survey subelement the 3rd and determine being connected when unusual between C6012RNC and the GGSN, return the wireless network resource assignment response of expression failure to network topological information use equipment.
More than the concrete enforcement of each unit can not repeat them here referring to the embodiment of front.
As from the foregoing, the network topological information performance element 601 of the network topological information treatment facility of present embodiment can carry out the detection of network topological information, then the network topological information result of detection is reported collecting network topology information unit 602, the network topological information of being preserved by the 602 pairs of network topological information Dispatching Unit 603 in collecting network topology information unit upgrades, when whether network topological information use equipment need enable the judgement in direct tunnel, by network topological information Dispatching Unit 603 network topological information is sent to network topological information and use equipment, so that network topological information uses equipment to determine whether enabling direct tunnel according to this network topological information, because this scheme will the factor relevant with setting up direct tunnel, such as with dynamic network topological information as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
Embodiment seven,
Accordingly, the embodiment of the invention also provides a kind of communication system, and as shown in Figure 7, this communication system comprises that network topological information uses equipment 500 and network topological information treatment facility 600;
Network topological information uses equipment 500, be used for obtaining network topological information from network topological information treatment facility 600, according to the network topological information that gets access to determine between RNC and the GGSN connection status just often, enable direct tunnel;
Network topological information treatment facility 600 is used for the collection network topology information, and concurrent SCN Space Cable Network topology information is used equipment 500 to network topological information.
In another one embodiment of the present invention,
Network topological information uses equipment 500, when also being used for determining that according to the network topological information that gets access to connection status between RNC and the GGSN is unusual, setting up the tunnel that arrives RNC and sets up the tunnel that arrives GGSN.
Wherein, network topological information uses equipment 500 to use equipment as any one network topological information that the embodiment of the invention provides, any one network topological information treatment facility that network topological information treatment facility 600 can provide for the embodiment of the invention, specifically can not repeat them here referring to front embodiment.
Below will carry out schematic illustration to the execution flow process of this communication system for example.
(1) example 1
Suppose collecting network topology information unit and the network topological information Dispatching Unit as network topological information treatment facility 600 with the OSS system, with the network topological information performance element of RNC as network topological information treatment facility 600, SGSN is used equipment 500 as network topological information, and then flow process can be as follows:
Steps A 1, OSS system send the request of IP address of the GGSN that surveys about need to SGSN.
Steps A 2, SGSN report the IP address list of the GGSN of needs detection to the OSS system according to the request that receives.
The IP address list of the GGSN that steps A 3, OSS system survey is as required surveyed the IP address of GGSN to the RNC request.
Steps A 4, RNC send GTPv1 message to the IP address of each GGSN, such as Echo Request.
Steps A 5, if being connected between GGSN and the RNC is normal, then GGSN can return EchoResponse and give RNC, otherwise, if RNC does not receive the Echo Response message that GGSN returns, then RNC determine between this self (being RNC) and the GGSN be connected unusual.
Steps A 6, RNC gather the situation that is connected between the IP address of self (being RNC) and each GGSN, and report the OSS system with the RNC that upgrades the OSS system and preserved and the connection state information between the GGSN.
GGSN after steps A 7, OSS system will upgrade and the connection state information between the RNC send to SGSN.
When SGSN need judge whether to enable direct tunnel for the user, then can judge according to these connection state informations, as follows:
If the connection state information that receives represents that the connection status between RNC and the GGSN is normal, then can enable direct tunnel for the user.
If the connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then not for the user enables direct tunnel, but set up the tunnel that arrives RNC and set up the tunnel that arrives GGSN.
(2) example 2
Suppose the collecting network topology information unit as network topological information treatment facility 600 with the OSS system, with the network topological information performance element of GGSN as network topological information treatment facility 600, with the network topological information Dispatching Unit of DNS system as network topological information treatment facility 600, SGSN is used equipment 500 as network topological information, in addition, configuration has the domain name record of direct Tunnel Identifier in the DNS system, except comprising direct Tunnel Identifier, also comprise APN and RNC ID or Routing AreaCode in this domain name; Then idiographic flow can be as follows:
Step B1, OSS system send the request of the IP address of the RNC that surveys about need to SGSN.
Step B2, SGSN report the IP address list of the RNC of needs detection to the OSS system according to the request that receives.
The IP address list of the RNC that step B3, OSS system survey is as required surveyed the IP address of RNC to the GGSN request.
Step B4, GGSN send GTPv1 message to the IP address of each RNC, such as Echo Request message.
Step B5, if being connected between GGSN and the RNC is normal, then RNC can return Echo Response message.Otherwise, if GGSN do not receive the Echo Response message that RNC returns, then GGSN determine between self (being GGSN) and this RNC be connected unusual.
Step B6, GGSN gather the connection status between the IP address of self (being GGSN) and each RNC, and report the OSS system.
Step B7, OSS system are according to the domain name record in the GGSN that receives and the renewal of the connection state information between the RNC DNS system, and be as follows:
If the connection state information that receives represents that the connection status between RNC and the GGSN is normal, then keep the domain name record constant.
If the connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then remove the IP address of the GGSN in the corresponding domain name record.
Step B8, set up in the process at user conversation, when SGSN selects GGSN for the user, send the domain name mapping request that has direct Tunnel Identifier to the DNS system;
Step B9, DNS system are according to the domain name mapping request nslookup record that has direct Tunnel Identifier that receives, and the IP address result who returns the GGSN corresponding with domain name then gives SGSN, and is as follows:
If the connection status between RNC and the GGSN is unusual, then the IP address result that returns of DNS system is for empty, can execution in step B10;
If the connection status between RNC and the GGSN is normal, then the IP address result that returns of DNS system namely returns the IP address result of the GGSN corresponding with domain name for empty, and SGSN sets up direct tunnel according to this IP address result;
Step B10, SGSN send not domain name mapping request with direct Tunnel Identifier to the DNS system.
Not with the domain name mapping request nslookup record of direct Tunnel Identifier, the IP address result who returns the GGSN of domain name correspondence gives SGSN according to this for step B11, DNS system;
SGSN does not enable direct tunnel after receiving IP address result, but sets up the tunnel that arrives RNC and set up the tunnel that arrives GGSN according to this IP address result.
(3) example 3
Suppose the network topological information performance element as network topological information treatment facility 600 with RNC, with collecting network topology information unit and the network topological information Dispatching Unit of SGSN as network topological information use equipment 500, network topological information treatment facility 600, then idiographic flow can be as follows:
Step C1, SGSN send wireless network resource to RNC and distribute request, and wherein, this wireless network resource is distributed the IP address of carrying GGSN in the request.
Corresponding GGSN sends GTPv1 message to the IP address of GGSN for step C2, RNC, such as EchoRequest message.
If the connection status between step C3 RNC and the GGSN IP address is normal, then GGSN will return Echo Response message and give RNC; Otherwise if the connection status between RNC and the GGSN IP address is unusual, then GGSN can not return Echo Response message and give RNC.
If step C4 RNC receives the Echo Response message that GGSN returns, then return the successful wireless network resource assignment response of expression to SGSN, after SGSN received this wireless network resource assignment response, the direct tunnel between RNC and the GGSN was set up successfully, and flow process finishes.
Otherwise, if RNC does not receive the Echo Response message that GGSN returns, then RNC returns the wireless network resource assignment response message that expression is failed to SGSN, and the path between the IP address of indication SGSN RNC and this GGSN is obstructed, and this moment can execution in step C5.
Step C5, SGSN can send wireless network resource to RNC again and distribute request, and wherein, this wireless network resource is distributed the IP address of carrying SGSN in the request.
Step C6, RNC return the wireless network resource assignment response according to the IP address of SGSN to SGSN; SGSN sets up between RNC and the SGSN after receiving this wireless network resource assignment response, and common two sections tunnels between SGSN and the GGSN.
At this moment, SGSN can also record the unusual information of connection status between the IP address of representing this RNC and GGSN, and starts timer, in the time that timer presets, does not start direct tunnel between this RNC and GGSN.Certainly, prerequisite is that SGSN inside need arrange a timer.
Certainly, in order to discharge memory space, overtime in the time that timer presets after, SGSN can also directly remove the unusual information of the expression RNC that records and the connection status between the GGSN.
Step C7, optional, overtime in the time that timer presets after, SGSN also can continue to ask RNC to survey the IP address of GGSN.
Step C8, RNC send Echo Request message to the GGSN of the IP address correspondence of GGSN.
Step C9, if RNC receives the Echo Response that GGSN returns, then RNC determines that the connection status between self and the GGSN IP address is normal; If RNC do not receive the EchoResponse that GGSN returns, then RNC determine self with the IP address of this GGSN between be connected and take place unusually.
Step C10, RNC report SGSN with the connection state information between self and the GGSN IP address;
After SGSN receives connection state information between these GGSN and the RNC, when needs judge whether to enable direct tunnel for the user, then can judge according to these connection state informations, as follows:
The connection state information that receives represents that the connection status between RNC and the GGSN is normal, and then expression is when needs judge whether to enable direct tunnel for the user, and SGSN can enable direct tunnel for the user.
The connection state information that receives represents that the connection status between RNC and the GGSN is unusual, then continue to enable timer, when expression judged whether to enable direct tunnel for the user when needs, SGSN did not enable direct tunnel for the user, but set up the tunnel that arrives RNC and the tunnel of foundation arrival GGSN.
As from the foregoing, the network topological information treatment facility 600 of the communication system of present embodiment can be collected dynamic network topological information, use equipment 500 need judge whether to enable direct tunnel at network topological information and offer network topological information use equipment 500 constantly, make network topological information use equipment 500 to determine whether enabling direct tunnel according to these network topological informations, namely, determine between RNC and the GGSN connection status just often, then enable direct tunnel, otherwise, if determine that the connection status between RNC and the GGSN is unusual, then set up two sections common tunnels, because this scheme will the factor relevant with setting up direct tunnel, such as with dynamic network topological information as enabling the condition in direct tunnel, therefore in terms of existing technologies, can be more flexible control whether enabling direct tunnel effectively.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than control method, device and the communication system in a kind of direct tunnel that the embodiment of the invention is provided be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.