WO2010072161A1 - Routing method, apparatus and communication system for data exiting a gi interface - Google Patents

Routing method, apparatus and communication system for data exiting a gi interface Download PDF

Info

Publication number
WO2010072161A1
WO2010072161A1 PCT/CN2009/075978 CN2009075978W WO2010072161A1 WO 2010072161 A1 WO2010072161 A1 WO 2010072161A1 CN 2009075978 W CN2009075978 W CN 2009075978W WO 2010072161 A1 WO2010072161 A1 WO 2010072161A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
data
address
sent
ggsn
Prior art date
Application number
PCT/CN2009/075978
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 WO2010072161A1 publication Critical patent/WO2010072161A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2863Arrangements for combining access network resources elements, e.g. channel bonding
    • H04L12/2865Logical combinations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the present invention claims to be submitted to the Chinese Patent Office on December 24, 2008, and the application number is 200810189453. 8.
  • the invention name is "a routing method for data out of the Gi port, The priority of the Chinese patent application of the device and the communication system is hereby incorporated by reference in its entirety.
  • TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a communication system for routing data out of a Gi port.
  • the Gi port is a reference point between the general packet radio service (GPRS: General Packet Radio Service) network and the packet data network.
  • IP Internet Protocol
  • IP Internet Protocol
  • CN Core Net
  • Services such as accessing the core network Wireless Application Protocol (WAP) server.
  • AP Access Point
  • data on the terminal is transmitted to the local area network through the AP, and then transmitted from the local area network to the IP network. If the destination address of the data sent by the terminal is in the core network.
  • the address is sent by the gateway general-purpose wireless packet service support node (GGSN: Gateway GPRS Support Note) to the destination address in the core network. If the destination address of the data sent by the terminal is an address in the Internet, the data is sent by the GGSN out of the Gi port and routed to the destination address in the Internet.
  • the access gateway (AG: Access Gateway) integrates the function of the Service GPRS Support Note (SGSN).
  • the Internet network service and the core network service need to be separated on the AP.
  • the AP directly sends the data to the destination address on the Internet.
  • the core network service needs to be executed, the data is processed according to the method in which the GGSN sends the data out of the Gi port.
  • the dynamic host allocation protocol DHCP server is configured to allocate an address to the AP and the terminal, and complete the data channel between the local area network and the external network where the AP is located, and the gateway GW carries the communication between the local area network and the external network where the AP is located.
  • APNs access point names
  • the data channel established on the network side can only pass all the services identified by the APN through the GGSN to the Gi port, but cannot establish a data channel directly from the AP to the Gi port; or the data channel established on the network side.
  • the channel can only pass all the services out of the Gi port through the AP, and cannot establish the data channel from the GGSN to the Gi port at the same time.
  • only one data channel of the Gi-port can be established for the same APN of the identified different services, which may result in waste of core network resources.
  • the embodiment of the present invention provides a method, a device, and a communication system for routing data out of a port, and solves the problem that the same APN that identifies different services in the prior art can only establish a data channel of the out port, which may lead to the core. Waste of network resources.
  • An embodiment of the present invention provides a method for routing data out of a Gi port, including:
  • the routing table includes a correspondence between the destination address and the next hop network element in the at least one data channel.
  • An embodiment of the present invention further provides an access point AP, including:
  • a second receiving unit configured to receive data sent by the terminal
  • a determining unit configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is the access gateway AG, and the acquiring unit, configured to acquire the terminal device The mapping between the IP address and the address assigned by the GGSN to the terminal; the processing unit, configured to: when the determining unit determines that the next hop address corresponding to the destination address of the data received by the first receiving unit is AG, according to the obtaining unit Obtaining a mapping relationship between the IP address allocated by the terminal and the address allocated by the GGSN for the terminal, converting the IP address of the data into an address allocated by the GGSN to the terminal; and the second sending unit, configured to: when the determining unit determines When the next hop network element corresponding to the destination address of the data received by the first receiving unit is not an AG, the data is sent to the destination address by using the next hop network element; or, When the next hop network element corresponding to the destination address of the data is the AG, the data of the IP address converted
  • the embodiment of the present invention further provides an access gateway AG, including: a first receiving unit, configured to receive data channel establishment information from the terminal, and include a data channel establishment response of the address allocated by the core network for the terminal, and include Establishing a response for the data channel of the IP address assigned by the terminal;
  • the query unit is configured to query the AP home server to query the AP to support the direct out of the Gi port service;
  • the first sending unit is configured to forward the data channel establishment information to the core network, and is further configured to: when the query unit obtains the
  • the AP When the AP supports the outgoing service of the Gi interface, the AP forwards the address data channel establishment information including the core network allocation to the AP, and is further configured to send a data channel establishment response including the IP address allocated to the terminal to the terminal.
  • the embodiment of the invention further provides a communication system, including:
  • the access point AP is configured to receive data sent by the terminal, and determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is the access gateway AG, When the next hop address corresponding to the destination address of the data is not the AG, the data is sent to the destination address by using the next hop network element, and the next hop address corresponding to the destination address of the data is the AG.
  • the IP address of the data is converted into an address allocated by the GGSN to the terminal according to the mapping relationship between the IP address assigned to the terminal and the address allocated by the GGSN for the terminal, and the next hop corresponding to the destination address of the data. When the address is the AG, the data of the IP address is translated to the address allocated by the corresponding GGSN for the terminal, and is sent to the AG;
  • the access gateway AG is configured to receive data channel establishment information from the terminal, forward the data channel establishment information to the gateway general wireless packet service support node GGSN, and receive a data channel establishment response including the address allocated by the GGSN for the terminal, and query the AHR.
  • the AP supports the direct-out of the Gi-port service.
  • the querier forwards the address data channel establishment information including the GGSN to the AP, and receives the IP address allocated for the terminal.
  • Data channel establishment response sending a data channel setup response containing the IP address assigned to the terminal to the terminal;
  • the gateway general wireless packet service support node GGSN is configured to receive information about an address allocated by the AG for the terminal, allocate an address for the terminal, and send the allocated address to the AG.
  • the embodiment of the invention further provides a communication system, including:
  • the access point AP is configured to receive, according to the preset data channel, the data sent by the terminal, and determine, according to the preset routing table in the AP, whether the next hop corresponding to the destination address in the data sent by the terminal is The AG, when the judgment result is that the next hop is the AG, according to the mapping relationship between the established IP address allocated to the terminal and the GGSN being the terminal, the data sent by the terminal is The IP address is translated to the address allocated by the GGSN to the terminal, and the converted data is sent to the AG.
  • the data sent by the terminal is sent to the network side.
  • One-hop network element the next hop network element is forwarded to the destination address;
  • the access gateway AG is configured to receive data sent by the AP according to a preset data channel, and send the data to the GGSN.
  • a gateway general wireless packet service support node GGSN configured to receive the data sent by the AG according to a preset data channel, and send the data to an application server;
  • An internet server configured to receive data sent by the AP
  • An application server configured to provide a core network service for the terminal.
  • a method, a device, and a communication system for routing an AP out of a Gi interface are provided by the embodiment of the present invention.
  • the AP and the network side establish two data channels, where the two data channels are data channels and slaves of the Gi port from the core network respectively.
  • the AP directly out of the data channel of the Gi interface, and the network side AP selects one of the two data channels as the data transmission path according to the path corresponding to the destination address in the preset routing table. Therefore, the same APN that identifies different services in the prior art is solved, and only one data channel of the Gi port can be established, which may cause waste of the core network resources.
  • FIG. 1 is a flowchart of a method for routing a data out Gi port according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for routing data out of a Gi port according to Embodiment 2 of the present invention
  • FIG. 3 is a flow chart of a data flow when a terminal communicates with a network side according to Embodiment 2 of the present invention
  • FIG. 5 is a logical unit diagram of an access point AP according to Embodiment 4 of the present invention.
  • FIG. 6 is a logic unit diagram of an access gateway AG according to Embodiment 6 of the present invention.
  • Embodiment 7 is a structural diagram of a communication system provided in Embodiment 7 of the present invention.
  • Embodiment 8 is a structural diagram of a communication system provided in Embodiment 8 of the present invention.
  • FIG. 9 is a structural diagram of a communication system provided in Embodiment 9 of the present invention.
  • the AP determines whether the terminal accesses the Internet service or the core network service according to the destination address in the preset routing table, and solves the same APN of different services identified in the prior art.
  • the ability to establish a data channel out of the Gi port may cause a waste of core network resources.
  • the first embodiment is a method for routing data out of a Gi interface. As shown in FIG. 1 , the method includes: Step 1: The access point establishes a data channel for the terminal to output a Gi port from the core network and a Gi port from the access point. Data channel
  • Step 2 Receive data sent by the terminal.
  • Step 3 Send the data to a next hop network element in one of the two data channels corresponding to the destination address in the data according to the preset routing table and the destination address of the data. .
  • the data routing method of the Gi-port is provided by the first embodiment of the present invention.
  • the AP and the network side establish two data channels, wherein the two data channels are respectively the data channel of the Gi port from the core network and the data channel directly from the AP.
  • the data channel of the Gi n the network side AP selects one of the two data channels as the path of data transmission according to the path corresponding to the destination address in the preset routing table.
  • an APN can only establish one data channel. When there are multiple services identified by the APN, it may cause waste of core network resources.
  • a first embodiment of the present invention is a general description of a method for routing data out of a Gi port according to an embodiment of the present invention.
  • the second embodiment is a routing method for data out of the Gi port.
  • the data channel of the Gi port from the core network can be specifically output from the GGSN in the core network.
  • the method includes:
  • Step HI The terminal sends a PDP context activation request to the network side, where the PDP context request includes an APN;
  • the sending PDP context activation request in the step HI carries the information and the APN of the data channel established by the terminal and the network side. It is understood that the format of the bearer information may be multiple, and the specific example is used in this embodiment. The format is a PDP context activation request, and the limitations of the embodiments of the present invention should not be understood.
  • Step H2 The network side AG forwards the AP through the AP, and receives the PDP context activation request.
  • the PDP context request includes the APN, and the AG determines the service represented by the APN according to the preset information, and determines the service represented by the APN. It is possible to exit the Gi port;
  • the information preset on the AG in step H2 includes: a service represented by the APN, or a service associated with the APN.
  • the preset information may further include: whether the APN represents or the associated service can output information of the Gi port. If the APN represents or associates the service with the information of the Gi port as the default, the AG can determine that all services can exit the Gi port. It should be understood that the information preset on the AG can be configured by the operator and stored on the AG.
  • the AG here is an access gateway to which the AP to which the terminal belongs accesses the core network.
  • Step H3 The AG sends a PDP context request to the GGSN according to the judgment result in the step H2.
  • the request for creating a PDP context sent in the step H3 carries a request for the GGSN to allocate an IP address for the terminal.
  • the specific format carrying the request for the GGSN to allocate an IP address to the terminal may have other formats besides creating a PDP context request. The following text for an understanding of creating PDP context requests can be found here.
  • Step H4 After receiving the request for creating a PDP context, the GGSN allocates an address to the terminal.
  • Step H6 The AG sends an inquiry to the AHR (AP home server) for querying whether the AP communicating with the terminal supports the service directly outgoing from the Gi port;
  • AHR AP home server
  • Step H7 The AHR determines, according to the received query information, whether the AP supports the direct out of the Gi interface, and sends the information including the query result to the AG. If the query result is yes, the process proceeds to step H8. If the query result is no, the process proceeds to step H12.
  • the time for performing the step H6 and the step H7 may be the same as the step H3 to the step H5, that is, after the step H2 determines that the service represented by the APN is available for the Gi port, the GGSN may be allocated for the terminal. Address and query whether the AP communicating with the terminal can support the direct outgoing port.
  • Step H8 After the AG receives the information of the PDP context response and/or the query result sent by the AHR, the AG establishes an RAB with the terminal;
  • the method for establishing an RAB between the AG and the UE in the step H8 is prior art.
  • Step H9 If the result of the determination in step H7 is that the AP supports the direct out of the Gi interface, the AG sends a PDP context request to the AP, where the request to create the PDP context includes the address allocated by the GGSN for the terminal;
  • Step H10 The AP receives After the PDP context request is created, the terminal is allocated an address, and a mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal is established;
  • the mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal in the step H10 specifically includes: according to the identifier of the terminal in the AP, the address allocated by the GGSN to the terminal And the address assigned by the AP to the terminal is associated with the unique identifier of the terminal in the AP, and the mapping between the address allocated by the GGSN for the terminal and the address allocated by the AP for the terminal is implemented.
  • Step H11 The AP sends a PDP context response to the AG, where the PDP context response includes the address allocated by the AP for the terminal.
  • step H8 after the step H11, that is, the AP assigns an address to the terminal successfully, the RAB is established.
  • Step H12 The AG sends a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal.
  • the PDP context activation response sent in step H12 may also be the address allocated by the GGSN for the terminal. If so, when the data sent by the terminal directly exits the Gi port through the AP, the data packet includes the data packet.
  • the NAT (network address translators) conversion is performed, and the address assigned by the GGSN to the terminal in the terminal is translated into an address assigned by the AP to the terminal, and the AP sends the data out of the Gi port.
  • Step H13 The terminal receives a PDP context activation response sent by the UE, where the PDP context activation response includes an address allocated by the AP for the terminal or an address allocated by the GGSN for the terminal.
  • Step HI to step H13 implements a process of establishing two data channels between the terminal and the network side, where the two data channels include: a data channel for accessing the core network service and a data channel for accessing the Internet service.
  • Step H14 According to the established data channel and the preset routing table in the AP, the terminal performs data communication with the network side.
  • the method for performing data communication between the terminal and the network side in step H14 is as shown in FIG. 3, which specifically includes: the data sent by the terminal is determined according to the data channel that has been established, and the routing table in the AP, If the hop is an AG, the AP sends the data to the AG, and the AG sends the data to the GGSN. The data is accessed by the GGSN to access the application server on the core network. When it is determined that the destination address of the sent data is the address on the Internet, the AP will The network element directly sent to the next hop indication, for example, the network element indicated by the next hop may be a host, a gateway, or a router. And the network element forwards it to the destination address in the Internet.
  • the data that the terminal sends data to the destination address through the device on the network side is called uplink data.
  • the data sent by the network side to the terminal is called downlink data.
  • the method for processing the data specifically includes: The table determines whether the destination address in the data sent by the receiving terminal is an address in the core network or an address on the Internet, that is, whether the next hop corresponding to the destination address in the routing table is an AG or another device; if it is determined to be the data
  • the destination address in the Internet is an address on the Internet, and the AP sequentially performs processing on the L1 layer, processing on the L2 layer, and processing on the underlying bearer.
  • the method further includes: performing network address translation on the address of the terminal included in the data.
  • NAT network address translators
  • the function of the NAT translation is to convert the address of the terminal in the AP subnet to the external network address.
  • the NAT is converted to processing on the IP layer.
  • the AP sequentially performs processing on the L1 layer, and on the L2 layer. Processing, user plane GPRS tunneling protocol (GTP-U: GPRS Tunneling Protocol for the user plane) layer processing, IP layer processing and underlying bearer processing.
  • GTP-U GPRS Tunneling Protocol for the user plane
  • the AP performs the processing on the L1 layer, the processing on the L2 layer, and performs NAT conversion on the IP packet sent by the UE.
  • the GTP-U processing, the IP layer processing, and the processing of the underlying bearer are prior art.
  • the L1 layer is the first layer in the wireless network, that is, the physical layer; the L2 layer is the wireless network.
  • the second layer includes a medium access control layer (MAC: Media Access Control) RLC and a packet data convergence protocol (PDCP) layer.
  • MAC Media Access Control
  • PDCP packet data convergence protocol
  • the processing of the underlying bearer is directed to processing on the link layer and the physical layer in the transport network.
  • the GTP-U process is for data processing on the tunnel between the AP and the AG.
  • the NAT translation of the IP packet sent by the terminal may be to convert the private network address of the terminal into a unique IP address on the IP network.
  • the AP processes the data sent by the Internet or the AG
  • the data sent by the terminal is sent to the network element indicated by the next hop, and is forwarded by the network element to the destination address in the Internet or sent to the AG.
  • the method of processing data was reversed.
  • the processing of the data sent by the AP to the terminal can be referred to, and the method for processing the data sent by the AP to the Internet or by the AG can be easily obtained.
  • the routing table preset in the AP in step H14 is configured to: when the AP receives the data sent by the terminal, determine whether to forward the data to the AG according to the information in the routing table, or The data is forwarded to the network element indicated to the next hop, and forwarded by the network element to the destination address in the Internet.
  • the preset routing table may be sent to the AP by the remote management of the operator, or may be generated by the user at the near end of the AP. Therefore, the routing method of the AP out Gi service is provided in the second embodiment of the present invention.
  • the method further includes: presetting a routing table in the AP.
  • the method of the preset routing table may be: the remote management of the operator is sent to the AP, or may be generated by the user at the near end of the AP.
  • the routing table may be specifically as shown in the following Table 1, wherein the address assigned by the AP to the terminal is 192.168.0.1; the address of the application server in the core network service is 10.0.0.1; and the destination address of the Internet service that the UE expects to access is 210.45. .0.1. If the destination address is the default in the following table 1, the AP determines that the data with the destination address of 10.0.0.1 is sent by the AP to the AG, and the rest of the destination addresses. The AP sends the data to the next hop. The network element is then forwarded by the network element to the server on the Internet.
  • the routing table includes the correspondence between the destination address and the next network element in at least one data channel.
  • a method for routing an IP outbound service of an AP provided by the second embodiment of the present invention, the beneficial effect of the method is: setting the APN and the network layer to establish two data channels, without modifying the existing network side device,
  • the two data channels are respectively a data channel for accessing the core network service and a data channel for accessing the Internet service, and the network side AP selects one of the two data channels according to the path corresponding to the destination address in the preset routing table.
  • the strip acts as a path for data transfer.
  • the data of the same APN identity is solved in the prior art. Only one data channel of the outbound interface can be established.
  • the preset routing table is used to avoid wasting the core network resources.
  • the third embodiment of the present invention provides a method for routing data out of the Gi interface.
  • the method is similar to the method provided in the second embodiment.
  • the difference is that the AG and GGSN on the network side in the second embodiment are two.
  • An independent entity, in fact, the GGSN can be integrated in the AG.
  • the GGSN is integrated in the AG, and the AG performs the task originally performed in the GGSN, that is, the AG not only performs the determination.
  • the service represented by the APN determines that the service represented by the APN can be out of the Gi port; the terminal is also assigned an address to establish a channel for the terminal to exit the Gi port from the GGSN. Therefore, the method provided by the embodiment of the present invention includes:
  • the steps F1 and F2 are similar to the steps H1 and H2 in the second embodiment, and the description in the second embodiment can be referred to.
  • Step F3 The AG allocates an address to the terminal; that is, the operation performed by the GGSN in the second embodiment is implemented in the AG.
  • the steps F4 to F13 are similar to the steps H6 to H15 in the second embodiment, and the description in the second embodiment can be referred to.
  • a method for routing an IP outbound service of an AP is provided in Embodiment 3 of the present invention.
  • the beneficial effect of the method is: After the GGSN is integrated in the AG in the network side device, the terminal sets an APN to establish two data channels with the network layer.
  • the two data channels are respectively a data channel for accessing the core network service and a data channel for accessing the Internet service, and the network side AP selects the two data channels according to the path corresponding to the destination address in the preset routing table.
  • a path as a data transfer. It solves the different services of the same APN identifier in the prior art, and can only establish a data channel out of the Gi port, and adopts a preset routing table to avoid waste of core network resources.
  • Embodiment 4 An access point AP, as shown in FIG. 5, includes: a receiving unit 101, an allocation address unit 102, a transmitting unit 103, a data processing unit 105, an address mapping unit 106, and a determining unit 107.
  • the receiving unit 101 is configured to receive information about establishing a data channel sent by the terminal, and receive information about an address allocated by the terminal that is sent by the AG, and an address that the gateway general-purpose wireless packet service support node GGSN that is forwarded by the AG allocates the terminal. Receiving data sent by the terminal, and receiving information about establishing a radio access bearer RAB between the terminal and the AG;
  • the address unit 102 is configured to allocate an internet protocol IP address to the terminal; wherein the unit may also include a dynamic host allocation protocol (DHCP: Dynamic Host Configuration Protocol) connected to the AP.
  • DHCP Dynamic Host Configuration Protocol
  • the AP can acquire and use the assigned address unit 102.
  • the address mapping unit 106 is configured to establish a mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal.
  • the determining unit 107 is configured to determine, according to the routing table preset in the AP, the destination address in the data sent by the terminal. Whether the corresponding next hop is the AG;
  • the data processing unit 105 is configured to process the data according to the determination result in the determining unit 107.
  • the determining unit 107 determines that the next hop corresponding to the destination address in the data sent by the terminal is not an AG, performing processing on the L1 layer, the L2 layer, and the underlying bearer on the received data; or determining the terminal in the determining unit 107
  • the data is processed by the L1 layer, the L2 layer, the NAT packet sent by the terminal, the GTP-U layer, the IP layer, and the underlying bearer.
  • the data processing unit 105 in the AP may also be used.
  • the data sent by the terminal is NAT-transformed according to the mapping relationship between the address allocated by the AP and the address allocated by the GGSN for the terminal, and the device in the core network can identify the address of the terminal.
  • the determining unit 107 is configured to determine, according to the routing table preset in the AP, the data sent by the terminal is the network element to be sent to the next hop indication, and The data processing unit 105 is further configured to perform NAT translation on the address in the data sent by the terminal, and convert the address in the data sent by the terminal into an address recognizable in the IP network.
  • the logical unit that implements the function of data NAT conversion in the data processing unit 105 may be a device with an NAT conversion function acquired by the AP;
  • the sending unit 103 is configured to send information about establishing a radio access bearer RAB between the terminal and the AG, and send the IP address allocated to the terminal to the AG, and process the data processed by the data processing unit 105.
  • the data is sent to the AG, or the data of the next hop corresponding to the destination address in the data sent by the determining unit 107 is not directly transmitted to the next hop network element on the network side.
  • An AP provided in Embodiment 4 of the present invention may further include a configuration routing table unit 104, configured to configure a routing table, where the configuration routing table may be a routing table generated by the AP receiving information generated by the operator remotely. It may be a routing table generated by the user in the near end configuration of the AP. It will be understood that the figures or embodiments are merely illustrative and represent logical structures in which the modules displayed as separate components may or may not be physically separate, and the components displayed as modules may be Or it may not be a physical unit, that is, it can be located in one place or distributed to several network entities.
  • An AP provided in Embodiment 4 of the present invention, where the AP allocates an address unit 102 to allocate an address for the terminal,
  • the data channel of the Gi port is set up between the APs.
  • the AP determines whether the data sent by the received terminal is the Gi port from the AP or the AP sends the data to the AG according to the preset routing table.
  • the network can use the AP to establish two data channels.
  • the AP sends the data to the next-side device on the network side to avoid wasting the core network resources.
  • the fifth embodiment is an access point AP, and the access point AP is similar to the AP provided in the fourth embodiment.
  • the AP can be specifically configured with reference to the following description.
  • the AP provided in this embodiment includes: a receiving unit, a determining unit, and a sending unit. 1. Processing unit and transmitting unit 2.
  • the receiving unit is configured to receive data sent by the terminal.
  • a determining unit configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is an access gateway AG;
  • the sending unit 1 is configured to: when the next hop address corresponding to the destination address of the data is not an AG, send the data to the destination address by using the next hop network element;
  • a processing unit configured to: when the next hop address corresponding to the destination address of the data is an AG, convert the IP address of the data into a mapping relationship between an IP address allocated by the AP for the terminal and an address allocated by the GGSN to the terminal The corresponding GGSN is an address allocated by the terminal;
  • the sending unit 2 is configured to: when the next hop address corresponding to the destination address of the data is an AG, convert the IP address into data corresponding to the address allocated by the GGSN for the terminal, to the AG.
  • the AP may further include: a storage unit, configured to store a routing table.
  • the AP may determine the address of the next hop of the data according to the address in the data sent by the terminal, and send the data according to the judgment result, and send the data directly to the Destination address, thus avoiding the waste of core network resources.
  • An embodiment of the present invention further provides an AP, including:
  • a second receiving unit configured to receive data sent by the terminal
  • a determining unit configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is an access gateway AG;
  • An obtaining unit configured to acquire a mapping relationship between an IP address allocated to the terminal and an address allocated by the GGSN to the terminal, where the determining unit is configured to determine, by the determining unit, a destination address pair of the data received by the first receiving unit When the next hop address is the AG, the IP address of the data is converted to the address allocated by the GGSN to the terminal according to the mapping relationship between the IP address allocated by the acquiring unit and the address allocated by the GGSN for the terminal; a second sending unit, configured to: when the determining unit determines that the next hop network element corresponding to the destination address of the data received by the first receiving unit is not an AG, send the data to the next hop network element to Or the destination address; or, when the next hop network element corresponding to the destination address of the data is an AG, the data that is converted into the address allocated by the GGSN to the terminal is sent to the AG.
  • the second receiving unit in this embodiment is further configured to receive information for establishing a data channel that is sent by the terminal, and receive information that is generated by the AG after receiving the information about establishing the data channel, and that is sent by the terminal to allocate an address and And the information that the gateway general-purpose wireless packet service support node GGSN allocates for the terminal, and receives information about the radio access bearer RAB between the establishing terminal and the AG; the acquiring unit is further configured to acquire the terminal for the terminal.
  • the sending unit is further configured to send the IP address allocated to the terminal to the AG.
  • the AP in the embodiment of the present invention further includes: an address mapping unit, configured to establish an IP address and a GGSN allocated for the terminal. The mapping relationship of the addresses assigned to the terminal.
  • an access gateway AG as shown in FIG. 6, includes: a first receiving unit 201, a determining service unit 202, a first sending unit 203, and a query unit 207.
  • the AG may also include an RAB setup unit 204. among them,
  • the first receiving unit 201 is configured to receive a PDP context activation request sent by the terminal, receive a query response that includes the query result sent by the AHR, and receive a create PDP context response sent by the AP and the GGSN, where the PDP context response includes The address assigned by the AP to the terminal and the address allocated by the GGSN to the terminal, and the data sent by the receiving terminal or the network side;
  • the first receiving unit may specifically include: a receiving module 1 configured to receive data channel establishment information from the terminal, in order to facilitate understanding of the first receiving unit 201;
  • the method is configured to send the query information to the AHR, where the query information is used to query whether the subscription information of the AP that communicates with the terminal supports the outbound communication service, and sends a PDP context request to the AP.
  • the GGSN sends a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal, and sends data to the terminal or the network side;
  • the first sending unit 203 may specifically include a sending module 1 for forwarding data channel establishment information to the core network, in order to facilitate understanding of the first sending unit 203.
  • the sending module 2 is configured to: when the query unit acquires the direct support of the Gi port service, the query unit rotates to the AP Sending address data channel establishment information including the core network allocation;
  • the sending module 3 is configured to send a response to the data channel that includes the IP address allocated by the AP for the terminal to the terminal.
  • the query unit 207 is configured to query the AHR for the AP to directly output the Gi port service;
  • the RAB establishing unit 204 is configured to establish an RAB connection with the terminal by using the AP;
  • the determining service unit 203 is configured to determine, according to the APN in the received PDP context activation request, the service represented by the APN.
  • the AG has the above logic function module to establish a data channel between the terminal and the network side, and performs data communication between the terminal and the network side.
  • the AG may further include a determining egress unit 205, configured to determine whether the service represented by the APN in the received PDP context activation request can be out of the Gi port; wherein, the basis of the service represented by the APN determined by the AG can be out of the Gi port. It is configured by the operator. If the AG does not include the judgment egress unit 205, the AG can default to the Gi port for all services.
  • the AG may also include a GGSN functional unit 206 for implementing the GGSN function.
  • the GGSN functional unit 206 is modified on the AG, and the GGSN is modified so that the GGSN can identify the address assigned by the AP to the terminal, and the GGSN function unit 206 can not allocate the address to the terminal.
  • the AG can respectively establish a PDP context by communicating with the GGSN and the AP, and establish a data channel for the terminal to access the core network service and a data channel for accessing the Internet service, and implement the terminal and the network side.
  • the two data channels communicate.
  • the embodiment of the present invention further provides a communication system, which will be described below in conjunction with a specific embodiment.
  • Embodiment 7 is a communication system, where the communication system can establish two data out channels of the Gi port after receiving the information of the data channel sent by the terminal, which are respectively the data channel and the slave AP of the Gi port from the GGSN.
  • the data channel of the Gi port Referring to FIG. 7, the method includes: an access point AP501, an access gateway 502, and a gateway universal wireless packet service support node GGSN503.
  • the access point AP 501 receives the information of the established data channel sent by the terminal, and sends the received information of the established data channel to the access gateway AG, establishes a radio access bearer RAB between the terminal and the AG, and receives the AG sending.
  • Information for assigning addresses to terminals and gateway general-purpose wireless packet service support node GGSN forwarded by said AG Assigning an IP address to the terminal, assigning an IP address to the terminal, establishing a mapping relationship between the IP address assigned by the AP and the GGSN for the terminal, and passing the IP address assigned to the terminal through the AG Forwarded to the terminal;
  • the access gateway AG502 is configured to receive the information about the data channel, send the information of the address assigned to the terminal to the GGSN, and receive the address allocated by the GGSN for the terminal, and obtain whether the AP to which the terminal belongs supports the direct out of the Gi port service, and if yes, send And the information about the address assigned to the terminal is sent to the AP, where the information that is sent to the AP for the terminal includes the address that the GGSN allocates for the terminal, and the AP that is sent by the AP is the address allocated by the terminal, and the sending is successfully established.
  • Information of the data channel to the terminal includes the address that the GGSN allocates for the terminal, and the AP that is sent by the AP is the address allocated by the terminal, and the sending is successfully established.
  • the gateway general wireless packet service support node GGSN 503 is configured to receive information about an address allocated by the AG for the terminal, allocate an address for the terminal, and send the allocated address to the AG.
  • a communication system provided in Embodiment 7 of the present invention may further include: an AP Home Server AHR 504, a Dynamic Host Assignment Protocol DHCP Server 505, and an Address Assignment Server 506.
  • the AP home server AHR 504 is configured to provide the AG with information about whether the AP to which the terminal belongs supports the direct outgoing port service.
  • the dynamic host allocation protocol DHCP server 505 is configured to provide the AP with an address assigned to the terminal.
  • An address assignment server 506 is configured to provide an address assigned to the terminal for the GGSN.
  • the communication system can establish two data outgoing data channels of the Gi port after receiving the information of establishing the data channel sent by the terminal, respectively, the data channel and the slave port of the Gi port from the GGSN.
  • Embodiment 8 is a communication system, which can send data out of a Gi port with as few routing times as possible according to a preset data channel and a preset routing table in the AP.
  • FIG. 8 including: an access point AP 701, an access gateway AG 702, a gateway general wireless packet service support node GGSN 703, an internet server 704, and an application server 705.
  • the access point AP701 is configured to receive data sent by the terminal according to the preset data channel, and determine, according to the preset routing table in the AP, whether the next hop corresponding to the destination address in the data sent by the terminal is And the AG, if yes, converting the IP address in the data sent by the terminal to the GGSN as a terminal according to the mapping relationship between the IP address allocated to the terminal and the GGSN being the terminal.
  • the allocated address, the converted data is sent to the AG, if not, the data sent by the terminal is sent to the network side next hop;
  • the access gateway AG702 is configured to receive the data according to the preset data channel.
  • Data sent by the AP, and the data is sent to the GGSN;
  • the gateway general wireless packet service supporting node GGSN703 is configured to receive the data sent by the AG according to a preset data channel, and send the data to an application server;
  • the application server 705 is configured to provide core network services for the terminal.
  • a communication system may further include: a network address translation NAT device 706, configured to determine, in the AP 701, that the next hop corresponding to the destination address in the data sent by the terminal is AG702, according to the The mapping between the IP address assigned to the terminal and the GGSN 704 is the terminal allocation address, and the IP address in the data sent by the terminal is converted into an address allocated by the GGSN 704 for the terminal, and the converted data is sent to the AP 701;
  • a network address translation NAT device 706, configured to determine, in the AP 701, that the next hop corresponding to the destination address in the data sent by the terminal is AG702, according to the The mapping between the IP address assigned to the terminal and the GGSN 704 is the terminal allocation address, and the IP address in the data sent by the terminal is converted into an address allocated by the GGSN 704 for the terminal, and the converted data is sent to the AP 701;
  • the AP 701 determines that the data sent by the terminal needs to be sent out of the Gi port by the GGSN, the AP 701 can transfer the processing of the data to the network address translation NAT device 706 for execution.
  • the communication system can send the data route of the Gi port to the destination address according to the preset two data out of the data channel of the Gi port, thereby saving resources of the network.
  • Embodiment 9 is a communication system. Referring to FIG. 9, the method includes: an access point 10, an access gateway 20, an AP home server 30, a gateway GPRS support node 40, an internet server 60, and an application server 70.
  • the access point 10 is configured to receive a PDP context request sent by the AG, allocate an address to the terminal, and send a PDP context response to the AG, where the PDP context response includes an address that the AP allocates for the terminal, and the data sent by the terminal according to the routing table.
  • the access gateway 20 is configured to receive a PDP context request, determine a service represented by the APN included in the PDP context request, send a PDP context request to the GGSN, and receive a PDP context response sent by the GGSN, where the PDP context response includes the GGSN.
  • the address assigned by the terminal sends a query to the AP to support the information of the direct outbound interface to the AHR 30, receives the query result information sent by the AHR, establishes the RAB with the terminal, and sends a PDP context request to the AP, where the PDP context request includes the GGSN as the terminal.
  • the assigned address the receiving PDP context response sent by the AP, where the PDP context response includes an address allocated by the AP for the terminal, Sending a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal, and forwarding data between the terminal and the network side;
  • the AP home server 30 is configured to receive the query sent by the AG, whether the AP supports the direct outgoing information of the Gi port, and sends the query result information to the AG;
  • the gateway GPRS support node 40 is configured to receive a PDP context request sent by the AG, allocate an address for the terminal, and send a PDP context response to the AG, where the PDP context response includes an address allocated by the GGSN for the terminal, and the forwarding AG30 and the application service 70 Data between
  • the Internet server 60 is configured to receive data sent by the AP10, and send data to the AP10.
  • the application server 70 is configured to receive data sent by the GGSN 40 and send data to the GGSN 40.
  • the Internet server 60 provides an Internet service for the terminal
  • the application server 70 provides the core network service for the terminal. It should be noted that the most important function of the network side device including the AP, the AG, the GGSN, and the like is to forward data between the terminal and the server providing the service. Therefore, the above two statements about the Internet server 60 and the application server 70 are substantially the same.
  • the communication system can also include a NAT translation device 80, a DHCP server 90, and an address assignment server 100.
  • the NAT conversion device 80 is configured to convert an address in the data sent by the received terminal into an address recognizable on the Internet, and perform reverse conversion on the received data on the Internet, respectively, according to the AP and the GGSN. Mapping management of the address allocated by the same terminal, converting the address of the data sent by the terminal into an address allocated by the GGSN for the terminal, and performing opposite conversion on the data sent by the received GGSN;
  • a DHCP server 90 configured to provide an address assigned to the terminal for the access point 10;
  • the address allocation server 100 is configured to provide the GGSN 40 with an address assigned to the terminal.
  • a terminal When a terminal needs to access services on the network, it first needs to establish a data channel with the network side.
  • the terminal sends a PDP context activation request to the network side, and the PDP context request includes an APN.
  • the network side AG20 After receiving the PDP context activation request, the network side AG20 obtains the APN in the PDP context activation request, and determines the service represented by the APN, according to the carrier pair.
  • the configuration of the AG20 the AG20 supports all the services out of the Gi interface. Therefore, the AG20 sends a request to create a PDP context to the GGSN 40.
  • the GGSN configures an address for the terminal, and the address is included in the Create PDP Context Response and sent to the AG20.
  • the AG 20 establishes an RAB connection with the terminal.
  • the AG 20 sends a message to the AHR 30 to query whether the AP supports the direct outgoing IP address.
  • the AG 20 sends the information about whether the AP supports the direct outgoing IP port.
  • the PDP context request is created to the GGSN 40 for simultaneous execution, that is, the AG establishes a data channel for the two terminals to communicate with the network side.
  • the AHR 30 After receiving the information about whether the AP supports the direct out of the Gi interface, the AHR 30 receives the information saved when the AP opens the account, and queries and The Whether the AP 10 connected to the terminal is enabled to directly send out the service of the Gi interface, and the AHR 30 sends the query result to the AG 20; if the query result is that the AP 10 supports the direct out of the Gi interface service, the AG 20 sends a PDP context request to the AP 10; the AP 10 receives the created PDP context.
  • the terminal After the request is made to the AP10, the terminal is assigned an address, and the mapping relationship between the address assigned by the AP10 and the GGSN 40 for the terminal is established, and the address allocated by the AP10 is included in the Create PDP Context Response and sent to the AG20; the AG20 receives the creation context sent by the A10.
  • the AP10 obtains the address assigned to the terminal, and the address is included in the PDP context activation response and is sent to the terminal. If the query result in the AHR30 is that the AP10 does not support the direct outgoing Gi service, the AG20 directly sends the PDP context activation response to the terminal.
  • the terminal, the PDP context activation response includes an address allocated by the GGSN 40 for the terminal.
  • the data channel of the terminal accessing the core network service and accessing the Internet service is established.
  • the terminal wants to access the core network service
  • the terminal sends data to the AP20, and the AP20 receives the data.
  • the data is converted into a NAT according to the routing table saved in the AP20, and the address allocated by the AP included in the data is converted into an address allocated by the GGSN, and the converted data is sent to the AG20, and the data is sent by the AG20.
  • the GGSN 40 reaches the destination address of the core network, such as the application server 70; the core network side application server 70 needs to send the service data to the terminal through the opposite path; if the terminal wants to access the Internet service, the terminal sends data to the AP 20, and the AP 20 receives the The data is sent to the server 60 on the Internet according to the routing table saved in the AP 20. The server 60 on the Internet needs to send the service data to the terminal through the opposite path.
  • the data sent by the terminal to the AP needs to be translated by NAT, and the subnet address of the terminal is translated into an IP address.
  • the device that performs the NAT translation may be a NAT translation device connected to the AP 20. 80.
  • the device that implements the AP10 to allocate an address to the address allocated by the GGSN 40 to the terminal may also be implemented by the NAT conversion device 80.
  • the device for realizing the AP20 to allocate an address to the terminal may be implemented by the AP 20, or the AP 20 may be implemented by the DHCP server 90 connected to the AP, that is, the terminal allocates an address to the terminal in the DHCP server, and sends the allocated address.
  • the GGSN 40 can also obtain the address assigned to the terminal from the address distribution server 100.
  • Embodiment 9 of the present invention after receiving the information of establishing a data channel sent by the terminal, the communication system establishes two data out channels of the Gi port, and the communication system can implement The data sent by the terminal is sent to the destination address by a small number of routes, which saves resources of the network.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

