WO2011069448A1 - Control method, device and communication system of direct tunnel - Google Patents

Control method, device and communication system of direct tunnel Download PDF

Info

Publication number
WO2011069448A1
WO2011069448A1 PCT/CN2010/079555 CN2010079555W WO2011069448A1 WO 2011069448 A1 WO2011069448 A1 WO 2011069448A1 CN 2010079555 W CN2010079555 W CN 2010079555W WO 2011069448 A1 WO2011069448 A1 WO 2011069448A1
Authority
WO
WIPO (PCT)
Prior art keywords
ggsn
rnc
network topology
topology information
address
Prior art date
Application number
PCT/CN2010/079555
Other languages
French (fr)
Chinese (zh)
Inventor
陈靖
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2011069448A1 publication Critical patent/WO2011069448A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a direct tunnel control method, apparatus, and communication system. Background technique
  • GPRS General Packet Radio Service
  • GGSN Gateway GPRS Support Node
  • the operator also needs to reduce equipment investment and operating expenses, as well as facilitate subsequent expansion.
  • the 3rd Generation Partnership Project (3GPP) has proposed a Direct Tunnel solution, which is a two-stage tunnel between the original RNC, SGSN and GGSN: between the RNC and the SGSN.
  • Tunnel the tunnel between the SGSN and the GGSN, cuts a tunnel, that is, directly establishes a tunnel between the RNC and the GGSN, so that the user plane completely skips the SGSN, thereby reducing the majority of the SGSN user plane resources and reducing the operation for the operator.
  • Investment and operating expenses can reduce user delay and improve user experience.
  • the scalability of the solution is good, and the expansion of the user plane no longer needs to upgrade the SGSN, but the core network needs to upgrade the GGSN and other devices.
  • the solution can separate the control plane from the user plane, so that it can be upgraded to the SAE network in the future.
  • the GGSN and the SGSN belong to the same Public Land Mobile Network (PLMN).
  • PLMN Public Land Mobile Network
  • the direct tunnel is enabled when the connection status between the RNC and the GGSN is normal according to the obtained network topology information.
  • the first processing unit is configured to enable the direct tunnel when the connection state between the RNC and the GGSN is normal according to the network topology information acquired by the acquiring unit.
  • the network topology information distribution unit is configured to provide the updated network topology information to the network topology information using device.
  • a network topology information processing device configured to collect network topology information and send network topology information Use the device for network topology information.
  • the network topology information is obtained, and then the direct tunnel is determined according to the network topology information. For example, when the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled, because the solution is directly established. Tunnel-related factors, such as dynamic network topology information, are used as conditions for enabling direct tunneling. Therefore, it is possible to control whether direct tunneling is enabled more flexibly and efficiently than in the prior art.
  • Embodiment 1 is a flowchart of a method provided by Embodiment 1 of the present invention.
  • FIG. 5(c) is still another schematic structural diagram of a network topology information using device according to an embodiment of the present invention.
  • Figure 6 (a) is a schematic structural diagram of a network topology information processing device according to an embodiment of the present invention
  • Figure 6 (b) is another schematic structural diagram of a network topology information processing device according to an embodiment of the present invention
  • Figure 6 (c) is a schematic structural diagram of another network topology information processing device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a communication system according to an embodiment of the present invention. Specific lung
  • Embodiments of the present invention provide a direct tunnel control method, apparatus, and communication system. The details are described below separately.
  • Embodiment 1
  • an embodiment of the present invention provides a method for controlling a direct tunnel, including:
  • the network topology information can reflect the composition and connection status of the entire network
  • the OSS system may also receive a request for an Internet Protocol (IP) address of the GGSN to be detected, and then return a list of IP addresses of the GGSN to be detected to the OSS system according to the received request, so as to The OSS system collects connection state information between the RNC and the GGSN according to the list.
  • IP Internet Protocol
  • a domain name resolution request with a direct tunnel identifier may also include:
  • connection state information indicates that the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled
  • the method may further include step 103; as follows:
  • the corresponding processing can be as follows:
  • connection state information indicates that the connection state between the RNC and the GGSN is abnormal, a tunnel to the RNC is established and a tunnel to the GGSN is established.
  • the method may further include:
  • a message indicating that the connection status between the RNC and the GGSN is abnormal is generated, and a timer is started, and a direct tunnel is not initiated between the RNC and the GGSN within a preset time of the timer.
  • the recorded information indicating the abnormal connection state between the RNC and the GGSN can also be cleared.
  • the request for detecting the IP address of the GGSN may be sent to the RNC, and the detection result returned by the RNC is received. If the detection result indicates that the connection state between the RNC and the GGSN address is normal, Then, the direct tunnel is allowed to be enabled later; if the detection result indicates that the connection state between the RNC and the GGSN address is abnormal, the timer is continuously started.
  • the network topology information is obtained, and then the direct tunnel is determined according to the network topology information, that is, when the connection state between the RNC and the GGSN is determined to be normal, the direct tunnel is enabled, and vice versa. If the connection status between the RNC and the GGSN is abnormal, a normal two-stage tunnel is established, because the solution will be related to the establishment of a direct tunnel, such as a dynamic network extension.
  • the Pu information is used as a condition for enabling direct tunneling, so that it is possible to control whether or not the direct tunnel is enabled more flexibly and efficiently than the prior art.
  • the OSS system is used as a network topology information collection unit and a network topology information distribution unit of the network topology information processing device
  • the RNC is used as a network topology information execution unit of the network topology information processing device
  • the SGSN is used as the SGSN.
  • Network topology information uses devices.
  • the OSS system sends a request for the IP address of the GGSN to be probed to the SGSN.
  • step 201 is an optional step.
  • the SGSN After receiving the request for the IP address of the GGSN to be detected by the OSS system, the SGSN reports the IP address list of the GGSN to be detected to the OSS system according to the received request.
  • step 202 is an optional step.
  • the OSS system After receiving the IP address list of the GGSN to be detected sent by the SGSN, the OSS system requests the RNC to detect the IP address of the GGSN according to the IP address list of the GGSN to be detected.
  • step 203 is an optional step.
  • the RNC sends a GTPv1 message to the IP address of each GGSN, such as an Echo Request.
  • the GGSN may return an Echo Response to the RNC. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN, the RNC determines the self (ie, RNC) and the GGSN. The connection between the two is abnormal.
  • the RNC summarizes the connection between the IP address of the GGSN and the GGSN, and obtains the detection result of the IP address of the GGSN, and reports the detection result of the IP address of the GGSN to the OSS system.
  • the OSS system updates the connection state information between the RNC and the GGSN saved by the GGSN according to the detection result of the received IP address of the GGSN, and then sends the connection state information between the updated GGSN and the RNC to the SGSN.
  • the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows: if the received connection status information indicates the RNC and the GGSN If the connection status is normal, you can enable direct tunneling for the user. If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the direct tunnel is not enabled for the user, but a normal two-stage tunnel is established, that is, a tunnel to the RNC is established and a tunnel to the GGSN is established.
  • the SGSN in this embodiment receives the connection state information between the RNC and the GGSN sent by the OSS system, and then determines whether to enable the direct tunnel according to the connection state information, that is, if the connection state information indicates the RNC and the GGSN.
  • the connection state information indicates the connection status between the RNC and the GGSN.
  • an ordinary two-stage tunnel is established, because the solution will be related to the establishment of a direct tunnel. That is, the connection state between the RNC and the GGSN serves as a condition for enabling the direct tunnel, so that it is possible to control whether or not the direct tunnel is enabled more flexibly and efficiently than the prior art.
  • Embodiment 3 Embodiment 3
  • the OSS system is also used as the network topology information collection unit of the network topology information processing device, and the SGSN is used as the network topology information usage device, which is different from the implementation two.
  • the GGSN is used as a network topology information execution unit of the network topology information processing device, and the DNS system is used as a network topology information distribution unit of the network topology information processing device.
  • the prerequisite is that the domain name record with the direct tunnel identifier is configured in the DNS system.
  • the domain name includes:
  • Access Point Name (APN, Access Point Name), used to identify GGSN
  • RNC identifier ID, Identity
  • Routing Area Code used to identify the RNC
  • the IP address of the GGSN corresponding to the domain name is recorded in the domain name record.
  • the SGSN can select the GGSN for the user by sending a domain name resolution request message to the DNS.
  • the OSS system sends a request for the IP address of the RNC to be probed to the SGSN.
  • step 301 is an optional step.
  • the SGSN After receiving the request for the IP address of the RNC to be detected by the OSS system, the SGSN reports the IP address list of the RNC to be probed to the OSS system according to the received request.
  • step 302 is an optional step.
  • the OSS system After receiving the IP address list of the RNC that needs to be detected by the SGSN, the OSS system requests the GGSN to detect the IP address of the RNC according to the IP address list of the RNC to be detected.
  • step 303 is an optional step.
  • the GGSN sends a GTPv1 message, such as an Echo Request message, to the IP address of each RNC.
  • the RNC may return an Echo Response message. Otherwise, if the GGSN does not receive the Echo Response message returned by the RNC, the shell 'j GGSN determines that the connection between itself (ie, GGSN) and the RNC is abnormal.
  • the GGSN aggregates the connection between the GGSN and the RNCs, and obtains the connection status information between the GGSN and each RNC, and reports the connection status information between the GGSN and each RNC as a detection result.
  • the GGSN aggregates the connection between the GGSN and the RNCs, and obtains the connection status information between the GGSN and each RNC, and reports the connection status information between the GGSN and each RNC as a detection result.
  • the OSS system receives the connection status information between the GGSN reported by the GGSN and each RNC, and updates the domain name record on the DNS system according to the connection status information between the received GGSN and the RNC:
  • the domain name record is kept unchanged.
  • the IP address of the GGSN in the corresponding domain name record is cleared.
  • the domain name includes:
  • APN used to identify GGSN
  • RNC ID or Routing Area Code used to identify RNC
  • the DNS system queries the domain name record according to the received domain name resolution request with the direct tunnel identifier, and then returns the IP address result of the GGSN corresponding to the domain name to the SGSN, as follows:
  • step 310 If the connection status between the RNC and the GGSN is abnormal, the IP address returned by the DNS system is null, then step 310 can be performed;
  • the IP address returned by the DNS system is not empty, that is, the IP address result of the GGSN corresponding to the domain name is returned, and the SGSN receives the IP address result that is not null. After that, a direct tunnel is established according to the result of the IP address;
  • the SGSN sends a domain name resolution request without a direct tunnel identifier to the DNS system.
  • the DNS system After receiving the domain name resolution request without the direct tunnel identifier, the DNS system queries the domain name record according to the domain name resolution request without the direct tunnel identifier, and returns the IP address result of the GGSN corresponding to the domain name to the SGSN.
  • the SGSN After receiving the IP address result, the SGSN does not enable the direct tunnel, but establishes a common two-stage tunnel for the user, that is, establishes a tunnel to the RNC and establishes a tunnel to the GGSN according to the IP address result.
  • the SGSN in this embodiment sends a domain name resolution request with a direct tunnel identifier to the DNS system, and after receiving the IP address result of the GGSN corresponding to the domain name returned by the DNS system, and then determining whether to enable the IP address result according to the result of the IP address.
  • a direct tunnel that is, if the IP address result is not empty, it indicates that the direct tunnel is enabled when the connection state between the RNC and the GGSN is normal. Otherwise, if the IP address result is empty, it indicates between the RNC and the GGSN. The connection status is abnormal, so it is determined that a common two-stage tunnel needs to be established.
  • the RNC is also used as the network topology information execution unit of the network topology information processing device.
  • the SGSN integrates the network extension.
  • the SGSN sends a radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the GGSN. It should be noted that before the WLAN resource allocation request is sent to the RNC, the SGSN has communicated with the GGSN, but only the SGSN has not determined whether to establish a direct tunnel. Therefore, the SGSN can know the IP address of the GGSN.
  • the RNC After receiving the RRC resource allocation request, the RNC performs a connection state determination according to the IP address of the GGSN, that is, performs GTP path detection. For example, the RNC sends a GTPv1 message, such as an Echo Request message, to the GGSN corresponding to the IP address of the GGSN.
  • a GTPv1 message such as an Echo Request message
  • the GGSN If the connection status between the RNC and the GGSN IP address is normal, the GGSN returns an Echo Response message after receiving the Echo Request message sent by the RNC; otherwise, if the connection status between the RNC and the GGSN IP address is abnormal, the GGSN The Echo Request message sent by the RNC cannot be received, so that the GGSN does not return the Echo Response message to the RNC. Therefore, if the RNC does not receive the Echo Response message from the GGSN, the RNC can determine itself (ie, RNC) and the GGSN IP address. The connection between the two is broken. Of course, the RNC can also perform path detection on each GGSN connected to itself, and save the connection status as a detection result. After receiving the wireless network resource allocation request, the RNC can directly query the corresponding according to the wireless network resource allocation request. The detection result is recorded without path detection based on the radio network resource allocation request, and therefore steps 402 and 403 are optional steps.
  • step 405 If the RNC determines that the connection state between the self (ie, the RNC) and the IP address of the GGSN is normal, the RNC returns a successful wireless network resource allocation response to the SGSN, and after the SGSN receives the wireless network resource allocation response, the RNC and the RNC The direct tunnel between the GGSNs is successfully established. The process ends. Otherwise, if the RNC determines that the connection status between itself (ie, RNC) and the IP address of the GGSN is abnormal, the RNC returns a failure indicating a radio network resource allocation response message to the SGSN, indicating a path between the SGSN RNC and the IP address of the GGSN. If not, step 405 can be performed.
  • the SGSN may resend the radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the SGSN.
  • the RNC After receiving the radio network resource allocation request that carries the IP address of the SGSN, the RNC returns a radio network resource allocation response to the SGSN according to the IP address of the SGSN. After receiving the radio network resource allocation response, the SGSN establishes between the RNC and the SGSN. And a common two-stage tunnel between the SGSN and the GGSN. At this time, the SGSN may also record information indicating that the connection status between the RNC and the GGSN is abnormal, and start a timer. The direct tunnel is not started between the RNC and the GGSN within a preset time of the timer. Of course, the premise is that a timer needs to be set inside the SGSN. Of course, in order to release the storage space, after the time preset by the timer expires, the SGSN can directly clear the recorded information indicating that the connection status between the RNC and the GGSN is abnormal.
  • the SGSN may further request the RNC to detect the IP address of the GGSN, that is, the SGSN may also send a request for detecting the IP address of the GGSN to the RNC.
  • the RNC After receiving the request for detecting the IP address of the GGSN, the RNC performs GTP path detection according to the IP address of the GGSN. For example, the RNC sends a GTPv1 message, such as an Echo Request message, to the GGSN corresponding to the IP address of the GGSN.
  • a GTPv1 message such as an Echo Request message
  • the GGSN may return an Echo Response to the RNC; otherwise, the GGSN does not return an Echo Response to the RNC; therefore, if the RNC receives the Echo Response returned by the GGSN, the RNC determines The connection state between the self (ie, RNC) and the GGSN IP address is normal. If the RNC does not receive the Echo Response returned by the GGSN, the RNC determines that the connection between itself (ie, the RNC) and the IP address of the GGSN is abnormal.
  • the 4ia RNC reports the detection result, that is, the connection status information between the RNC and the GGSN to the SGSN.
  • the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows:
  • the received connection status information indicates between the RNC and the GGSN.
  • the connection status is normal, allowing subsequent direct tunnels to be enabled. In subsequent processes, the SGSN can enable direct tunneling for users if direct tunneling is required for the user.
  • the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, and the timer is continued to be started.
  • the SGSN does not enable the direct tunnel for the user. Instead, two ordinary tunnels are established, that is, two tunnels arriving at the RNC and the GGSN are respectively established.
  • the SGSN in this embodiment sends a radio network resource allocation request that carries the IP address of the GGSN to the RNC, and then receives the radio network resource allocation response returned by the RNC according to the IP address of the GGSN, according to the wireless network resource allocation response.
  • the network resource allocation response determines whether to enable the direct tunnel, that is, if the wireless network resource allocation response indicating success is received, the direct tunnel is enabled, and if the wireless network resource allocation response indicating the failure is received, the ordinary two-stage tunnel is established.
  • the embodiment of the present invention further provides a network extension information using device 500, as shown in FIG. 5 (a), FIG. 5 (b) and FIG. 5 (c), the network
  • the topology information using device 500 includes an obtaining unit 501 and a first processing unit 502;
  • the obtaining unit 501 is configured to acquire network topology information.
  • the first processing unit 502 is configured to determine, according to the network topology information acquired by the obtaining unit 501, that the connection state between the wireless network controller RNC and the gateway general packet radio service support node GGSN is normal, and enable the direct tunnel;
  • the network topology information using device 500 may further include a second processing unit 503;
  • the second processing unit 503 is configured to determine, according to the network topology information acquired by the obtaining unit 501, that the connection state between the RNC and the GGSN is abnormal, establish a tunnel that reaches the RNC, and establish a tunnel that reaches the GGSN.
  • the network topology information using device 500 may specifically be an SGSN.
  • the network topology information collection unit and the network topology information distribution unit of the network topology information processing device may be specifically the OSS system A900, and the network topology information execution unit of the network topology information processing device. Specifically, it may be an RNC, and the network topology information using device 500 may specifically be an SGSN, and the respective units in the network topology information using device 500 may specifically be as follows:
  • the obtaining unit 501 is specifically configured to receive connection state information between the RNC and the GGSN sent by the OSS system A900.
  • the first processing unit 502 is specifically configured to determine that the connection status information received by the obtaining unit 501 indicates that the direct connection is enabled when the connection status between the RNC and the GGSN is normal.
  • the second processing unit 503 is specifically configured to determine that the connection status information received by the obtaining unit 501 indicates that the connection status between the RNC and the GGSN is abnormal, establish a tunnel to the RNC, and establish a tunnel to reach the GGSN.
  • the network topology information using device 500 may further include a first receiving unit A504 and a first sending unit A505.
  • the first receiving unit A504 is configured to receive, by the OSS system A900, a request for an Internet Protocol IP address of the GGSN to be detected;
  • the first sending unit A505 is configured to return, according to the request received by the first receiving unit A504, the IP address list of the GGSN to be detected to the OSS system A900, so that the OSS system A900 collects connection state information between the RNC and the GGSN according to the list.
  • the network topology information collection unit of the network topology information processing device may be an OSS system, and the network topology information execution unit of the network topology information processing device may be a GGSN, a network topology.
  • the network topology information distribution unit of the information processing device may be specifically a DNS system B900, and the network topology information usage device 500 may be an SGSN.
  • the specific units in the network topology information usage device 500 may be specifically as follows:
  • the DNS system B900 is also shown in Figure 5 (b).
  • the obtaining unit 501 may include a domain name resolution request subunit B5011 and an address result receiving subunit B5012;
  • the domain name resolution request sub-unit B5011 is configured to send a direct tunnel identifier to the DNS system B900.
  • the address result receiving sub-unit B5012 is configured to receive an IP address result of the GGSN corresponding to the domain name returned by the DNS system B900 according to the domain name resolution request received by the domain name resolution request sub-unit B5011 after querying the domain name record;
  • the first processing unit 502 is specifically configured to enable a direct tunnel according to the IP address result when the IP address result received by the address result receiving subunit B5012 is not empty;
  • the second processing unit 503 is specifically configured to: when the IP address result received by the address result receiving subunit B5012 is null, send a domain name resolution request without a direct tunnel identifier, and receive an IP of the GGSN corresponding to the domain name returned by the DNS system. The result of the address is then established based on the result of the IP address to establish a tunnel to the RNC and establish a tunnel to the GGSN.
  • the network topology information using device 500 may further include a second receiving unit B504 and a second sending unit B505;
  • a second receiving unit B504 configured to receive, by the OSS system, a request for an IP address of the RNC to be detected
  • the second sending unit B505 is configured to return, according to the request received by the second receiving unit B504, the IP address list of the RNC to be detected to the OSS system, so that the OSS system collects the connection status information between the RNC and the GGSN according to the list, and then updates Domain name record in DNS system B900.
  • the network topology information execution unit of the network topology information processing device may specifically be an RNC, and the network topology information using device 500 and the network topology information collecting unit of the network topology information processing device And the network topology information distribution unit may be specifically integrated in the SGSN.
  • each unit in the network topology information using device 500 may specifically be as follows:
  • the obtaining unit 501 may include a resource allocation request subunit C5011 and an allocation response receiving subunit C5012;
  • a resource allocation request sub-unit C5011 configured to send a radio network resource allocation request to the RNC, where the radio network resource allocation request carries an IP address of the GGSN;
  • the allocation response receiving subunit C5012 is configured to receive the wireless network resource returned by the RNC according to the IP address of the GGSN received by the resource allocation request subunit C5011.
  • the first processing unit 502 is specifically configured to enable the direct tunnel when the allocation response receiving subunit C5012 receives the wireless network resource allocation response indicating success;
  • the second processing unit 503 is specifically configured to receive the indication loss in the allocation response receiving subunit C5012. When the failed wireless network resource allocation response, a tunnel to the RNC is established and a tunnel to the GGSN is established.
  • the network topology information using device 500 may further include a third processing unit C504;
  • the third processing unit C504 is configured to: when the allocation response receiving subunit C5012 receives the wireless network resource allocation response indicating the failure, record the abnormal connection status between the RNC and the GGSN, and start a timer, which is preset by the timer. During the set time, no direct tunnel is initiated between the RNC and the GGSN. Of course, in order to release the storage space, after the time preset by the timer expires, the SGSN can also directly clear the recorded information indicating that the connection status between the RNC and the GGSN is abnormal.
  • the network topology information using device 500 further includes a fourth processing unit C505;
  • the network topology information collecting unit 602 is configured to receive the report reported by the network topology information execution unit 601.
  • the network topology information detection result is updated, and the network topology information saved by the network topology information distribution unit 603 is updated according to the received network topology information detection result;
  • the network topology information execution unit 601 is specifically a radio network controller RNC. At this time, the network topology information execution unit 601 may include a first probe subunit A6011 and a first summary subunit A6013. And the first reporting subunit A6013;
  • the first summary sub-unit A6012 is configured to perform a summary according to the connection between the RNC and each GGSN determined by the first detecting sub-unit A6011, to obtain a detection result of the IP address of the GGSN;
  • the first reporting sub-unit A6013 is configured to report the detection result of the IP address of the GGSN obtained by the first summary sub-unit A6012 to the network topology information collecting unit 602.
  • the first receiving sub-unit A6021 is configured to receive the network topology information executing unit 601, for example, the first first update sub-unit A6022, configured to update the network topology information according to the IP address result of the GGSN received by the first receiving sub-unit A6021. Connection status information between the RNC and the GGSN held by the distribution unit 603
  • the second reporting sub-unit B6013 is specifically configured to report the connection status information between the GGSN obtained by the second summary sub-unit B6012 and each RNC to the network topology information collecting unit 602.
  • the network topology information collecting unit 602 may include a second receiving subunit B6021 and a second updating subunit B6022;
  • the second receiving sub-unit B6021 is configured to receive the network topology information executing unit 601, and specifically, the second update sub-unit B6022, configured to update the connection status information between the GGSN and each RNC received by the second receiving sub-unit B6021.
  • the network topology information distribution unit 603 is configured to: when receiving the domain name resolution request with the direct tunnel identifier sent by the network topology information using device, send the IP address result of the GGSN corresponding to the domain name to the network topology according to the updated domain name record Information is used by the device.
  • the network topology information execution unit 601 may specifically be an RNC, and the network topology information receiving unit 602 and the network topology information distribution unit 603 may be integrated into the network topology information using device 500.
  • the network topology information execution unit 601 may include a receiving subunit C6011, a third detecting subunit C6012, and a third reporting subunit C6013;
  • the third detecting sub-unit C6012 is configured to send a response request to the GGSN according to the IP address of the GGSN received by the receiving sub-unit C6011. If the response response returned by the GGSN is received, it is determined that the connection between the RNC and the GGSN is normal, if not received. Responding to the response returned by the GGSN, determining that the connection between the RNC and the GGSN is abnormal;
  • the 601 can detect the network topology information, and report the network topology information detection result to the network topology information collection unit 602.
  • the network topology information collection unit 602 saves the network topology saved by the network topology information distribution unit 603.
  • the information is updated, and when the network topology information usage device needs to determine whether to enable the direct tunnel, the network topology information distribution unit 603 sends the network topology information to the network topology information using device, so that the network topology information using device Determining whether to enable the direct tunnel according to the network topology information. Since the solution will be related to establishing a direct tunnel, for example, the dynamic network topology information is used as a condition for enabling direct tunneling, therefore, compared with the prior art, It is more flexible and efficient to control whether direct tunneling is enabled.
  • Example VII Example VII.
  • the embodiment of the present invention further provides a communication system.
  • the communication system includes a network topology information using device 500 and a network topology information processing device 600;
  • the network topology information using device 500 is configured to obtain the network topology information from the network topology information processing device 600, and determine that the connection state between the RNC and the GGSN is normal according to the obtained network topology information, and enable the direct tunnel;
  • the network topology information processing device 600 is configured to collect network topology information, and send network topology information to the network topology information using device 500.
  • the network topology information using device 500 is further configured to determine, when the connection state between the RNC and the GGSN is abnormal according to the obtained network topology information, establish a tunnel to the RNC and establish a tunnel to reach the GGSN.
  • the information using device 50 may be as follows: Step A1, the OSS system sends a request for the IP address of the GGSN to be probed to the SGSN. Step A2: The SGSN reports the IP address list of the GGSN to be probed to the OSS system according to the received request. Step A3: The OSS system requests the RNC to detect the IP address of the GGSN according to the IP address list of the GGSN that needs to be detected.
  • Step A4 The RNC sends a GTPv1 to the IP address of each GGSN. For example, Echo Request Step A5. If the connection between the GGSN and the RNC is normal, the GGSN may return an Echo Response to the RNC. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN. Then, the RNC determines that the connection between the self (ie, RNC) and the GGSN is abnormal.
  • Step A6 The RNC summarizes the connection between itself (ie, RNC) and the IP address of each GGSN, and reports it to the OSS system to update the connection status information between the RNC and the GGSN saved by the OSS system.
  • the direct tunnel can be enabled for the user. If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the direct tunnel is not enabled for the user, but the tunnel to the RNC is established and the tunnel to the GGSN is established.
  • Step B1 The OSS system sends a request for the IP address of the RNC to be probed to the SGSN.
  • Step B2 The SGSN reports the IP address of the RNC to be probed to the OSS system according to the received request. A list of addresses.
  • Step B3 The OSS system requests the GGSN to detect the IP address of the RNC according to the IP address list of the RNC that needs to be detected.
  • Step B4 The GGSN sends a GTPv1 message, such as an Echo Request message, to the IP address of each RNC. Step If the connection between the GGSN and the RNC is normal, the RNC may return an Echo Response message.
  • Step B6 The GGSN aggregates the connection status between itself (ie, GGSN) and the IP address of each RNC, and reports it to the OSS system.
  • Step B7 The OSS system updates the domain name record on the DNS system according to the received connection status information between the GGSN and the RNC, as follows: If the received connection status information indicates that the connection status between the RNC and the GGSN is normal, the domain name record is maintained. constant.
  • step B8 when the SGSN selects the GGSN for the user, the SGSN sends a domain name resolution request with a direct tunnel identifier to the DNS system.
  • Step B9 The DNS system receives the domain name resolution request with the direct tunnel identifier.
  • Step B 10 SGSN sends without The domain name resolution request of the direct tunnel identifier is given to the DNS system.
  • Step B11 The DNS system queries the domain name according to the domain name resolution request without the direct tunnel identifier. Record, return the IP address result of the GGSN corresponding to the domain name to the SGSN;
  • the SGSN After receiving the IP address result, the SGSN does not enable the direct tunnel, but establishes a tunnel to the RNC and establishes a tunnel to the GGSN based on the IP address result.
  • the RNC is used as the network topology information execution unit of the network topology information processing device 600
  • the SGSN is used as the network topology information using device 500, the network topology information collecting unit of the network topology information processing device 600, and the network topology information distribution.
  • the specific process can be as follows:
  • Step C4 If the RNC receives the Echo Response message returned by the GGSN, the RNC returns a successful wireless network resource allocation response to the SGSN. After the SGSN receives the wireless network resource allocation response, the direct tunnel between the RNC and the GGSN is successfully established. The process ends. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN, the RNC returns a failed wireless network resource allocation response message to the SGSN, indicating that the path between the SGSN RNC and the IP address of the GGSN is unreachable, and step C5 may be performed. . Step C5: The SGSN may resend the wireless network resource allocation request to the RNC, where the wireless network resource allocation request carries the IP address of the SGSN.
  • the RNC returns a radio network resource allocation response to the SGSN according to the IP address of the SGSN.
  • the SGSN After receiving the radio network resource allocation response, the SGSN establishes a common two-stage tunnel between the RNC and the SGSN and between the SGSN and the GGSN.
  • the SGSN may also record information indicating that the connection state between the RNC and the GGSN is abnormal, and start a timer.
  • the direct tunnel is not started between the RNC and the GGSN within a preset time of the timer.
  • the premise is that a timer needs to be set inside the SGSN.
  • the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows:
  • the received connection status information indicates between the RNC and the GGSN. If the connection status is normal, it means that when it is necessary to determine whether the direct tunnel is enabled for the user, the SGSN can enable direct tunneling for the user.
  • the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, and the timer is continuously enabled, indicating that when it is required to determine whether the direct tunnel is enabled for the user, the SGSN does not enable the direct tunnel for the user, but establishes a tunnel to the RNC. And establish a tunnel to the GGSN.
  • the network topology information processing device 600 of the communication system of the present embodiment can collect dynamic network topology information, and the network topology information using device 500 needs to determine whether to enable the direct tunnel when the network is used. 500, the network topology information using device 500 can determine whether to enable the direct tunnel according to the network topology information, that is, when determining that the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled, and if not, the RNC and the GGSN are determined. If the connection status is abnormal, a normal two-segment tunnel is established. Since the solution will be related to the establishment of a direct tunnel, such as dynamic network topology information as a condition for enabling direct tunneling, it is relative to the prior art.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiments of the invention disclose a control method, a device and a communication system of a direct tunnel. The embodiments of the invention determine whether to enable a direct tunnel according to network topology information by first obtaining the network topology information. For instance, when the connection status between a Radio Network Controller (RNC) and a Gateway General packet radio service Support Node (GGSN) is normal, the direct tunnel is enabled. Compared with the prior art, since the scheme uses factors relating to establish a direct tunnel, such as dynamic network topology information, as the conditions for enabling a direct tunnel, the scheme can control whether to enable a direct tunnel more flexibly and effectively.