The embodiments of the invention provide a routing method for data exiting a Gi interface, the corresponding apparatus and communication system. Wherein, the method includes: establishing a data channel for exiting a Gi interface from a core network and a data channel for exiting the Gi interface from an access point (AP); receiving data transmitted by a terminal; and according to a preset routing table and the destination address of the data, transmitting the data to the next hop network element in one of the two data channels corresponding to the destination address of the data. According to the embodiments of the invention, two data channels are established between the AP and a network side; and according to the path corresponding to the destination address in the preset routing table, the AP in the network side selects one of the two established data channels as a data transmission path. The problem is solved that the same APN used for identifying different services in the prior art can only establish one data channel for exiting the Gi interface, which probably causes the waste of core network resources.

Description

一种数据出 Gi口的路由方法、 装置和通信系统 本申请要求于 2008年 12月 24日提交中国专利局、 申请号为 200810189453. 8、 发 明名称为 "一种数据出 Gi口的路由方法、 装置和通信系统"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 本发明涉及通信技术领域, 尤其涉及一种数据出 Gi 口的路由方法、 装置和通信系 统。  The present invention claims to be submitted to the Chinese Patent Office on December 24, 2008, and the application number is 200810189453. 8. The invention name is "a routing method for data out of the Gi port, The priority of the Chinese patent application of the device and the communication system is hereby incorporated by reference in its entirety. TECHNICAL FIELD The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a communication system for routing data out of a Gi port.
背景技术 Background technique
Gi口是通用无线分组业务 (GPRS: General Packet Radio Service) 网络和分组数据 网络间的参考点。 承载在互联网协议 (IP: Internet Protocol) 网络上的终端的数据, 按 照数据出 Gi口的目的地址的不同分为两种: 一种是访问互联网 Internet业务; 二是访问 核心网 (CN: Core Net)业务, 如访问核心网无线应用协议(WAP: Wireless Application Protocol) 服务器。 在接入点 (AP: Access Point) 组网的环境下, 终端上的数据通过 AP传输到局域网中, 再从局域网中在传输到 IP网络上, 如果终端发送数据的目的地址 是核心网中的地址, 则数据由网关通用无线分组业务支持节点 (GGSN: Gateway GPRS Support Note) 发送出 Gi口, 路由到核心网中目的地址。 如果终端发送数据的目的地址 是互联网 Internet中的地址, 则数据由 GGSN发送出 Gi口, 路由到 Internet网中的目的 地址。 其中, 接入网关(AG: Access Gateway)集成了服务通用无线分组业务支持节点 ( SGSN: Service GPRS Support Note) 的功能。 The Gi port is a reference point between the general packet radio service (GPRS: General Packet Radio Service) network and the packet data network. The data of the terminal carried on the Internet Protocol (IP) network is divided into two types according to the destination address of the data out port: one is to access the Internet Internet service; the other is to access the core network (CN: Core Net ) Services, such as accessing the core network Wireless Application Protocol (WAP) server. In the environment of an access point (AP: Access Point) network, data on the terminal is transmitted to the local area network through the AP, and then transmitted from the local area network to the IP network. If the destination address of the data sent by the terminal is in the core network. The address is sent by the gateway general-purpose wireless packet service support node (GGSN: Gateway GPRS Support Note) to the destination address in the core network. If the destination address of the data sent by the terminal is an address in the Internet, the data is sent by the GGSN out of the Gi port and routed to the destination address in the Internet. The access gateway (AG: Access Gateway) integrates the function of the Service GPRS Support Note (SGSN).
随着技术的不断发展,逐渐演变为由 AP直接出 Gi口,此时需要在 AP上将 Internet 网络业务和核心网业务进行分离。 当终端发送的数据需要执行 Internet网业务时, AP将 数据直接发送到 Internet网络上的目的地址;如果需要执行核心网业务时,则按照 GGSN 发送数据出 Gi口的方法执行对数据的操作。 其中, 动态主机分配协议 DHCP服务器用 于给 AP和终端分配地址, 与 AP共同完成建立从 AP出 Gi口的数据通道, 其中, 网关 GW承载 AP所在的局域网与外网之间的通信。  As the technology continues to evolve, it gradually evolves from the AP directly to the Gi port. In this case, the Internet network service and the core network service need to be separated on the AP. When the data sent by the terminal needs to perform the Internet service, the AP directly sends the data to the destination address on the Internet. If the core network service needs to be executed, the data is processed according to the method in which the GGSN sends the data out of the Gi port. The dynamic host allocation protocol DHCP server is configured to allocate an address to the AP and the terminal, and complete the data channel between the local area network and the external network where the AP is located, and the gateway GW carries the communication between the local area network and the external network where the AP is located.
现有技术中使用不同的接入点名称 (APN: Access Point Name) 区分业务, 由于 APN可以是一类业务的标识, 所以当一类业务中有些业务需要访问 Internet业务, 有些 需要访问核心网业务时, 网络侧建立的数据通道只可以将 APN标识的所有业务通过 GGSN出 Gi口, 而不能建立从 AP直接出 Gi口的数据通道; 或者网络侧建立的数据通 道只可以将所有业务通过 AP出 Gi口, 而不能同时建立从 GGSN出 Gi口的数据通道。 现有技术对于标识的不同业务的同一 APN, 只能建立一条出 Gi口的数据通道, 可能导 致对核心网络资源的浪费。 In the prior art, different access point names (APNs) are used to distinguish services. Since APNs can be identifiers of a type of service, some services need to access Internet services and some need to access core network services. The data channel established on the network side can only pass all the services identified by the APN through the GGSN to the Gi port, but cannot establish a data channel directly from the AP to the Gi port; or the data channel established on the network side. The channel can only pass all the services out of the Gi port through the AP, and cannot establish the data channel from the GGSN to the Gi port at the same time. In the prior art, only one data channel of the Gi-port can be established for the same APN of the identified different services, which may result in waste of core network resources.
发明内容 Summary of the invention
本发明实施例提供了一种数据出 Gi 口的路由方法、 装置和通信系统, 解决了现有 技术中标识不同业务的同一 APN, 只能建立一条出 Gi口的数据通道, 而可能导致对核 心网络资源的浪费。  The embodiment of the present invention provides a method, a device, and a communication system for routing data out of a port, and solves the problem that the same APN that identifies different services in the prior art can only establish a data channel of the out port, which may lead to the core. Waste of network resources.
本发明实施例提供了一种数据出 Gi口的路由方法, 包括:  An embodiment of the present invention provides a method for routing data out of a Gi port, including:
建立从核心网出 Gi口的数据通道和从接入点出 Gi口的数据通道;  Establish a data channel from the core network to the Gi port and a data channel from the access point to the Gi port;
接收终端发送的数据;  Receiving data sent by the terminal;
根据预置的路由表和所述数据的目的地址,将所述数据发送给与所述数据的目的地 址对应的所述两个数据通道其中一条数据通道中的下一跳网元, 其中所述路由表包括目 的地址和至少一个数据通道中的下一跳网元的对应关系。  Sending, according to the preset routing table and the destination address of the data, the next hop network element in one of the two data channels corresponding to the destination address of the data, where the The routing table includes a correspondence between the destination address and the next hop network element in the at least one data channel.
本发明实施例还提供了一种接入点 AP, 包括:  An embodiment of the present invention further provides an access point AP, including:
第二接收单元, 用于接收终端发送的数据;  a second receiving unit, configured to receive data sent by the terminal;
判断单元, 用于根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地 址对应的下一跳网元是否是接入网关 AG; 获取单元,用于获取为终端分配的 IP地址与 GGSN为终端分配的地址的映射关系; 处理单元, 用于当所述判断单元确定所述第一接收单元所接收的数据的目的地址对 应的下一跳地址是 AG时, 根据获取单元的获取的为终端分配的 IP地址与 GGSN为终 端分配的地址的映射关系, 将所述数据的 IP地址转换为 GGSN为终端分配的地址; 第二发送单元, 用于当所述判断单元确定所述第一接收单元所接收的数据的目的地 址对应的下一跳网元不是 AG时, 将所述数据通过所述下一跳网元发送到所述的目的地 址; 或者, 用于当所述数据的目的地址对应的下一跳网元是 AG时, 将 IP地址转换为 对应的 GGSN为终端分配的地址的数据发送给 AG。 本发明实施例还提供了一种接入网关 AG, 包括: 第一接收单元, 用于接收来自终端的数据通道建立信息, 包含核心网为所述终端分 配的地址的数据通道建立响应, 和包含为所述终端分配的 IP地址的数据通道建立响应; 查询单元, 用于向 AP归属服务器查询 AP支持直接出 Gi口业务; 第一发送单元, 用于向核心网转发数据通道建立信息, 还用于当查询单元获取所述a determining unit, configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is the access gateway AG, and the acquiring unit, configured to acquire the terminal device The mapping between the IP address and the address assigned by the GGSN to the terminal; the processing unit, configured to: when the determining unit determines that the next hop address corresponding to the destination address of the data received by the first receiving unit is AG, according to the obtaining unit Obtaining a mapping relationship between the IP address allocated by the terminal and the address allocated by the GGSN for the terminal, converting the IP address of the data into an address allocated by the GGSN to the terminal; and the second sending unit, configured to: when the determining unit determines When the next hop network element corresponding to the destination address of the data received by the first receiving unit is not an AG, the data is sent to the destination address by using the next hop network element; or, When the next hop network element corresponding to the destination address of the data is the AG, the data of the IP address converted to the address allocated by the GGSN to the terminal is sent to the AG. The embodiment of the present invention further provides an access gateway AG, including: a first receiving unit, configured to receive data channel establishment information from the terminal, and include a data channel establishment response of the address allocated by the core network for the terminal, and include Establishing a response for the data channel of the IP address assigned by the terminal; The query unit is configured to query the AP home server to query the AP to support the direct out of the Gi port service; the first sending unit is configured to forward the data channel establishment information to the core network, and is further configured to: when the query unit obtains the
AP支持直接出 Gi口业务时, 向所述 AP转发包含所述核心网分配的地址数据通道建立 信息, 还用于向终端发送包含为所述终端分配的 IP地址的数据通道建立响应。 When the AP supports the outgoing service of the Gi interface, the AP forwards the address data channel establishment information including the core network allocation to the AP, and is further configured to send a data channel establishment response including the IP address allocated to the terminal to the terminal.
本发明实施例还提供了一种通信系统, 包括:  The embodiment of the invention further provides a communication system, including:
接入点 AP, 用于接收终端发送的数据, 根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地址对应的下一跳网元是否是接入网关 AG, 当所述数据的目的地 址对应的下一跳地址不是 AG时, 将所述数据通过所述下一跳网元发送到所述的目的地 址, 当所述数据的目的地址对应的下一跳地址是 AG时, 根据为终端分配的 IP地址与 GGSN为终端分配的地址的映射关系, 将所述数据的 IP地址转换为对应的 GGSN为终 端分配的地址, 当所述数据的目的地址对应的下一跳地址是 AG时, 将 IP地址转换为 对应的 GGSN为终端分配的地址的数据发送给 AG;  The access point AP is configured to receive data sent by the terminal, and determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is the access gateway AG, When the next hop address corresponding to the destination address of the data is not the AG, the data is sent to the destination address by using the next hop network element, and the next hop address corresponding to the destination address of the data is the AG. The IP address of the data is converted into an address allocated by the GGSN to the terminal according to the mapping relationship between the IP address assigned to the terminal and the address allocated by the GGSN for the terminal, and the next hop corresponding to the destination address of the data. When the address is the AG, the data of the IP address is translated to the address allocated by the corresponding GGSN for the terminal, and is sent to the AG;
接入网关 AG, 用于接收来自终端的数据通道建立信息, 向网关通用无线分组业务 支持节点 GGSN转发数据通道建立信息, 接收包含 GGSN为所述终端分配的地址的数 据通道建立响应, 向 AHR查询 AP支持直接出 Gi口业务, 当查询单元获取所述 AP支 持直接出 Gi口业务时, 向所述 AP转发包含所述 GGSN分配的地址数据通道建立信息, 接收包含为所述终端分配的 IP地址的数据通道建立响应, 向终端发送包含为所述终端 分配的 IP地址的数据通道建立响应;  The access gateway AG is configured to receive data channel establishment information from the terminal, forward the data channel establishment information to the gateway general wireless packet service support node GGSN, and receive a data channel establishment response including the address allocated by the GGSN for the terminal, and query the AHR. The AP supports the direct-out of the Gi-port service. When the queried unit obtains the direct-out Gi-port service, the querier forwards the address data channel establishment information including the GGSN to the AP, and receives the IP address allocated for the terminal. Data channel establishment response, sending a data channel setup response containing the IP address assigned to the terminal to the terminal;
网关通用无线分组业务支持节点 GGSN, 用于接收所述 AG发送的为终端分配地址 的信息, 为终端分配地址, 将分配的地址发送给所述 AG。  The gateway general wireless packet service support node GGSN is configured to receive information about an address allocated by the AG for the terminal, allocate an address for the terminal, and send the allocated address to the AG.
本发明实施例还提供了一种通信系统, 包括:  The embodiment of the invention further provides a communication system, including:
接入点 AP, 用于根据预置的数据通道, 接收终端发送的数据, 根据所述 AP 中预 置的路由表, 判断所述终端发送的数据中的目的地址所对应的下一跳是否是所述 AG, 当所述判断结果为下一跳是 AG时, 根据所述建立的所述为终端分配的 IP地址与所述 GGSN 为终端分配地址的映射关系, 将所述终端发送的数据中的 IP 地址转换为所述 GGSN为终端分配的地址, 将转换后的数据发送给所述 AG, 当所述判断结果为下一跳 不是 AG时, 将所述终端发送的数据发送给网络侧下一跳网元, 所述下一跳网元转发给 目的地址;  The access point AP is configured to receive, according to the preset data channel, the data sent by the terminal, and determine, according to the preset routing table in the AP, whether the next hop corresponding to the destination address in the data sent by the terminal is The AG, when the judgment result is that the next hop is the AG, according to the mapping relationship between the established IP address allocated to the terminal and the GGSN being the terminal, the data sent by the terminal is The IP address is translated to the address allocated by the GGSN to the terminal, and the converted data is sent to the AG. When the result of the determination is that the next hop is not the AG, the data sent by the terminal is sent to the network side. One-hop network element, the next hop network element is forwarded to the destination address;
接入网关 AG, 用于根据预置的数据通道, 接收所述 AP发送的数据, 将所述数据 发送给 GGSN; 网关通用无线分组业务支持节点 GGSN, 用于根据预置的数据通道, 接收所述 AG 发送的所述数据, 将所述数据发送给应用服务器; The access gateway AG is configured to receive data sent by the AP according to a preset data channel, and send the data to the GGSN. a gateway general wireless packet service support node GGSN, configured to receive the data sent by the AG according to a preset data channel, and send the data to an application server;
互联网服务器, 用于接收所述 AP发送的数据;  An internet server, configured to receive data sent by the AP;
应用服务器, 用于为所述终端提供核心网业务。  An application server, configured to provide a core network service for the terminal.
本发明实施例提供的一种 AP出 Gi口的路由方法、 装置和通信系统, AP与网络侧 建立两条数据通道, 其中, 两条数据通道分别是从核心网出 Gi 口的数据通道和从 AP 直接出 Gi口的数据通道, 网络侧 AP根据预置的路由表中目的地址所对应的路径,选择 所述两条数据通道的其中一条作为数据传输的路径。 因此, 解决了现有技术中标识不同 业务的同一 APN, 只能建立一条出 Gi口的数据通道, 而可能导致对核心网络资源的浪 费。  A method, a device, and a communication system for routing an AP out of a Gi interface are provided by the embodiment of the present invention. The AP and the network side establish two data channels, where the two data channels are data channels and slaves of the Gi port from the core network respectively. The AP directly out of the data channel of the Gi interface, and the network side AP selects one of the two data channels as the data transmission path according to the path corresponding to the destination address in the preset routing table. Therefore, the same APN that identifies different services in the prior art is solved, and only one data channel of the Gi port can be established, which may cause waste of the core network resources.
附图说明 图 1是本发明实施例一提供的一种数据出 Gi口的路由方法的流程图; BRIEF DESCRIPTION OF DRAWINGS FIG. 1 is a flowchart of a method for routing a data out Gi port according to Embodiment 1 of the present invention;
图 2是本发明实施例二提供的一种数据出 Gi口的路由方法的的流程图; 图 3是本发明实施例二中终端与网络侧通信时数据流的流动方向图;  2 is a flowchart of a method for routing data out of a Gi port according to Embodiment 2 of the present invention; FIG. 3 is a flow chart of a data flow when a terminal communicates with a network side according to Embodiment 2 of the present invention;
图 4是本发明实施例二中 AP对数据进行协议栈转换处理的流程图;  4 is a flowchart of a protocol stack conversion process performed by an AP on data according to Embodiment 2 of the present invention;
图 5是本发明实施例四中提供的一种接入点 AP的逻辑单元图;  5 is a logical unit diagram of an access point AP according to Embodiment 4 of the present invention;
图 6是本发明实施例六中提供的一种接入网关 AG的逻辑单元图;  6 is a logic unit diagram of an access gateway AG according to Embodiment 6 of the present invention;
图 7是本发明实施例七中提供的一种通信系统的组成图;  7 is a structural diagram of a communication system provided in Embodiment 7 of the present invention;
图 8是本发明实施例八中提供的一种通信系统的组成图;  8 is a structural diagram of a communication system provided in Embodiment 8 of the present invention;
图 9是本发明实施例九中提供的一种通信系统的组成图。  FIG. 9 is a structural diagram of a communication system provided in Embodiment 9 of the present invention.
具体实施方式 在本发明实施例中 AP 根据预置的路由表中目的地址的不同, 判断终端是要访问 Internet业务还是访问核心网业务, 解决了现有技术中标识的不同业务的同一 APN, 只 能建立一条出 Gi 口的数据通道, 可能导致对核心网络资源的浪费的问题。 下面结合具 体的实施例对本发明实施例提供的一种 AP出 Gi口业务的路由方法、装置和通信系统做 说明。 In the embodiment of the present invention, the AP determines whether the terminal accesses the Internet service or the core network service according to the destination address in the preset routing table, and solves the same APN of different services identified in the prior art. The ability to establish a data channel out of the Gi port may cause a waste of core network resources. A method, a device, and a communication system for routing an AP out Gi service according to an embodiment of the present invention are described below with reference to a specific embodiment.
实施例一, 一种数据出 Gi口的路由方法, 参见图 1所示, 该方法包括: 步骤 1, 接入点为终端建立从核心网出 Gi口的数据通道和从接入点出 Gi口的数据 通道;  The first embodiment is a method for routing data out of a Gi interface. As shown in FIG. 1 , the method includes: Step 1: The access point establishes a data channel for the terminal to output a Gi port from the core network and a Gi port from the access point. Data channel
步骤 2, 接收终端发送的数据; 步骤 3, 根据预置的路由表和所述数据的目的地址, 将所述数据发送给与所述数据 中的目的地址对应的所述两个数据通道其中一条数据通道中的下一跳网元。 Step 2: Receive data sent by the terminal. Step 3: Send the data to a next hop network element in one of the two data channels corresponding to the destination address in the data according to the preset routing table and the destination address of the data. .
采用本发明实施例一提供的一种数据出 Gi口的路由方法, AP与网络侧建立两条数 据通道, 其中, 两条数据通道分别是从核心网出 Gi口的数据通道和从 AP直接出 Gi n 的数据通道, 网络侧 AP根据预置的路由表中目的地址所对应的路径, 选择所述两条数 据通道的其中一条作为数据传输的路径。 避免了现有技术中一个 APN只可以建立一条 数据通道, 当 APN标识的业务有多个时, 而可能造成对核心网络资源的浪费。  The data routing method of the Gi-port is provided by the first embodiment of the present invention. The AP and the network side establish two data channels, wherein the two data channels are respectively the data channel of the Gi port from the core network and the data channel directly from the AP. The data channel of the Gi n, the network side AP selects one of the two data channels as the path of data transmission according to the path corresponding to the destination address in the preset routing table. In the prior art, an APN can only establish one data channel. When there are multiple services identified by the APN, it may cause waste of core network resources.
本发明实施例一是对本发明实施例提供的一种数据出 Gi口的路由方法的概括说明, 下面说明本发明实施例提供的实施例二。  A first embodiment of the present invention is a general description of a method for routing data out of a Gi port according to an embodiment of the present invention.
实施例二, 一种数据出 Gi口的路由方法, 该方法从核心网出 Gi口的数据通道可以 具体从核心网中的 GGSN出 Gi口。 参见图 2所示, 该方法包括:  The second embodiment is a routing method for data out of the Gi port. The data channel of the Gi port from the core network can be specifically output from the GGSN in the core network. Referring to Figure 2, the method includes:
步骤 HI : 终端向网络侧发送 PDP上下文激活请求, 其中, 所述 PDP上下文请求中 包括 APN;  Step HI: The terminal sends a PDP context activation request to the network side, where the PDP context request includes an APN;
其中,步骤 HI中的发送 PDP上下文激活请求承载有终端要求与网络侧建立数据通 道的信息和 APN; 需要理解的是, 承载信息的格式可以有多种, 在本实施例中所举例出 的具体格式为 PDP上下文激活请求, 不应理解对本发明实施例的限制。  The sending PDP context activation request in the step HI carries the information and the APN of the data channel established by the terminal and the network side. It is understood that the format of the bearer information may be multiple, and the specific example is used in this embodiment. The format is a PDP context activation request, and the limitations of the embodiments of the present invention should not be understood.
步骤 H2: 网络侧 AG经过 AP转发, 接收到 PDP上下文激活请求, 获取所述 PDP 上下文请求中包括 APN, AG根据预置的信息, 判断出所述 APN代表的业务, 判断出 该 APN代表的业务是可以出 Gi口;  Step H2: The network side AG forwards the AP through the AP, and receives the PDP context activation request. The PDP context request includes the APN, and the AG determines the service represented by the APN according to the preset information, and determines the service represented by the APN. It is possible to exit the Gi port;
其中, 在步骤 H2中所述 AG上预置的信息包括: APN代表的业务、 或者 APN关 联的业务。 所述预置的信息还可以包括: APN代表或者关联的业务是否可以出 Gi口的 信息。 如果所述 APN代表或者关联的业务是否可以出 Gi口的信息为缺省时, 则 AG可 以判断出所有业务都可以出 Gi口。需要理解的是, AG上预置的信息可以是运营商配置 的, 保存在 AG上。 此处的 AG是终端所属的 AP接入到核心网的接入网关。  The information preset on the AG in step H2 includes: a service represented by the APN, or a service associated with the APN. The preset information may further include: whether the APN represents or the associated service can output information of the Gi port. If the APN represents or associates the service with the information of the Gi port as the default, the AG can determine that all services can exit the Gi port. It should be understood that the information preset on the AG can be configured by the operator and stored on the AG. The AG here is an access gateway to which the AP to which the terminal belongs accesses the core network.
步骤 H3 : AG根据步骤 H2中的判断结果, 发送创建 PDP上下文请求给 GGSN; 其中, 步骤 H3中发送的创造 PDP上下文请求中承载有要求 GGSN为终端分配 IP 地址的请求。其中,承载有要求 GGSN为终端分配 IP地址的请求的具体格式除创建 PDP 上下文请求外, 还可以有其它格式。 以下文字中关于创建 PDP 上下文请求的理解, 都 可以参照此处的说明。  Step H3: The AG sends a PDP context request to the GGSN according to the judgment result in the step H2. The request for creating a PDP context sent in the step H3 carries a request for the GGSN to allocate an IP address for the terminal. The specific format carrying the request for the GGSN to allocate an IP address to the terminal may have other formats besides creating a PDP context request. The following text for an understanding of creating PDP context requests can be found here.
步骤 H4: GGSN接收到创建 PDP上下文请求后, 给终端分配地址; 步骤 H5: GGSN发送创建 PDP上下文响应给 AG, 其中, 所述创建 PDP上下文响 应中包括 GGSN为终端分配的地址; Step H4: After receiving the request for creating a PDP context, the GGSN allocates an address to the terminal. Step H5: The GGSN sends a Create PDP Context Response to the AG, where the Create PDP Context Response includes an address allocated by the GGSN for the terminal.
步骤 H6: AG发送查询与所述终端通信的 AP是否支持直接出 Gi口的业务的信息 给 AHR (AP归属服务器);  Step H6: The AG sends an inquiry to the AHR (AP home server) for querying whether the AP communicating with the terminal supports the service directly outgoing from the Gi port;
步骤 H7: AHR根据接收到的查询信息, 判断所述 AP是否支持直接出 Gi口, 发送 包括查询结果的信息给 AG, 如果查询结果为是, 进入步骤 H8, 如果查询结果为否, 进 入步骤 H12; 其中, 执行所述步骤 H6和步骤 H7的时间, 可以是与执行步骤 H3至步骤 H5同时, 即当步骤 H2中判断出 APN代表的业务是可以出 Gi口之后, 同时可以进行 GGSN为终端分配地址和查询与终端通信的 AP是否可以支持直接出 Gi口。  Step H7: The AHR determines, according to the received query information, whether the AP supports the direct out of the Gi interface, and sends the information including the query result to the AG. If the query result is yes, the process proceeds to step H8. If the query result is no, the process proceeds to step H12. The time for performing the step H6 and the step H7 may be the same as the step H3 to the step H5, that is, after the step H2 determines that the service represented by the APN is available for the Gi port, the GGSN may be allocated for the terminal. Address and query whether the AP communicating with the terminal can support the direct outgoing port.
步骤 H8: AG接收到的创建 PDP上下文响应和 /或 AHR发送的查询结果的信息之 后, AG与终端建立 RAB;  Step H8: After the AG receives the information of the PDP context response and/or the query result sent by the AHR, the AG establishes an RAB with the terminal;
其中, 所述步骤 H8中 AG与 UE建立 RAB的方法是现有技术。  The method for establishing an RAB between the AG and the UE in the step H8 is prior art.
步骤 H9: 如果步骤 H7中判断结果为 AP支持直接出 Gi口, 则 AG发送创建 PDP 上下文请求给 AP, 其中, 所述创建 PDP上下文请求中包括 GGSN为终端分配的地址; 步骤 H10: AP接收到创建 PDP上下文请求后, 给所述终端分配地址, 建立 AP为 所述终端分配的地址与 GGSN为所述终端分配的地址的映射关系;  Step H9: If the result of the determination in step H7 is that the AP supports the direct out of the Gi interface, the AG sends a PDP context request to the AP, where the request to create the PDP context includes the address allocated by the GGSN for the terminal; Step H10: The AP receives After the PDP context request is created, the terminal is allocated an address, and a mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal is established;
其中,所述步骤 H10中建立 AP为所述终端分配的地址与 GGSN为所述终端分配的 地址的映射关系具体包括: 根据终端在 AP中的标识是唯一的, GGSN为所述终端分配 的地址、 和 AP为所述终端分配的地址与终端在 AP中的唯一标识关联, 实现了 GGSN 为所述终端分配的地址与 AP为所述终端分配的地址之间的映射。  The mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal in the step H10 specifically includes: according to the identifier of the terminal in the AP, the address allocated by the GGSN to the terminal And the address assigned by the AP to the terminal is associated with the unique identifier of the terminal in the AP, and the mapping between the address allocated by the GGSN for the terminal and the address allocated by the AP for the terminal is implemented.
步骤 Hll : AP发送创建 PDP上下文响应给 AG, 其中, 所述创建 PDP上下文响应 中包括 AP为终端分配的地址;  Step H11: The AP sends a PDP context response to the AG, where the PDP context response includes the address allocated by the AP for the terminal.
其中, 需要说明的是, 步骤 H8也可以在步骤 H11后, 即 AP为终端分配地址成功 后再进行 RAB的建立。  It should be noted that, in step H8, after the step H11, that is, the AP assigns an address to the terminal successfully, the RAB is established.
步骤 H12: AG发送 PDP上下文激活响应给终端, 其中, 所述 PDP上下文激活响 应中包括 AP为终端分配的地址;  Step H12: The AG sends a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal.
其中,需要理解的是,在步骤 H12中发送的 PDP上下文激活响应中也可以是 GGSN 为终端分配的地址, 如果是这样, 终端发送的数据通过 AP直接出 Gi口时, 包含数据的 数据包中需要进行 NAT (network address translators, 网络地址转换) 转换, 将终端中 GGSN为终端分配的地址转换为 AP为终端分配的地址, AP将数据发送出 Gi口。 步骤 H13 : 终端接收 AG发送的 PDP上下文激活响应, 所述 PDP上下文激活响应 中包括 AP为终端分配的地址或 GGSN为终端分配的地址; It should be understood that the PDP context activation response sent in step H12 may also be the address allocated by the GGSN for the terminal. If so, when the data sent by the terminal directly exits the Gi port through the AP, the data packet includes the data packet. The NAT (network address translators) conversion is performed, and the address assigned by the GGSN to the terminal in the terminal is translated into an address assigned by the AP to the terminal, and the AP sends the data out of the Gi port. Step H13: The terminal receives a PDP context activation response sent by the UE, where the PDP context activation response includes an address allocated by the AP for the terminal or an address allocated by the GGSN for the terminal.
其中, 步骤 HI至步骤 H13实现了终端与网络侧建立两条数据通道的过程, 所述两 条数据通道包括: 访问核心网业务的数据通道和访问 Internet业务的数据通道。  Step HI to step H13 implements a process of establishing two data channels between the terminal and the network side, where the two data channels include: a data channel for accessing the core network service and a data channel for accessing the Internet service.
步骤 H14: 根据建立的数据通道和 AP中预置的路由表, 终端与网络侧进行数据通 信。  Step H14: According to the established data channel and the preset routing table in the AP, the terminal performs data communication with the network side.
其中,步骤 H14中终端与网络侧进行的数据通信的方法,参见图 3所示,具体包括: 终端发送的数据根据已经建立完成的数据通道, 和 AP中的路由表, 判断出发送数据的 下一跳是 AG, 则 AP将数据发送给 AG, AG将数据发送给 GGSN, 数据由 GGSN出 Gi口访问核心网上的应用服务器; 当判断出发送数据的目的地址是 Internet上地址, 则 AP 将数据直接发送给下一跳指示的网元, 比如, 下一跳指示的网元可以为主机、 网关 或路由器。 并由该网元转发给 Internet中目的地址。 所述终端将数据经由网络侧的设备 到达目的地址的数据称为上行数据, 同理, 网络侧发送给终端的数据称为下行数据。  The method for performing data communication between the terminal and the network side in step H14 is as shown in FIG. 3, which specifically includes: the data sent by the terminal is determined according to the data channel that has been established, and the routing table in the AP, If the hop is an AG, the AP sends the data to the AG, and the AG sends the data to the GGSN. The data is accessed by the GGSN to access the application server on the core network. When it is determined that the destination address of the sent data is the address on the Internet, the AP will The network element directly sent to the next hop indication, for example, the network element indicated by the next hop may be a host, a gateway, or a router. And the network element forwards it to the destination address in the Internet. The data that the terminal sends data to the destination address through the device on the network side is called uplink data. Similarly, the data sent by the network side to the terminal is called downlink data.
需要说明的是, 在步骤 H14中终端与网络侧进行数据的通信中, 网络侧的 AP接收 终端发送的数据后, 对数据的处理方法, 参见图 4所示, 具体包括: 根据自身保存的路 由表, 判断接收的终端发送的数据中的目的地址是核心网中的地址, 还是 Internet网上 的地址, 即判断路由表中目的地址对应的下一跳是 AG, 还是其他设备; 如果判断为该 数据中的目的地址为 Internet上地址, 则 AP对该数据顺序地进行 L1层上的处理、 L2 层上的处理和底层承载的处理。 如果在步骤 H10中 AP分配给终端的地址是从属于 AP 的子网地址, 则 AP对数据进行 L2上层处理之后、 底层承载的处理之前还包括: 对数 据中包含的终端的地址进行网络地址转换(NAT: network address translators),简称 NAT 转换。 所述的 NAT转换的作用是将 AP子网中终端的地址转换为外网地址。 所述 NAT 转换为 IP层上处理。  It should be noted that, in the data communication between the terminal and the network side in the step H14, after the AP on the network side receives the data sent by the terminal, the method for processing the data, as shown in FIG. 4, specifically includes: The table determines whether the destination address in the data sent by the receiving terminal is an address in the core network or an address on the Internet, that is, whether the next hop corresponding to the destination address in the routing table is an AG or another device; if it is determined to be the data The destination address in the Internet is an address on the Internet, and the AP sequentially performs processing on the L1 layer, processing on the L2 layer, and processing on the underlying bearer. If the address assigned by the AP to the terminal is the subnet address of the AP in step H10, the AP performs the L2 upper layer processing on the data, and before the processing of the underlying bearer, the method further includes: performing network address translation on the address of the terminal included in the data. (NAT: network address translators), referred to as NAT translation. The function of the NAT translation is to convert the address of the terminal in the AP subnet to the external network address. The NAT is converted to processing on the IP layer.
如果判断终端发送的数据中的目的地址为核心网中地址, 即在路由表中该目的地址 对应的下一跳是 AG, 则 AP对该数据顺序地进行 L1层上的处理、 L2层上的处理、 用 户面的 GPRS隧道协议 (GTP-U: GPRS Tunneling Protocol for the user plane) 层处理、 IP层处理和底层承载的处理。 所述 AP对该数据进行 L1层上的处理、 L2层上的处理、 对 UE发送的 IP报文进行 NAT转换, GTP-U处理、 IP层处理和底层承载的处理为现有 技术。  If it is determined that the destination address in the data sent by the terminal is an address in the core network, that is, the next hop corresponding to the destination address in the routing table is an AG, the AP sequentially performs processing on the L1 layer, and on the L2 layer. Processing, user plane GPRS tunneling protocol (GTP-U: GPRS Tunneling Protocol for the user plane) layer processing, IP layer processing and underlying bearer processing. The AP performs the processing on the L1 layer, the processing on the L2 layer, and performs NAT conversion on the IP packet sent by the UE. The GTP-U processing, the IP layer processing, and the processing of the underlying bearer are prior art.
其中, 以上所述 L1层是无线网络中的第一层, 即物理层; 所述 L2层是无线网络第 二层, 包括介质访问控制层 (MAC: Media Access Control ) RLC、 分组数据汇聚协议 (PDCP: packet data convergence protocol) 层。 所述的底层承载的处理是针对传输网 络中包括链路层和物理层上的处理。所述的 GTP-U处理是针对数据在 AP和 AG间隧道 上传输, 而对数据进行的处理。 对终端发送的 IP报文进行 NAT转换, 可以是将终端的 私网地址转换为 IP网络上唯一的 IP地址。 以上所述的数据处理为现有技术。 The L1 layer is the first layer in the wireless network, that is, the physical layer; the L2 layer is the wireless network. The second layer includes a medium access control layer (MAC: Media Access Control) RLC and a packet data convergence protocol (PDCP) layer. The processing of the underlying bearer is directed to processing on the link layer and the physical layer in the transport network. The GTP-U process is for data processing on the tunnel between the AP and the AG. The NAT translation of the IP packet sent by the terminal may be to convert the private network address of the terminal into a unique IP address on the IP network. The data processing described above is prior art.
当 AP将 Internet上、 或者 AG发送来的数据所进行的处理, 与上述将终端发送的 数据发送给下一跳指示的网元,并由该网元转发给 Internet中目的地址、或者发送给 AG 之前,对数据进行的处理的方法相反。可以参照上述 AP对终端发送的数据进行的处理, 容易得出 AP对 Internet上、 或者 AG发送来的数据的处理方法。  When the AP processes the data sent by the Internet or the AG, the data sent by the terminal is sent to the network element indicated by the next hop, and is forwarded by the network element to the destination address in the Internet or sent to the AG. Previously, the method of processing data was reversed. The processing of the data sent by the AP to the terminal can be referred to, and the method for processing the data sent by the AP to the Internet or by the AG can be easily obtained.
其中, 需要说明的是, 步骤 H14中所述的 AP中预置的路由表的作用是, 当 AP接 收到终端发送的数据时, 根据路由表中的信息判断出将数据转发给 AG, 还是将数据转 发到给下一跳指示的网元, 并由该网元转发给 Internet中目的地址。 其中, 预置的路由 表可以是运营商远程管理下发给 AP, 也可以是由用户在 AP的近端配置生成的。 因此, 本发明实施例二提供的一种 AP出 Gi口业务的路由方法,在步骤 HI之前,还可以包括: 在 AP中预置路由表。  It should be noted that the routing table preset in the AP in step H14 is configured to: when the AP receives the data sent by the terminal, determine whether to forward the data to the AG according to the information in the routing table, or The data is forwarded to the network element indicated to the next hop, and forwarded by the network element to the destination address in the Internet. The preset routing table may be sent to the AP by the remote management of the operator, or may be generated by the user at the near end of the AP. Therefore, the routing method of the AP out Gi service is provided in the second embodiment of the present invention. Before the step HI, the method further includes: presetting a routing table in the AP.
其中, 预置路由表的方法可以是: 运营商远程管理下发给 AP, 也可以是由用户在 AP的近端配置生成的。 所述的路由表具体可以是如下表 1, 其中, 假设 AP为终端分配 的地址为 192.168.0.1 ; 核心网业务中应用服务器的地址为 10.0.0.1 ; UE 期望访问的 Internet业务的目的地址为 210.45.0.1。 在下表 1中目的地址为默认的情况下, 则 AP判 断出数据中包含的目的地址为 10.0.0.1 的数据, 由 AP发送给 AG, 其余的目的地址, AP将数据发送给下一跳指示的网元, 然后由网元转发到 Internet上的服务器。路由表包 括目的地址和至少一个数据通道中的下一条网元的对应关系。  The method of the preset routing table may be: the remote management of the operator is sent to the AP, or may be generated by the user at the near end of the AP. The routing table may be specifically as shown in the following Table 1, wherein the address assigned by the AP to the terminal is 192.168.0.1; the address of the application server in the core network service is 10.0.0.1; and the destination address of the Internet service that the UE expects to access is 210.45. .0.1. If the destination address is the default in the following table 1, the AP determines that the data with the destination address of 10.0.0.1 is sent by the AP to the AG, and the rest of the destination addresses. The AP sends the data to the next hop. The network element is then forwarded by the network element to the server on the Internet. The routing table includes the correspondence between the destination address and the next network element in at least one data channel.
表 1 : 路由表  Table 1: Routing Table
Figure imgf000010_0001
Figure imgf000010_0001
本发明实施例二提供的一种 AP出 Gi口业务的路由方法,该方法的有益效果是:在 不改造现有网络侧设备的条件下, 终端设置一个 APN与网络层建立两条数据通道, 所 述两条数据通道分别是访问核心网业务的数据通道和访问 Internet业务的数据通道, 网 络侧 AP根据预置的路由表中目的地址所对应的路径, 选择所述两条数据通道的其中一 条作为数据传输的路径。 解决了现有技术中同一个 APN标识的不同业务, 只能建立一 条出 Gi口的数据通道, 采用预置的路由表避免导致对核心网络资源的浪费。 A method for routing an IP outbound service of an AP provided by the second embodiment of the present invention, the beneficial effect of the method is: setting the APN and the network layer to establish two data channels, without modifying the existing network side device, The two data channels are respectively a data channel for accessing the core network service and a data channel for accessing the Internet service, and the network side AP selects one of the two data channels according to the path corresponding to the destination address in the preset routing table. The strip acts as a path for data transfer. The data of the same APN identity is solved in the prior art. Only one data channel of the outbound interface can be established. The preset routing table is used to avoid wasting the core network resources.
以上是对本发明实施例提供的方法的说明, 下面对本发明实施例提供的装置做说 明。  The foregoing is a description of the method provided by the embodiment of the present invention. The device provided by the embodiment of the present invention is described below.
实施例三, 本发明实施例还提供了一种数据出 Gi 口的路由方法, 该方法与实施例 二提供的方法相似, 不同之处在于, 实施例二中网络侧的 AG与 GGSN是两个独立的实 体,事实上, GGSN是可以集成在 AG中,本发明实施例三正是将 GGSN集成在 AG中, 由 AG来实现原先在 GGSN中执行的任务, 即 AG不但要执行判断出所述 APN代表的 业务, 判断出该 APN代表的业务是可以出 Gi口; 还要给终端分配地址, 达到为终端建 立从 GGSN出 Gi口的通道。 因此, 本发明实施例提供的方法包括:  The third embodiment of the present invention provides a method for routing data out of the Gi interface. The method is similar to the method provided in the second embodiment. The difference is that the AG and GGSN on the network side in the second embodiment are two. An independent entity, in fact, the GGSN can be integrated in the AG. In the third embodiment of the present invention, the GGSN is integrated in the AG, and the AG performs the task originally performed in the GGSN, that is, the AG not only performs the determination. The service represented by the APN determines that the service represented by the APN can be out of the Gi port; the terminal is also assigned an address to establish a channel for the terminal to exit the Gi port from the GGSN. Therefore, the method provided by the embodiment of the present invention includes:
步骤 Fl、 步骤 F2与实施例二中步骤 Hl、 H2对应相似, 可以参考实施例二中的说 明;  The steps F1 and F2 are similar to the steps H1 and H2 in the second embodiment, and the description in the second embodiment can be referred to.
步骤 F3 : AG为给终端分配地址; 即 AG中同时实现实施例二中 GGSN所执行的操 作。  Step F3: The AG allocates an address to the terminal; that is, the operation performed by the GGSN in the second embodiment is implemented in the AG.
步骤 F4至步骤 F13与实施例二中步骤 H6至步骤 H15对应相似, 可以参考实施例 二中的说明。  The steps F4 to F13 are similar to the steps H6 to H15 in the second embodiment, and the description in the second embodiment can be referred to.
本发明实施例三提供的一种 AP出 Gi口业务的路由方法,该方法的有益效果是: 网 络侧设备中 AG中集成了 GGSN的条件下, 终端设置一个 APN与网络层建立两条数据 通道, 所述两条数据通道分别是访问核心网业务的数据通道和访问 Internet业务的数据 通道, 网络侧 AP根据预置的路由表中目的地址所对应的路径, 选择所述两条数据通道 的其中一条作为数据传输的路径。 解决了现有技术中同一个 APN标识的不同业务, 只 能建立一条出 Gi口的数据通道, 采用预置的路由表避免导致对核心网络资源的浪费。  A method for routing an IP outbound service of an AP is provided in Embodiment 3 of the present invention. The beneficial effect of the method is: After the GGSN is integrated in the AG in the network side device, the terminal sets an APN to establish two data channels with the network layer. The two data channels are respectively a data channel for accessing the core network service and a data channel for accessing the Internet service, and the network side AP selects the two data channels according to the path corresponding to the destination address in the preset routing table. A path as a data transfer. It solves the different services of the same APN identifier in the prior art, and can only establish a data channel out of the Gi port, and adopts a preset routing table to avoid waste of core network resources.
实施例四, 一种接入点 AP, 参见图 5所示, 包括: 接收单元 101、 分配地址单元 102、 发送单元 103、 数据处理单元 105、 地址映射单元 106和判断单元 107。  Embodiment 4 An access point AP, as shown in FIG. 5, includes: a receiving unit 101, an allocation address unit 102, a transmitting unit 103, a data processing unit 105, an address mapping unit 106, and a determining unit 107.
其中, 所述接收单元 101, 用于接收终端发送的建立数据通道的信息, 接收 AG发 送的为终端分配地址的信息和所述 AG转发的网关通用无线分组业务支持节点 GGSN为 终端分配的地址, 接收终端发送的数据, 接收建立终端与所述 AG之间的无线接入承载 RAB的信息;  The receiving unit 101 is configured to receive information about establishing a data channel sent by the terminal, and receive information about an address allocated by the terminal that is sent by the AG, and an address that the gateway general-purpose wireless packet service support node GGSN that is forwarded by the AG allocates the terminal. Receiving data sent by the terminal, and receiving information about establishing a radio access bearer RAB between the terminal and the AG;
分配地址单元 102, 用于为所述终端分配互联网协议 IP地址; 其中, 该单元也可以 包括在与 AP相连的动态主机分配协议 (DHCP: Dynamic Host Configuration Protocol) 服务器上, AP可以获取且使用该分配地址单元 102。 The address unit 102 is configured to allocate an internet protocol IP address to the terminal; wherein the unit may also include a dynamic host allocation protocol (DHCP: Dynamic Host Configuration Protocol) connected to the AP. On the server, the AP can acquire and use the assigned address unit 102.
地址映射单元 106, 用于建立 AP为终端分配的地址和 GGSN为终端分配的地址的 映射关系; 判断单元 107, 用于根据 AP中预置的路由表, 判断终端发送的数据中的目 的地址所对应的下一跳是否是所述 AG;。  The address mapping unit 106 is configured to establish a mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the terminal. The determining unit 107 is configured to determine, according to the routing table preset in the AP, the destination address in the data sent by the terminal. Whether the corresponding next hop is the AG;
数据处理单元 105, 用于根据判断单元 107中判断结果, 对数据进行处理。 当判断 单元 107中判断终端发送的数据中的目的地址所对应的下一跳不是 AG时, 对接收的 数据进行 L1层、 L2层、 和底层承载上的处理; 或者当判断单元 107中判断终端发送的 数据中的目的地址所对应的下一跳是 AG时, 对数据进行 L1层、 L2层、 对终端发送的 IP报文进行 NAT转换、 GTP-U层、 IP层和底层承载的处理。 如果 AP根据 AP中预置 的路由表, 判断出终端发送的数据是要发送到目的地址在核心网上, 且 AP和 GGSN分 别为该终端分配了地址, 则 AP中数据处理单元 105还可以用于根据地址映射单元 106 中建立的 AP为终端分配的地址和 GGSN为终端分配的地址的映射关系,将终端发送的 数据进行 NAT转换, 使得核心网中设备可以识别该终端的地址;  The data processing unit 105 is configured to process the data according to the determination result in the determining unit 107. When the determining unit 107 determines that the next hop corresponding to the destination address in the data sent by the terminal is not an AG, performing processing on the L1 layer, the L2 layer, and the underlying bearer on the received data; or determining the terminal in the determining unit 107 When the next hop corresponding to the destination address in the transmitted data is the AG, the data is processed by the L1 layer, the L2 layer, the NAT packet sent by the terminal, the GTP-U layer, the IP layer, and the underlying bearer. If the AP determines that the data sent by the terminal is to be sent to the destination address on the core network according to the preset routing table in the AP, and the AP and the GGSN respectively assign addresses to the terminal, the data processing unit 105 in the AP may also be used. The data sent by the terminal is NAT-transformed according to the mapping relationship between the address allocated by the AP and the address allocated by the GGSN for the terminal, and the device in the core network can identify the address of the terminal.
如果终端被分配的地址是从属于 AP的子网地址, 且判断单元 107用于根据 AP中 预置的路由表, 判断出终端发送的数据是要发送到下一跳指示的网元, 并由该网元转发 给 Internet中目的地址, 则 AP中数据处理单元 105还用于对所述终端发送的数据中的 地址进行 NAT转换,将终端发送的数据中地址转换为 IP网络中可以识别的地址。其中, 数据处理单元 105中实现对数据 NAT转换的功能的逻辑单元可以是 AP获取的具有 NAT 转换功能的设备;  If the address assigned by the terminal is a subnet address subordinate to the AP, and the determining unit 107 is configured to determine, according to the routing table preset in the AP, the data sent by the terminal is the network element to be sent to the next hop indication, and The data processing unit 105 is further configured to perform NAT translation on the address in the data sent by the terminal, and convert the address in the data sent by the terminal into an address recognizable in the IP network. . The logical unit that implements the function of data NAT conversion in the data processing unit 105 may be a device with an NAT conversion function acquired by the AP;
发送单元 103,用于发送建立终端与所述 AG之间的无线接入承载 RAB的信息,发 送所述为终端分配的 IP地址给所述 AG,将所述数据处理单元 105中处理后的数据发送 给所述 AG, 或将所述判断单元 107中判断终端发送的数据中的目的地址所对应的下一 跳不是 AG的数据直接发送给网络侧的下一跳网元。  The sending unit 103 is configured to send information about establishing a radio access bearer RAB between the terminal and the AG, and send the IP address allocated to the terminal to the AG, and process the data processed by the data processing unit 105. The data is sent to the AG, or the data of the next hop corresponding to the destination address in the data sent by the determining unit 107 is not directly transmitted to the next hop network element on the network side.
本发明实施例四提供的一种 AP,还可以包括配置路由表单元 104,用于配置路由表, 其中, 所述的配置路由表可以是 AP接收运营商远程管理下信息生成的路由表, 也可以 是由用户在 AP的近端配置生成的路由表。 可以理解的是, 附图中或实施例中所示仅仅 是示意性的, 表示逻辑结构, 其中所述作为分离部件显示的模块可能是或者可能不是物 理上分开的,作为模块显示的部件可能是或者可能不是物理单元,即可以位于一个地方, 或者分布到几个网络实体上。  An AP provided in Embodiment 4 of the present invention may further include a configuration routing table unit 104, configured to configure a routing table, where the configuration routing table may be a routing table generated by the AP receiving information generated by the operator remotely. It may be a routing table generated by the user in the near end configuration of the AP. It will be understood that the figures or embodiments are merely illustrative and represent logical structures in which the modules displayed as separate components may or may not be physically separate, and the components displayed as modules may be Or it may not be a physical unit, that is, it can be located in one place or distributed to several network entities.
本发明实施例四提供的一种 AP, 该 AP中分配地址单元 102为终端分配地址, 建 立起从 AP之间出 Gi口的数据通道, AP根据预置的路由表判断接收到的终端发送的数 据是从 AP之间出 Gi口, 还是由 AP将所述数据发送给 AG。采用该 AP, 网络侧可以利 用该 AP建立两条数据通道, 根据 AP中预置的路由表, AP将数据发送下一调网络侧的 设备中, 避免导致对核心网络资源的浪费。 An AP provided in Embodiment 4 of the present invention, where the AP allocates an address unit 102 to allocate an address for the terminal, The data channel of the Gi port is set up between the APs. The AP determines whether the data sent by the received terminal is the Gi port from the AP or the AP sends the data to the AG according to the preset routing table. With the AP, the network can use the AP to establish two data channels. According to the preset routing table in the AP, the AP sends the data to the next-side device on the network side to avoid wasting the core network resources.
实施例五, 一种接入点 AP, 该接入点 AP与实施例四提供的 AP相似, 其不同点具 体可参照以下说明, 本实施例提供的 AP包括: 接收单元、 判断单元、 发送单元一、 处 理单元和发单元二。  The fifth embodiment is an access point AP, and the access point AP is similar to the AP provided in the fourth embodiment. The AP can be specifically configured with reference to the following description. The AP provided in this embodiment includes: a receiving unit, a determining unit, and a sending unit. 1. Processing unit and transmitting unit 2.
其中, 接收单元, 用于接收终端发送的数据;  The receiving unit is configured to receive data sent by the terminal.
判断单元, 用于根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地 址对应的下一跳网元是否是接入网关 AG;  a determining unit, configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is an access gateway AG;
发送单元一, 用于当所述数据的目的地址对应的下一跳地址不是 AG时, 将所述数 据通过所述下一跳网元发送到所述的目的地址;  The sending unit 1 is configured to: when the next hop address corresponding to the destination address of the data is not an AG, send the data to the destination address by using the next hop network element;
处理单元, 用于当所述数据的目的地址对应的下一跳地址是 AG时, 根据 AP为终 端分配的 IP地址与 GGSN为终端分配的地址的映射关系,将所述数据的 IP地址转换为 对应的 GGSN为终端分配的地址;  a processing unit, configured to: when the next hop address corresponding to the destination address of the data is an AG, convert the IP address of the data into a mapping relationship between an IP address allocated by the AP for the terminal and an address allocated by the GGSN to the terminal The corresponding GGSN is an address allocated by the terminal;
发送单元二, 用于当所述数据的目的地址对应的下一跳地址是 AG时, 将 IP地址 转换为对应的 GGSN为终端分配的地址的数据发送给 AG。  The sending unit 2 is configured to: when the next hop address corresponding to the destination address of the data is an AG, convert the IP address into data corresponding to the address allocated by the GGSN for the terminal, to the AG.
需要说明的是, 该 AP还可以包括: 储存单元, 用于存储路由表。  It should be noted that the AP may further include: a storage unit, configured to store a routing table.
可以理解的是, 附图中或实施例中所示仅仅是示意性的, 表示逻辑结构, 其中所述 作为分离部件显示的模块可能是或者可能不是物理上分开的, 作为模块显示的部件可能 是或者可能不是物理单元, 即可以位于一个地方, 或者分布到几个网络实体上。  It will be understood that the figures or embodiments are merely illustrative and represent logical structures in which the modules displayed as separate components may or may not be physically separate, and the components displayed as modules may be Or it may not be a physical unit, that is, it can be located in one place or distributed to several network entities.
通过以上对本实施例提供的 AP的说明, 该 AP可以根据接收到终端发送的数据中 的地址, 判断出数据的下一跳的地址, 根据判断结果将数据发送出去, 将数据更直接的 发送到目的地址, 从而避免导致对核心网络资源的浪费。 本发明实施例还提供一种 AP, 包括:  Through the foregoing description of the AP provided in this embodiment, the AP may determine the address of the next hop of the data according to the address in the data sent by the terminal, and send the data according to the judgment result, and send the data directly to the Destination address, thus avoiding the waste of core network resources. An embodiment of the present invention further provides an AP, including:
第二接收单元, 用于接收终端发送的数据;  a second receiving unit, configured to receive data sent by the terminal;
判断单元, 用于根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地 址对应的下一跳网元是否是接入网关 AG;  a determining unit, configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is an access gateway AG;
获取单元,用于获取为终端分配的 IP地址与 GGSN为终端分配的地址的映射关系; 处理单元,用于当所述判断单元确定所述第一接收单元所接收的数据的目的地址对 应的下一跳地址是 AG时, 根据获取单元的获取的为终端分配的 IP地址与 GGSN为终 端分配的地址的映射关系, 将所述数据的 IP地址转换为 GGSN为终端分配的地址; 第二发送单元,用于当所述判断单元确定所述第一接收单元所接收的数据的目的地 址对应的下一跳网元不是 AG时, 将所述数据通过所述下一跳网元发送到所述的目的地 址; 或者, 用于当所述数据的目的地址对应的下一跳网元是 AG时, 将 IP地址转换为对 应的 GGSN为终端分配的地址的数据发送给 AG。 该实施例中的第二接收单元, 还用于接收终端发送的用于建立数据通道的信息, 接 收 AG在接收到所述建立数据通道的信息后生成的、发送的为终端分配地址的信息和所 述 AG转发的, 网关通用无线分组业务支持节点 GGSN为终端分配的地址, 接收建立终 端与所述 AG之间的无线接入承载 RAB的信息; 所述获取单元, 还用于获取为终端分 配的 IP地址; 所述发送单元, 还用于发送所述为终端分配的 IP地址给所述 AG; 本发 明实施例的 AP进一步包括: 地址映射单元, 用于建立为终端分配的 IP地址和 GGSN 为终端分配的地址的映射关系。 An obtaining unit, configured to acquire a mapping relationship between an IP address allocated to the terminal and an address allocated by the GGSN to the terminal, where the determining unit is configured to determine, by the determining unit, a destination address pair of the data received by the first receiving unit When the next hop address is the AG, the IP address of the data is converted to the address allocated by the GGSN to the terminal according to the mapping relationship between the IP address allocated by the acquiring unit and the address allocated by the GGSN for the terminal; a second sending unit, configured to: when the determining unit determines that the next hop network element corresponding to the destination address of the data received by the first receiving unit is not an AG, send the data to the next hop network element to Or the destination address; or, when the next hop network element corresponding to the destination address of the data is an AG, the data that is converted into the address allocated by the GGSN to the terminal is sent to the AG. The second receiving unit in this embodiment is further configured to receive information for establishing a data channel that is sent by the terminal, and receive information that is generated by the AG after receiving the information about establishing the data channel, and that is sent by the terminal to allocate an address and And the information that the gateway general-purpose wireless packet service support node GGSN allocates for the terminal, and receives information about the radio access bearer RAB between the establishing terminal and the AG; the acquiring unit is further configured to acquire the terminal for the terminal. The sending unit is further configured to send the IP address allocated to the terminal to the AG. The AP in the embodiment of the present invention further includes: an address mapping unit, configured to establish an IP address and a GGSN allocated for the terminal. The mapping relationship of the addresses assigned to the terminal.
实施例六, 一种接入网关 AG, 参见图 6所示, 包括: 第一接收单元 201、 判断业 务单元 202、第一发送单元 203和查询单元 207。该 AG还可以包括 RAB建立单元 204。 其中,  The sixth embodiment, an access gateway AG, as shown in FIG. 6, includes: a first receiving unit 201, a determining service unit 202, a first sending unit 203, and a query unit 207. The AG may also include an RAB setup unit 204. among them,
所述第一接收单元 201, 用于接收终端发送的 PDP上下文激活请求, 接收 AHR发 送的包含有查询结果的查询响应, 接收 AP和 GGSN发送的创建 PDP上下文响应, 所 述 PDP上下文响应中分别包含 AP为终端分配的地址和 GGSN为终端分配的地址, 接 收终端或者网络侧发送的数据;  The first receiving unit 201 is configured to receive a PDP context activation request sent by the terminal, receive a query response that includes the query result sent by the AHR, and receive a create PDP context response sent by the AP and the GGSN, where the PDP context response includes The address assigned by the AP to the terminal and the address allocated by the GGSN to the terminal, and the data sent by the receiving terminal or the network side;
其中, 为了便于理解第一接收单元 201, 该第一接收单元可以具体包括: 接收模块一, 用于接收来自终端的数据通道建立信息;  The first receiving unit may specifically include: a receiving module 1 configured to receive data channel establishment information from the terminal, in order to facilitate understanding of the first receiving unit 201;
接收模块二, 用于接收包含核心网为所述终端分配的地址的数据通道建立响应; 接收模块三, 用于接收包含 AP为所述终端分配的 IP地址的数据通道建立响应; 第一发送单元 203, 用于发送查询信息给 AHR, 所述查询信息用于查询与该终端通 信的 AP 的签约信息是否支持之间出 Gi 口业务, 发送创建 PDP上下文请求给 AP和 a receiving module 2, configured to receive a data channel establishment response including an address allocated by the core network for the terminal; and a receiving module 3, configured to receive a data channel establishment response that includes an IP address allocated by the AP for the terminal; 203. The method is configured to send the query information to the AHR, where the query information is used to query whether the subscription information of the AP that communicates with the terminal supports the outbound communication service, and sends a PDP context request to the AP.
GGSN, 发送 PDP上下文激活响应给终端, 所述 PDP上下文激活响应中包括 AP为终端 分配的地址, 发送数据给终端或者网络侧; The GGSN sends a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal, and sends data to the terminal or the network side;
其中, 为了便于理解第一发送单元 203, 该第一发送单元 203具体可以包括 发送模块一, 用于向核心网转发数据通道建立信息;  The first sending unit 203 may specifically include a sending module 1 for forwarding data channel establishment information to the core network, in order to facilitate understanding of the first sending unit 203.
发送模块二, 用于当查询单元获取所述 AP支持直接出 Gi口业务时, 向所述 AP转 发包含所述核心网分配的地址数据通道建立信息; The sending module 2 is configured to: when the query unit acquires the direct support of the Gi port service, the query unit rotates to the AP Sending address data channel establishment information including the core network allocation;
发送模块三,用于向终端发送包含所述 AP为所述终端分配的 IP地址的数据通道建 立响应。  The sending module 3 is configured to send a response to the data channel that includes the IP address allocated by the AP for the terminal to the terminal.
查询单元 207, 用于向 AHR查询 AP支持直接出 Gi口业务;  The query unit 207 is configured to query the AHR for the AP to directly output the Gi port service;
RAB建立单元 204, 用于通过 AP与终端建立 RAB连接;  The RAB establishing unit 204 is configured to establish an RAB connection with the terminal by using the AP;
判断业务单元 203,用于根据接收到的 PDP上下文激活请求中的 APN,判断该 APN 代表的业务。  The determining service unit 203 is configured to determine, according to the APN in the received PDP context activation request, the service represented by the APN.
该 AG具有以上逻辑功能模块可以建立终端与网络侧的数据通道, 进行终端与网络 侧的数据通信。 该 AG还可以包括判断出口单元 205, 用于判断接收到的 PDP上下文激 活请求中的 APN代表的业务是否可以出 Gi口; 其中, AG中判断的 APN代表的业务是 否可以出 Gi口的依据可以是由运营商配置的,所述 AG中如果不包括判断出口单元 205 则 AG默认对所有的业务都可以出 Gi口。  The AG has the above logic function module to establish a data channel between the terminal and the network side, and performs data communication between the terminal and the network side. The AG may further include a determining egress unit 205, configured to determine whether the service represented by the APN in the received PDP context activation request can be out of the Gi port; wherein, the basis of the service represented by the APN determined by the AG can be out of the Gi port. It is configured by the operator. If the AG does not include the judgment egress unit 205, the AG can default to the Gi port for all services.
该 AG还可以包括 GGSN功能单元 206,用于实现 GGSN功能。其中,由于将 GGSN 功能单元 206集成在 AG上,对该 GGSN进行改造使得该 GGSN可以识别 AP为终端分 配的地址, 在 GGSN功能单元 206中可以不用给终端分配地址。  The AG may also include a GGSN functional unit 206 for implementing the GGSN function. The GGSN functional unit 206 is modified on the AG, and the GGSN is modified so that the GGSN can identify the address assigned by the AP to the terminal, and the GGSN function unit 206 can not allocate the address to the terminal.
可以理解的是, 附图中或实施例中所示仅仅是示意性的, 表示逻辑结构, 其中所述 作为分离部件显示的模块可能是或者可能不是物理上分开的, 作为模块显示的部件可能 是或者可能不是物理单元, 即可以位于一个地方, 或者分布到几个网络实体上。  It will be understood that the figures or embodiments are merely illustrative and represent logical structures in which the modules displayed as separate components may or may not be physically separate, and the components displayed as modules may be Or it may not be a physical unit, that is, it can be located in one place or distributed to several network entities.
以上对本发明实施例六提供的一种 AG的说明, 该 AG可以分别与 GGSN和 AP通 信创建 PDP上下文, 建立终端访问核心网业务的数据通道和访问 Internet业务的数据通 道, 实现终端与网络侧通过所述两个数据通道进行通信。  The foregoing description of an AG provided in Embodiment 6 of the present invention, the AG can respectively establish a PDP context by communicating with the GGSN and the AP, and establish a data channel for the terminal to access the core network service and a data channel for accessing the Internet service, and implement the terminal and the network side. The two data channels communicate.
本发明实施例还提供了一种通信系统, 下面结合具体实施例对该通信系统进行说 明。  The embodiment of the present invention further provides a communication system, which will be described below in conjunction with a specific embodiment.
实施例七, 一种通信系统, 该通信系统可以在接收到终端发送的建立数据通道的信 息后, 建立两条数据出 Gi口的数据通道, 分别是从 GGSN出 Gi口的数据通道和从 AP 出 Gi口的数据通道。 参见图 7, 包括: 接入点 AP501、 接入网关 502、 网关通用无线分 组业务支持节点 GGSN503。  Embodiment 7 is a communication system, where the communication system can establish two data out channels of the Gi port after receiving the information of the data channel sent by the terminal, which are respectively the data channel and the slave AP of the Gi port from the GGSN. The data channel of the Gi port. Referring to FIG. 7, the method includes: an access point AP501, an access gateway 502, and a gateway universal wireless packet service support node GGSN503.
接入点 AP501 , 接收终端发送的建立数据通道的信息, 将接收的建立数据通道的信 息发送给接入网关 AG, 建立终端与所述 AG之间的无线接入承载 RAB, 接收所述 AG 发送的为终端分配地址的信息和所述 AG转发的网关通用无线分组业务支持节点 GGSN 为终端分配的地址, 为所述终端分配互联网协议 IP地址, 建立该 AP为终端分配的 IP 地址与所述 GGSN为终端分配地址的映射关系, 将所述为终端分配的 IP地址通过所述 AG转发给终端; The access point AP 501 receives the information of the established data channel sent by the terminal, and sends the received information of the established data channel to the access gateway AG, establishes a radio access bearer RAB between the terminal and the AG, and receives the AG sending. Information for assigning addresses to terminals and gateway general-purpose wireless packet service support node GGSN forwarded by said AG Assigning an IP address to the terminal, assigning an IP address to the terminal, establishing a mapping relationship between the IP address assigned by the AP and the GGSN for the terminal, and passing the IP address assigned to the terminal through the AG Forwarded to the terminal;
接入网关 AG502,用于接收所述建立数据通道的信息, 发送为终端分配地址的信息 给 GGSN, 接收 GGSN为终端分配的地址, 获取终端所属 AP是否支持直接出 Gi口业 务, 如果是, 发送为终端分配地址的信息给所述 AP, 其中, 所述发送给 AP 的为终端 分配地址的信息中包括 GGSN为终端分配的地址, 接收所述 AP发送的 AP为终端分配 的地址, 发送成功建立数据通道的信息给终端;  The access gateway AG502 is configured to receive the information about the data channel, send the information of the address assigned to the terminal to the GGSN, and receive the address allocated by the GGSN for the terminal, and obtain whether the AP to which the terminal belongs supports the direct out of the Gi port service, and if yes, send And the information about the address assigned to the terminal is sent to the AP, where the information that is sent to the AP for the terminal includes the address that the GGSN allocates for the terminal, and the AP that is sent by the AP is the address allocated by the terminal, and the sending is successfully established. Information of the data channel to the terminal;
网关通用无线分组业务支持节点 GGSN503 , 用于接收所述 AG发送的为终端分配 地址的信息, 为终端分配地址, 将分配的地址发送给所述 AG。  The gateway general wireless packet service support node GGSN 503 is configured to receive information about an address allocated by the AG for the terminal, allocate an address for the terminal, and send the allocated address to the AG.
本发明实施例七提供的一种通信系统还可以包括: AP 归属服务器 AHR504、 动态 主机分配协议 DHCP服务器 505、 地址分配服务器 506。  A communication system provided in Embodiment 7 of the present invention may further include: an AP Home Server AHR 504, a Dynamic Host Assignment Protocol DHCP Server 505, and an Address Assignment Server 506.
AP归属服务器 AHR504, 用于为所述 AG提供终端所属 AP是否支持直接出 Gi口 业务的信息。  The AP home server AHR 504 is configured to provide the AG with information about whether the AP to which the terminal belongs supports the direct outgoing port service.
动态主机分配协议 DHCP服务器 505,用于为所述 AP提供分配给所述终端的地址。 地址分配服务器 506, 用于为 GGSN提供分配给所述终端的地址。  The dynamic host allocation protocol DHCP server 505 is configured to provide the AP with an address assigned to the terminal. An address assignment server 506 is configured to provide an address assigned to the terminal for the GGSN.
通过以上对本发明实施例五的说明, 该通信系统可以在接收到终端发送的建立数据 通道的信息后,建立两条数据出 Gi口的数据通道,分别是从 GGSN出 Gi口的数据通道 和从 AP出 Gi口的数据通道。  Through the above description of Embodiment 5 of the present invention, the communication system can establish two data outgoing data channels of the Gi port after receiving the information of establishing the data channel sent by the terminal, respectively, the data channel and the slave port of the Gi port from the GGSN. The data channel of the AP out of the Gi port.
实施例八, 一种通信系统, 该通信系统可以根据预置的数据通道, 和 AP中预置的 路由表将数据以尽可能少的路由次数发送出 Gi口。 参见图 8, 包括: 接入点 AP701、接 入网关 AG702、 网关通用无线分组业务支持节点 GGSN703、 互联网服务器 704和应用 服务器 705。  Embodiment 8 is a communication system, which can send data out of a Gi port with as few routing times as possible according to a preset data channel and a preset routing table in the AP. Referring to FIG. 8, including: an access point AP 701, an access gateway AG 702, a gateway general wireless packet service support node GGSN 703, an internet server 704, and an application server 705.
接入点 AP701 , 用于根据预置的数据通道, 接收终端发送的数据, 根据所述 AP中 预置的路由表,判断所述终端发送的数据中的目的地址所对应的下一跳是否是所述 AG, 如果是, 根据所述建立的所述为终端分配的 IP地址与所述 GGSN为终端分配地址的映 射关系, 将所述终端发送的数据中的 IP地址转换为所述 GGSN为终端分配的地址, 将 转换后的数据发送给所述 AG, 如果否, 将所述终端发送的数据发送给网络侧下一跳; 接入网关 AG702, 用于根据预置的数据通道, 接收所述 AP发送的数据, 将所述数 据发送给 GGSN; 网关通用无线分组业务支持节点 GGSN703 , 用于根据预置的数据通道, 接收所述 AG发送的所述数据, 将所述数据发送给应用服务器; The access point AP701 is configured to receive data sent by the terminal according to the preset data channel, and determine, according to the preset routing table in the AP, whether the next hop corresponding to the destination address in the data sent by the terminal is And the AG, if yes, converting the IP address in the data sent by the terminal to the GGSN as a terminal according to the mapping relationship between the IP address allocated to the terminal and the GGSN being the terminal. The allocated address, the converted data is sent to the AG, if not, the data sent by the terminal is sent to the network side next hop; the access gateway AG702 is configured to receive the data according to the preset data channel. Data sent by the AP, and the data is sent to the GGSN; The gateway general wireless packet service supporting node GGSN703 is configured to receive the data sent by the AG according to a preset data channel, and send the data to an application server;
互联网服务器 704, 用于为所述终端提供互联网业务;  An internet server 704, configured to provide an internet service for the terminal;
应用服务器 705, 用于为所述终端提供核心网业务。  The application server 705 is configured to provide core network services for the terminal.
本发明实施例八提供的一种通信系统还可以包括: 网络地址转换 NAT设备 706,用 于当 AP701 中判断所述终端发送的数据中的目的地址所对应的下一跳是 AG702, 根据 所述建立的所述为终端分配的 IP地址与 GGSN704为终端分配地址的映射关系,将所述 终端发送的数据中的 IP地址转换为 GGSN704 为终端分配的地址, 将转换后的数据发 送给 AP701 ;  A communication system according to Embodiment 8 of the present invention may further include: a network address translation NAT device 706, configured to determine, in the AP 701, that the next hop corresponding to the destination address in the data sent by the terminal is AG702, according to the The mapping between the IP address assigned to the terminal and the GGSN 704 is the terminal allocation address, and the IP address in the data sent by the terminal is converted into an address allocated by the GGSN 704 for the terminal, and the converted data is sent to the AP 701;
可以理解为, 当 AP701中判断出终端发送的数据需要经 GGSN出 Gi口时, AP701 可以将对数据的处理交给网络地址转换 NAT设备 706来执行。  It can be understood that, when the AP 701 determines that the data sent by the terminal needs to be sent out of the Gi port by the GGSN, the AP 701 can transfer the processing of the data to the network address translation NAT device 706 for execution.
通过以上对本发明实施例七的说明, 该通信系统可以根据预置的两条数据出 Gi 口 的数据通道, 将终端发送的数据选择最少的路由次数发送到目的地址, 节约了网络的资 源。  By the above description of the seventh embodiment of the present invention, the communication system can send the data route of the Gi port to the destination address according to the preset two data out of the data channel of the Gi port, thereby saving resources of the network.
以上是对本发明实施例提供的通信系统的概括的说明, 下面实施例九, 是对本发明 实施例提供的一个较佳的通信系统的实施例。  The above is a general description of the communication system provided by the embodiment of the present invention. The following embodiment 9 is an embodiment of a preferred communication system provided by the embodiment of the present invention.
实施例九, 一种通信系统。 参见图 9所示, 包括: 接入点 10, 接入网关 20、 AP归 属服务器 30、 网关 GPRS支持节点 40、 互联网服务器 60和应用服务器 70。  Embodiment 9 is a communication system. Referring to FIG. 9, the method includes: an access point 10, an access gateway 20, an AP home server 30, a gateway GPRS support node 40, an internet server 60, and an application server 70.
接入点 10, 用于接收 AG发送的创建 PDP上下文请求, 分配地址给终端, 发送创 建 PDP上下文响应给 AG, 所述 PDP上下文响应包含 AP为终端分配的地址, 根据路由 表将终端发送的数据发送给 AG或者互联网服务器; 其中, 如果 GGSN40也为终端分配 了地址, AP还用于建立 AP为终端分配的地址与 GGSN为同一终端分配的地址之间的 映射关系, 根据路由表, 转发终端与互联网服务器之间的数据, 根据路由表, 将数据发 送给 AG。  The access point 10 is configured to receive a PDP context request sent by the AG, allocate an address to the terminal, and send a PDP context response to the AG, where the PDP context response includes an address that the AP allocates for the terminal, and the data sent by the terminal according to the routing table. Sending to the AG or the Internet server; wherein, if the GGSN 40 also assigns an address to the terminal, the AP is also used to establish a mapping relationship between the address allocated by the AP for the terminal and the address allocated by the GGSN to the same terminal, according to the routing table, the forwarding terminal and the The data between the Internet servers is sent to the AG according to the routing table.
接入网关 20, 用于接收 PDP上下文请求, 判断 PDP上下文请求中包括的 APN代 表的业务, 发送创建 PDP上下文请求给 GGSN, 接收 GGSN发送的 PDP上下文响应, 所述的 PDP上下文响应中包含 GGSN为终端分配的地址, 发送查询 AP是否支持直接 出 Gi口的信息给 AHR30, 接收 AHR发送的查询结果信息, 与终端建立 RAB, 发送创 建 PDP上下文请求给 AP, 所述 PDP上下文请求中包括 GGSN为终端分配的地址, 接 收 AP发送的创建 PDP上下文响应,所述 PDP上下文响应中包含 AP为终端分配的地址, 发送 PDP上下文激活响应给终端, 所述 PDP上下文激活响应中包括 AP为终端分配的 地址, 在终端与网络侧之间转发数据; The access gateway 20 is configured to receive a PDP context request, determine a service represented by the APN included in the PDP context request, send a PDP context request to the GGSN, and receive a PDP context response sent by the GGSN, where the PDP context response includes the GGSN The address assigned by the terminal, sends a query to the AP to support the information of the direct outbound interface to the AHR 30, receives the query result information sent by the AHR, establishes the RAB with the terminal, and sends a PDP context request to the AP, where the PDP context request includes the GGSN as the terminal. The assigned address, the receiving PDP context response sent by the AP, where the PDP context response includes an address allocated by the AP for the terminal, Sending a PDP context activation response to the terminal, where the PDP context activation response includes an address allocated by the AP for the terminal, and forwarding data between the terminal and the network side;
AP归属服务器 30, 用于接收 AG发送的查询 AP是否支持直接出 Gi口的信息, 发 送查询结果信息给 AG;  The AP home server 30 is configured to receive the query sent by the AG, whether the AP supports the direct outgoing information of the Gi port, and sends the query result information to the AG;
网关 GPRS支持节点 40, 用于接收 AG发送的创建 PDP上下文请求, 为终端分配 地址, 发送 PDP上下文响应给 AG, 所述的 PDP上下文响应中包含 GGSN为终端分配 的地址, 转发 AG30与应用服务 70之间的数据;  The gateway GPRS support node 40 is configured to receive a PDP context request sent by the AG, allocate an address for the terminal, and send a PDP context response to the AG, where the PDP context response includes an address allocated by the GGSN for the terminal, and the forwarding AG30 and the application service 70 Data between
互联网服务器 60, 用于接收 AP10发送的数据, 发送数据给 AP10;  The Internet server 60 is configured to receive data sent by the AP10, and send data to the AP10.
应用服务器 70, 用于接收 GGSN40发送的数据, 发送数据给 GGSN40。  The application server 70 is configured to receive data sent by the GGSN 40 and send data to the GGSN 40.
也可以认为互联网服务器 60是为终端提供互联网业务,应用服务器 70为终端提供 核心网业务。 需要说明的是网络侧设备包括 AP、 AG、 GGSN等的最主要的作用是对终 端与提供服务的服务器之间进行数据的转发。 因此, 以上对互联网服务器 60和应用服 务器 70的两种说法实质上是相同的。  It is also considered that the Internet server 60 provides an Internet service for the terminal, and the application server 70 provides the core network service for the terminal. It should be noted that the most important function of the network side device including the AP, the AG, the GGSN, and the like is to forward data between the terminal and the server providing the service. Therefore, the above two statements about the Internet server 60 and the application server 70 are substantially the same.
该通信系统还可以包括 NAT转换设备 80、DHCP服务器 90和地址分配服务器 100。 其中, 所述 NAT转换设备 80, 用于将接收到的终端发送的数据中的地址转换为互 联网上可以识别的地址,将接收到的互联网上的数据进行相反的转换,根据 AP和 GGSN 分别给同一终端分配的地址的映射管理,将终端发送的数据的地址转换为 GGSN为终端 分配的地址, 对应接收到的 GGSN发送的数据进行相反的转换;  The communication system can also include a NAT translation device 80, a DHCP server 90, and an address assignment server 100. The NAT conversion device 80 is configured to convert an address in the data sent by the received terminal into an address recognizable on the Internet, and perform reverse conversion on the received data on the Internet, respectively, according to the AP and the GGSN. Mapping management of the address allocated by the same terminal, converting the address of the data sent by the terminal into an address allocated by the GGSN for the terminal, and performing opposite conversion on the data sent by the received GGSN;
DHCP服务器 90, 用于为接入点 10提供分配给终端的地址;  a DHCP server 90, configured to provide an address assigned to the terminal for the access point 10;
地址分配服务器 100, 用于为 GGSN40提供分配给终端的地址。  The address allocation server 100 is configured to provide the GGSN 40 with an address assigned to the terminal.
当终端需要访问网络上的业务时, 首先需要建立与网络侧的数据通道。 终端发送 PDP上下文激活请求给网络侧, 所述 PDP上下文请求中包括 APN, 网络侧 AG20接收 到 PDP上下文激活请求后, 获取 PDP上下文激活请求中的 APN, 判断该 APN代表的 业务, 根据运营商对 AG20的配置, AG20支持所有业务出 Gi口, 因此, AG20发送创 建 PDP上下文请求给 GGSN40, GGSN接收到该请求后, 为终端配置地址, 将所述地址 包括在创建 PDP上下文响应中发送给 AG20; AG20与终端建立 RAB连接; AG20发送 查询 AP是否支持直接出 Gi口的信息给 AHR30, 其中, 需要说明的是, AG20发送所 述查询 AP是否支持直接出 Gi口的信息, 可以是与上述 AG20发送创建 PDP上下文请 求给 GGSN40同时执行, 即 AG建立两条终端与网络侧通信的数据通道; AHR30接收 到所述查询 AP是否支持直接出 Gi口的信息后, 根据 AP开户时保存的信息, 查询与该 终端相连的 AP10是否开通直接出 Gi口的业务, AHR30发送查询结果给 AG20; 如果 查询结果是 AP10支持直接出 Gi口业务, 则 AG20发送创建 PDP上下文请求给 AP10; AP10接收到所述创建 PDP上下文请求给 AP10后, 为终端分配地址, 建立 AP10和 GGSN40分别为终端分配的地址之间的映射关系, 将 AP10分配的地址包含在创建 PDP 上下文响应中发送给 AG20; AG20接收到 A10发送的创建上下文请求后, 获取 AP10 为终端分配的地址,将所述地址包含在 PDP上下文激活响应中发送给终端;如果 AHR30 中查询结果是 AP10不支持直接出 Gi口业务, 则 AG20直接发送 PDP上下文激活响应 给终端, 所述 PDP上下文激活响应中包含有 GGSN40为终端分配的地址。 When a terminal needs to access services on the network, it first needs to establish a data channel with the network side. The terminal sends a PDP context activation request to the network side, and the PDP context request includes an APN. After receiving the PDP context activation request, the network side AG20 obtains the APN in the PDP context activation request, and determines the service represented by the APN, according to the carrier pair. The configuration of the AG20, the AG20 supports all the services out of the Gi interface. Therefore, the AG20 sends a request to create a PDP context to the GGSN 40. After receiving the request, the GGSN configures an address for the terminal, and the address is included in the Create PDP Context Response and sent to the AG20. The AG 20 establishes an RAB connection with the terminal. The AG 20 sends a message to the AHR 30 to query whether the AP supports the direct outgoing IP address. The AG 20 sends the information about whether the AP supports the direct outgoing IP port. The PDP context request is created to the GGSN 40 for simultaneous execution, that is, the AG establishes a data channel for the two terminals to communicate with the network side. After receiving the information about whether the AP supports the direct out of the Gi interface, the AHR 30 receives the information saved when the AP opens the account, and queries and The Whether the AP 10 connected to the terminal is enabled to directly send out the service of the Gi interface, and the AHR 30 sends the query result to the AG 20; if the query result is that the AP 10 supports the direct out of the Gi interface service, the AG 20 sends a PDP context request to the AP 10; the AP 10 receives the created PDP context. After the request is made to the AP10, the terminal is assigned an address, and the mapping relationship between the address assigned by the AP10 and the GGSN 40 for the terminal is established, and the address allocated by the AP10 is included in the Create PDP Context Response and sent to the AG20; the AG20 receives the creation context sent by the A10. After the request, the AP10 obtains the address assigned to the terminal, and the address is included in the PDP context activation response and is sent to the terminal. If the query result in the AHR30 is that the AP10 does not support the direct outgoing Gi service, the AG20 directly sends the PDP context activation response to the terminal. The terminal, the PDP context activation response includes an address allocated by the GGSN 40 for the terminal.
通过以上说明,在本发明实施例九提供的一种通信系统中建立了终端访问核心网业 务和访问 Internet业务上的数据通道, 终端如果要访问核心网业务时, 终端发送数据给 AP20, AP20接收所述的数据, 根据 AP20中保存的路由表, 将数据进行 NAT转换, 将 数据中包括的 AP分配的地址,转换为 GGSN分配的地址,将转换后的数据发送给 AG20, 由 AG20将数据发送给 GGSN40到达核心网上的目的地址, 如应用服务器 70; 核心网 侧应用服务器 70需要经过相反的路径将服务数据发送给终端; 终端如果要访问 Internet 业务时, 终端发送数据给 AP20, AP20接收所述的数据, 根据 AP20中保存的路由表, 将数据发送给 Internet上服务器 60, Internet上服务器 60需要经过相反的路径将服务数 据发送给终端。  Through the above description, in the communication system provided by the ninth embodiment of the present invention, the data channel of the terminal accessing the core network service and accessing the Internet service is established. When the terminal wants to access the core network service, the terminal sends data to the AP20, and the AP20 receives the data. The data is converted into a NAT according to the routing table saved in the AP20, and the address allocated by the AP included in the data is converted into an address allocated by the GGSN, and the converted data is sent to the AG20, and the data is sent by the AG20. The GGSN 40 reaches the destination address of the core network, such as the application server 70; the core network side application server 70 needs to send the service data to the terminal through the opposite path; if the terminal wants to access the Internet service, the terminal sends data to the AP 20, and the AP 20 receives the The data is sent to the server 60 on the Internet according to the routing table saved in the AP 20. The server 60 on the Internet needs to send the service data to the terminal through the opposite path.
如果终端是属于 AP20所在的子网上,则终端发送给 AP的数据需要进行 NAT转换, 将终端的子网地址转换为 IP地址, 执行所述 NAT转换的设备, 可以是与 AP20相连的 NAT转换设备 80。 其中, 以上实现所述 AP10为终端分配地址转换为 GGSN40为终端 分配的地址的设备, 也可以是 NAT转换设备 80实现的。  If the terminal belongs to the subnet where the AP 20 is located, the data sent by the terminal to the AP needs to be translated by NAT, and the subnet address of the terminal is translated into an IP address. The device that performs the NAT translation may be a NAT translation device connected to the AP 20. 80. The device that implements the AP10 to allocate an address to the address allocated by the GGSN 40 to the terminal may also be implemented by the NAT conversion device 80.
其中,上述实现 AP20为终端分配地址的装置可以是 AP20来执行的,也可以是 AP20 通过与该 AP相连的 DHCP服务器 90实现的, 即在 DHCP服务器中为终端分配地址, 将分配后的地址发送给 AP20。 同理, GGSN40也可以从地址分配服务器 100中获取为 终端分配的地址。  The device for realizing the AP20 to allocate an address to the terminal may be implemented by the AP 20, or the AP 20 may be implemented by the DHCP server 90 connected to the AP, that is, the terminal allocates an address to the terminal in the DHCP server, and sends the allocated address. Give AP20. Similarly, the GGSN 40 can also obtain the address assigned to the terminal from the address distribution server 100.
通过以上对本发明实施例九提供的一种通信系统的说明, 该通信系统中在接收到终 端发送的建立数据通道的信息后, 建立两条数据出 Gi 口的数据通道, 该通信系统可以 实现将终端发送的数据由较少的路由次数发送到目的地址, 节约了网络的资源。  By the above description of a communication system provided by Embodiment 9 of the present invention, after receiving the information of establishing a data channel sent by the terminal, the communication system establishes two data out channels of the Gi port, and the communication system can implement The data sent by the terminal is sent to the destination address by a small number of routes, which saves resources of the network.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通 过程序来指令相关的硬件完成, 所述的程序可以存储于一种计算机可读存储介质中, 该 程序在执行时, 包括如下步骤: A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium. When the program is executed, it includes the following steps:
建立从核心网出 Gi口的数据通道和从接入点出 Gi口的数据通道;  Establish a data channel from the core network to the Gi port and a data channel from the access point to the Gi port;
接收终端发送的数据;  Receiving data sent by the terminal;
根据预置的路由表和所述数据的目的地址,将所述数据发送给与所述数据的目的地 址对应的所述两个数据通道其中一条数据通道中的下一跳网元。  And sending the data to a next hop network element in one of the two data channels corresponding to the destination address of the data according to the preset routing table and the destination address of the data.
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上对本发明实施例所提供的一种数据出 Gi 口的路由方法、 相应装置和通信系统 进行了详细介绍, 本文中应用了具体个例对本发明的原理及实施方式进行了阐述, 以上 实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时, 对于本领域的一般 技术人员, 依据本发明的思想, 在具体实施方式及应用范围上均会有改变之处, 综上所 述, 本说明书内容不应理解为对本发明的限制。  The foregoing describes a routing method, a corresponding device, and a communication system for a data out interface provided by an embodiment of the present invention. The principles and implementation manners of the present invention are described in the following. The description is only for helping to understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in specific embodiments and application scopes. The contents of this specification are not to be construed as limiting the invention.

Claims

权利要求 Rights request
1、 一种数据出 Gi口的路由方法, 其特征在于, 包括: A method for routing data out of a Gi port, which is characterized by comprising:
建立从核心网出 Gi口的数据通道和从接入点出 Gi口的数据通道;  Establish a data channel from the core network to the Gi port and a data channel from the access point to the Gi port;
接收终端发送的数据;  Receiving data sent by the terminal;
根据预置的路由表和所述数据的目的地址, 将所述数据发送给与所述数据的目的地 址对应的所述两个数据通道其中一条数据通道中的下一跳网元,其中所述路由表包括目 的地址和至少一个数据通道中的下一跳网元的对应关系。  And sending, according to the preset routing table and the destination address of the data, the next hop network element in one of the two data channels corresponding to the destination address of the data, where the The routing table includes a correspondence between the destination address and the next hop network element in the at least one data channel.
2、 根据权利要求 1所述的方法, 其特征在于, 所述建立从核心网出 Gi口的数据通 道和从接入点出 Gi口的数据通道, 包括:  The method according to claim 1, wherein the establishing a data channel from the core network to the Gi port and the data channel from the access point to the Gi port comprises:
接收终端发送的用于建立数据通道的信息;  Receiving information sent by the terminal for establishing a data channel;
将所述建立数据通道的信息发送给接入网关 AG;  Transmitting the information about establishing the data channel to the access gateway AG;
建立终端与 AG之间的无线接入承载 RAB ;  Establish a radio access bearer RAB between the terminal and the AG;
接收所述 AG在接收到所述建立数据通道的信息后生成的、 为终端分配地址的信息 和所述 AG转发的、 网关通用无线分组业务支持节点 GGSN为终端分配的地址;  Receiving, by the AG, information for assigning an address to the terminal after receiving the information about establishing the data channel, and an address that is forwarded by the AG, and the gateway general wireless packet service support node GGSN is allocated to the terminal;
根据所述为终端分配地址的信息为所述终端分配互联网协议 IP地址;  Assigning an Internet Protocol IP address to the terminal according to the information for assigning an address to the terminal;
该方法进一步包括:建立所述 IP地址与所述 GGSN为终端分配的地址的映射关系; 将所述 IP地址和 /或所述 GGSN为终端分配的地址通过所述 AG转发给终端。  The method further includes: establishing a mapping relationship between the IP address and an address allocated by the GGSN to the terminal; and forwarding the IP address and/or the address allocated by the GGSN to the terminal to the terminal by using the AG.
3、 根据权利要求 1 所述的方法, 其特征在于, 所述根据预置的路由表和所述数据 的目的地址,将所述数据发送给与所述数据的目的地址对应的所述两个数据通道其中一 条数据通道中的下一跳网元, 具体包括:  The method according to claim 1, wherein the data is sent to the two corresponding to the destination address of the data according to a preset routing table and a destination address of the data. The next hop NE in one of the data channels, including:
根据预置的路由表和所述数据的目的地址, 判断所述数据中的目的地址所对应的下 一跳网元是否是所述从核心网出 Gi口的数据通道中的 AG,  Determining, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address in the data is the AG in the data channel of the Gi port from the core network,
如果所述终端发送的数据中的目的地址所对应数据通道中的下一跳网元是所述 AG, 根据所述建立的映射关系, 将所述终端发送的数据中的 IP地址转换为所述 GGSN 为终端分配的地址; 将转换后的数据发送给所述 AG;  If the next hop network element in the data channel corresponding to the destination address in the data sent by the terminal is the AG, converting the IP address in the data sent by the terminal to the foregoing according to the established mapping relationship GGSN is an address assigned to the terminal; the converted data is sent to the AG;
如果所述终端发送的数据中的目的地址所对应的下一跳不是所述 AG, 将所述终端 发送的数据发送给在所述接入点出 Gi口的数据通道中的下一跳网元。  If the next hop corresponding to the destination address in the data sent by the terminal is not the AG, the data sent by the terminal is sent to the next hop network element in the data channel of the Gi-port of the access point. .
4、 根据权利要求 1至 3任一项所述的方法, 其特征在于, 所述接入点出 Gi口的数 据通道中的下一跳网元为主机、 网关或路由器。 The method according to any one of claims 1 to 3, wherein the next hop network element in the data channel of the access point out of the Gi interface is a host, a gateway or a router.
5、 一种接入点 AP, 其特征在于, 包括: 5. An access point AP, which is characterized by:
第二接收单元, 用于接收终端发送的数据;  a second receiving unit, configured to receive data sent by the terminal;
判断单元, 用于根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地 址对应的下一跳网元是否是接入网关 AG;  a determining unit, configured to determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is an access gateway AG;
获取单元,用于获取为终端分配的 IP地址与 GGSN为终端分配的地址的映射关系; 处理单元, 用于当所述判断单元确定所述第一接收单元所接收的数据的目的地址对 应的下一跳地址是 AG时, 根据获取单元的获取的为终端分配的 IP地址与 GGSN为终 端分配的地址的映射关系, 将所述数据的 IP地址转换为 GGSN为终端分配的地址; 第二发送单元, 用于当所述判断单元确定所述第一接收单元所接收的数据的目的地 址对应的下一跳网元不是 AG时, 将所述数据通过所述下一跳网元发送到所述的目的地 址; 或者, 用于当所述数据的目的地址对应的下一跳网元是 AG时, 将 IP地址转换为 对应的 0GSN为终端分配的地址的数据发送给 AG。  An obtaining unit, configured to acquire a mapping relationship between an IP address allocated to the terminal and an address allocated by the GGSN to the terminal; and a processing unit, configured to: when the determining unit determines, corresponding to the destination address of the data received by the first receiving unit When the hop address is the AG, the IP address of the data is converted to the address allocated by the GGSN to the terminal according to the mapping relationship between the IP address allocated by the acquiring unit and the address allocated by the GGSN to the terminal; the second sending unit And when the determining unit determines that the next hop network element corresponding to the destination address of the data received by the first receiving unit is not an AG, sending the data to the Or the destination address; or, when the next hop network element corresponding to the destination address of the data is an AG, the data that is converted into the address allocated by the corresponding 0GSN for the terminal is sent to the AG.
6、 根据权利要求 5所述的 AP, 其特征在于,  6. The AP according to claim 5, characterized in that
所述第二接收单元, 还用于接收终端发送的用于建立数据通道的信息, 接收 AG在 接收到所述建立数据通道的信息后生成的、发送的为终端分配地址的信息和所述 AG转 发的, 网关通用无线分组业务支持节点 GGSN为终端分配的地址,接收建立终端与所述 AG之间的无线接入承载 RAB的信息;  The second receiving unit is further configured to receive information for establishing a data channel that is sent by the terminal, and receive information that is generated by the AG after receiving the information about establishing the data channel, and that is sent by the terminal to allocate an address and the AG. Forwarding, the gateway general wireless packet service support node GGSN is an address allocated by the terminal, and receives information about establishing a radio access bearer RAB between the terminal and the AG;
所述获取单元, 还用于获取为终端分配的 IP地址;  The obtaining unit is further configured to acquire an IP address allocated for the terminal;
所述发送单元, 还用于发送所述为终端分配的 IP地址给所述 AG;  The sending unit is further configured to send the IP address allocated to the terminal to the AG;
进一步包括: 地址映射单元, 用于建立为终端分配的 IP地址和 GGSN为终端分配 的地址的映射关系。  The method further includes: an address mapping unit, configured to establish a mapping relationship between an IP address allocated to the terminal and an address allocated by the GGSN to the terminal.
7、 一种接入网关 AG, 其特征在于, 包括:  7. An access gateway AG, which is characterized by comprising:
第一接收单元, 用于接收来自终端的数据通道建立信息, 包含核心网为所述终端分 配的地址的数据通道建立响应, 和包含为所述终端分配的 IP地址的数据通道建立响应; 査询单元, 用于向 AP归属服务器查询 AP支持直接出 Gi口业务;  a first receiving unit, configured to receive data channel establishment information from the terminal, include a data channel establishment response of the address allocated by the core network for the terminal, and establish a response by using a data channel that includes an IP address allocated to the terminal; The unit is configured to query the AP home server to query the AP to directly output the Gi port service;
第一发送单元, 用于向核心网转发数据通道建立信息, 还用于当査询单元获取所述 AP支持直接出 Gi口业务时, 向所述 AP转发包含所述核心网分配的地址数据通道建立 信息, 还用于向终端发送包含为所述终端分配的 IP地址的数据通道建立响应。  The first sending unit is configured to forward the data channel establishment information to the core network, and is further configured to: when the query unit obtains the direct support for the outbound Gi port service, forward the address data channel that is included in the core network to the AP The establishment information is further used to send a response to the data channel including the IP address assigned to the terminal to the terminal.
8、根据权利要求 7所述的 AG, 其特征在于, 所述 AG还包括: 无线接入承载 RAB 建立单元, 用于通过 AP与终端建立无线接入承载 RAB。  The AG according to claim 7, wherein the AG further comprises: a radio access bearer RAB establishing unit, configured to establish a radio access bearer RAB by using the AP and the terminal.
9、 一种通信系统, 其特征在于, 包括:  9. A communication system, comprising:
20  20
替换页(细则第 26条) 接入点 AP, 用于接收终端发送的数据, 根据预置的路由表和所述数据的目的地址, 判断所述数据的目的地址对应的下一跳网元是否是接入网关 AG, 当所述数据的目的地 址对应的下一跳地址不是 AG时,将所述数据通过所述下一跳网元发送到所述的目的地 址, 当所述数据的目的地址对应的下一跳地址是 AG时, 根据为终端分配的 IP地址与 GGSN为终端分配的地址的映射关系, 将所述数据的 IP地址转换为对应的 GGSN为终 端分配的地址, 当所述数据的目的地址对应的下一跳地址是 AG时, 将 IP地址转换为 对应的 GGSN为终端分配的地址的数据发送给 AG; Replacement page (Article 26) The access point AP is configured to receive data sent by the terminal, and determine, according to the preset routing table and the destination address of the data, whether the next hop network element corresponding to the destination address of the data is the access gateway AG, When the next hop address corresponding to the destination address of the data is not the AG, the data is sent to the destination address by using the next hop network element, and the next hop address corresponding to the destination address of the data is AG. The IP address of the data is converted into an address allocated by the GGSN to the terminal according to the mapping relationship between the IP address assigned to the terminal and the address allocated by the GGSN for the terminal, and the next hop corresponding to the destination address of the data. When the address is the AG, the data of the IP address is translated to the address allocated by the corresponding GGSN for the terminal, and is sent to the AG;
接入网关 AG, 用于接收来自终端的数据通道建立信息, 向网关通用无线分组业务 支持节点 GGSN转发数据通道建立信息, 接收包含 GGSN为所述终端分配的地址的数 据通道建立响应, 向 AP归属服务器査询 AP支持直接出 Gi口业务, 当查询单元获取所 述 AP支持直接出 Gi口业务时,向所述 AP转发包含所述 GGSN分配的地址数据通道建 立信息, 接收包含为所述终端分配的 IP地址的数据通道建立响应, 向终端发送包含为 所述终端分配的 IP地址的数据通道建立响应;  The access gateway AG is configured to receive data channel setup information from the terminal, forward the data channel setup information to the gateway general wireless packet service support node GGSN, and receive a data channel setup response including the address allocated by the GGSN for the terminal, to the AP. The server queries the AP to support the direct out of the Gi-port service. When the query unit obtains the direct-out of the Gi-port service, the query unit forwards the address data channel establishment information including the GGSN to the AP, and the receiving includes allocating the terminal for the terminal. Data channel establishment response of the IP address, sending a data channel setup response containing the IP address assigned to the terminal to the terminal;
网关通用无线分组业务支持节点 GGSN, 用于接收所述 AG发送的为终端分配地址 的信息, 为终端分配地址, 将分配的地址发送给所述 AG。  The gateway general wireless packet service support node GGSN is configured to receive information about an address allocated by the AG for the terminal, allocate an address for the terminal, and send the allocated address to the AG.
10、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括:  10. The system according to claim 9, wherein the system further comprises:
AP归属服务器, 用于为所述 AG提供终端所属 AP是否支持直接出 Gi口业务的信 息。  The AP home server is configured to provide the AG with information about whether the AP to which the terminal belongs supports the direct outgoing port service.
11、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括:  The system according to claim 9, wherein the system further comprises:
动态主机分配协议 DHCP服务器, 用于为所述 AP提供分配给所述终端的 IP地址。 A dynamic host allocation protocol DHCP server is configured to provide the AP with an IP address assigned to the terminal.
12、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括: 12. The system of claim 9, wherein the system further comprises:
地址分配服务器, 用于为 GGSN提供分配给所述终端的地址。  An address allocation server, configured to provide an address assigned to the terminal for the GGSN.
13、 一种通信系统, 其特征在于, 包括:  13. A communication system, comprising:
接入点 AP,用于根据预置的数据通道, 接收终端发送的数据, 根据所述 AP中预置 的路由表, 判断所述终端发送的数据中的目的地址所对应的下一跳是否是所述 AG, 当 所述判断结果为下一跳是 AG时, 根据为终端分配的 IP地址与网关通用无线分组业务 支持节点 GGSN为终端分配地址的映射关系, 将所述终端发送的数据中的 IP地址转换 为所述 GGSN为终端分配的地址, 将转换后的数据发送给所述 AG, 当所述判断结果为 下一跳不是 AG时, 将所述终端发送的数据发送给网络侧下一跳网元, 所述下一跳网元 转发给目的地址;  The access point AP is configured to receive data sent by the terminal according to the preset data channel, and determine, according to the preset routing table in the AP, whether the next hop corresponding to the destination address in the data sent by the terminal is The AG, when the judgment result is that the next hop is the AG, according to the mapping relationship between the IP address allocated for the terminal and the gateway general wireless packet service support node GGSN for the terminal, the data sent by the terminal The IP address is translated to the address allocated by the GGSN to the terminal, and the converted data is sent to the AG. When the result of the determination is that the next hop is not the AG, the data sent by the terminal is sent to the network side. The network element of the next hop is forwarded to the destination address;
接入网关 AG, 用于根据预置的数据通道, 接收所述 AP发送的数据, 将所述数据 替换页 ( 则第 26条) 发送给 GGSN; The access gateway AG is configured to receive data sent by the AP according to a preset data channel, and replace the data with the page (Article 26) Sent to the GGSN;
网关通用无线分组业务支持节点 GGSN, 用于根据预置的数据通道, 接收所述 AG 发送的所述数据, 将所述数据发送给应用服务器;  a gateway general wireless packet service support node GGSN, configured to receive the data sent by the AG according to a preset data channel, and send the data to an application server;
互联网服务器, 用于接收所述 AP发送的数据;  An internet server, configured to receive data sent by the AP;
应用服务器, 用于为所述终端提供核心网业务。  An application server, configured to provide a core network service for the terminal.
14、 根据权利要求 13所述的系统, 其特征在于, 所述系统还包括:  14. The system according to claim 13, wherein the system further comprises:
网络地址转换 NAT设备,用于当所述 AP中判断所述终端发送的数据中的目的地址 所对应的下一跳是 AG, 根据所述建立的所述为终端分配的 IP地址与所述 GGSN为终 端分配地址的映射关系, 将所述终端发送的数据中的 IP地址转换为所述 GGSN为终端 分配的地址, 将转换后的数据发送给所述 AP;  a network address translation NAT device, configured to determine, in the AP, that a next hop corresponding to a destination address in the data sent by the terminal is an AG, and the IP address allocated to the terminal according to the established IP address and the GGSN Assigning a mapping relationship of the address to the terminal, converting the IP address in the data sent by the terminal to the address allocated by the GGSN to the terminal, and transmitting the converted data to the AP;
所述 AP用于, 将所述转换后的数据发送给所述 AG。  The AP is configured to send the converted data to the AG.
PCT/CN2009/075978 2008-12-24 2009-12-24 Routing method, apparatus and communication system for data exiting a gi interface WO2010072161A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2008101894538A CN101436991B (en) 2008-12-24 2008-12-24 Routing method, apparatus and communication system for outputting data through Gi port
CN200810189453.8 2008-12-24