Description

一种直接隧道的控制方法、 装置和通信系统  Direct tunnel control method, device and communication system
本申请要求了 2009年 12月 8 日提交的、 申请号为 200910252082.8、 发 明名称为 "一种直接隧道的控制方法、 装置和通信系统" 的中国申请的优先 权, 其全部内容通过引用结合在本申请中。 技术领域  The present application claims the priority of the Chinese application filed on Dec. 8, 2009, with the application number 200910252082.8, entitled "A Direct Tunnel Control Method, Apparatus and Communication System", the entire contents of which are incorporated herein by reference. In the application. Technical field
本发明涉及通信技术领域, 具体涉及一种直接隧道的控制方法、 装置和 通信系统。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a direct tunnel control method, apparatus, and communication system. Background technique
随着第三代移动通信技术(3G, 3rd-Generation ) 业务不断的开展, 以及高 速下行链路分组接入技术 ( HSPA, High Speed Downlink Packet Access ) 等技术的应用, 对用户面处理性能的需求日益增加, 为了满足这些需求, 需 要增加无线网络控制器 (RNC, Radio Network Controller ), 服务通用分组无 线业务支持节点(SGSN, Serving GPRS Support Node, 其中 GPRS 为 General Packet Radio Service的缩写)和网关 GPRS支持节点( GGSN, Gateway GPRS Support Node ) 的处理性能; 并且运营商也需要减少的设备投资和运营费用, 以及便于后续的扩展。 因此, 第三代合作伙伴计划 (3GPP, 3rd Generation Partnership Project )组织提出了直接隧道 ( Direct Tunnel )解决方案, 即将原 来 RNC、 SGSN和 GGSN之间用户面的两段隧道: RNC与 SGSN之间的隧 道, SGSN 与 GGSN之间的隧道, 裁减一段隧道, 即直接在 RNC和 GGSN 之间建立隧道, 使得用户面完全跳过 SGSN, 从而一方面可以为运营商减少大 部分 SGSN 用户面资源, 减少运营投资和运营费用, 另一方面可以减少用户 面时延, 提高用户体验, 而且, 该方案扩展性好, 用户面的扩容不再需要升 级 SGSN, 而之需要核心网升级 GGSN等设备即可, 进一步的, 该方案可以 实现控制面和用户面分离, 便于以后升级到 SAE网络。  With the continuous development of third-generation mobile communication technology (3G, 3rd-Generation) services and the application of technologies such as High Speed Downlink Packet Access (HSPA), the processing performance of user planes is required. Increasingly, in order to meet these needs, it is necessary to add a Radio Network Controller (RNC) to serve the general packet radio service support node (SGSN, Serving GPRS Support Node, where GPRS is the abbreviation of General Packet Radio Service) and gateway GPRS. The processing performance of the GGSN (Gateway GPRS Support Node); and the operator also needs to reduce equipment investment and operating expenses, as well as facilitate subsequent expansion. Therefore, the 3rd Generation Partnership Project (3GPP) has proposed a Direct Tunnel solution, which is a two-stage tunnel between the original RNC, SGSN and GGSN: between the RNC and the SGSN. Tunnel, the tunnel between the SGSN and the GGSN, cuts a tunnel, that is, directly establishes a tunnel between the RNC and the GGSN, so that the user plane completely skips the SGSN, thereby reducing the majority of the SGSN user plane resources and reducing the operation for the operator. Investment and operating expenses, on the other hand, can reduce user delay and improve user experience. Moreover, the scalability of the solution is good, and the expansion of the user plane no longer needs to upgrade the SGSN, but the core network needs to upgrade the GGSN and other devices. The solution can separate the control plane from the user plane, so that it can be upgraded to the SAE network in the future.
目前 3GPP协议中关于是否启用直接隧道是由 SGSN进行控制的,启用直接 隧道时需要满足如下条件:  Currently, whether the direct tunnel is enabled in the 3GPP protocol is controlled by the SGSN. When the direct tunnel is enabled, the following conditions are met:
( 1 ) GGSN与 SGSN属于同一个公共陆地移动网络( PLMN, Public Land Mobile Network )。  (1) The GGSN and the SGSN belong to the same Public Land Mobile Network (PLMN).
( 2 )用户在归属位置寄存器(HLR, Home Location Register ) 中的签约数 据里有移动网络增强逻辑定制化应用 (CAMEL, Customised Applications for Mobile network Enhanced Logic )签约信息。 (2) Number of subscriptions by the user in the Home Location Register (HLR, Home Location Register) According to the CAMEL (Customized Applications for Mobile Network Enhanced Logic) signing information.
( 3 ) GGSN支持 GPRS隧道协议( GTP, GPRS Tunneling Protocol ) vl版 本。 (3) The GGSN supports the GPRS Tunneling Protocol (GTP, GPRS Tunneling Protocol) vl version.
在实际的组网应用中,根据 3GPP协议中所规定的条件, 无法准确的判断 是否启用直接隧道。 发明内容  In actual networking applications, according to the conditions specified in the 3GPP protocol, it is impossible to accurately determine whether direct tunneling is enabled. Summary of the invention
本发明实施例提供一种直接隧道的控制方法、 装置和通信系统, 可以灵 活有效地对是否启用直接隧道进行控制。  Embodiments of the present invention provide a direct tunnel control method, apparatus, and communication system, which can flexibly and effectively control whether a direct tunnel is enabled or not.
一种直接隧道的控制方法, 包括:  A direct tunnel control method includes:
获取网络拓朴信息;  Obtain network topology information;
根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常时,启 用直接隧道。  The direct tunnel is enabled when the connection status between the RNC and the GGSN is normal according to the obtained network topology information.
一种网络拓朴信息使用设备, 包括:  A network topology information using device, including:
获取单元, 用于获取网络拓朴信息;  An obtaining unit, configured to obtain network topology information;
第一处理单元, 用于根据获取单元获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常时, 启用直接隧道。  The first processing unit is configured to enable the direct tunnel when the connection state between the RNC and the GGSN is normal according to the network topology information acquired by the acquiring unit.
一种网络拓朴信息处理设备, 包括:  A network topology information processing device includes:
网络拓朴信息执行单元, 用于进行网络拓朴信息的探测, 得到网络拓朴 信息探测结果, 上报的网络拓朴信息探测结果给网络拓朴信息收集单元; 网络拓朴信息收集单元, 用于接收网络拓朴信息执行单元上报的网络拓 朴信息探测结果, 根据接收到的网络拓朴信息探测结果更新网络拓朴信息分 发单元保存的网络拓朴信息;  The network topology information execution unit is configured to perform network topology information detection, obtain network topology information detection result, report network topology information detection result to network topology information collection unit, and network topology information collection unit, Receiving the network topology information detection result reported by the network topology information execution unit, and updating the network topology information saved by the network topology information distribution unit according to the received network topology information detection result;
网络拓朴信息分发单元, 用于将更新后的网络拓朴信息提供给网络拓朴 信息使用设备。  The network topology information distribution unit is configured to provide the updated network topology information to the network topology information using device.
一种通信系统, 包括网络拓朴信息使用设备和网络拓朴信息处理设备; 网络拓朴信息使用设备, 用于从网络拓朴信息处理设备上获取网络拓朴 信息, 根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常时, 启用直接隧道;  A communication system includes a network topology information using device and a network topology information processing device; and a network topology information using device, configured to obtain network topology information from the network topology information processing device, according to the obtained network topology When the information determines that the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled;
网络拓朴信息处理设备, 用于收集网络拓朴信息, 并发送网络拓朴信息 给网络拓朴信息使用设备。 A network topology information processing device, configured to collect network topology information and send network topology information Use the device for network topology information.
本发明实施例采用获取网络拓朴信息, 然后根据网络拓朴信息来决定是 否启用直接隧道, 比如, 确定 RNC与 GGSN之间的连接状态正常时, 则启用直 接隧道, 由于该方案将与建立直接隧道相关的因素, 比如将动态的网络拓朴 信息作为了启用直接隧道的条件, 因此相对于现有技术而言, 可以更灵活有 效地对是否启用直接隧道进行控制。 附图说明  In the embodiment of the present invention, the network topology information is obtained, and then the direct tunnel is determined according to the network topology information. For example, when the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled, because the solution is directly established. Tunnel-related factors, such as dynamic network topology information, are used as conditions for enabling direct tunneling. Therefore, it is possible to control whether direct tunneling is enabled more flexibly and efficiently than in the prior art. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面 描述中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图 1是本发明实施例一所提供的方法的流程图;  1 is a flowchart of a method provided by Embodiment 1 of the present invention;
图 2是本发明实施例二所提供的方法的另一流程图;  2 is another flow chart of the method provided by Embodiment 2 of the present invention;
图 3是本发明实施例三提供的方法的又一流程图;  3 is still another flowchart of the method provided in Embodiment 3 of the present invention;
图 4是本发明实施例四提供的方法的再一流程图;  4 is still another flowchart of the method provided in Embodiment 4 of the present invention;
图 5 ( a )是本发明实施例提供的网络拓朴信息使用设备的结构示意图; 图 5 ( b )是本发明实施例提供的网络拓朴信息使用设备的另一结构示意 图;  Figure 5 (a) is a schematic structural diagram of a network topology information using device according to an embodiment of the present invention; and Figure 5 (b) is another schematic structural diagram of a network topology information using device according to an embodiment of the present invention;
图 5 ( c )是本发明实施例提供的网络拓朴信息使用设备的又一结构示意 图;  FIG. 5(c) is still another schematic structural diagram of a network topology information using device according to an embodiment of the present invention;
图 6 ( a )是本发明实施例提供的网络拓朴信息处理设备的结构示意图; 图 6 ( b )是本发明实施例提供的网络拓朴信息处理设备的另一结构示意 图;  Figure 6 (a) is a schematic structural diagram of a network topology information processing device according to an embodiment of the present invention; and Figure 6 (b) is another schematic structural diagram of a network topology information processing device according to an embodiment of the present invention;
图 6 ( c )是本发明实施例提供的网络拓朴信息处理设备的又一结构示意 图;  Figure 6 (c) is a schematic structural diagram of another network topology information processing device according to an embodiment of the present invention;
图 7是本发明实施例提供的通信系统的结构示意图。 具体实肺式  FIG. 7 is a schematic structural diagram of a communication system according to an embodiment of the present invention. Specific lung
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而 不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作 出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 本发明实施例提供一种直接隧道的控制方法、 装置和通信系统。 以下分 别进行详细说明。 实施例一、 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art do not make All other embodiments obtained under the premise of creative labor are within the scope of the invention. Embodiments of the present invention provide a direct tunnel control method, apparatus, and communication system. The details are described below separately. Embodiment 1
本实施例将从网络拓朴信息使用设备的角度进行描述, 该网络拓朴信息 使用设备具体可以为 SGSN。  This embodiment will be described from the perspective of the network topology information usage device. The network topology information usage device may be an SGSN.
如图 1所示, 本发明实施例提供了一种直接隧道的控制方法, 包括: As shown in FIG. 1 , an embodiment of the present invention provides a method for controlling a direct tunnel, including:
101、 获取网络拓朴信息; 该网络拓朴信息可以反应整个网络的组成情况 和连接状态; 101. Acquire network topology information; the network topology information can reflect the composition and connection status of the entire network;
其中, 获取网络拓朴信息可以采用以下任意一种方式:  The network topology information can be obtained in any of the following ways:
( 1 )接收操作支持系统( OSS, Operations Support System )发送的 RNC 与 GGSN之间的连接状态信息;  (1) receiving connection state information between the RNC and the GGSN sent by the Operation Support System (OSS);
当然, 在此之前还可以接收 OSS系统发送的关于需探测的 GGSN的网际协 议( IP, Internet Protocol )地址的请求, 然后根据接收到的请求返回需探测的 GGSN的 IP地址列表给 OSS系统, 以便 OSS系统根据该列表收集 RNC与 GGSN 之间的连接状态信息。  Certainly, before this, the OSS system may also receive a request for an Internet Protocol (IP) address of the GGSN to be detected, and then return a list of IP addresses of the GGSN to be detected to the OSS system according to the received request, so as to The OSS system collects connection state information between the RNC and the GGSN according to the list.
( 2 )向域名系统 ( DNS, Domain Name System ) 系统发送带有直接隧道 标识的域名解析请求, 接收 DNS系统通过查询域名记录后返回的域名对应的 GGSN的 IP地址结果; 需说明的是, 其中, 该直接隧道标识指的是表示需要建 立直接隧道的指示标识, 而并不是用来标识所建立的直接隧道;  (2) Sending a domain name resolution request with a direct tunnel identifier to the Domain Name System (DNS) system, and receiving the IP address result of the GGSN corresponding to the domain name returned by the DNS system after querying the domain name record; The direct tunnel identifier refers to an indication identifier indicating that a direct tunnel needs to be established, and is not used to identify the established direct tunnel;
当然, 在向 DNS系统发送带有直接隧道标识的域名解析请求之前还可以 包括:  Of course, before sending a domain name resolution request with a direct tunnel identifier to the DNS system, it may also include:
接收 OSS系统发送的关于需探测的 RNC的 IP地址的请求,然后根据接收到 的请求返回需探测的 RNC的 IP地址列表给 OSS系统, 以便 OSS系统根据该列表 收集 RNC与 GGSN之间的连接状态信息后, 更新 DNS系统中的域名记录。  Receiving a request sent by the OSS system about the IP address of the RNC to be detected, and then returning the IP address list of the RNC to be detected to the OSS system according to the received request, so that the OSS system collects the connection status between the RNC and the GGSN according to the list. After the information, update the domain name record in the DNS system.
( 3 )向 RNC发送无线网络资源分配请求, 其中, 该无线网络资源分配请 求中携带 GGSN的 IP地址, 此后, 接收 RNC根据 GGSN的 IP地址进行连接状态 判断后所返回的无线网络资源分配响应;  (3) transmitting a radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the GGSN, and thereafter, receiving the radio network resource allocation response returned by the RNC according to the IP address of the GGSN;
102、 根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常 时, 启用直接隧道; 例如, 针对步骤 101中的三种获取网络拓朴信息的方式, 对应的处理分别可以如下: 102. When it is determined that the connection state between the RNC and the GGSN is normal according to the obtained network topology information, enable the direct tunnel; for example, for the manner of obtaining the network topology information in the three steps in step 101, The corresponding processing can be as follows:
( 1 )若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则启用直接隧道;  (1) If the received connection state information indicates that the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled;
( 2 )若接收到的 IP地址结果不为空, 则根据该 IP地址结果启用直接隧道; ( 3 )若接收到表示成功的无线网络资源分配响应, 则启用直接隧道。 其中, 该方法还可以包括步骤 103; 如下:  (2) If the received IP address result is not empty, the direct tunnel is enabled according to the IP address result; (3) If a successful wireless network resource allocation response is received, the direct tunnel is enabled. The method may further include step 103; as follows:
103、 根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态异常 时, 建立到达 RNC的隧道和建立到达 GGSN的隧道; 例如, 针对步骤 101中的 三种获取网络拓朴信息的方式, 对应的处理分别可以如下:  103. Determine, according to the obtained network topology information, that the connection state between the RNC and the GGSN is abnormal, establish a tunnel that reaches the RNC, and establish a tunnel that reaches the GGSN. For example, how to obtain the network topology information for the three types in step 101. The corresponding processing can be as follows:
( 1 )若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常, 则建立到达 RNC的隧道和建立到达 GGSN的隧道。  (1) If the received connection state information indicates that the connection state between the RNC and the GGSN is abnormal, a tunnel to the RNC is established and a tunnel to the GGSN is established.
( 2 )若接收到的 IP地址结果为空, 则发送不带有直接隧道标识的域名解 析请求, 并接收 DNS系统返回的域名对应的 GGSN的 IP地址结果, 然后根据该 IP地址结果建立到达 RNC的隧道和建立到达 GGSN的隧道。  (2) If the received IP address result is empty, the domain name resolution request without the direct tunnel identifier is sent, and the IP address result of the GGSN corresponding to the domain name returned by the DNS system is received, and then the arrival RNC is established according to the IP address result. Tunnel and establish a tunnel to the GGSN.
( 3 )若接收到表示失败的无线网络资源分配响应, 则建立到达 RNC的隧 道和建立到达 GGSN的隧道。  (3) If a radio network resource allocation response indicating failure is received, a tunnel to the RNC is established and a tunnel to the GGSN is established.
当然, 为了节省个网络设备之间的信令流程, 在接收到表示失败的无线 网络资源分配响应之后还可以包括:  Of course, in order to save the signaling process between the network devices, after receiving the wireless network resource allocation response indicating the failure, the method may further include:
记录表示 RNC与 GGSN之间的连接状态异常的信息, 并启动定时器,在定 时器所预置的时间内, 不在该 RNC与 GGSN之间启动直接隧道。 当然, 为了释 放存储空间, 在定时器所预置的时间超时后, 还可以清除所记录的表示 RNC 与 GGSN之间的连接状态异常的信息。  A message indicating that the connection status between the RNC and the GGSN is abnormal is generated, and a timer is started, and a direct tunnel is not initiated between the RNC and the GGSN within a preset time of the timer. Of course, in order to release the storage space, after the time preset by the timer expires, the recorded information indicating the abnormal connection state between the RNC and the GGSN can also be cleared.
此外, 在定时器所预置的时间超时后, 还可以发送关于探测 GGSN的 IP地 址的请求给 RNC,并接收 RNC返回的探测结果,若探测结果表示 RNC与 GGSN 地址之间的连接状态正常, 则允许后续启用直接隧道; 若探测结果表示 RNC 与 GGSN地址之间的连接状态异常, 则继续启动该定时器。  In addition, after the time preset by the timer expires, the request for detecting the IP address of the GGSN may be sent to the RNC, and the detection result returned by the RNC is received. If the detection result indicates that the connection state between the RNC and the GGSN address is normal, Then, the direct tunnel is allowed to be enabled later; if the detection result indicates that the connection state between the RNC and the GGSN address is abnormal, the timer is continuously started.
由上可知, 本实施例采用获取网络拓朴信息, 然后根据网络拓朴信息来 决定是否启用直接隧道, 即, 确定 RNC与 GGSN之间的连接状态正常时, 则启 用直接隧道, 反之, 若确定 RNC与 GGSN之间的连接状态异常, 则建立普通的 两段隧道, 由于该方案将与建立直接隧道相关的因素, 比如将动态的网络拓 朴信息作为了启用直接隧道的条件, 因此相对于现有技术而言, 可以更灵活 有效地对是否启用直接隧道进行控制。 实施例二、 It can be seen that, in this embodiment, the network topology information is obtained, and then the direct tunnel is determined according to the network topology information, that is, when the connection state between the RNC and the GGSN is determined to be normal, the direct tunnel is enabled, and vice versa. If the connection status between the RNC and the GGSN is abnormal, a normal two-stage tunnel is established, because the solution will be related to the establishment of a direct tunnel, such as a dynamic network extension. The Pu information is used as a condition for enabling direct tunneling, so that it is possible to control whether or not the direct tunnel is enabled more flexibly and efficiently than the prior art. Embodiment 2
根据实施一所描述的方法, 以下将举例作详细说明。  The method described in the first embodiment will be exemplified in detail below.
本实施例中, 将 OSS系统作为网络拓朴信息处理设备的网络拓朴信息收集 单元和网络拓朴信息分发单元, 将 RNC作为网络拓朴信息处理设备的网络拓 朴信息执行单元, 将 SGSN作为网络拓朴信息使用设备。  In this embodiment, the OSS system is used as a network topology information collection unit and a network topology information distribution unit of the network topology information processing device, and the RNC is used as a network topology information execution unit of the network topology information processing device, and the SGSN is used as the SGSN. Network topology information uses devices.
参见图 2, 具体流程可以如下:  Referring to Figure 2, the specific process can be as follows:
201、 OSS系统发送关于需探测的 GGSN的 IP地址的请求给 SGSN。  201. The OSS system sends a request for the IP address of the GGSN to be probed to the SGSN.
需说明的是, 由于 OSS系统在一些场景下已经保存了 GGSN的 IP地址, 因此步骤 201为可选步骤。  It should be noted that, since the OSS system has already saved the IP address of the GGSN in some scenarios, step 201 is an optional step.
202、 SGSN接收到 OSS系统发送的关于需探测的 GGSN的 IP地址的请求 后, 根据接收到的请求向 OSS系统上报需要探测的 GGSN的 IP地址列表。  202. After receiving the request for the IP address of the GGSN to be detected by the OSS system, the SGSN reports the IP address list of the GGSN to be detected to the OSS system according to the received request.
当然, SGSN也可以采用定时上报 GGSN的 IP地址列表的方式, 因此步骤 202为可选步骤。  Of course, the SGSN can also use the manner of periodically reporting the IP address list of the GGSN, so step 202 is an optional step.
203、 OSS系统接收到 SGSN发送的需要探测的 GGSN的 IP地址列表后, 根据需要探测的 GGSN的 IP地址列表向 RNC请求探测 GGSN的 IP地址。 203. After receiving the IP address list of the GGSN to be detected sent by the SGSN, the OSS system requests the RNC to detect the IP address of the GGSN according to the IP address list of the GGSN to be detected.
当然, RNC也可以采用定时上报的方式, 向 OSS系统上报曾经与自己建立 过隧道的 GGSN的 IP地址的连接探测结果, 因此步骤 203为可选步骤。  Of course, the RNC can also report the connection detection result of the IP address of the GGSN that has established a tunnel with itself to the OSS system by using a timing report. Therefore, step 203 is an optional step.
204、 RNC向各个 GGSN的 IP地址发送 GTPvl消息, 比如应答请求( Echo Request )。  204. The RNC sends a GTPv1 message to the IP address of each GGSN, such as an Echo Request.
205、若 GGSN与 RNC之间的连接正常, 则 GGSN可以返回应答响应( Echo Response )给 RNC, 否则, 若 RNC未收到 GGSN返回的 Echo Response消息, 则 RNC确定该自身 (即 RNC )与 GGSN之间的连接异常。  205. If the connection between the GGSN and the RNC is normal, the GGSN may return an Echo Response to the RNC. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN, the RNC determines the self (ie, RNC) and the GGSN. The connection between the two is abnormal.
206、 RNC将自身(即 RNC )与各 GGSN的 IP地址之间的连接情况进行汇 总, 得到 GGSN的 IP地址的探测结果, 将该 GGSN的 IP地址的探测结果上 报给 OSS系统。 207、 OSS系统根据接收到的 GGSN的 IP地址的探测结果更新自身所保存 的 RNC与 GGSN之间的连接状态信息, 然后将更新后的 GGSN与 RNC之间 的连接状态信息发送给 SGSN。 206. The RNC summarizes the connection between the IP address of the GGSN and the GGSN, and obtains the detection result of the IP address of the GGSN, and reports the detection result of the IP address of the GGSN to the OSS system. 207. The OSS system updates the connection state information between the RNC and the GGSN saved by the GGSN according to the detection result of the received IP address of the GGSN, and then sends the connection state information between the updated GGSN and the RNC to the SGSN.
SGSN接收到这些 GGSN与 RNC之间的连接状态信息后, 当需要判断是否 为用户启用直接隧道时, 则可以根据这些连接状态信息进行判断, 如下: 若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则可以 为用户启用直接隧道。 若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常, 则不为 用户启用直接隧道, 而是建立普通的两段隧道, 即建立到达 RNC的隧道和建 立到达 GGSN的隧道。 由上可知, 本实施例的 SGSN采用接收 OSS系统发送的 RNC与 GGSN之 间的连接状态信息, 然后根据该连接状态信息来决定是否启用直接隧道, 即, 若该连接状态信息表示 RNC与 GGSN之间的连接状态正常时, 则启用直接隧 道, 反之, 若该连接状态信息表示 RNC与 GGSN之间的连接状态异常, 则建 立普通的两段隧道, 由于该方案将与建立直接隧道相关的因素, 即 RNC与 GGSN之间的连接状态作为了启用直接隧道的条件, 因此相对于现有技术而 言, 可以更灵活有效地对是否启用直接隧道进行控制。 实施例三、 After receiving the connection status information between the GGSN and the RNC, the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows: if the received connection status information indicates the RNC and the GGSN If the connection status is normal, you can enable direct tunneling for the user. If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the direct tunnel is not enabled for the user, but a normal two-stage tunnel is established, that is, a tunnel to the RNC is established and a tunnel to the GGSN is established. It can be seen that the SGSN in this embodiment receives the connection state information between the RNC and the GGSN sent by the OSS system, and then determines whether to enable the direct tunnel according to the connection state information, that is, if the connection state information indicates the RNC and the GGSN. When the connection status is normal, the direct tunnel is enabled. On the other hand, if the connection status information indicates that the connection status between the RNC and the GGSN is abnormal, an ordinary two-stage tunnel is established, because the solution will be related to the establishment of a direct tunnel. That is, the connection state between the RNC and the GGSN serves as a condition for enabling the direct tunnel, so that it is possible to control whether or not the direct tunnel is enabled more flexibly and efficiently than the prior art. Embodiment 3
与实施二相同的是, 本实施例中, 也将 OSS系统作为网络拓朴信息处理设 备的网络拓朴信息收集单元, 将 SGSN作为网络拓朴信息使用设备, 与实施 二不同的是, 在本实施例中, 将 GGSN作为网络拓朴信息处理设备的网络拓 朴信息执行单元, 将 DNS系统作为网络拓朴信息处理设备的网络拓朴信息分 发单元。 前提是, DNS系统内配置带有直接隧道标识的域名记录, 该域名中除了包 含直接隧道标识外, 还包括:  The same as the implementation of the second embodiment, in the embodiment, the OSS system is also used as the network topology information collection unit of the network topology information processing device, and the SGSN is used as the network topology information usage device, which is different from the implementation two. In the embodiment, the GGSN is used as a network topology information execution unit of the network topology information processing device, and the DNS system is used as a network topology information distribution unit of the network topology information processing device. The prerequisite is that the domain name record with the direct tunnel identifier is configured in the DNS system. In addition to the direct tunnel identifier, the domain name includes:
( 1 )接入点名称 ( APN, Access Point Name ), 用于标识 GGSN  (1) Access Point Name (APN, Access Point Name), used to identify GGSN
( 2 ) RNC 标识( ID, Identity )或路由区码( Routing Area Code ), 用于标 识 RNC 域名记录中记录了该域名对应的 GGSN的 IP地址, SGSN可以通过向 DNS 发送域名解析请求消息为用户选择 GGSN。 (2) RNC identifier (ID, Identity) or Routing Area Code, used to identify the RNC The IP address of the GGSN corresponding to the domain name is recorded in the domain name record. The SGSN can select the GGSN for the user by sending a domain name resolution request message to the DNS.
参见图 3, 具体流程可以如下:  Referring to Figure 3, the specific process can be as follows:
301、 OSS系统向 SGSN发送关于需探测的 RNC的 IP地址的请求。  301. The OSS system sends a request for the IP address of the RNC to be probed to the SGSN.
需说明的是, 由于 OSS系统在一些场景下已经保存了 RNC的 IP地址, 因 此该步骤, 即步骤 301为可选步骤。  It should be noted that since the OSS system has saved the IP address of the RNC in some scenarios, the step, step 301, is an optional step.
302 SGSN接收到 OSS系统发送的关于需探测的 RNC的 IP地址的请求后, 根据接收到的请求向 OSS系统上报需要探测的 RNC的 IP地址列表。  After receiving the request for the IP address of the RNC to be detected by the OSS system, the SGSN reports the IP address list of the RNC to be probed to the OSS system according to the received request.
当然, SGSN也可以采用定时上报 RNC的 IP地址列表的方式, 因此步骤 302为可选步骤。  Of course, the SGSN can also periodically report the RNC's IP address list, so step 302 is an optional step.
303、 OSS系统接收到 SGSN发送的需要探测的 RNC的 IP地址列表后, 根 据需要探测的 RNC的 IP地址列表向 GGSN请求探测 RNC的 IP地址。 303. After receiving the IP address list of the RNC that needs to be detected by the SGSN, the OSS system requests the GGSN to detect the IP address of the RNC according to the IP address list of the RNC to be detected.
当然, GGSN可以采用定时上报的方式, 向 OSS系统上报曾经与自己建立 过隧道的 RNC的 IP地址的连接探测结果, 因此步骤 303为可选步骤。  Of course, the GGSN can report the connection detection result of the IP address of the RNC that has established the tunnel with itself to the OSS system by using the timing report. Therefore, step 303 is an optional step.
304、 GGSN向各个 RNC的 IP地址发送 GTPvl消息, 比如 Echo Request 消息。  304. The GGSN sends a GTPv1 message, such as an Echo Request message, to the IP address of each RNC.
305、 若 GGSN与 RNC之间的连接正常, 则 RNC可以返回 Echo Response 消息。 否则, 若 GGSN未收到 RNC返回的 Echo Response消息, 贝' j GGSN确 定自身 (即 GGSN ) 与该 RNC之间的连接异常。  305. If the connection between the GGSN and the RNC is normal, the RNC may return an Echo Response message. Otherwise, if the GGSN does not receive the Echo Response message returned by the RNC, the shell 'j GGSN determines that the connection between itself (ie, GGSN) and the RNC is abnormal.
306、 GGSN将自身 (即 GGSN ) 与各个 RNC的 IP地址之间的连接情况进 行汇总,得到 GGSN与各个 RNC之间的连接状态信息,将 GGSN与各个 RNC 之间的连接状态信息作为探测结果上报给 OSS系统。  306. The GGSN aggregates the connection between the GGSN and the RNCs, and obtains the connection status information between the GGSN and each RNC, and reports the connection status information between the GGSN and each RNC as a detection result. Give the OSS system.
307、 OSS系统接收 GGSN上报的 GGSN与各个 RNC之间的连接状态信息 根据接收到的 GGSN与 RNC之间的连接状态信息更新 DNS系统上的域名记 录:  307. The OSS system receives the connection status information between the GGSN reported by the GGSN and each RNC, and updates the domain name record on the DNS system according to the connection status information between the received GGSN and the RNC:
( 1 )若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则保持域名记录不变。 ( 2 )若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常, 则清除对应域名记录中的 GGSN的 IP地址。 (1) If the received connection state information indicates that the connection state between the RNC and the GGSN is normal, the domain name record is kept unchanged. (2) If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the IP address of the GGSN in the corresponding domain name record is cleared.
308、 在用户会话建立过程中, 当 SGSN为用户选择 GGSN时, 向 DNS系 统发送带有直接隧道标识的域名解析请求, 该域名中除了包含直接隧道标识 外, 还包括: 308. In the process of establishing a user session, when the SGSN selects the GGSN for the user, the SGSN sends a domain name resolution request with a direct tunnel identifier to the DNS system. The domain name includes:
( 1 ) APN, 用于标识 GGSN (1) APN, used to identify GGSN
( 2 ) RNC ID或 Routing Area Code, 用于标识 RNC  (2) RNC ID or Routing Area Code, used to identify RNC
309、 DNS系统根据接收到的带有直接隧道标识的域名解析请求查询域名记 录, 然后返回与域名对应的 GGSN的 IP地址结果给 SGSN, 如下: 309. The DNS system queries the domain name record according to the received domain name resolution request with the direct tunnel identifier, and then returns the IP address result of the GGSN corresponding to the domain name to the SGSN, as follows:
( 1 )若 RNC与 GGSN之间的连接状态异常, 则 DNS系统返回的 IP地址 结果为空, 则此时可以执行步骤 310; (1) If the connection status between the RNC and the GGSN is abnormal, the IP address returned by the DNS system is null, then step 310 can be performed;
( 2 )若 RNC与 GGSN之间的连接状态正常, 则 DNS系统返回的 IP地址 结果不为空, 即返回与域名对应的 GGSN的 IP地址结果, SGSN在接收到该 不为空的 IP地址结果后, 才艮据该 IP地址结果建立直接隧道; (2) If the connection status between the RNC and the GGSN is normal, the IP address returned by the DNS system is not empty, that is, the IP address result of the GGSN corresponding to the domain name is returned, and the SGSN receives the IP address result that is not null. After that, a direct tunnel is established according to the result of the IP address;
310、 SGSN发送不带直接隧道标识的域名解析请求给 DNS系统。 310. The SGSN sends a domain name resolution request without a direct tunnel identifier to the DNS system.
311、 DNS系统接收到该不带直接隧道标识的域名解析请求后, 根据该不带 直接隧道标识的域名解析请求查询域名记录, 返回域名对应的 GGSN的 IP地 址结果给 SGSN; 311. After receiving the domain name resolution request without the direct tunnel identifier, the DNS system queries the domain name record according to the domain name resolution request without the direct tunnel identifier, and returns the IP address result of the GGSN corresponding to the domain name to the SGSN.
SGSN接收到 IP地址结果后, 不启用直接隧道, 而是为用户建立普通的两 段隧道, 即根据该 IP地址结果建立到达 RNC的隧道和建立到达 GGSN的隧 道。  After receiving the IP address result, the SGSN does not enable the direct tunnel, but establishes a common two-stage tunnel for the user, that is, establishes a tunnel to the RNC and establishes a tunnel to the GGSN according to the IP address result.
由上可知, 本实施例的 SGSN采用向 DNS系统发送带有直接隧道标识的域 名解析请求, 在接收 DNS系统返回的域名对应的 GGSN的 IP地址结果后, 然后 根据该 IP地址结果来决定是否启用直接隧道, 即, 若该 IP地址结果不为空, 则 表示 RNC与 GGSN之间的连接状态正常时, 可以启用直接隧道, 反之, 若该 IP 地址结果为空, 则表示 RNC与 GGSN之间的连接状态异常, 于是确定需要建立 普通的两段隧道, 由于该方案将与建立直接隧道相关的因素, 即 RNC与 GGSN 之间的连接状态作为了启用直接隧道的条件, 因此相对于现有技术而言, 可 以更灵活有效地对是否启用直接隧道进行控制。 实施例四、 It can be seen that the SGSN in this embodiment sends a domain name resolution request with a direct tunnel identifier to the DNS system, and after receiving the IP address result of the GGSN corresponding to the domain name returned by the DNS system, and then determining whether to enable the IP address result according to the result of the IP address. A direct tunnel, that is, if the IP address result is not empty, it indicates that the direct tunnel is enabled when the connection state between the RNC and the GGSN is normal. Otherwise, if the IP address result is empty, it indicates between the RNC and the GGSN. The connection status is abnormal, so it is determined that a common two-stage tunnel needs to be established. Since the solution will be related to the establishment of a direct tunnel, that is, the connection state between the RNC and the GGSN is a condition for enabling the direct tunnel, and thus compared with the prior art. Word, can For more flexible and effective control of whether direct tunneling is enabled. Embodiment 4
与实施二相同的是, 本实施例中, 也将 RNC作为网络拓朴信息处理设备的 网络拓朴信息执行单元, 与实施二和三不同的是, 在本实施例中, SGSN集成 了网络拓朴信息使用设备、 网络拓朴信息处理设备的网络拓朴信息收集单元 和网络拓朴信息分发单元的功能。 如图 4所示, 具体流程可以如下:  The same as the implementation of the second embodiment, in the embodiment, the RNC is also used as the network topology information execution unit of the network topology information processing device. Unlike the implementations 2 and 3, in this embodiment, the SGSN integrates the network extension. The function of the network information using the device, the network topology information collecting unit of the network topology information processing device, and the network topology information distributing unit. As shown in Figure 4, the specific process can be as follows:
401、 SGSN向 RNC发送无线网络资源分配请求, 其中, 该无线网络资源分 配请求中携带 GGSN的 IP地址。 需说明的是, 在向 RNC发送无线网络资源分配请求之前, SGSN与 GGSN 之间已经进行了通信, 只是此时 SGSN尚未确定是否建立直接隧道, 因此, SGSN可以获知 GGSN的 IP地址。  401. The SGSN sends a radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the GGSN. It should be noted that before the WLAN resource allocation request is sent to the RNC, the SGSN has communicated with the GGSN, but only the SGSN has not determined whether to establish a direct tunnel. Therefore, the SGSN can know the IP address of the GGSN.
402、 RNC接收到该无线网络资源分配请求后, 根据 GGSN的 IP地址进行 连接状态判断, 即进行 GTP路径探测, 例如, RNC向 GGSN的 IP地址所对 应的 GGSN发送 GTPvl消息, 比如 Echo Request消息。 402. After receiving the RRC resource allocation request, the RNC performs a connection state determination according to the IP address of the GGSN, that is, performs GTP path detection. For example, the RNC sends a GTPv1 message, such as an Echo Request message, to the GGSN corresponding to the IP address of the GGSN.
403、 如果 RNC与 GGSN IP地址之间的连接状态正常, 则 GGSN接收到 RNC发送的 Echo Request消息后, 将返回 Echo Response消息; 否则, 如果 RNC与 GGSN IP地址之间的连接状态异常, 则 GGSN无法接收到 RNC发送 的 Echo Request消息, 从而 GGSN也不会返回 Echo Response消息给 RNC, 所以, 如果 RNC没有接收到 GGSN返回 Echo Response消息, 则 RNC可以 确定自身 (即 RNC )与该 GGSN IP地址之间的连接中断。 当然, RNC上也可以预先对与自己连接的各个 GGSN进行路径探测, 并将 连接状态作为探测结果保存起来, 在接收到该无线网络资源分配请求后, 直 接根据该无线网络资源分配请求查询相应的探测结果记录, 而无需根据该无 线网络资源分配请求进行路径探测, 因此, 步骤 402和 403为可选步骤。 403. If the connection status between the RNC and the GGSN IP address is normal, the GGSN returns an Echo Response message after receiving the Echo Request message sent by the RNC; otherwise, if the connection status between the RNC and the GGSN IP address is abnormal, the GGSN The Echo Request message sent by the RNC cannot be received, so that the GGSN does not return the Echo Response message to the RNC. Therefore, if the RNC does not receive the Echo Response message from the GGSN, the RNC can determine itself (ie, RNC) and the GGSN IP address. The connection between the two is broken. Of course, the RNC can also perform path detection on each GGSN connected to itself, and save the connection status as a detection result. After receiving the wireless network resource allocation request, the RNC can directly query the corresponding according to the wireless network resource allocation request. The detection result is recorded without path detection based on the radio network resource allocation request, and therefore steps 402 and 403 are optional steps.
404、 如果 RNC确定自身 (即 RNC ) 与 GGSN的 IP地址之间的连接状态 正常, 则 RNC向 SGSN返回表示成功的无线网络资源分配响应, 在 SGSN接 收到该无线网络资源分配响应后, RNC与 GGSN之间的直接隧道建立成功, 流程结束。 否则, 如果 RNC确定自身 (即 RNC )与 GGSN的 IP地址之间的连接状态 异常, 则 RNC向 SGSN返回表示失败的无线网络资源分配响应消息, 指示 SGSN RNC与该 GGSN的 IP地址之间的路径不通, 可以执行步骤 405。 404. If the RNC determines that the connection state between the self (ie, the RNC) and the IP address of the GGSN is normal, the RNC returns a successful wireless network resource allocation response to the SGSN, and after the SGSN receives the wireless network resource allocation response, the RNC and the RNC The direct tunnel between the GGSNs is successfully established. The process ends. Otherwise, if the RNC determines that the connection status between itself (ie, RNC) and the IP address of the GGSN is abnormal, the RNC returns a failure indicating a radio network resource allocation response message to the SGSN, indicating a path between the SGSN RNC and the IP address of the GGSN. If not, step 405 can be performed.
405、 SGSN可以重新向 RNC发送无线网络资源分配请求, 其中, 该无线网 络资源分配请求中携带 SGSN的 IP地址。 405. The SGSN may resend the radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the SGSN.
406、 RNC接收到携带 SGSN的 IP地址的无线网络资源分配请求后, 根据 SGSN的 IP地址向 SGSN返回无线网络资源分配响应; SGSN接收到该无线 网络资源分配响应后, 建立 RNC与 SGSN之间, 以及 SGSN与 GGSN之间普 通的两段隧道。 此时, SGSN还可以记录表示该 RNC与 GGSN的 IP地址之间的连接状态 异常的信息, 并启动定时器,在定时器所预置的时间内, 不在该 RNC与 GGSN 之间启动直接隧道。 当然, 前提是, SGSN内部需要设置一个定时器。 当然, 为了释放存储空间, 在定时器所预置的时间超时后, SGSN还可以直 接清除所记录的表示 RNC与 GGSN之间的连接状态异常的信息。  406. After receiving the radio network resource allocation request that carries the IP address of the SGSN, the RNC returns a radio network resource allocation response to the SGSN according to the IP address of the SGSN. After receiving the radio network resource allocation response, the SGSN establishes between the RNC and the SGSN. And a common two-stage tunnel between the SGSN and the GGSN. At this time, the SGSN may also record information indicating that the connection status between the RNC and the GGSN is abnormal, and start a timer. The direct tunnel is not started between the RNC and the GGSN within a preset time of the timer. Of course, the premise is that a timer needs to be set inside the SGSN. Of course, in order to release the storage space, after the time preset by the timer expires, the SGSN can directly clear the recorded information indicating that the connection status between the RNC and the GGSN is abnormal.
407、 可选的, 在定时器所预置的时间超时后, SGSN也可以继续请求 RNC 探测 GGSN的 IP地址, 即 SGSN也可以发送关于探测 GGSN的 IP地址的请 求给 RNC。 407. Optionally, after the time preset by the timer expires, the SGSN may further request the RNC to detect the IP address of the GGSN, that is, the SGSN may also send a request for detecting the IP address of the GGSN to the RNC.
408、 RNC接收到该关于探测 GGSN的 IP地址的请求后, 根据 GGSN的 IP 地址进行 GTP路径探测, 例如, RNC向 GGSN的 IP地址对应的 GGSN发送 GTPvl消息, 比如 Echo Request消息。  408. After receiving the request for detecting the IP address of the GGSN, the RNC performs GTP path detection according to the IP address of the GGSN. For example, the RNC sends a GTPv1 message, such as an Echo Request message, to the GGSN corresponding to the IP address of the GGSN.
409、 如果 RNC与 GGSN IP地址之间的连接状态正常, 则 GGSN可以返回 Echo Response给 RNC; 否则, GGSN不返回的 Echo Response给 RNC; 所以, 若 RNC收到 GGSN返回的 Echo Response, 则 RNC确定自身 (即 RNC )与 GGSN IP地址之间的连接状态正常; 若 RNC未收到 GGSN返回的 Echo Response, 则 RNC确定自身 (即 RNC )与该 GGSN的 IP地址之间的连 接发生异常。 409. If the connection status between the RNC and the GGSN IP address is normal, the GGSN may return an Echo Response to the RNC; otherwise, the GGSN does not return an Echo Response to the RNC; therefore, if the RNC receives the Echo Response returned by the GGSN, the RNC determines The connection state between the self (ie, RNC) and the GGSN IP address is normal. If the RNC does not receive the Echo Response returned by the GGSN, the RNC determines that the connection between itself (ie, the RNC) and the IP address of the GGSN is abnormal.
4ia RNC将探测结果, 即 RNC与 GGSN之间的连接状态信息上报给 SGSN SGSN接收到这些 GGSN与 RNC之间的连接状态信息后, 当需要判断是否 为用户启用直接隧道时, 则可以根据这些连接状态信息进行判断, 如下: 接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则允许后 续启用直接隧道 即在后续的流程中,如果需要为用户启用直接隧道则 SGSN 可以为用户启用直接隧道。 The 4ia RNC reports the detection result, that is, the connection status information between the RNC and the GGSN to the SGSN. After receiving the connection status information between the GGSN and the RNC, the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows: The received connection status information indicates between the RNC and the GGSN. The connection status is normal, allowing subsequent direct tunnels to be enabled. In subsequent processes, the SGSN can enable direct tunneling for users if direct tunneling is required for the user.
接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常,则继续启 动该定时器, 即在后续的流程中, 如果需要确定是否为用户启用直接隧道时, SGSN不为用户启用直接隧道, 而是建立普通的两段隧道, 即则分别建立到达 RNC和 GGSN的两段隧道。  The received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, and the timer is continued to be started. In the subsequent process, if it is determined whether the direct tunnel is enabled for the user, the SGSN does not enable the direct tunnel for the user. Instead, two ordinary tunnels are established, that is, two tunnels arriving at the RNC and the GGSN are respectively established.
由上可知, 本实施例的 SGSN采用向 RNC发送携带 GGSN的 IP地址的无线 网络资源分配请求,然后接收 RNC根据 GGSN的 IP地址进行连接状态判断后所 返回的无线网络资源分配响应, 根据该无线网络资源分配响应来决定是否启 用直接隧道, 即, 接收到表示成功的无线网络资源分配响应, 则启用直接隧 道, 反之, 若接收到表示失败的无线网络资源分配响应, 则建立普通的两段 隧道, 由于该方案将与建立直接隧道相关的因素, 即 RNC与 GGSN之间的连接 状态作为了启用直接隧道的条件, 因此相对于现有技术而言, 可以更灵活有 效地对是否启用直接隧道进行控制。 实施例五、  It can be seen that the SGSN in this embodiment sends a radio network resource allocation request that carries the IP address of the GGSN to the RNC, and then receives the radio network resource allocation response returned by the RNC according to the IP address of the GGSN, according to the wireless network resource allocation response. The network resource allocation response determines whether to enable the direct tunnel, that is, if the wireless network resource allocation response indicating success is received, the direct tunnel is enabled, and if the wireless network resource allocation response indicating the failure is received, the ordinary two-stage tunnel is established. Since the solution will be related to the establishment of a direct tunnel, that is, the connection state between the RNC and the GGSN as a condition for enabling direct tunneling, it is possible to more flexibly and efficiently enable direct tunneling as compared with the prior art. control. Embodiment 5
为了更好地实施以上方法, 本发明实施例还相应地提供一种网络拓 ^卜信 息使用设备 500, 如图 5 ( a )、 图 5 ( b )和图 5 ( c )所示, 该网络拓朴信息使用 设备 500包括获取单元 501和第一处理单元 502;  In order to better implement the above method, the embodiment of the present invention further provides a network extension information using device 500, as shown in FIG. 5 (a), FIG. 5 (b) and FIG. 5 (c), the network The topology information using device 500 includes an obtaining unit 501 and a first processing unit 502;
获取单元 501, 用于获取网络拓朴信息;  The obtaining unit 501 is configured to acquire network topology information.
第一处理单元 502, 用于根据获取单元 501获取到的网络拓朴信息确定无 线网络控制器 RNC与网关通用分组无线业务支持节点 GGSN之间的连接状态 正常时, 启用直接隧道;  The first processing unit 502 is configured to determine, according to the network topology information acquired by the obtaining unit 501, that the connection state between the wireless network controller RNC and the gateway general packet radio service support node GGSN is normal, and enable the direct tunnel;
如图 5 ( a )、 图 5 ( b )和图 5 ( c )所示, 该网络拓朴信息使用设备 500还可 以包括第二处理单元 503;  As shown in FIG. 5 (a), FIG. 5 (b), and FIG. 5 (c), the network topology information using device 500 may further include a second processing unit 503;
第二处理单元 503, 用于根据获取单元 501获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态异常时, 建立到达 RNC的隧道和建立到达 GGSN 的隧道。 一般的, 该网络拓朴信息使用设备 500具体可以为 SGSN。 The second processing unit 503 is configured to determine, according to the network topology information acquired by the obtaining unit 501, that the connection state between the RNC and the GGSN is abnormal, establish a tunnel that reaches the RNC, and establish a tunnel that reaches the GGSN. Generally, the network topology information using device 500 may specifically be an SGSN.
( 1 )参见图 5 ( a ), 网络拓朴信息处理设备的网络拓朴信息收集单元和 网络拓朴信息分发单元具体可以为 OSS系统 A900, 网络拓朴信息处理设备的 网络拓朴信息执行单元具体可以为 RNC, 网络拓朴信息使用设备 500具体可以 为 SGSN, 则络拓朴信息使用设备 500中的各个单元具体可以如下:  (1) Referring to FIG. 5 (a), the network topology information collection unit and the network topology information distribution unit of the network topology information processing device may be specifically the OSS system A900, and the network topology information execution unit of the network topology information processing device. Specifically, it may be an RNC, and the network topology information using device 500 may specifically be an SGSN, and the respective units in the network topology information using device 500 may specifically be as follows:
需说明的是, 为了描述得更清楚, 图 5 ( a ) 中还给出了 OSS系统 A900。 获取单元 501, 具体可以用于接收 OSS系统 A900发送的 RNC与 GGSN之间 的连接状态信息;  It should be noted that, for the sake of clarity, the OSS system A900 is also shown in Figure 5 (a). The obtaining unit 501 is specifically configured to receive connection state information between the RNC and the GGSN sent by the OSS system A900.
第一处理单元 502, 具体可以用于确定获取单元 501接收到的连接状态信 息表示 RNC与 GGSN之间的连接状态正常时, 启用直接隧道;  The first processing unit 502 is specifically configured to determine that the connection status information received by the obtaining unit 501 indicates that the direct connection is enabled when the connection status between the RNC and the GGSN is normal.
第二处理单元 503, 具体可以用于确定获取单元 501接收到的连接状态信 息表示 RNC与 GGSN之间的连接状态异常时,建立到达 RNC的隧道和建立到达 GGSN的隧道。  The second processing unit 503 is specifically configured to determine that the connection status information received by the obtaining unit 501 indicates that the connection status between the RNC and the GGSN is abnormal, establish a tunnel to the RNC, and establish a tunnel to reach the GGSN.
此时, 如图 5 ( a )所示, 该网络拓朴信息使用设备 500还可以包括第一接 收单元 A504和第一发送单元 A505  At this time, as shown in FIG. 5(a), the network topology information using device 500 may further include a first receiving unit A504 and a first sending unit A505.
第一接收单元 A504, 用于接收 OSS系统 A900发送的关于需探测的 GGSN 的网际协议 IP地址的请求;  The first receiving unit A504 is configured to receive, by the OSS system A900, a request for an Internet Protocol IP address of the GGSN to be detected;
第一发送单元 A505, 用于根据第一接收单元 A504接收到的请求返回需探 测的 GGSN的 IP地址列表给 OSS系统 A900,以便 OSS系统 A900根据该列表收集 RNC与 GGSN之间的连接状态信息。  The first sending unit A505 is configured to return, according to the request received by the first receiving unit A504, the IP address list of the GGSN to be detected to the OSS system A900, so that the OSS system A900 collects connection state information between the RNC and the GGSN according to the list.
( 2 )参见图 5 ( b ), 网络拓朴信息处理设备的网络拓朴信息收集单元具 体可以为 0SS系统,网络拓朴信息处理设备的网络拓朴信息执行单元具体可以 为 GGSN, 网络拓朴信息处理设备的网络拓朴信息分发单元具体可以为 DNS 系统 B900, 网络拓朴信息使用设备 500具体可以为 SGSN, 则络拓朴信息使用 设备 500中的各个单元具体可以如下:  (2) Referring to FIG. 5 (b), the network topology information collection unit of the network topology information processing device may be an OSS system, and the network topology information execution unit of the network topology information processing device may be a GGSN, a network topology. The network topology information distribution unit of the information processing device may be specifically a DNS system B900, and the network topology information usage device 500 may be an SGSN. The specific units in the network topology information usage device 500 may be specifically as follows:
需说明的是, 为了描述得更清楚, 图 5 ( b ) 中还给出了 DNS系统 B900。 获取单元 501可以包括域名解析请求子单元 B5011和地址结果接收子单元 B5012;  It should be noted that for the sake of clarity, the DNS system B900 is also shown in Figure 5 (b). The obtaining unit 501 may include a domain name resolution request subunit B5011 and an address result receiving subunit B5012;
域名解析请求子单元 B5011,用于向 DNS系统 B900发送带有直接隧道标识 地址结果接收子单元 B5012,用于接收 DNS系统 B900根据域名解析请求子 单元 B5011接收到的域名解析请求通过查询域名记录后返回的域名对应的 GGSN的 IP地址结果; The domain name resolution request sub-unit B5011 is configured to send a direct tunnel identifier to the DNS system B900. The address result receiving sub-unit B5012 is configured to receive an IP address result of the GGSN corresponding to the domain name returned by the DNS system B900 according to the domain name resolution request received by the domain name resolution request sub-unit B5011 after querying the domain name record;
此时, 第一处理单元 502, 具体用于在地址结果接收子单元 B5012接收到 的 IP地址结果不为空时, 根据该 IP地址结果启用直接隧道;  At this time, the first processing unit 502 is specifically configured to enable a direct tunnel according to the IP address result when the IP address result received by the address result receiving subunit B5012 is not empty;
第二处理单元 503, 具体用于在地址结果接收子单元 B5012接收到的 IP地 址结果为空时, 发送不带有直接隧道标识的域名解析请求, 并接收 DNS系统 返回的域名对应的 GGSN的 IP地址结果, 然后根据该 IP地址结果建立到达 RNC 的隧道和建立到达 GGSN的隧道。  The second processing unit 503 is specifically configured to: when the IP address result received by the address result receiving subunit B5012 is null, send a domain name resolution request without a direct tunnel identifier, and receive an IP of the GGSN corresponding to the domain name returned by the DNS system. The result of the address is then established based on the result of the IP address to establish a tunnel to the RNC and establish a tunnel to the GGSN.
此时, 如图 5 ( b )所示, 该网络拓朴信息使用设备 500还可以包括第二接 收单元 B504和第二发送单元 B505;  At this time, as shown in FIG. 5(b), the network topology information using device 500 may further include a second receiving unit B504 and a second sending unit B505;
第二接收单元 B504, 用于接收 OSS系统发送的关于需探测的 RNC的 IP地 址的请求;  a second receiving unit B504, configured to receive, by the OSS system, a request for an IP address of the RNC to be detected;
第二发送单元 B505, 用于根据第二接收单元 B504接收到的请求返回需探 测的 RNC的 IP地址列表给 OSS系统, 以便 OSS系统根据该列表收集 RNC与 GGSN之间的连接状态信息后, 更新 DNS系统 B900中的域名记录。  The second sending unit B505 is configured to return, according to the request received by the second receiving unit B504, the IP address list of the RNC to be detected to the OSS system, so that the OSS system collects the connection status information between the RNC and the GGSN according to the list, and then updates Domain name record in DNS system B900.
( 3 )参见图 5 ( c ), 网络拓朴信息处理设备的网络拓朴信息执行单元具 体可以为 RNC, 而网络拓朴信息使用设备 500、 网络拓朴信息处理设备的网络 拓朴信息收集单元和网络拓朴信息分发单元则具体可以集成在 SGSN中, 此 时, 络拓朴信息使用设备 500中的各个单元具体可以如下:  (3) Referring to FIG. 5 (c), the network topology information execution unit of the network topology information processing device may specifically be an RNC, and the network topology information using device 500 and the network topology information collecting unit of the network topology information processing device And the network topology information distribution unit may be specifically integrated in the SGSN. In this case, each unit in the network topology information using device 500 may specifically be as follows:
获取单元 501可以包括资源分配请求子单元 C5011和分配响应接收子单元 C5012;  The obtaining unit 501 may include a resource allocation request subunit C5011 and an allocation response receiving subunit C5012;
资源分配请求子单元 C5011, 用于向 RNC发送无线网络资源分配请求, 其 中, 该无线网络资源分配请求中携带 GGSN的 IP地址;  a resource allocation request sub-unit C5011, configured to send a radio network resource allocation request to the RNC, where the radio network resource allocation request carries an IP address of the GGSN;
分配响应接收子单元 C5012, 用于接收 RNC根据资源分配请求子单元 C5011接收到的 GGSN的 IP地址进行连接状态判断后所返回的无线网络资源分 酉己口由 ;  The allocation response receiving subunit C5012 is configured to receive the wireless network resource returned by the RNC according to the IP address of the GGSN received by the resource allocation request subunit C5011.
此时, 第一处理单元 502, 具体用于在分配响应接收子单元 C5012接收到 表示成功的无线网络资源分配响应时, 启用直接隧道;  At this time, the first processing unit 502 is specifically configured to enable the direct tunnel when the allocation response receiving subunit C5012 receives the wireless network resource allocation response indicating success;
第二处理单元 503, 具体用于在分配响应接收子单元 C5012接收到表示失 败的无线网络资源分配响应时, 建立到达 RNC的隧道和建立到达 GGSN的隧 道。 The second processing unit 503 is specifically configured to receive the indication loss in the allocation response receiving subunit C5012. When the failed wireless network resource allocation response, a tunnel to the RNC is established and a tunnel to the GGSN is established.
为了节省系统中的信令流程, 如图 5 ( c )所示, 该络拓朴信息使用设备 500还可以包括第三处理单元 C504;  In order to save the signaling process in the system, as shown in FIG. 5(c), the network topology information using device 500 may further include a third processing unit C504;
第三处理单元 C504,用于在分配响应接收子单元 C5012接收到表示失败的 无线网络资源分配响应时, 记录 RNC与 GGSN之间的连接状态异常的信息, 并 启动定时器, 在定时器所预置的时间内, 不在该 RNC与 GGSN之间启动直接隧 道。 当然, 为了释放存储空间, 在定时器所预置的时间超时后, SGSN还可以 直接清除所记录的表示 RNC与 GGSN之间的连接状态异常的信息。  The third processing unit C504 is configured to: when the allocation response receiving subunit C5012 receives the wireless network resource allocation response indicating the failure, record the abnormal connection status between the RNC and the GGSN, and start a timer, which is preset by the timer. During the set time, no direct tunnel is initiated between the RNC and the GGSN. Of course, in order to release the storage space, after the time preset by the timer expires, the SGSN can also directly clear the recorded information indicating that the connection status between the RNC and the GGSN is abnormal.
进一步的, 该络拓朴信息使用设备 500还包括第四处理单元 C505;  Further, the network topology information using device 500 further includes a fourth processing unit C505;
第四处理单元 C505, 用于在第三处理单元 C504所启动的定时器所预置的 时间超时后,发送关于探测 GGSN的 IP地址的请求给 RNC; 接收 RNC返回的探 测结果; 若探测结果表示 RNC与 GGSN地址之间的连接状态正常, 则允许后续 启用直接隧道; 若探测结果表示 RNC与 GGSN地址之间的连接状态异常, 则继 续启动该定时器。  a fourth processing unit C505, configured to send a request for detecting an IP address of the GGSN to the RNC after the time preset by the timer started by the third processing unit C504 is timed out; receive the detection result returned by the RNC; if the detection result indicates If the connection status between the RNC and the GGSN address is normal, the direct tunnel is allowed to be enabled later. If the detection result indicates that the connection status between the RNC and the GGSN address is abnormal, the timer is continued.
以上各个单元的具体实施可参见前面的方法实施例, 在此不再赘述。 由上可知, 本实施例的网络拓朴信息使用设备 500的获取单元 501可以获 取网络拓朴信息, 然后根据网络拓朴信息来决定是否启用直接隧道, 即, 确 定 RNC与 GGSN之间的连接状态正常时,则由第一处理单元 502启用直接隧道, 反之, 若确定 RNC与 GGSN之间的连接状态异常, 则由第二处理单元 503建立 普通的两段隧道, 由于该方案将与建立直接隧道相关的因素, 比如将动态的 网络拓朴信息作为了启用直接隧道的条件, 因此相对于现有技术而言, 可以 更灵活有效地对是否启用直接隧道进行控制。 实施例六、  For the specific implementation of the above various units, refer to the foregoing method embodiments, and details are not described herein again. It can be seen that the obtaining unit 501 of the network topology information using device 500 of the present embodiment can obtain the network topology information, and then decide whether to enable the direct tunnel according to the network topology information, that is, determine the connection state between the RNC and the GGSN. Normally, the first processing unit 502 enables the direct tunnel. On the other hand, if it is determined that the connection state between the RNC and the GGSN is abnormal, the second processing unit 503 establishes a normal two-stage tunnel, because the scheme will establish a direct tunnel. Related factors, such as dynamic network topology information as a condition for enabling direct tunneling, can control the direct tunneling more flexibly and effectively than the prior art. Embodiment 6
相应地, 本发明实施例还提供一种网络拓朴信息处理设备, 如图 6 ( a )、 图 6 ( b )和图 6 ( b )所示, 该网络拓朴信息处理设备可以包括网络拓朴信息 执行单元 601、 网络拓朴信息收集单元 602和网络拓朴信息分发单元 603 ;  Correspondingly, the embodiment of the present invention further provides a network topology information processing device. As shown in FIG. 6( a ), FIG. 6 ( b ) and FIG. 6 ( b ), the network topology information processing device may include a network extension. a simple information execution unit 601, a network topology information collection unit 602, and a network topology information distribution unit 603;
网络拓朴信息执行单元 601, 用于进行网络拓朴信息的探测, 得到网络拓 朴信息探测结果, 上报网络拓朴信息探测结果给网络拓朴信息收集单元 602。  The network topology information execution unit 601 is configured to perform network topology information detection, obtain network topology information detection result, and report network topology information detection result to the network topology information collection unit 602.
网络拓朴信息收集单元 602, 用于接收网络拓朴信息执行单元 601上报的 网络拓朴信息探测结果, 根据接收到的网络拓朴信息探测结果更新网络拓朴 信息分发单元 603保存的网络拓朴信息; The network topology information collecting unit 602 is configured to receive the report reported by the network topology information execution unit 601. The network topology information detection result is updated, and the network topology information saved by the network topology information distribution unit 603 is updated according to the received network topology information detection result;
网络拓朴信息分发单元 603, 用于将更新后的网络拓朴信息提供给网络拓 朴信息使用设备。  The network topology information distribution unit 603 is configured to provide the updated network topology information to the network topology information using device.
( 1 ) 参见图 6 ( a ) , 网络拓朴信息执行单元 601具体为无线网络控制器 RNC, 此时, 网络拓朴信息执行单元 601可以包括第一探测子单元 A6011和第 一汇总子单元 A6013和第一上报子单元 A6013;  (1) Referring to FIG. 6 (a), the network topology information execution unit 601 is specifically a radio network controller RNC. At this time, the network topology information execution unit 601 may include a first probe subunit A6011 and a first summary subunit A6013. And the first reporting subunit A6013;
第一探测子单元 A6011, 用于分别发送应答请求给各个 GGSN, 若接收到 GGSN返回的应答响应, 则确定 RNC与该 GGSN之间的连接正常, 若未接收到 GGSN返回的应答响应, 则确定 RNC与该 GGSN之间的连接异常;  The first detecting sub-unit A6011 is configured to separately send a response request to each GGSN, and if receiving the response response returned by the GGSN, determine that the connection between the RNC and the GGSN is normal, and if the response response returned by the GGSN is not received, determine The connection between the RNC and the GGSN is abnormal.
第一汇总子单元 A6012, 用于根据第一探测子单元 A6011所确定的 RNC与 各个 GGSN之间的连接情况进行汇总, 得到 GGSN的 IP地址的探测结果;  The first summary sub-unit A6012 is configured to perform a summary according to the connection between the RNC and each GGSN determined by the first detecting sub-unit A6011, to obtain a detection result of the IP address of the GGSN;
第一上报子单元 A6013 , 用于上报第一汇总子单元 A6012得到的 GGSN的 IP地址的探测结果给网络拓朴信息收集单元 602。  The first reporting sub-unit A6013 is configured to report the detection result of the IP address of the GGSN obtained by the first summary sub-unit A6012 to the network topology information collecting unit 602.
此时, 网络拓朴信息收集单元 602可以包括第一接收子单元 A6021和第一 更新子单元 A6022;  At this time, the network topology information collecting unit 602 may include a first receiving subunit A6021 and a first updating subunit A6022;
第一接收子单元 A6021 , 用于接收网络拓朴信息执行单元 601, 比如第一 第一更新子单元 A6022, 用于根据第一接收子单元 A6021接收到的 GGSN 的 IP地址结果更新网络拓朴信息分发单元 603所保存的 RNC与 GGSN之间的连 接状态信息  The first receiving sub-unit A6021 is configured to receive the network topology information executing unit 601, for example, the first first update sub-unit A6022, configured to update the network topology information according to the IP address result of the GGSN received by the first receiving sub-unit A6021. Connection status information between the RNC and the GGSN held by the distribution unit 603
网络拓朴信息分发单元 603, 用于发送第一更新子单元 A6022更新后的 RNC与 GGSN之间的连接状态信息给网络拓朴信息使用设备。  The network topology information distribution unit 603 is configured to send connection state information between the updated RNC and the GGSN of the first update subunit A6022 to the network topology information using device.
( 2 )参见图 6 ( b ), 网络拓朴信息执行单元 601具体为 GGSN, 此时, 网 络拓朴信息执行单元 601可以包括第二探测子单元 B6011和第二汇总子单元 B6012和第二上报子单元 B6013;  (2) Referring to FIG. 6 (b), the network topology information execution unit 601 is specifically a GGSN. At this time, the network topology information execution unit 601 may include a second probe sub-unit B6011 and a second summary sub-unit B6012 and a second report. Subunit B6013;
第二探测子单元 B6011, 用于分别发送应答请求给各个 RNC, 若接收到 RNC返回的应答响应, 则确定 GGSN与该 RNC之间的连接正常, 若未接收到 RNC返回的应答响应, 则确定 GGSN与该 RNC之间的连接异常;  The second detecting sub-unit B6011 is configured to separately send a response request to each RNC, and if receiving the response response returned by the RNC, determine that the connection between the GGSN and the RNC is normal, and if the response response returned by the RNC is not received, determine The connection between the GGSN and the RNC is abnormal;
第二汇总子单元 B6012, 用于根据第二探测子单元 B6011所确定的 GGSN 与各个 RNC之间的连接情况进行汇总,得到 GGSN与各个 RNC之间的连接状态 信息; a second summary sub-unit B6012, configured to determine the GGSN according to the second detection sub-unit B6011 The connection status with each RNC is summarized, and the connection status information between the GGSN and each RNC is obtained;
第二上报子单元 B6013, 具体用于上报第二汇总子单元 B6012得到的 GGSN与各个 RNC之间的连接状态信息给网络拓朴信息收集单元 602。  The second reporting sub-unit B6013 is specifically configured to report the connection status information between the GGSN obtained by the second summary sub-unit B6012 and each RNC to the network topology information collecting unit 602.
此时, 网络拓朴信息收集单元 602可以包括第二接收子单元 B6021和第二 更新子单元 B6022;  At this time, the network topology information collecting unit 602 may include a second receiving subunit B6021 and a second updating subunit B6022;
第二接收子单元 B6021, 用于接收网络拓朴信息执行单元 601, 具体可以 第二更新子单元 B6022, 用于根据第二接收子单元 B6021接收到的 GGSN 与各个 RNC之间的连接状态信息更新网络拓朴信息分发单元 603保存的域名 记录;  The second receiving sub-unit B6021 is configured to receive the network topology information executing unit 601, and specifically, the second update sub-unit B6022, configured to update the connection status information between the GGSN and each RNC received by the second receiving sub-unit B6021. The domain name record held by the network topology information distribution unit 603;
网络拓朴信息分发单元 603, 用于在接收到网络拓朴信息使用设备发送的 带有直接隧道标识的域名解析请求时, 根据更新的域名记录发送域名对应的 GGSN的 IP地址结果给网络拓朴信息使用设备。  The network topology information distribution unit 603 is configured to: when receiving the domain name resolution request with the direct tunnel identifier sent by the network topology information using device, send the IP address result of the GGSN corresponding to the domain name to the network topology according to the updated domain name record Information is used by the device.
( 3 )参见图 6 ( c ), 网络拓朴信息执行单元 601具体可以为 RNC, 而网络 拓朴信息收单元 602和网络拓朴信息分发单元 603则可以集成在网络拓朴信息 使用设备 500中, 则此时, 网络拓朴信息执行单元 601可以包括接收子单元 C6011 , 第三探测子单元 C6012和第三上报子单元 C6013;  (3) Referring to FIG. 6 (c), the network topology information execution unit 601 may specifically be an RNC, and the network topology information receiving unit 602 and the network topology information distribution unit 603 may be integrated into the network topology information using device 500. In this case, the network topology information execution unit 601 may include a receiving subunit C6011, a third detecting subunit C6012, and a third reporting subunit C6013;
接收子单元 C6011,用于接收网络拓朴信息使用设备发送的无线网络资源 分配请求, 其中, 该无线网络资源分配请求中携带 GGSN的 IP地址;  The receiving sub-unit C6011 is configured to receive a radio network resource allocation request sent by the network topology information using the device, where the radio network resource allocation request carries the IP address of the GGSN;
第三探测子单元 C6012, 用于根据接收子单元 C6011接收到的 GGSN的 IP 地址发送应答请求给 GGSN, 若接收到 GGSN返回的应答响应, 则确定 RNC与 GGSN之间的连接正常, 若未接收到 GGSN返回的应答响应, 则确定 RNC与 GGSN之间的连接异常;  The third detecting sub-unit C6012 is configured to send a response request to the GGSN according to the IP address of the GGSN received by the receiving sub-unit C6011. If the response response returned by the GGSN is received, it is determined that the connection between the RNC and the GGSN is normal, if not received. Responding to the response returned by the GGSN, determining that the connection between the RNC and the GGSN is abnormal;
第三上报子单元 C6013, 具体用于在第三探测子单元 C6012确定 RNC与 GGSN之间的连接正常时,向网络拓朴信息使用设备返回表示成功的无线网络 资源分配响应; 在第三探测子单元确定 C6012RNC与 GGSN之间的连接异常 时, 向网络拓朴信息使用设备返回表示失败的无线网络资源分配响应。  The third reporting sub-unit C6013 is specifically configured to: when the third detecting sub-unit C6012 determines that the connection between the RNC and the GGSN is normal, return a successful wireless network resource allocation response to the network topology information using device; When the unit determines that the connection between the C6012 RNC and the GGSN is abnormal, the unit returns a failure indicating the wireless network resource allocation response to the network topology information using device.
以上各个单元的具体实施可参见前面的实施例, 在此不再赘述。  For the specific implementation of the above various units, refer to the foregoing embodiments, and details are not described herein again.
由上可知, 本实施例的网络拓朴信息处理设备的网络拓朴信息执行单元 601可以进行网络拓朴信息的探测, 然后将网络拓朴信息探测结果上报给网络 拓朴信息收集单元 602, 由网络拓朴信息收集单元 602对网络拓朴信息分发单 元 603所保存的网络拓朴信息进行更新, 在网络拓朴信息使用设备需要进行是 否启用直接隧道的判断时, 由网络拓朴信息分发单元 603将网络拓朴信息发送 给网络拓朴信息使用设备, 以便网络拓朴信息使用设备根据该网络拓朴信息 来决定是否启用直接隧道, 由于该方案将与建立直接隧道相关的因素, 比如 将动态的网络拓朴信息作为了启用直接隧道的条件, 因此相对于现有技术而 言, 可以更灵活有效地对是否启用直接隧道进行控制。 实施例七、 It can be seen from the above that the network topology information execution unit of the network topology information processing device of this embodiment The 601 can detect the network topology information, and report the network topology information detection result to the network topology information collection unit 602. The network topology information collection unit 602 saves the network topology saved by the network topology information distribution unit 603. The information is updated, and when the network topology information usage device needs to determine whether to enable the direct tunnel, the network topology information distribution unit 603 sends the network topology information to the network topology information using device, so that the network topology information using device Determining whether to enable the direct tunnel according to the network topology information. Since the solution will be related to establishing a direct tunnel, for example, the dynamic network topology information is used as a condition for enabling direct tunneling, therefore, compared with the prior art, It is more flexible and efficient to control whether direct tunneling is enabled. Example VII.
相应的, 本发明实施例还提供一种通信系统, 如图 7所示, 该通信系统包 括网络拓朴信息使用设备 500和网络拓朴信息处理设备 600;  Correspondingly, the embodiment of the present invention further provides a communication system. As shown in FIG. 7, the communication system includes a network topology information using device 500 and a network topology information processing device 600;
网络拓朴信息使用设备 500, 用于从网络拓朴信息处理设备 600上获取网 络拓朴信息,根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正 常时, 启用直接隧道;  The network topology information using device 500 is configured to obtain the network topology information from the network topology information processing device 600, and determine that the connection state between the RNC and the GGSN is normal according to the obtained network topology information, and enable the direct tunnel;
网络拓朴信息处理设备 600, 用于收集网络拓朴信息, 并发送网络拓朴信 息给网络拓朴信息使用设备 500。  The network topology information processing device 600 is configured to collect network topology information, and send network topology information to the network topology information using device 500.
在本发明的另外一个实施例中,  In another embodiment of the invention,
网络拓朴信息使用设备 500, 还用于根据获取到的网络拓朴信息确定 RNC 与 GGSN之间的连接状态异常时, 建立到达 RNC的隧道和建立到达 GGSN的隧 道。  The network topology information using device 500 is further configured to determine, when the connection state between the RNC and the GGSN is abnormal according to the obtained network topology information, establish a tunnel to the RNC and establish a tunnel to reach the GGSN.
其中, 网络拓朴信息使用设备 500可以为本发明实施例提供的任意一种网 络拓朴信息使用设备, 网络拓朴信息处理设备 600可以为本发明实施例提供的 任意一种网络拓朴信息处理设备, 具体可参见前面实施例, 在此不再赘述。  The network topology information using device 500 may be any network topology information using device provided by the embodiment of the present invention. The network topology information processing device 600 may be any network topology information processing provided by the embodiment of the present invention. For details, refer to the previous embodiment, and details are not described herein again.
以下将举例对该通信系统的执行流程进行简略说明。  The execution flow of the communication system will be briefly described below by way of example.
(一)例子 1  (1) Example 1
假设将 OSS系统作为网络拓朴信息处理设备 600的网络拓朴信息收集单元 和网络拓朴信息分发单元, 将 RNC作为网络拓朴信息处理设备 600的网络拓 朴信息执行单元将 SGSN作为网络拓朴信息使用设备 50(¾则流程可以如下: 步骤 Al、 OSS系统发送关于需探测的 GGSN的 IP地址的请求给 SGSN。 步骤 A2、 SGSN根据接收到的请求向 OSS系统上报需要探测的 GGSN的 IP地址列表。 步骤 A3、 OSS系统根据需要探测的 GGSN的 IP地址列表向 RNC请求探测 GGSN的 IP地址。 It is assumed that the OSS system is used as the network topology information collection unit and the network topology information distribution unit of the network topology information processing device 600, and the RNC is used as the network topology information execution unit of the network topology information processing device 600 as the network topology. The information using device 50 (3⁄4) may be as follows: Step A1, the OSS system sends a request for the IP address of the GGSN to be probed to the SGSN. Step A2: The SGSN reports the IP address list of the GGSN to be probed to the OSS system according to the received request. Step A3: The OSS system requests the RNC to detect the IP address of the GGSN according to the IP address list of the GGSN that needs to be detected.
步骤 A4 RNC向各个 GGSN的 IP地址发送 GTPvl消 比如 Echo Request 步骤 A5、 若 GGSN与 RNC之间的连接正常, 则 GGSN可以返回 Echo Response给 RNC, 否则, 若 RNC未收到 GGSN返回的 Echo Response消息, 则 RNC确定该自身 (即 RNC )与 GGSN之间的连接异常。  Step A4: The RNC sends a GTPv1 to the IP address of each GGSN. For example, Echo Request Step A5. If the connection between the GGSN and the RNC is normal, the GGSN may return an Echo Response to the RNC. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN. Then, the RNC determines that the connection between the self (ie, RNC) and the GGSN is abnormal.
步骤 A6、 RNC将自身(即 RNC )与各 GGSN的 IP地址之间的连接情况进 行汇总, 并上报给 OSS系统以更新 OSS系统所保存的 RNC与 GGSN之间的 连接状态信息。  Step A6: The RNC summarizes the connection between itself (ie, RNC) and the IP address of each GGSN, and reports it to the OSS system to update the connection status information between the RNC and the GGSN saved by the OSS system.
步骤 A7、 OSS系统将更新后的 GGSN与 RNC之间的连接状态信息发送给 SGSN。  Step A7: The OSS system sends the connection status information between the updated GGSN and the RNC to the SGSN.
当 SGSN需要判断是否为用户启用直接隧道时, 则可以根据这些连接状态 信息进行判断, 如下:  When the SGSN needs to determine whether to enable direct tunneling for the user, it can judge based on these connection status information, as follows:
若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则可以 为用户启用直接隧道。 若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常,则不为 用户启用直接隧道, 而是建立到达 RNC的隧道和建立到达 GGSN的隧道。  If the received connection status information indicates that the connection status between the RNC and the GGSN is normal, the direct tunnel can be enabled for the user. If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the direct tunnel is not enabled for the user, but the tunnel to the RNC is established and the tunnel to the GGSN is established.
(二)例子 2  (2) Example 2
假设将 OSS系统作为网络拓朴信息处理设备 600的网络拓朴信息收集单 元, 将 GGSN作为网络拓朴信息处理设备 600的网络拓朴信息执行单元, 将 DNS系统作为网络拓朴信息处理设备 600的网络拓朴信息分发单元将 SGSN 作为网络拓朴信息使用设备 500, 另外, DNS系统内配置带有直接隧道标识 的域名记录, 该域名中除了包含直接隧道标识外, 还包括 APN和 RNC ID或 Routing Area Code; 则具体流程可以如下:  It is assumed that the OSS system is used as the network topology information collection unit of the network topology information processing device 600, and the GGSN is used as the network topology information execution unit of the network topology information processing device 600, and the DNS system is used as the network topology information processing device 600. The network topology information distribution unit uses the SGSN as the network topology information using device 500. In addition, the DNS system is configured with a domain name record with a direct tunnel identifier. In addition to the direct tunnel identifier, the domain name includes the APN and the RNC ID or Routing. Area Code; The specific process can be as follows:
步骤 Bl、 OSS系统向 SGSN发送关于需探测的 RNC的 IP地址的请求。 步骤 B2、 SGSN根据接收到的请求向 OSS系统上报需要探测的 RNC的 IP 地址列表。 步骤 B3、 OSS系统根据需要探测的 RNC的 IP地址列表向 GGSN请求探测 RNC的 IP地址。 步骤 B4 GGSN向各个 RNC的 IP地址发送 GTPvl消息 比如 Echo Request 消息。 步骤 若 GGSN与 RNC之间的连接正常,则 RNC可以返回 Echo Response 消息。 否则, 若 GGSN未收到 RNC返回的 Echo Response消息, 贝' j GGSN确 定自身 (即 GGSN ) 与该 RNC之间的连接异常。 步骤 B6、 GGSN将自身 (即 GGSN )与各个 RNC的 IP地址之间的连接状 态进行汇总, 并上报给 OSS系统。 步骤 B7、 OSS系统根据接收到的 GGSN与 RNC之间的连接状态信息更新 DNS系统上的域名记录, 如下: 若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则保持 域名记录不变。 若接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常, 则清除 对应域名记录中的 GGSN的 IP地址。 步骤 B8、 在用户会话建立过程中, 当 SGSN为用户选择 GGSN时, 向 DNS 系统发送带有直接隧道标识的域名解析请求; 步骤 B9、 DNS系统根据接收到的带有直接隧道标识的域名解析请求查询域 名记录, 然后返回与域名对应的 GGSN的 IP地址结果给 SGSN, 如下: 若 RNC与 GGSN之间的连接状态异常, 则 DNS系统返回的 IP地址结果为 空, 可以执行步骤 B 10; 若 RNC与 GGSN之间的连接状态正常, 则 DNS系统返回的 IP地址结果不 为空, 即返回与域名对应的 GGSN的 IP地址结果, SGSN根据该 IP地址结果 建立直接隧道; 步骤 B10、 SGSN发送不带直接隧道标识的域名解析请求给 DNS系统。 步骤 Bll、 DNS系统根据该不带直接隧道标识的域名解析请求查询域名记 录, 返回域名对应的 GGSN的 IP地址结果给 SGSN; Step B1: The OSS system sends a request for the IP address of the RNC to be probed to the SGSN. Step B2: The SGSN reports the IP address of the RNC to be probed to the OSS system according to the received request. A list of addresses. Step B3: The OSS system requests the GGSN to detect the IP address of the RNC according to the IP address list of the RNC that needs to be detected. Step B4 The GGSN sends a GTPv1 message, such as an Echo Request message, to the IP address of each RNC. Step If the connection between the GGSN and the RNC is normal, the RNC may return an Echo Response message. Otherwise, if the GGSN does not receive the Echo Response message returned by the RNC, the B' GGSN determines that the connection between itself (ie, GGSN) and the RNC is abnormal. Step B6: The GGSN aggregates the connection status between itself (ie, GGSN) and the IP address of each RNC, and reports it to the OSS system. Step B7: The OSS system updates the domain name record on the DNS system according to the received connection status information between the GGSN and the RNC, as follows: If the received connection status information indicates that the connection status between the RNC and the GGSN is normal, the domain name record is maintained. constant. If the received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, the IP address of the GGSN in the corresponding domain name record is cleared. In step B8, when the SGSN selects the GGSN for the user, the SGSN sends a domain name resolution request with a direct tunnel identifier to the DNS system. Step B9: The DNS system receives the domain name resolution request with the direct tunnel identifier. Query the domain name record, and then return the IP address result of the GGSN corresponding to the domain name to the SGSN, as follows: If the connection status between the RNC and the GGSN is abnormal, the IP address returned by the DNS system is null, and step B 10 can be performed; If the connection status with the GGSN is normal, the IP address returned by the DNS system is not empty, that is, the IP address result of the GGSN corresponding to the domain name is returned, and the SGSN establishes a direct tunnel according to the IP address result; Step B10, SGSN sends without The domain name resolution request of the direct tunnel identifier is given to the DNS system. Step B11: The DNS system queries the domain name according to the domain name resolution request without the direct tunnel identifier. Record, return the IP address result of the GGSN corresponding to the domain name to the SGSN;
SGSN接收到 IP地址结果后, 不启用直接隧道, 而是根据该 IP地址结果建 立到达 RNC的隧道和建立到达 GGSN的隧道。 After receiving the IP address result, the SGSN does not enable the direct tunnel, but establishes a tunnel to the RNC and establishes a tunnel to the GGSN based on the IP address result.
(三)例子 3  (3) Example 3
假设将 RNC作为网络拓朴信息处理设备 600的网络拓朴信息执行单元, 将 SGSN作为网络拓朴信息使用设备 500、 网络拓朴信息处理设备 600的网络拓 朴信息收集单元和网络拓朴信息分发单元, 则具体流程可以如下:  It is assumed that the RNC is used as the network topology information execution unit of the network topology information processing device 600, and the SGSN is used as the network topology information using device 500, the network topology information collecting unit of the network topology information processing device 600, and the network topology information distribution. Unit, the specific process can be as follows:
步骤 Cl、 SGSN向 RNC发送无线网络资源分配请求, 其中, 该无线网络资 源分配请求中携带 GGSN的 IP地址。 步骤 C2、 RNC向 GGSN的 IP地址所对应的 GGSN发送 GTPvl消息, 比 如 Echo Request消息。 步骤 C3、 如果 RNC与 GGSN IP地址之间的连接状态正常, 则 GGSN将返 回 Echo Response消息给 RNC; 否则, 如果 RNC与 GGSN IP地址之间的连接 状态异常, 则 GGSN不会返回 Echo Response消息给 RNC。  Steps: The SGSN sends a radio network resource allocation request to the RNC, where the radio network resource allocation request carries the IP address of the GGSN. Step C2: The RNC sends a GTPv1 message to the GGSN corresponding to the IP address of the GGSN, such as an Echo Request message. Step C3: If the connection status between the RNC and the GGSN IP address is normal, the GGSN will return an Echo Response message to the RNC; otherwise, if the connection status between the RNC and the GGSN IP address is abnormal, the GGSN does not return an Echo Response message to RNC.
步骤 C4、 如果 RNC接收到 GGSN返回的 Echo Response消息, 则向 SGSN 返回表示成功的无线网络资源分配响应, 在 SGSN接收到该无线网络资源分 配响应后, RNC与 GGSN之间的直接隧道建立成功, 流程结束。 否则, 如果 RNC未接收到 GGSN返回的 Echo Response消息, 则 RNC向 SGSN返回表示失败的无线网络资源分配响应消息, 指示 SGSN RNC与该 GGSN的 IP地址之间的路径不通, 此时可以执行步骤 C5。 步骤 C5、 SGSN可以重新向 RNC发送无线网络资源分配请求, 其中, 该无 线网络资源分配请求中携带 SGSN的 IP地址。  Step C4: If the RNC receives the Echo Response message returned by the GGSN, the RNC returns a successful wireless network resource allocation response to the SGSN. After the SGSN receives the wireless network resource allocation response, the direct tunnel between the RNC and the GGSN is successfully established. The process ends. Otherwise, if the RNC does not receive the Echo Response message returned by the GGSN, the RNC returns a failed wireless network resource allocation response message to the SGSN, indicating that the path between the SGSN RNC and the IP address of the GGSN is unreachable, and step C5 may be performed. . Step C5: The SGSN may resend the wireless network resource allocation request to the RNC, where the wireless network resource allocation request carries the IP address of the SGSN.
步骤 RNC根据 SGSN的 IP地址向 SGSN返回无线网络资源分配响应; SGSN接收到该无线网络资源分配响应后, 建立 RNC与 SGSN之间, 以及 SGSN与 GGSN之间普通的两段隧道。 此时, SGSN还可以记录表示该 RNC与 GGSN的 IP地址之间的连接状态 异常的信息, 并启动定时器,在定时器所预置的时间内, 不在该 RNC与 GGSN 之间启动直接隧道。 当然, 前提是, SGSN内部需要设置一个定时器。 当然, 为了释放存储空间, 在定时器所预置的时间超时后, SGSN还可以直 接清除所记录的表示 RNC与 GGSN之间的连接状态异常的信息。 步骤 C7、 可选的, 在定时器所预置的时间超时后, SGSN也可以继续请求 RNC探测 GGSN的 IP地址。 步骤 C8、 RNC向 GGSN的 IP地址对应的 GGSN发送 Echo Request消息。 步骤 C9、 若 RNC收到 GGSN返回的 Echo Response, 则 RNC确定自身与 GGSN IP地址之间的连接状态正常; 若 RNC未收到 GGSN返回的 Echo Response, 则 RNC确定自身与该 GGSN的 IP地址之间的连接发生异常。 步骤 Cia RNC将自身与 GGSN IP地址之间的连接状态信息上报给 SGSN The RNC returns a radio network resource allocation response to the SGSN according to the IP address of the SGSN. After receiving the radio network resource allocation response, the SGSN establishes a common two-stage tunnel between the RNC and the SGSN and between the SGSN and the GGSN. At this time, the SGSN may also record information indicating that the connection state between the RNC and the GGSN is abnormal, and start a timer. The direct tunnel is not started between the RNC and the GGSN within a preset time of the timer. Of course, the premise is that a timer needs to be set inside the SGSN. Of course, in order to release the storage space, after the time preset by the timer expires, the SGSN may also directly clear the recorded information indicating that the connection status between the RNC and the GGSN is abnormal. Step C7. Optionally, after the time preset by the timer expires, the SGSN may further request the RNC to detect the IP address of the GGSN. Step C8: The RNC sends an Echo Request message to the GGSN corresponding to the IP address of the GGSN. Step C9: If the RNC receives the Echo Response returned by the GGSN, the RNC determines that the connection state between the GGSN and the GGSN is normal. If the RNC does not receive the Echo Response returned by the GGSN, the RNC determines the IP address of the GGSN. An abnormal connection occurred between the connections. Step Cia RNC reports the connection status information between itself and the GGSN IP address to the SGSN.
SGSN接收到这些 GGSN与 RNC之间的连接状态信息后, 当需要判断是否 为用户启用直接隧道时, 则可以根据这些连接状态信息进行判断, 如下: 接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常, 则表示当 需要判断是否为用户启用直接隧道时, SGSN可以为用户启用直接隧道。 接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常,则继续启 用定时器, 表示当需要判断是否为用户启用直接隧道时, SGSN不为用户启用 直接隧道, 而是建立到达 RNC的隧道和建立到达 GGSN的隧道。 After receiving the connection status information between the GGSN and the RNC, the SGSN may determine whether the direct tunnel is enabled for the user, and may determine according to the connection status information, as follows: The received connection status information indicates between the RNC and the GGSN. If the connection status is normal, it means that when it is necessary to determine whether the direct tunnel is enabled for the user, the SGSN can enable direct tunneling for the user. The received connection status information indicates that the connection status between the RNC and the GGSN is abnormal, and the timer is continuously enabled, indicating that when it is required to determine whether the direct tunnel is enabled for the user, the SGSN does not enable the direct tunnel for the user, but establishes a tunnel to the RNC. And establish a tunnel to the GGSN.
由上可知, 本实施例的通信系统的网络拓朴信息处理设备 600可以收集动 态的网络拓朴信息, 在网络拓朴信息使用设备 500需要判断是否启用直接隧道 时时提供给网络拓朴信息使用设备 500, 使得网络拓朴信息使用设备 500可以 根据这些网络拓朴信息来决定是否启用直接隧道, 即,确定 RNC与 GGSN之间 的连接状态正常时, 则启用直接隧道, 反之, 若确定 RNC与 GGSN之间的连接 状态异常, 则建立普通的两段隧道, 由于该方案将与建立直接隧道相关的因 素, 比如将动态的网络拓朴信息作为了启用直接隧道的条件, 因此相对于现 有技术而言, 可以更灵活有效地对是否启用直接隧道进行控制。 本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成, 该程序可以存储于一计算机可 读存储介质中,存储介质可以包括: 只读存储器( ROM, Read Only Memory )、 随机存取记忆体 ( RAM, Random Access Memory )、 磁盘或光盘等。  It can be seen that the network topology information processing device 600 of the communication system of the present embodiment can collect dynamic network topology information, and the network topology information using device 500 needs to determine whether to enable the direct tunnel when the network is used. 500, the network topology information using device 500 can determine whether to enable the direct tunnel according to the network topology information, that is, when determining that the connection state between the RNC and the GGSN is normal, the direct tunnel is enabled, and if not, the RNC and the GGSN are determined. If the connection status is abnormal, a normal two-segment tunnel is established. Since the solution will be related to the establishment of a direct tunnel, such as dynamic network topology information as a condition for enabling direct tunneling, it is relative to the prior art. In other words, it is more flexible and effective to control whether or not direct tunneling is enabled. A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
以上对本发明实施例所提供的一种直接隧道的控制方法、 装置和通信系统进 行了详细介绍, The method, device and communication system for controlling a direct tunnel provided by an embodiment of the present invention are Detailed introduction,
述, 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据本发明的思想, 在具体实施方式及应用范 围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。 The description of the above embodiments is only for helping to understand the method of the present invention and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in specific embodiments and applications. In the above, the contents of this specification are not to be construed as limiting the invention.

Claims

权利要求 书 Claim
1、 一种直接隧道的控制方法, 其特征在于, 包括: A method for controlling a direct tunnel, comprising:
获取网络拓朴信息;  Obtain network topology information;
根据获取到的网络拓朴信息确定无线网络控制器 RNC与网关通用分组无线 业务支持节点 GGSN之间的连接状态正常时, 启用直接隧道。  The direct tunnel is enabled when the connection state between the radio network controller RNC and the gateway general packet radio service support node GGSN is normal according to the obtained network topology information.
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:  2. The method according to claim 1, further comprising:
根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态异常时,建立 到达 RNC的隧道和建立到达 GGSN的隧道。  Based on the obtained network topology information, when the connection state between the RNC and the GGSN is abnormal, a tunnel to the RNC is established and a tunnel to the GGSN is established.
3、 根据权利要求 1所述的方法, 其特征在于, 当所述获取网络拓朴信息包 括: 接收操作支持系统 OSS系统发送的 RNC与 GGSN之间的连接状态信息时; 所述获取网络拓朴信息之前还包括: 接收 OSS系统发送的关于需探测的 GGSN的网际协议 IP地址的请求; 才艮据接收到的请求返回需探测的 GGSN的 IP地 址列表给 OSS系统, 以便 OSS系统根据该列表收集 RNC与 GGSN之间的连接状态 信息。  The method according to claim 1, wherein when the acquiring network topology information comprises: receiving connection state information between an RNC and a GGSN sent by an operation support system OSS system; The information further includes: receiving a request sent by the OSS system for the Internet Protocol IP address of the GGSN to be detected; and returning the IP address list of the GGSN to be detected to the OSS system according to the received request, so that the OSS system collects according to the list. Connection status information between the RNC and the GGSN.
4、 根据权利要求 2所述的方法, 其特征在于, 当所述获取网络拓朴信息包 括: 向域名系统 DNS系统发送带有直接隧道标识的域名解析请求, 接收 DNS系 统通过查询域名记录后返回的域名对应的 GGSN的 IP地址结果时;  The method according to claim 2, wherein the obtaining the network topology information comprises: sending a domain name resolution request with a direct tunnel identifier to the domain name system DNS system, and the receiving DNS system returns by querying the domain name record. The domain name corresponds to the IP address of the GGSN when it results;
所述根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常时, 启用直接隧道包括: 若接收到的 IP地址结果不为空, 则根据该 IP地址结果启用直 接隧道; 或者  When the connection status between the RNC and the GGSN is normal according to the obtained network topology information, enabling the direct tunnel includes: if the received IP address result is not empty, enabling the direct tunnel according to the IP address result; or
所述根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态异常时, 分别建立到达 RNC和 GGSN的两段隧道包括: 若接收到的 IP地址结果为空, 则发 送不带有直接隧道标识的域名解析请求, 并接收 DNS系统返回的域名对应的 GGSN的 IP地址结果, 然后根据该 IP地址结果建立到达 RNC的隧道和建立到达 GGSN的隧道。  When the connection status between the RNC and the GGSN is abnormal according to the obtained network topology information, the two tunnels that reach the RNC and the GGSN respectively are: if the received IP address result is empty, the sending does not have a direct The domain name resolution request of the tunnel identifier, and receiving the IP address result of the GGSN corresponding to the domain name returned by the DNS system, and then establishing a tunnel to the RNC and establishing a tunnel to the GGSN according to the IP address result.
5、 根据权利要求 4所述的方法, 其特征在于, 所述向 DNS系统发送带有直 接隧道标识的域名解析请求之前还包括:  The method according to claim 4, wherein before the sending the domain name resolution request with the direct tunnel identifier to the DNS system, the method further includes:
接收 OSS系统发送的关于需探测的 RNC的 IP地址的请求;  Receiving a request sent by the OSS system regarding an IP address of the RNC to be probed;
根据接收到的请求返回需探测的 RNC的 IP地址列表给 OSS系统, 以便 OSS系 统根据该列表收集 RNC与 GGSN之间的连接状态信息后,更新 DNS系统中的域名 记录。 Returning the IP address list of the RNC to be probed to the OSS system according to the received request, so that the OSS system updates the domain name in the DNS system after collecting the connection state information between the RNC and the GGSN according to the list. Record.
6、 根据权利要求 2所述的方法, 其特征在于, 当所述获取网络拓朴信息包 括: 向 RNC发送无线网络资源分配请求, 所述无线网络资源分配请求中携带 GGSN的 IP地址; 接收 RNC根据所述 GGSN的 IP地址进行连接状态判断后所返回 的无线网络资源分配响应时;  The method according to claim 2, wherein the acquiring the network topology information comprises: sending a radio network resource allocation request to the RNC, where the radio network resource allocation request carries an IP address of the GGSN; receiving the RNC When the wireless network resource allocation response returned after the connection state determination is performed according to the IP address of the GGSN;
所述根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态正常时, 启用直接隧道包括: 若接收到表示成功的无线网络资源分配响应, 则启用直接 隧道; 或者  When the connection status between the RNC and the GGSN is determined according to the obtained network topology information, enabling the direct tunnel includes: if a wireless network resource allocation response indicating success is received, enabling the direct tunnel; or
所述根据获取到的网络拓朴信息确定 RNC与 GGSN之间的连接状态异常时, 分别建立到达 RNC和 GGSN的两段隧道包括:若接收到表示失败的无线网络资源 分配响应, 则建立到达 RNC的隧道和建立到达 GGSN的隧道。  When determining, according to the obtained network topology information, that the connection status between the RNC and the GGSN is abnormal, respectively establishing two tunnels that reach the RNC and the GGSN includes: if the wireless network resource allocation response indicating the failure is received, establishing the arrival RNC Tunnel and establish a tunnel to the GGSN.
7、 根据权利要求 6所述的方法, 其特征在于, 所述接收到表示失败的无线 网络资源分配响应之后还包括:  The method according to claim 6, wherein the receiving the wireless network resource allocation response indicating the failure further comprises:
记录表示 RNC与 GGSN之间的连接状态异常的信息, 并启动定时器, 在定时 器所预置的时间内, 不在该 RNC与 GGSN之间启动直接隧道。  A message indicating that the connection status between the RNC and the GGSN is abnormal is generated, and a timer is started, and a direct tunnel is not initiated between the RNC and the GGSN within a preset time of the timer.
8、 根据权利要求 7所述的方法, 其特征在于, 在定时器所预置的时间超时 后, 还包括:  The method according to claim 7, wherein after the time preset by the timer expires, the method further includes:
清除所记录的表示 RNC与 GGSN之间的连接状态异常的信息。  Clears the recorded information indicating that the connection status between the RNC and the GGSN is abnormal.
9、 根据权利要求 7所述的方法, 其特征在于, 在定时器所预置的时间超时 后, 还包括:  The method according to claim 7, wherein after the time preset by the timer expires, the method further includes:
发送关于探测 GGSN的 IP地址的请求给 RNC;  Send a request for detecting the IP address of the GGSN to the RNC;
接收 RNC返回的探测结果;  Receiving the detection result returned by the RNC;
若探测结果表示 RNC与 GGSN地址之间的连接状态正常,则允许后续启用直 接隧道;  If the detection result indicates that the connection status between the RNC and the GGSN address is normal, then the direct tunnel is allowed to be subsequently enabled;
若探测结果表示 RNC与 GGSN地址之间的连接状态异常,则继续启动该定时 器。  If the detection result indicates that the connection status between the RNC and the GGSN address is abnormal, the timer is continuously started.
10、 一种网络拓朴信息使用设备, 其特征在于, 包括:  10. A network topology information using device, comprising:
获取单元, 用于获取网络拓朴信息;  An obtaining unit, configured to obtain network topology information;
第一处理单元, 用于根据获取单元获取到的网络拓朴信息确定无线网络控 制器 RNC与网关通用分组无线业务支持节点 GGSN之间的连接状态正常时,启用 直接隧道。 a first processing unit, configured to determine, when the connection status between the radio network controller RNC and the gateway general packet radio service support node GGSN is normal according to the network topology information acquired by the acquiring unit, enable Direct tunnel.
11、 根据权利要求 10所述的网络拓朴信息使用设备, 其特征在于, 还包括: 第二处理单元,用于根据获取单元获取到的网络拓朴信息确定 RNC与 GGSN 之间的连接状态异常时, 建立到达 RNC的隧道和建立到达 GGSN的隧道。  The network topology information using device according to claim 10, further comprising: a second processing unit, configured to determine, according to the network topology information acquired by the acquiring unit, that the connection state between the RNC and the GGSN is abnormal. At the time, a tunnel to the RNC is established and a tunnel to the GGSN is established.
12、 根据权利要求 11所述的网络拓朴信息使用设备, 其特征在于, 还包括 第一接收单元和第一发送单元;  The network topology information using device according to claim 11, further comprising a first receiving unit and a first sending unit;
所述获取单元, 用于接收操作支持系统 OSS系统发送的 RNC与 GGSN之间的 连接状态信息;  The acquiring unit is configured to receive connection state information between the RNC and the GGSN sent by the OSS system of the operation support system;
所述第一处理单元, 用于确定获取单元接收到的连接状态信息表示 RNC与 GGSN之间的连接状态正常时, 启用直接隧道;  The first processing unit is configured to determine that the connection state information received by the acquiring unit indicates that the connection state between the RNC and the GGSN is normal, and the direct tunnel is enabled;
所述第二处理单元, 用于确定获取单元接收到的连接状态信息表示 RNC与 GGSN之间的连接状态异常时, 建立到达 RNC的隧道和建立到达 GGSN的隧道; 第一接收单元, 用于接收 OSS系统发送的关于需探测的 GGSN的网际协议 IP 地址的请求;  The second processing unit is configured to: when the connection state information received by the acquiring unit indicates that the connection state between the RNC and the GGSN is abnormal, establish a tunnel that reaches the RNC and establish a tunnel that reaches the GGSN; and the first receiving unit is configured to receive A request sent by the OSS system regarding the Internet Protocol IP address of the GGSN to be probed;
第一发送单元,用于根据第一接收单元接收到的请求返回需探测的 GGSN的 IP地址列表给 OSS系统, 以便 OSS系统根据该列表收集 RNC与 GGSN之间的连接 状态信息。  The first sending unit is configured to return, according to the request received by the first receiving unit, the IP address list of the GGSN to be detected to the OSS system, so that the OSS system collects the connection state information between the RNC and the GGSN according to the list.
13、 根据权利要求 11所述的网络拓朴信息使用设备, 其特征在于, 所述获 取单元包括域名解析请求子单元和地址结果接收子单元;  The network topology information using device according to claim 11, wherein the obtaining unit comprises a domain name resolution request subunit and an address result receiving subunit;
域名解析请求子单元, 用于向域名系统 DNS系统发送带有直接隧道标识的 域名解析请求;  a domain name resolution request sub-unit, configured to send a domain name resolution request with a direct tunnel identifier to the domain name system DNS system;
地址结果接收子单元, 用于接收 DNS系统根据域名解析请求子单元接收到 的域名解析请求通过查询域名记录后返回的域名对应的 GGSN的 IP地址结果; 所述第一处理单元,用于在地址结果接收子单元接收到的 IP地址结果不为空 时, 根据该 IP地址结果启用直接隧道;  The address result receiving subunit is configured to receive an IP address result of the GGSN corresponding to the domain name returned by the DNS system according to the domain name resolution request received by the domain name resolution request subunit, and the first processing unit is used for the address If the result of the IP address received by the receiving subunit is not empty, the direct tunnel is enabled according to the result of the IP address;
所述第二处理单元, 用于在地址结果接收子单元接收到的 IP地址结果为空 时, 发送不带有直接隧道标识的域名解析请求, 并接收 DNS系统返回的域名对 应的 GGSN的 IP地址结果, 然后根据该 IP地址结果建立到达 RNC的隧道和建立到 达 GGSN的隧道。  The second processing unit is configured to: when the IP address result received by the address result receiving subunit is null, send a domain name resolution request without a direct tunnel identifier, and receive an IP address of the GGSN corresponding to the domain name returned by the DNS system. As a result, a tunnel to the RNC and a tunnel to the GGSN are established based on the IP address result.
14、 根据权利要求 13所述的网络拓朴信息使用设备, 其特征在于, 还包括 第二接收单元和第二发送单元; The network topology information using device according to claim 13, further comprising a second receiving unit and a second transmitting unit;
第二接收单元, 用于接收 OSS系统发送的关于需探测的 RNC的 IP地址的请 求;  a second receiving unit, configured to receive, by the OSS system, a request for an IP address of the RNC to be detected;
第二发送单元, 用于根据第二接收单元接收到的请求返回需探测的 RNC的 IP地址列表给 OSS系统, 以便 OSS系统根据该列表收集 RNC与 GGSN之间的连接 状态信息后, 更新 DNS系统中的域名记录。  a second sending unit, configured to return, according to the request received by the second receiving unit, the IP address list of the RNC to be detected to the OSS system, so that the OSS system collects the connection status information between the RNC and the GGSN according to the list, and then updates the DNS system. The domain name record in .
15、 根据权利要求 11所述的网络拓朴信息使用设备, 其特征在于, 所述获 取单元包括资源分配请求子单元和分配响应接收子单元;  The network topology information using device according to claim 11, wherein the obtaining unit comprises a resource allocation request subunit and an allocation response receiving subunit;
资源分配请求子单元, 用于向 RNC发送无线网络资源分配请求, 所述无线 网络资源分配请求中携带 GGSN的 IP地址;  a resource allocation requesting sub-unit, configured to send a radio network resource allocation request to the RNC, where the radio network resource allocation request carries an IP address of the GGSN;
分配响应接收子单元, 用于接收 RNC根据资源分配请求子单元接收到的 GGSN的 IP地址进行连接状态判断后所返回的无线网络资源分配响应;  And an allocation response receiving subunit, configured to receive a radio network resource allocation response returned by the RNC according to the IP address of the GGSN received by the resource allocation request subunit;
所述第一处理单元, 用于在分配响应接收子单元接收到表示成功的无线网 络资源分配响应时, 启用直接隧道;  The first processing unit is configured to enable a direct tunnel when the allocation response receiving subunit receives the wireless network resource allocation response indicating success;
所述第二处理单元, 用于在分配响应接收子单元接收到表示失败的无线网 络资源分配响应时, 建立到达 RNC的隧道和建立到达 GGSN的隧道。  The second processing unit is configured to establish a tunnel to the RNC and establish a tunnel to reach the GGSN when the allocation response receiving subunit receives the wireless network resource allocation response indicating the failure.
16、 根据权利要求 15所述的网络拓朴信息使用设备, 其特征在于, 还包括 第三处理单元;  The network topology information using device according to claim 15, further comprising a third processing unit;
第三处理单元, 用于在分配响应接收子单元接收到表示失败的无线网络资 源分配响应时, 记录 RNC与 GGSN之间的连接状态异常的信息, 并启动定时器, 在定时器所预置的时间内, 不在该 RNC与 GGSN之间启动直接隧道。  a third processing unit, configured to: when the allocation response receiving subunit receives the wireless network resource allocation response indicating the failure, record the abnormal connection status between the RNC and the GGSN, and start a timer, which is preset by the timer During the time, a direct tunnel is not initiated between the RNC and the GGSN.
17、 根据权利要求 16所述的网络拓朴信息使用设备, 其特征在于, 还包括 第四处理单元;  The network topology information using device according to claim 16, further comprising a fourth processing unit;
第四处理单元, 用于在第三处理单元所启动的定时器所预置的时间超时后, 发送关于探测 GGSN的 IP地址的请求给 RNC; 接收 RNC返回的探测结果; 若探测 结果表示 RNC与 GGSN地址之间的连接状态正常, 则允许后续启用直接隧道; 若 探测结果表示 RNC与 GGSN地址之间的连接状态异常, 则继续启动该定时器。  a fourth processing unit, configured to send a request for detecting an IP address of the GGSN to the RNC after the time preset by the timer started by the third processing unit expires; receiving a detection result returned by the RNC; if the detection result indicates the RNC and the If the connection status between the GGSN addresses is normal, the direct tunnel is allowed to be enabled subsequently. If the detection result indicates that the connection status between the RNC and the GGSN address is abnormal, the timer is continued.
18、 一种网络拓朴信息处理设备, 其特征在于, 包括:  18. A network topology information processing device, comprising:
网络拓朴信息执行单元, 用于进行网络拓朴信息的探测, 得到网络拓朴信 息探测结果, 上报的网络拓朴信息探测结果给网络拓朴信息收集单元; 网络拓朴信息收集单元, 用于接收网络拓朴信息执行单元上报的网络拓朴 信息探测结果, 根据接收到的网络拓朴信息探测结果更新网络拓朴信息分发单 元保存的网络拓朴信息; The network topology information execution unit is configured to perform network topology information detection, obtain network topology information detection result, and report the network topology information detection result to the network topology information collection unit; The network topology information collecting unit is configured to receive the network topology information detection result reported by the network topology information execution unit, and update the network topology information saved by the network topology information distribution unit according to the received network topology information detection result;
网络拓朴信息分发单元, 用于将更新后的网络拓朴信息提供给网络拓朴信 息使用设备。  The network topology information distribution unit is configured to provide the updated network topology information to the network topology information using device.
19、 根据权利要求 18所述的网络拓朴信息处理设备, 其特征在于, 网络拓 朴信息执行单元包括第一探测子单元和第一汇总子单元和第一上报子单元; 第一探测子单元, 用于分别发送应答请求给各个网关通用分组无线业务支 持节点 GGSN, 若接收到 GGSN返回的应答响应, 则确定 RNC与该 GGSN之间的 连接正常, 若未接收到 GGSN返回的应答响应, 则确定 RNC与该 GGSN之间的连 接异常;  The network topology information processing device according to claim 18, wherein the network topology information execution unit comprises a first probe subunit and a first summary subunit and a first report subunit; For sending a response request to each gateway general packet radio service support node GGSN, if receiving the response response returned by the GGSN, determining that the connection between the RNC and the GGSN is normal, and if the response response returned by the GGSN is not received, Determining a connection abnormality between the RNC and the GGSN;
第一汇总子单元,用于根据第一探测子单元所确定的 RNC与各个 GGSN之间 的连接情况进行汇总, 得到 GGSN的 IP地址的探测结果;  a first summary sub-unit, configured to summarize, according to the connection between the RNC and each GGSN determined by the first detecting sub-unit, to obtain a detection result of the IP address of the GGSN;
第一上报子单元, 用于上报第一汇总子单元得到的 GGSN的 IP地址的探测结 果给网络拓朴信息收集单元。  The first reporting sub-unit is configured to report the detection result of the IP address of the GGSN obtained by the first summary sub-unit to the network topology information collecting unit.
20、 根据权利要求 19所述的网络拓朴信息处理设备, 其特征在于, 所述网 络拓朴信息收集单元包括第一接收子单元和第一更新子单元;  The network topology information processing device according to claim 19, wherein the network topology information collecting unit comprises a first receiving subunit and a first updating subunit;
第一接收子单元, 用于接收网络拓朴信息执行单元上报的 GGSN的 IP地址的 探测结果;  a first receiving subunit, configured to receive a detection result of an IP address of the GGSN reported by the network topology information execution unit;
第一更新子单元, 用于根据第一接收子单元接收到的 GGSN的 IP地址探测结 果更新网络拓朴信息分发单元所保存的 RNC与 GGSN之间的连接状态信息; 所述网络拓朴信息分发单元, 用于发送第一更新子单元更新后的 RNC与 GGSN之间的连接状态信息给网络拓朴信息使用设备。  a first update subunit, configured to update connection state information between the RNC and the GGSN saved by the network topology information distribution unit according to the IP address detection result of the GGSN received by the first receiving subunit; and the network topology information distribution And a unit, configured to send connection state information between the updated RNC and the GGSN of the first update subunit to the network topology information using device.
21、 根据权利要求 18所述的网络拓朴信息处理设备, 其特征在于, 网络拓 朴信息执行单元包括第二探测子单元和第二汇总子单元和第二上报子单元; 第二探测子单元, 用于分别发送应答请求给各个 RNC, 若接收到 RNC返回 的应答响应,则确定 GGSN与该 RNC之间的连接正常, 若未接收到 RNC返回的应 答响应, 则确定 GGSN与该 RNC之间的连接异常;  The network topology information processing device according to claim 18, wherein the network topology information execution unit comprises a second probe subunit and a second summary subunit and a second report subunit; the second probe subunit And sending a response request to each RNC separately, and if receiving the response response returned by the RNC, determining that the connection between the GGSN and the RNC is normal, and if not receiving the response response returned by the RNC, determining between the GGSN and the RNC The connection is abnormal;
第二汇总子单元,用于根据第二探测子单元所确定的 GGSN与各个 RNC之间 的连接情况进行汇总, 得到 GGSN与各个 RNC之间的连接状态信息; 第二上报子单元, 具体用于上报第二汇总子单元得到的 GGSN与各个 RNC 之间的连接状态信息给网络拓朴信息收集单元。 a second summary subunit, configured to perform, according to the connection between the GGSN and each RNC determined by the second detecting subunit, obtain connection state information between the GGSN and each RNC; The second reporting sub-unit is specifically configured to report the connection status information between the GGSN and each RNC obtained by the second summary sub-unit to the network topology information collecting unit.
22、 根据权利要求 21所述的网络拓朴信息处理设备, 其特征在于, 所述网 络拓朴信息收集单元包括第二接收子单元和第二更新子单元;  The network topology information processing device according to claim 21, wherein the network topology information collecting unit comprises a second receiving subunit and a second updating subunit;
第二接收子单元,用于接收网络拓朴信息执行单元上报的 GGSN与各个 RNC 之间的连接状态信息;  a second receiving subunit, configured to receive connection state information between the GGSN reported by the network topology information execution unit and each RNC;
第二更新子单元,用于根据第二接收子单元接收到的 GGSN与各个 RNC之间 的连接状态信息更新网络拓朴信息分发单元保存的域名记录;  a second update subunit, configured to update the domain name record saved by the network topology information distribution unit according to the connection state information between the GGSN and each RNC received by the second receiving subunit;
所述网络拓朴信息分发单元, 用于在接收到网络拓朴信息使用设备发送的 带有直接隧道标识的域名解析请求时, 根据更新的域名记录发送域名对应的 GGSN的 IP地址结果给网络拓朴信息使用设备。  The network topology information distribution unit is configured to: when receiving the domain name resolution request with the direct tunnel identifier sent by the network topology information using the device, send the IP address result of the GGSN corresponding to the domain name according to the updated domain name record to the network extension Park Information uses the device.
23、 根据权利要求 18所述的网络拓朴信息处理设备, 其特征在于, 网络拓 朴信息执行单元包括接收子单元、 第三探测子单元和第三上报子单元;  The network topology information processing device according to claim 18, wherein the network topology information execution unit comprises a receiving subunit, a third detecting subunit, and a third reporting subunit;
接收子单元, 用于接收网络拓朴信息使用设备发送的无线网络资源分配请 求, 所述无线网络资源分配请求中携带 GGSN的网际协议 IP地址;  a receiving subunit, configured to receive a wireless network resource allocation request sent by the network topology information using the device, where the wireless network resource allocation request carries an Internet Protocol IP address of the GGSN;
第三探测子单元, 用于根据接收子单元接收到的 GGSN的 IP地址发送应答请 求给 GGSN, 若接收到 GGSN返回的应答响应, 则确定 RNC与 GGSN之间的连接 正常,若未接收到 GGSN返回的应答响应,则确定 RNC与 GGSN之间的连接异常; 第三上报子单元,具体用于在第三探测子单元确定 RNC与 GGSN之间的连接 正常时, 向网络拓朴信息使用设备返回表示成功的无线网络资源分配响应; 在 第三探测子单元确定 RNC与 GGSN之间的连接异常时,向网络拓朴信息使用设备 返回表示失败的无线网络资源分配响应。  The third detecting subunit is configured to send a response request to the GGSN according to the IP address of the GGSN received by the receiving subunit, and if the response response returned by the GGSN is received, determine that the connection between the RNC and the GGSN is normal, if the GGSN is not received. The returned response is determined to determine that the connection between the RNC and the GGSN is abnormal. The third reporting sub-unit is specifically configured to return to the network topology information using device when the third detecting sub-unit determines that the connection between the RNC and the GGSN is normal. Determining a successful wireless network resource allocation response; when the third detecting subunit determines that the connection between the RNC and the GGSN is abnormal, returning a failed wireless network resource allocation response to the network topology information using device.
24、 一种通信系统, 其特征在于, 包括网络拓朴信息使用设备和网络拓朴 信息处理设备;  A communication system, comprising: a network topology information using device and a network topology information processing device;
网络拓朴信息使用设备, 用于从网络拓朴信息处理设备上获取网络拓朴信 息, 根据获取到的网络拓朴信息确定无线网络控制器 RNC与网关通用分组无线 业务支持节点 GGSN之间的连接状态正常时, 启用直接隧道;  The network topology information using device is configured to obtain network topology information from the network topology information processing device, and determine, according to the obtained network topology information, a connection between the radio network controller RNC and the gateway general packet radio service support node GGSN. When the status is normal, the direct tunnel is enabled;
网络拓朴信息处理设备, 用于收集网络拓朴信息, 并发送网络拓朴信息给网络 拓朴信息使用设备。 The network topology information processing device is configured to collect network topology information, and send network topology information to the network topology information using device.
PCT/CN2010/079555 2009-12-08 2010-12-08 Control method, device and communication system of direct tunnel WO2011069448A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910252082.8 2009-12-08
CN2009102520828A CN101753638B (en) 2009-12-08 2009-12-08 Control method, device and communication system of direct tunnel

Publications (1)

Publication Number Publication Date
WO2011069448A1 true WO2011069448A1 (en) 2011-06-16

Family

ID=42480025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079555 WO2011069448A1 (en) 2009-12-08 2010-12-08 Control method, device and communication system of direct tunnel

Country Status (2)

Country Link
CN (1) CN101753638B (en)
WO (1) WO2011069448A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753638B (en) * 2009-12-08 2013-08-14 华为技术有限公司 Control method, device and communication system of direct tunnel
JP5986287B2 (en) 2012-03-28 2016-09-06 ▲ホア▼▲ウェイ▼技術有限公司Huawei Technologies Co.,Ltd. Method and apparatus for establishing a direct tunnel
WO2015018038A1 (en) 2013-08-08 2015-02-12 华为技术有限公司 Tunnel establishment method and device
WO2018082098A1 (en) * 2016-11-07 2018-05-11 华为技术有限公司 Network state management method and relevant device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1454433A (en) * 2000-07-04 2003-11-05 诺基亚公司 Method and device for attaching a user equipment to a telecommunication network
US20060262778A1 (en) * 2005-05-19 2006-11-23 Nokia Corporation Unlicensed mobile access optimization
CN101013967A (en) * 2005-12-23 2007-08-08 上海大学 Method for detecting visualization of wireless self-organizing network topological structure
CN101753638A (en) * 2009-12-08 2010-06-23 华为技术有限公司 Control method, device and communication system of direct tunnel

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197817A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Method for updating packet data protocol context
EP2127459A4 (en) * 2006-12-21 2013-06-12 Ericsson Telefon Ab L M Arrangement and method relating to direct tunnelling in connection with handover in a communications network
WO2008080717A1 (en) * 2006-12-29 2008-07-10 Nokia Corporation Direct tunnel error handling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1454433A (en) * 2000-07-04 2003-11-05 诺基亚公司 Method and device for attaching a user equipment to a telecommunication network
US20060262778A1 (en) * 2005-05-19 2006-11-23 Nokia Corporation Unlicensed mobile access optimization
CN101013967A (en) * 2005-12-23 2007-08-08 上海大学 Method for detecting visualization of wireless self-organizing network topological structure
CN101753638A (en) * 2009-12-08 2010-06-23 华为技术有限公司 Control method, device and communication system of direct tunnel

Also Published As

Publication number Publication date
CN101753638B (en) 2013-08-14
CN101753638A (en) 2010-06-23

Similar Documents

Publication Publication Date Title
US11523268B2 (en) Communications method and apparatus
US20140237125A1 (en) Method, apparatus, and system for establishing device-to-device connection
WO2014146474A1 (en) Terminal registration method, terminal discovery method, terminal and device
WO2014000304A1 (en) A management method for forwarding plane tunnel resources under the control and forwarding decoupling architecture
WO2008151544A1 (en) Method, apparatus and system for establishing bearer connection
RU2011147456A (en) SETTING UP THE CONNECTIVITY OF A PACKET DATA TRANSFER NETWORK FOR LOCAL ACCESS TRAFFIC ACCORDING TO THE INTERNET PROTOCOL
WO2009135431A1 (en) Method, system and equipment for notifying user’s information
WO2011134329A1 (en) Method and system for transmitting small data packets
WO2010012176A1 (en) Method, device and system for intersystem handoff capability information obtaining and system accessing
WO2012136097A1 (en) Packet data network gateway and terminal mobility management system
WO2011098040A1 (en) 2g/3g network fallback method and correlative apparatuses and communication system
WO2012106896A1 (en) Voice fallback method and apparatus
WO2009111983A1 (en) Method, radio access equipment and terminal for paging users
WO2007109955A1 (en) A method for using ip address of the roaming user and a user terminal thereof
WO2010108352A1 (en) Method for sending access network policies and home access network discovery and support functions unit
WO2010006531A1 (en) Method, device and communication system for tunnelling management
WO2012126362A1 (en) Method, device and system for signalling tracing
WO2009105956A1 (en) A control method and system for establishing multiple tunnels in wireless communication network
WO2010124551A1 (en) Method and system for preserving a packet data network gateway identifier in a multiple access scenario
WO2009046666A1 (en) Addressing method of policy decision function entity, network element and network system
CN101420737A (en) Information transferring method and device
JP2022549018A (en) Method and apparatus for session management
WO2011069448A1 (en) Control method, device and communication system of direct tunnel
US20110255511A1 (en) Handover method and mobile terminal and home agent utilized in said method
KR20060051594A (en) Ip management system and method for a mobile phone

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10835483

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10835483

Country of ref document: EP

Kind code of ref document: A1