Publications (1)

Publication Number Publication Date
WO2010072161A1 true WO2010072161A1 (en) 2010-07-01

Family

ID=40711223

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/075978 WO2010072161A1 (en) 2008-12-24 2009-12-24 Routing method, apparatus and communication system for data exiting a gi interface

Country Status (2)

Country Link
CN (1) CN101436991B (en)
WO (1) WO2010072161A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118267A (en) * 2011-01-19 2011-07-06 冉红 Routing device applied to redundancy and fault tolerance of levels of functional nodes and redundancy and fault tolerance system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436991B (en) * 2008-12-24 2011-04-13 华为技术有限公司 Routing method, apparatus and communication system for outputting data through Gi port
US8549117B2 (en) * 2009-11-05 2013-10-01 Telefonaktiebolaget L M Ericsson (Publ) Method for address translator traversal in 3GPP networks
CN102083173B (en) * 2009-11-26 2014-12-10 中国移动通信集团广东有限公司 Network access control method, equipment and gateway GPRS support node
CN102802201B (en) * 2011-05-27 2017-03-15 上海贝尔股份有限公司 Communication means under Cellular Networks and WLAN UNE environment
CN103168490A (en) * 2011-10-13 2013-06-19 华为技术有限公司 Shunt decision method, and high mobility state identification method and device
CN106603375B (en) * 2016-12-07 2019-09-17 京信通信系统(中国)有限公司 LTE base station GTP tunnel multiplexing method and system and device
CN114143260B (en) * 2021-11-29 2023-06-30 上海商汤智能科技有限公司 Data transmission system and method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040006993A (en) * 2002-07-16 2004-01-24 엘지전자 주식회사 Method for Controlling Routing of Access Point Name in Gateway General packet radio service Support Node
CN1625152A (en) * 2003-12-05 2005-06-08 华为技术有限公司 Method for securing quality of transmitted group data service
US20070217427A1 (en) * 2006-02-28 2007-09-20 Samsung Electronics Co., Ltd. Method and system for transmitting/receiving data in heterogeneous communication systems
US20080261615A1 (en) * 2007-04-19 2008-10-23 Amit Kalhan Apparatus, system and method for determining a geographical location of a portable communication device
CN101436991A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Routing method, apparatus and communication system for outputting data through Gi port

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040006993A (en) * 2002-07-16 2004-01-24 엘지전자 주식회사 Method for Controlling Routing of Access Point Name in Gateway General packet radio service Support Node
CN1625152A (en) * 2003-12-05 2005-06-08 华为技术有限公司 Method for securing quality of transmitted group data service
US20070217427A1 (en) * 2006-02-28 2007-09-20 Samsung Electronics Co., Ltd. Method and system for transmitting/receiving data in heterogeneous communication systems
US20080261615A1 (en) * 2007-04-19 2008-10-23 Amit Kalhan Apparatus, system and method for determining a geographical location of a portable communication device
CN101436991A (en) * 2008-12-24 2009-05-20 华为技术有限公司 Routing method, apparatus and communication system for outputting data through Gi port

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102118267A (en) * 2011-01-19 2011-07-06 冉红 Routing device applied to redundancy and fault tolerance of levels of functional nodes and redundancy and fault tolerance system
CN102118267B (en) * 2011-01-19 2016-11-23 刘敬梅 It is applied to route device and the redundancy fault-tolerant system of multistage functional node redundancy fault-tolerant

Also Published As

Publication number Publication date
CN101436991B (en) 2011-04-13
CN101436991A (en) 2009-05-20

Similar Documents

Publication Publication Date Title
WO2010072161A1 (en) Routing method, apparatus and communication system for data exiting a gi interface
US10200511B2 (en) Telecommunications apparatus and method
US9106711B2 (en) Minimizing mapping and signaling for data path aggregation
JP4938834B2 (en) Get address
TWI388165B (en) Wireless communication system and routing method for packet switching service, femto ap using the routing method
JP5816293B2 (en) Private device identification in the public network
WO2011032481A1 (en) Communication method, method for forwarding data message during the communication process and communication node thereof
WO2012051915A1 (en) Method and device for port mapping, and communications system
WO2021027858A1 (en) Method and device for determining rlc channel
WO2009115054A1 (en) A method, a user equipment and a network equipment for acquiring information
WO2009089780A1 (en) Method for establishing data connection in mobile network, mobile network and policy control entity
JP3538527B2 (en) Wireless communication system and wireless communication method
WO2014047919A1 (en) Address allocation method, device and system
WO2013026306A1 (en) Method and system for allocating identifier and gateway address
WO2010045872A1 (en) Method, device and system for transmitting packet switching services
WO2010000180A1 (en) A message transfer method, interworking proxy node, data gateway and network system
JP7426513B2 (en) Multi-PDN implementation method and storage medium between indoor unit and outdoor unit
WO2010066179A1 (en) Data transmission method, system and device
KR20040049189A (en) Internet Protocol Allocating Method in Inter-working Systems of Wireless Local Area Network and Universal Mobile Telecommunication
WO2014169590A1 (en) Data service communication method, device, and system
KR101120890B1 (en) Method for Searching GGSN IP in SGSN
KR100607690B1 (en) Dns system and method using default ipv6 address
JP2008517521A (en) Integration of SGSN and GGSN
KR100636267B1 (en) Method for managing gtp tunnel in umts network
WO2022160982A1 (en) Ipv6 address configuration method and routing device

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: 09834114

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: 09834114

Country of ref document: EP

Kind code of ref document: A1