[go: up one dir, main page]

CN102480714B - Method for inquiring gateway and system thereof - Google Patents

Method for inquiring gateway and system thereof Download PDF

Info

Publication number
CN102480714B
CN102480714B CN201010560791.5A CN201010560791A CN102480714B CN 102480714 B CN102480714 B CN 102480714B CN 201010560791 A CN201010560791 A CN 201010560791A CN 102480714 B CN102480714 B CN 102480714B
Authority
CN
China
Prior art keywords
gateway
management unit
core network
local
query
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201010560791.5A
Other languages
Chinese (zh)
Other versions
CN102480714A (en
Inventor
梁爽
吴瑟
王卫斌
周娜
王静
霍玉臻
朱进国
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yancheng Big Data Asset Management Co ltd
Yancheng Yotely Automation Engineering Co ltd
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010560791.5A priority Critical patent/CN102480714B/en
Priority to PCT/CN2011/081658 priority patent/WO2012068946A1/en
Publication of CN102480714A publication Critical patent/CN102480714A/en
Application granted granted Critical
Publication of CN102480714B publication Critical patent/CN102480714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/17Selecting a data network PoA [Point of Attachment]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/082Mobility data transfer for traffic bypassing of mobility servers, e.g. location registers, home PLMNs or home agents

Landscapes

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

Abstract

本发明提供了一种查询网关的方法及系统,应用于实现本地接入的网络中,该网络包括:选择管理单元,在上述方法中,该选择管理单元向域名DNS服务器发送网关查询请求,其中,该网关查询请求包括APN信息和/或位置信息,或者,APN信息和位置信息中的至少一个以及选择核心网网关指示信息的组合;选择管理单元接收来自于DNS服务器返回的网关查询响应,其中,携带查询得到的一个或多个网关地址。根据本发明提供的技术方案,可以有效屏蔽引入本地接入业务对现有的移动管理单元的改动。

The present invention provides a method and system for querying a gateway, which is applied to a network for local access. The network includes: a selection management unit. In the above method, the selection management unit sends a gateway query request to a domain name DNS server, wherein , the gateway query request includes APN information and/or location information, or a combination of at least one of APN information and location information and selection of core network gateway indication information; the selection management unit receives the gateway query response returned from the DNS server, wherein , carrying one or more gateway addresses obtained from the query. According to the technical solution provided by the invention, the modification of the existing mobile management unit by introducing the local access service can be effectively shielded.

Description

查询网关的方法及系统Method and system for querying gateway

技术领域 technical field

本发明涉及移动通信领域,具体涉及一种查询网关的方法及系统。The invention relates to the field of mobile communication, in particular to a method and system for querying a gateway.

背景技术 Background technique

为了保持第三代移动通信系统在通信领域的竞争力,为用户提供速率更快、时延更低、更加个性化的移动通信服务,同时,降低运营商的运营成本,第三代合作伙伴计划(3rd Generation Partnership Project,简称为3GPP)标准工作组正致力于演进分组系统(Evolved Packet System,简称为EPS)的研究。In order to maintain the competitiveness of the third-generation mobile communication system in the communication field, provide users with faster rate, lower delay, and more personalized mobile communication services, and at the same time reduce the operating costs of operators, the Third Generation Partnership Project (3rd Generation Partnership Project, referred to as 3GPP) standard working group is working on the research of the evolved packet system (Evolved Packet System, referred to as EPS).

图1示出了演进分组域系统的结构示意图,如图1所示,整个EPS系统分为无线接入网和核心网两部分。在核心网中,包含了归属用户服务器(Home SubscriberServer,简称为HSS)、移动性管理实体(Mobility Management Entity,简称为MME)、服务GPRS支持节点(Serving GPRS Support Node,简称为SGSN)、策略计费规则功能(Policy and Charging Rule Function,简称为PCRF)、服务网关(ServingGateway,简称为S-GW)、分组数据网关(PDN Gateway,简称为P-GW)和分组数据网络(Packet Data Network,简称为PDN)。为了支持EPS网络和现有网关的互通,该网络中的网元也支持接入网关GPRS支持节点(Gateway GPRS ServingNode,简称为GGSN)。下面详细描述上述各部分功能:Fig. 1 shows a schematic structural diagram of an evolved packet domain system. As shown in Fig. 1 , the entire EPS system is divided into two parts, a radio access network and a core network. In the core network, it includes Home Subscriber Server (HSS for short), Mobility Management Entity (MME for short), Serving GPRS Support Node (SGSN for short), policy calculator Policy and Charging Rule Function (PCRF for short), Serving Gateway (S-GW for short), PDN Gateway (P-GW for short) and Packet Data Network (Packet Data Network for short) for the PDN). In order to support the intercommunication between the EPS network and the existing gateway, the network elements in the network also support access to the Gateway GPRS Serving Node (Gateway GPRS ServingNode, GGSN for short). The functions of each of the above parts are described in detail below:

归属用户服务器,是用户签约数据的永久存放地点,位于用户签约的归属网。The home user server is the permanent storage place of the user subscription data, and is located in the home network of the user subscription.

移动性管理实体,是用户签约数据在当前网络的存放地点,负责终端到网络的非接入层信令管理、终端的安全验证功能、终端的移动性管理、用户空闲模式下的跟踪和寻呼管理功能和承载管理。The mobility management entity is the storage location of user subscription data in the current network, responsible for terminal-to-network non-access layer signaling management, terminal security verification function, terminal mobility management, user tracking and paging in idle mode Administrative functions and bearer management.

服务GPRS支持节点,是GSM/EDGE无线接入网(GSM/EDGE Radio AccessNetwork,简称为GERAN)和UMTS陆地无线接入网(UMTS Terrestrial RadioAccess Network,简称为UTRAN)用户接入核心网络的业务支持点,功能上与移动性管理实体类似,负责用户的位置更新、寻呼管理和承载管理等功能。The serving GPRS support node is the service support point for GSM/EDGE Radio Access Network (GSM/EDGE Radio Access Network, referred to as GERAN) and UMTS Terrestrial Radio Access Network (abbreviated as UTRAN) users to access the core network , which is functionally similar to the mobility management entity, responsible for user location update, paging management, and bearer management.

服务网关,是核心网到无线系统的网关,负责终端到核心网的用户面承载、终端空闲模式下的数据缓存、网络侧发起业务请求的功能、合法监听和分组数据路由和转发功能;服务网关负责统计用户终端使用无线网的情况,并产生终端使用无线网的话单,传送给计费网关。The service gateway is the gateway from the core network to the wireless system, responsible for the user plane bearer from the terminal to the core network, data caching in the terminal idle mode, the function of initiating service requests on the network side, legal interception, and packet data routing and forwarding functions; the service gateway Responsible for making statistics on the use of wireless networks by user terminals, and generating bills of wireless network use by terminals, and sending them to the billing gateway.

分组数据网关,是演进系统和该系统外部分组数据网络的网关,它连接到因特网和分组数据网络上,负责终端的互联网协议(Internet Protocol,简称为IP)地址分配、计费功能、分组包过滤、策略控制等功能。The packet data gateway is the gateway between the evolution system and the external packet data network of the system. It is connected to the Internet and the packet data network and is responsible for the terminal Internet Protocol (Internet Protocol, referred to as IP) address assignment, billing function, and packet filtering. , policy control and other functions.

网关GPRS支持节点,是GPRS网络中的网关节点,它连接到因特网和分组数据网络上,负责终端的互联网协议(Internet Protocol,简称为IP)地址分配、计费功能、分组包过滤、策略控制等功能。The gateway GPRS support node is the gateway node in the GPRS network. It is connected to the Internet and the packet data network, and is responsible for the terminal Internet Protocol (Internet Protocol, referred to as IP) address allocation, billing functions, packet filtering, policy control, etc. Function.

分组数据网络,是运营商的IP业务网络,该网络通过运营商的核心网为用户提供IP服务。The packet data network is the operator's IP service network, which provides IP services to users through the operator's core network.

策略计费规则功能实体,是演进系统中负责提供计费控制、在线信用控制、门限控制、服务质量(Quality of Service,简称为QoS)策略方面规则的服务器。The policy and charging rule functional entity is the server responsible for providing rules for charging control, online credit control, threshold control, and Quality of Service (QoS) policy in the evolution system.

无线接入网,是由演进基站(E-UTRAN NodeB,简称eNB)和3G无线网络控制器(Radio Network Control,简称RNC)组成,它主要负责无线信号的收发,通过空中接口和终端联系,管理空中接口的无线资源、资源调度、接入控制。The radio access network is composed of an evolved base station (E-UTRAN NodeB, referred to as eNB) and a 3G radio network controller (Radio Network Control, referred to as RNC). It is mainly responsible for sending and receiving wireless signals, communicating with terminals through the air interface, and managing Radio resources, resource scheduling, and access control of the air interface.

上述服务GPRS支持节点是升级过的SGSN,能够支持与服务网关之间的S4接口,并与移动性管理单元之间采用GTPv2协议进行互通。而对于支持3G核心网的SGSN来说PS域网络架构与图1有所不同。此时SGSN与MME采用Gn接口相连,互通采用GTPv1协议。SGSN不能与服务网关相连,通过Gn接口连接到网关GPRS支持节点(Gateway GPRS Support Node,简称GGSN)直接进行分组数据网络访问。The above-mentioned serving GPRS support node is an upgraded SGSN, which can support the S4 interface with the serving gateway, and communicate with the mobility management unit using the GTPv2 protocol. However, for the SGSN supporting the 3G core network, the PS domain network architecture is different from that shown in Figure 1. At this time, the SGSN and the MME are connected through the Gn interface, and the GTPv1 protocol is adopted for intercommunication. The SGSN cannot be connected to the service gateway, and is connected to the Gateway GPRS Support Node (Gateway GPRS Support Node, referred to as GGSN) through the Gn interface to directly access the packet data network.

家庭基站(Home NodeB,简称为HNB)或者演进的家庭基站(Home eNodeN,简称HeNB)是一类小型、低功率的基站,作为某些用户的专属资源,部署在家庭、团体、公司或者学校等私人场所使用,主要是为了给用户提供更高的业务速率并降低使用高速率服务所需要的费用,同时弥补已有分布式蜂窝无线通信系统覆盖的不足。家庭基站的优点是实惠、便捷、低功率输出、即插即用、宽带接入、使用单模终端等。A home base station (Home NodeB, referred to as HNB) or an evolved home base station (Home eNodeN, referred to as HeNB) is a type of small, low-power base station, as a dedicated resource for some users, deployed in families, groups, companies or schools, etc. The use in private places is mainly to provide users with higher service rates and reduce the cost of using high-speed services, while making up for the lack of coverage of existing distributed cellular wireless communication systems. The advantages of femtocells are affordable, convenient, low power output, plug and play, broadband access, and use of single-mode terminals.

家庭基站可以应用在第三代(3 Generation,简称为3G)或者长期演进(Long TermEvolution,简称为LTE)移动通信网络中。为了便于对家庭基站进行管理,在网络中引入了一个新网元,即家庭基站网关。家庭基站网关主要执行的功能为:验证家庭基站的安全性,对家庭基站的运行进行维护管理,根据运营商要求配置和控制家庭基站,负责交换核心网和家庭基站的数据信息。The femtocell may be applied in a third generation (3 Generation, 3G for short) or long term evolution (Long Term Evolution, LTE for short) mobile communication network. In order to facilitate the management of the femtocell, a new network element, namely the femtocell gateway, is introduced into the network. The main functions of the femtocell gateway are: verifying the security of the femtocell, maintaining and managing the operation of the femtocell, configuring and controlling the femtocell according to the requirements of the operator, and exchanging data information between the core network and the femtocell.

图2是3G家庭基站网络架构图,如图2所示,3G家庭基站通过新定义的Iuh接口连接至家庭基站网关,家庭基站网关提供到核心网分组域和电路域的IuPS和IuCs接口。对于3G网络来说家庭基站网关必选部署用来屏蔽引入家庭基站后对终端和网络侧的影响。对于LTE网络来说家庭基站网关可选部署,因此LTE家庭基站和核心网连接有两种方式,一种是家庭基站和核心网网元直接相连,另一种是家庭基站通过网关和核心网网元相连,如图3、4所示。对于图4所示引入家庭基站网关的场景,家庭基站网关可以不集成用户面功能,家庭基站和核心网用户面网关间直接建立用户面,这样可以使用户面扁平化,数据传输时延减小,如图5所示。Figure 2 is a network architecture diagram of a 3G home base station. As shown in Figure 2, the 3G home base station is connected to the home base station gateway through the newly defined Iuh interface, and the home base station gateway provides IuPS and IuCs interfaces to the core network packet domain and circuit domain. For 3G networks, the femtocell gateway must be deployed to shield the impact on the terminal and the network side after the introduction of the femtocell. For the LTE network, the home base station gateway can be optionally deployed. Therefore, there are two ways to connect the LTE home base station to the core network. One is that the home base station is directly connected to the core network element, and the other is that the home base station is connected to the core network through the gateway. The elements are connected, as shown in Figure 3 and 4. For the scenario where the femtocell gateway is introduced as shown in Figure 4, the femtocell gateway may not integrate the user plane function, and the user plane is directly established between the femtocell and the core network user plane gateway, which can make the user plane flat and reduce the data transmission delay , as shown in Figure 5.

家庭基站除了支持通过移动核心网络的接入之外,还可以支持本地IP接入功能,在家庭基站具备本地IP接入能力并且用户签约允许本地IP访问的条件下,可以实现用户对家庭网络其他IP设备或者互联网络的本地接入。通过本地接入功能,可以实现Internet数据业务的分流,降低核心网负荷,并且对于家庭网络设备的访问可以不通过核心网来进行转发,数据传输便捷高效。本地IP接入功能在宏蜂窝上也可以使用,主要用途和家庭基站类似,更多的是应用在本地IP接入英特网(Internet)这种场景,目的是降低核心网负荷。In addition to supporting access through the mobile core network, the home base station can also support the local IP access function. Under the condition that the home base station has the local IP access capability and the user signs a contract to allow local IP access, it can realize the user's access to other information in the home network. Local access to IP devices or the Internet. Through the local access function, the distribution of Internet data services can be realized, the load of the core network can be reduced, and the access to home network devices can be forwarded without going through the core network, and the data transmission is convenient and efficient. The local IP access function can also be used on the macro cell. The main purpose is similar to that of the home base station. It is more used in the scenario of local IP access to the Internet (Internet), with the purpose of reducing the core network load.

图6分别给出了实现上述本地接入功能的架构。其中,本地接入网关作为本地接入到外部网络(例如internet)的网络,提供地址分配、计费、分组包过滤、策略控制等功能。该网元作为一个逻辑单元模块在实际部署的时候建议将其和现有的家用基站或者基站联合部署。对于家用基站接入的场景,网络中还可能存在家用基站网关,对于有家用基站网关的场景可以在数据路径上。FIG. 6 shows the architectures for realizing the above local access functions respectively. Wherein, the local access gateway serves as a network locally connected to an external network (such as the Internet), and provides functions such as address allocation, accounting, packet filtering, and policy control. As a logical unit module, the network element is recommended to be deployed jointly with the existing home base station or base station during actual deployment. For the scenario where the HNB is accessed, there may also be a HNB gateway in the network, and for the scenario where the HNB gateway exists, it may be on the data path.

相关技术中,建立PDN连接或者PDP激活的流程如图7所示。这里以UE接入GPRS网络为例说明策略如何下发,接入EPC网络是类似的过程。该过程主要包括以下处理:In related technologies, the process of establishing a PDN connection or PDP activation is shown in FIG. 7 . Here, the UE accessing the GPRS network is taken as an example to illustrate how to deliver the policy. Accessing the EPC network is a similar process. This process mainly includes the following processing:

步骤S702,终端发起PDP激活请求,该条非接入层消息经由基站带给SGSN。其中,该消息中携带终端希望接入的APN信息。In step S702, the terminal initiates a PDP activation request, and the non-access stratum message is sent to the SGSN via the base station. Wherein, the message carries the APN information that the terminal wishes to access.

步骤S704,SGSN根据终端提供接入点名称(Access Point Name,简称为APN)信息,构建域名服务(Domain Name Server,简称为DNS)查询请求消息,向DNS服务器查询可用的GGSN地址。为了选择本地网关,在构建DNS请求时还需要包含UE接入的位置信息,该信息可以是基站标识或者路由区标识。In step S704, the SGSN constructs a Domain Name Server (DNS) query request message according to the Access Point Name (APN) information provided by the terminal, and queries the DNS server for available GGSN addresses. In order to select a local gateway, it is also necessary to include UE access location information when constructing a DNS request, and this information may be a base station identifier or a routing area identifier.

步骤S706,DNS服务器根据存储信息向SGSN返回查询响应消息,其中,该查询响应消息包含可用的GGSN地址信息。该信息中可以包含一个或者多个GGSN地址。In step S706, the DNS server returns a query response message to the SGSN according to the stored information, wherein the query response message includes available GGSN address information. This information may contain one or more GGSN addresses.

步骤S708,SGSN从返回的GGSN地址或者地址列表中选择GGSN。In step S708, the SGSN selects a GGSN from the returned GGSN address or address list.

步骤S710,SGSN向本地网关节点发送PDP激活请求,其中携带UE标识,PDP类型,QoS信息,计费信息等参数。In step S710, the SGSN sends a PDP activation request to the local gateway node, which carries parameters such as UE identity, PDP type, QoS information, and charging information.

具体地,如果是接入GPRS网络,则本地网关节点为GGSN,如果接入EPC网络,则核心网网关指的是SGW和PGW。接入的网络不同,消息有所不同,但是作用类似,这里以接入GRPS网络的描述为例。Specifically, if accessing the GPRS network, the local gateway node is the GGSN, and if accessing the EPC network, the core network gateway refers to the SGW and PGW. Different networks have different messages, but the functions are similar. Here we take the description of accessing the GRPS network as an example.

步骤S712,本地网关节点对PDP激活请求消息中携带的参数进行验证,并对请求中携带的QoS参数进行授权。本地网关向SGSN返回PDP激活响应,其中携带为UE分配的隧道端标识,授权的QoS参数等信息。Step S712, the local gateway node verifies the parameters carried in the PDP activation request message, and authorizes the QoS parameters carried in the request. The local gateway returns a PDP activation response to the SGSN, which carries information such as the tunnel end identifier assigned to the UE, authorized QoS parameters, and the like.

步骤S714,SGSN向基站发送承载指配请求,其中携带UE的MSISDN号码,APN,QoS参数等信息。In step S714, the SGSN sends a bearer assignment request to the base station, which carries information such as the UE's MSISDN number, APN, and QoS parameters.

步骤S716,如果基站接受了本地网关节点下发的QoS参数,则基站发起RRC连接建立的过程。In step S716, if the base station accepts the QoS parameters delivered by the local gateway node, the base station initiates a process of establishing an RRC connection.

步骤S718,基站向SGSN返回RAB指配响应消息。如果同时建立多条承载,则基站会返回多个RAN指配响应消息。In step S718, the base station returns a RAB assignment response message to the SGSN. If multiple bearers are established at the same time, the base station will return multiple RAN assignment response messages.

如果基站无法接受RAB指配消息中的QoS参数,则在返回的RAN指配响应消息中指示给SGSN。SGSN根据该指示,可以选择下发新的QoS参数。If the base station cannot accept the QoS parameters in the RAB assignment message, it will indicate to the SGSN in the returned RAN assignment response message. According to the indication, the SGSN may choose to issue new QoS parameters.

步骤S720,SGSN根据是否建立直接隧道,判断是否要向本地网关节点发送PDP更新请求,如果发送,则其中携带基站的隧道端标识。如果QoS与之前核心网网关下发的QoS不一致,则SGSN通过PDP更新过程通知本地网关。Step S720, the SGSN judges whether to send a PDP update request to the local gateway node according to whether a direct tunnel is established, and if sent, it carries the tunnel end identifier of the base station. If the QoS is inconsistent with the QoS delivered by the core network gateway, the SGSN notifies the local gateway through the PDP update process.

步骤S722,SGSN向终端返回PDP激活响应,其中,该激活响应携带有授权的QoS参数等信息。In step S722, the SGSN returns a PDP activation response to the terminal, wherein the activation response carries authorized QoS parameters and other information.

由图7可知,为了支持本地接入,需要对现有的移动管理单元进行改进及升级。因此,为了屏蔽引入本地接入业务对现有的移动管理单元的上述改动,需要提出一种新的网络架构。It can be seen from FIG. 7 that in order to support local access, the existing mobility management unit needs to be improved and upgraded. Therefore, in order to shield the above-mentioned changes to the existing mobility management unit by introducing the local access service, a new network architecture needs to be proposed.

发明内容 Contents of the invention

针对相关技术中为了支持本地接入,需要对现有的移动管理单元进行改进及升级等问题,本发明提供了一种查询网关的方法及系统,以解决上述问题至少之一。In order to support local access in the related art, it is necessary to improve and upgrade the existing mobility management unit, the present invention provides a method and system for querying a gateway, so as to solve at least one of the above problems.

根据本发明的一个方面,提供了一种查询网关的方法。According to one aspect of the present invention, a method for querying a gateway is provided.

根据本发明的查询网关的方法,应用于实现本地接入的网络中,该网络包括选择管理单元,上述方法包括:所述选择管理单元向DNS服务器发送网关查询请求,其中,所述网关查询请求包括APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;所述选择管理单元接收来自于所述DNS服务器返回的网关查询响应,其中,携带查询得到的一个或多个网关地址。The method for querying a gateway according to the present invention is applied to a network that realizes local access, and the network includes a selection management unit. The method includes: the selection management unit sends a gateway query request to a DNS server, wherein the gateway query request Including APN information and/or location information, or a combination of at least one of the APN information and the location information and selection of core network gateway indication information; the selection management unit receives the gateway query returned from the DNS server The response carries one or more gateway addresses obtained from the query.

根据本发明的另一方面,提供了一种查询网关的系统。According to another aspect of the present invention, a system for querying a gateway is provided.

根据本发明的查询网关的系统,应用于实现本地接入的网络中,该所述查询网关的系统包括:选择管理单元和DNS服务器;其中,所述选择管理单元,包括:第一发送模块,用于向所述DNS服务器发送网关查询请求,其中,所述网关查询请求包括APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;第一接收模块,用于接收来自于所述DNS服务器返回的网关查询响应,其中,所述网关查询响应携带有查询得到的一个或多个网关地址。所述DNS服务器,包括:第二接收模块,用于接收来自于所述选择管理单元的所述网关查询请求;查询模块,用于根据APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合查询得到的所述一个或多个网关地址;第二发送模块,用于向所述选择管理单元发送所述一个或多个网关地址。The gateway query system according to the present invention is applied to a network for local access, the gateway query system includes: a selection management unit and a DNS server; wherein, the selection management unit includes: a first sending module, For sending a gateway query request to the DNS server, where the gateway query request includes APN information and/or location information, or at least one of the APN information and the location information and selection core network gateway indication information combination; a first receiving module, configured to receive a gateway query response returned from the DNS server, wherein the gateway query response carries one or more gateway addresses obtained through query. The DNS server includes: a second receiving module, configured to receive the gateway query request from the selection management unit; a query module, configured to use APN information and/or location information, or the APN information and The one or more gateway addresses obtained by combining at least one of the location information and the selected core network gateway indication information; a second sending module, configured to send the one or more gateways to the selection management unit address.

通过本发明,在实现本地接入的网络中新增一个选择管理单元,该选择管理单元与DNS服务器进行交互,查询网关地址,从而实现了本地接入。解决了相关技术中为了支持本地接入,需要对现有的移动管理单元进行改进及升级等问题,进而可以有效屏蔽引入本地接入业务对现有的移动管理单元的改动。Through the present invention, a selection management unit is newly added in the network for realizing local access, and the selection management unit interacts with the DNS server to query the address of the gateway, thereby realizing local access. The invention solves the problem in the related art that the existing mobility management unit needs to be improved and upgraded in order to support local access, and thus can effectively shield the modification of the existing mobility management unit by introducing the local access service.

附图说明 Description of drawings

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:

图1是演进分组域系统的结构示意图。FIG. 1 is a schematic structural diagram of an evolved packet domain system.

图2是3G家庭基站网络架构的示意图。FIG. 2 is a schematic diagram of a 3G femtocell network architecture.

图3是第一种家庭基站网络架构的示意图。Fig. 3 is a schematic diagram of the first home base station network architecture.

图4是第二种家庭基站网络架构的示意图。Fig. 4 is a schematic diagram of a second home base station network architecture.

图5是第三种家庭基站网络架构的示意图。Fig. 5 is a schematic diagram of a third home base station network architecture.

图6是相关技术中实现本地接入的网络架构的示意图。Fig. 6 is a schematic diagram of a network architecture for realizing local access in the related art.

图7是相关技术中建立PDN或者激活PDP上下文的流程示意图。Fig. 7 is a schematic flow chart of establishing a PDN or activating a PDP context in the related art.

图8为根据本发明实施例的查询网关的方法的流程图;8 is a flowchart of a method for querying a gateway according to an embodiment of the present invention;

图9是根据本发明实例一的实现本地接入的流程图;Fig. 9 is a flow chart of implementing local access according to Example 1 of the present invention;

图10是根据本发明实例二的实现本地接入的流程图;Fig. 10 is a flow chart of implementing local access according to Example 2 of the present invention;

图11是根据本发明实施例的查询网关的系统的结构框图;11 is a structural block diagram of a system for querying gateways according to an embodiment of the present invention;

图12是根据本发明优选实施例的查询网关的系统的结构框图;Fig. 12 is a structural block diagram of a system for querying gateways according to a preferred embodiment of the present invention;

图13是根据本发明实例一的实现本地接入的网络架构示意图;FIG. 13 is a schematic diagram of a network architecture for realizing local access according to Example 1 of the present invention;

图14是根据本发明实例二的实现本地接入的网络架构示意图。Fig. 14 is a schematic diagram of a network architecture for implementing local access according to Example 2 of the present invention.

具体实施方式 Detailed ways

下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

图8为根据本发明实施例的查询网关的方法的流程图。上述方法主要应用于实现本地接入的网络中,为了屏蔽引入本地接入业务对现有的移动管理单元的改动,需要在上述实现本地接入的网络中增加一个选择管理单元。如图8所示,本发明实施例的查询网关的方法主要包括以下处理:Fig. 8 is a flowchart of a method for querying a gateway according to an embodiment of the present invention. The above method is mainly applied in the network for realizing local access. In order to shield the modification of the existing mobility management unit by introducing the local access service, it is necessary to add a selection management unit in the network for realizing local access. As shown in Figure 8, the method for querying the gateway in the embodiment of the present invention mainly includes the following processing:

步骤S802:选择管理单元向DNS服务器发送网关查询请求,其中,网关查询请求包括APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;Step S802: The selection management unit sends a gateway query request to the DNS server, wherein the gateway query request includes APN information and/or location information, or at least one of the APN information and the location information and selection core network gateway indication information The combination;

步骤S804:选择管理单元接收来自于DNS服务器返回的网关查询响应,其中,携带查询得到的一个或多个网关地址。Step S804: The selection management unit receives the gateway query response returned from the DNS server, which carries one or more gateway addresses obtained from the query.

其中,上述一个或多个网关地址可以是本地网关地址,也可以是本地网关地址和核心网网关地址的组合。Wherein, the above one or more gateway addresses may be a local gateway address, or a combination of a local gateway address and a core network gateway address.

上述方法中,在实现本地接入的网络中新增一个选择管理单元,该选择管理单元与DNS服务器进行交互,查询网关地址,从而实现了本地接入。解决了相关技术中为了支持本地接入,需要对现有的移动管理单元进行改进及升级等问题,进而可以有效屏蔽引入本地接入业务对现有的移动管理单元的改动。In the above method, a selection management unit is added in the network for local access, and the selection management unit interacts with the DNS server to query the gateway address, thereby realizing local access. The invention solves the problem in the related art that the existing mobility management unit needs to be improved and upgraded in order to support local access, and thus can effectively shield the modification of the existing mobility management unit by introducing the local access service.

优选地,上述位置信息包括但不限于以下至少之一:终端的路由区标识、小区标识、基站标识、CSG标识、接入网标识。Preferably, the above location information includes but not limited to at least one of the following: routing area identifier, cell identifier, base station identifier, CSG identifier, and access network identifier of the terminal.

优选地,上述DNS服务器根据第一信息(即APN信息和/或位置信息)或者第一信息和第二信息的组合(即所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合)查询得到的一个或多个网关地址进一步包括以下处理:Preferably, the above-mentioned DNS server selects the core network gateway according to the first information (that is, APN information and/or location information) or a combination of the first information and second information (that is, at least one of the APN information and the location information) The one or more gateway addresses obtained by querying) further include the following processing:

当网关查询请求包含第一信息时,DNS服务器根据第一信息查询得到一个或多个本地网关地址;When the gateway query request includes the first information, the DNS server obtains one or more local gateway addresses according to the first information query;

当网关查询请求包含第一信息和第二信息时,DNS服务器根据第一信息和第二信息的组合,查询得到一个或多个本地网关地址以及一个或多个核心网网关地址。When the gateway query request includes the first information and the second information, the DNS server searches to obtain one or more local gateway addresses and one or more core network gateway addresses according to the combination of the first information and the second information.

优选地,在执行上述步骤S102之前,上述方法还可以包括以下处理:Preferably, before performing the above step S102, the above method may also include the following processing:

(1)移动管理单元向DNS服务器发送查询选择管理单元的请求;(1) The mobile management unit sends a query request to the DNS server to select the management unit;

(2)移动管理单元接收来自于DNS服务器返回的一个或多个选择管理单元地址;(2) The mobile management unit receives one or more selected management unit addresses returned from the DNS server;

(3)移动管理单元根据一个或多个选择管理单元地址确定选择管理单元。(3) The mobility management unit determines the selection management unit according to one or more selection management unit addresses.

在具体实施过程中,DNS服务器通过移动管理单元发送的查询选择管理单元的请求中携带的APN和/或位置信息只能够查询到选择管理单元地址,之后,将查询到的选择管理单元地址返回至选择管理单元,由选择管理单元负责选择本地网关或者本地网关与核心网网关的组合。In the specific implementation process, the DNS server can only query the address of the selected management unit through the APN and/or location information carried in the request for querying the selected management unit sent by the mobile management unit, and then return the queried address of the selected management unit to The selection management unit is responsible for selecting the local gateway or the combination of the local gateway and the core network gateway.

优选地,在移动管理单元根据一个或多个选择管理单元地址选定选择管理单元之后,选择管理单元向DNS服务器发送网关查询请求之前,还可以包括以下处理:移动管理单元向选择管理单元发送承载建立请求,其中,该承载建立请求携带有:位置信息。Preferably, after the mobility management unit selects the selection management unit according to one or more selection management unit addresses, before the selection management unit sends a gateway query request to the DNS server, the following processing may also be included: the mobility management unit sends a bearer to the selection management unit An establishment request, wherein the bearer establishment request carries: location information.

通过上述处理,选择管理单元接收到上述位置信息,之后可以使用该位置信息构造发送给DNS服务器的全称域名(Fully Qualified Domain Name,简称为FQDN),并将构造的FQDN作为DNS查询的输入参数。当然,选择管理单元也可以通过APN信息构造FQDN,但是在标签信息携带上述位置信息。DNS服务器可以根据接收到的上述位置信息查询本地网关地址。Through the above processing, the selection management unit receives the above location information, and then can use the location information to construct a fully qualified domain name (Fully Qualified Domain Name, referred to as FQDN) sent to the DNS server, and use the constructed FQDN as an input parameter for the DNS query. Of course, the selection management unit can also construct the FQDN through the APN information, but the above location information is carried in the label information. The DNS server can query the address of the local gateway according to the received location information.

在具体实施过程中,当网关查询请求仅包括APN信息或者APN信息和标签信息的组合时,标签信息还携带有:指示DNS服务器对输出的多个网关地址进行排序的信息。In a specific implementation process, when the gateway query request includes only APN information or a combination of APN information and label information, the label information also carries information that instructs the DNS server to sort the output multiple gateway addresses.

在具体实施过程中,如果选择管理单元仅将APN信息,或者APN信息和标签信息发送给DNS服务器,则选择管理单元可以在标签信息中指示DNS服务器对输出的多个网关地址进行排序的信息,DNS服务器可以根据网络架构对多个网关地址进行排序并将位置信息进行输出,由选择管理单元从网关列表中选取网关地址。In the specific implementation process, if the selection management unit only sends the APN information, or APN information and label information to the DNS server, the selection management unit can instruct the DNS server to sort the output multiple gateway addresses in the label information, The DNS server can sort multiple gateway addresses according to the network architecture and output the location information, and the selection management unit selects the gateway addresses from the gateway list.

优选地,在步骤S804之后,还可以包括以下之一的处理:Preferably, after step S804, one of the following processes may also be included:

处理(1)所述选择管理单元选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息;Processing (1) The selection management unit selects the address of the local gateway, and sends a bearer establishment request to it, where the bearer establishment request carries the location information;

处理(2)所述选择管理单元选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述DNS服务器返回的一个或者多个核心网网关地址。Processing (2) The selection management unit selects a local gateway address, and sends a bearer establishment request to it, wherein the bearer establishment request carries the location information and one or more core network gateway addresses returned by the DNS server.

处理(3)所述选择管理单元选取本地网关地址和核心网网关地址,并向所述选取的本地网关地址发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述选取的核心网网关地址。Processing (3) The selection management unit selects a local gateway address and a core network gateway address, and sends a bearer establishment request to the selected local gateway address, wherein the bearer establishment request carries the location information and the selected Core network gateway address.

其中,对于上述处理(1)(2),在所述选择管理单元向选取的本地网关地址对应的本地网关发送承载建立请求之后,还可以包括以下处理:Wherein, for the above processing (1) (2), after the selection management unit sends a bearer establishment request to the local gateway corresponding to the selected local gateway address, the following processing may also be included:

如果所述本地网关接收的承载建立请求中不包含核心网网关地址,则向所述DNS服务器发送查询核心网网关地址的请求,其中,该请求包括:所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;所述本地网关接收来自于所述DNS服务器返回的查询响应消息,其中,该查询响应消息携带有一个或多个核心网网关地址;所述本地网关从返回的一个或多个核心网网关地址中选择核心网网关地址;If the bearer establishment request received by the local gateway does not include the core network gateway address, then send a request to the DNS server for querying the core network gateway address, where the request includes: the APN information and the location information At least one and a combination of indication information for selecting a core network gateway; the local gateway receives a query response message returned from the DNS server, wherein the query response message carries one or more core network gateway addresses; the local gateway Select a core network gateway address from one or more core network gateway addresses returned;

如果所述本地网关接收的承载建立请求中包含一个或多个核心网网关地址,则所述本地网关从返回的一个或多个核心网网关地址中选择核心网网关地址。If the bearer establishment request received by the local gateway includes one or more core network gateway addresses, the local gateway selects a core network gateway address from the returned one or more core network gateway addresses.

优选地,对于上述处理(1)(2)(3),在选择管理单元向选取的本地网关地址对应的本地网关发送承载建立请求之后,还可以包括以下处理:Preferably, for the above processing (1)(2)(3), after the selection management unit sends a bearer establishment request to the local gateway corresponding to the selected local gateway address, the following processing may also be included:

(1)本地网关确定是否需要进行数据分流;(1) The local gateway determines whether data distribution is required;

(2)如果需要,本地网关对承载建立请求中携带的参数进行验证和授权;(2) If necessary, the local gateway verifies and authorizes the parameters carried in the bearer establishment request;

(3)否则,本地网关向核心网网关发送承载建立请求。(3) Otherwise, the local gateway sends a bearer establishment request to the core network gateway.

在具体实施过程中,如果选择管理单元向DNS服务器发送的网关查询请求中携带了用于指示返回核心网网关地址的标签信息(即上述第二信息),则在步骤S804中,DNS服务器向选择管理单元返回的网关查询响应中携带了一个或多个核心网网关地址。选择管理单元在上述一个或多个核心网网关地址中选择一个携带在承载建立请求中发送给本地接入网关,之后,在无需数据分流时,本地接入网关向选择的核心网网关地址对应的核心网网关发送承载建立请求。In the specific implementation process, if the gateway query request sent by the selection management unit to the DNS server carries label information (that is, the above-mentioned second information) for indicating to return the gateway address of the core network, then in step S804, the DNS server sends to the selection The gateway query response returned by the management unit carries one or more core network gateway addresses. The selection management unit selects one of the above-mentioned one or more core network gateway addresses to carry in the bearer establishment request and sends it to the local access gateway. After that, when there is no need for data offloading, the local access gateway sends the address corresponding to the selected core network gateway address to the local access gateway. The core network gateway sends a bearer establishment request.

在具体实施过程中,如果选择管理单元向DNS服务器发送的网关查询请求中没有携带了用于指示返回核心网网关地址的标签信息(即上述第二信息),则在无需数据分流时,本地接入网关需要再次向DNS服务器发送网关查询请求,查询核心网网关地址。之后在查询获取到的核心网网关地址中选定一个,并向选定的核心网网关地址对应的核心网网关发送承载建立请求。In the specific implementation process, if the gateway query request sent by the selection management unit to the DNS server does not carry the label information (that is, the above-mentioned second information) for indicating the return of the core network gateway address, then when no data offloading is required, the local access The ingress gateway needs to send a gateway query request to the DNS server again to query the core network gateway address. Then select one of the core network gateway addresses obtained through the query, and send a bearer establishment request to the core network gateway corresponding to the selected core network gateway address.

优选地,在信息交互的流程中,上述本地网关或者选择管理单元还可以对接收到的消息执行协议转换操作。即完成GTPv1消息和GTPv2消息转换,例如,移动管理单元向本地网关/选择管理单元发送GTPv1消息,但是本地网关/选择管理单元将GTPv1消息转换为GTPv2消息,并发送出去。Preferably, in the process of information interaction, the above-mentioned local gateway or selection management unit can also perform a protocol conversion operation on the received message. That is to complete the conversion of GTPv1 messages and GTPv2 messages. For example, the mobility management unit sends a GTPv1 message to the local gateway/selection management unit, but the local gateway/selection management unit converts the GTPv1 message into a GTPv2 message and sends it out.

在优选实施过程中,选择管理单元可以是单独设置的物理实体,也可以同本地网关或者移动性管理单元合设。In a preferred implementation process, the selection management unit can be a separate physical entity, or it can be set up together with the local gateway or the mobility management unit.

以下结合图9和图10详细描述上述优选实施方式。The above-mentioned preferred embodiment will be described in detail below with reference to FIG. 9 and FIG. 10 .

图9是根据本发明实例一的实现本地接入的流程图。如图9所示,该流程主要包括以下处理:Fig. 9 is a flow chart of implementing local access according to Example 1 of the present invention. As shown in Figure 9, the process mainly includes the following processing:

步骤S902,终端发起PDP激活请求,该条非接入层消息经由基站带给移动管理单元中的SGSN,其中,该消息中携带终端希望接入的APN信息。In step S902, the terminal initiates a PDP activation request, and the non-access stratum message is sent to the SGSN in the mobility management unit via the base station, wherein the message carries the APN information that the terminal wants to access.

步骤S904,SGSN根据终端提供的APN信息,构建DNS查询请求消息,向DNS服务器查询可用的GGSN地址。In step S904, the SGSN constructs a DNS query request message according to the APN information provided by the terminal, and queries the DNS server for an available GGSN address.

其中,DNS服务器中设置为,如果根据APN信息构建DNS查询请求,则只能够查询到选择管理单元地址。Wherein, the DNS server is set such that if the DNS query request is constructed according to the APN information, only the address of the selection management unit can be queried.

步骤S906,DNS根据存储信息向SGSN返回查询响应消息,其中,该查询响应消息包含可用的选择管理单元地址信息。该信息中可以包含一个或者多个选择管理单元地址。In step S906, the DNS returns a query response message to the SGSN according to the stored information, wherein the query response message includes available address information of the selected management unit. The information may contain one or more selection management unit addresses.

步骤S908,SGSN从返回的选择管理单元地址或者地址列表中选择选择管理单元。SGSN向选择管理单元发送创建PDP上下文请求,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。其中,上述位置信息可以包含但不限于:UE的路由区标识,小区标识,CSG标识,基站标识,接入网标识(名称)等。In step S908, the SGSN selects the selected management unit from the returned selected management unit address or address list. The SGSN sends a PDP context creation request to the selection management unit, which carries parameters such as UE identity, PDP type, QoS information, charging information, APN, and terminal location information. Wherein, the above location information may include but not limited to: UE's routing area identifier, cell identifier, CSG identifier, base station identifier, access network identifier (name) and so on.

步骤S910,选择管理单元根据终端提供的第一信息(APN和/或位置信息),或者第一信息和第二信息(标签信息)的组合,构建DNS查询请求消息,向DNS查询可用的本地网关地址和/或核心网网关地址。Step S910, the selection management unit constructs a DNS query request message according to the first information (APN and/or location information) provided by the terminal, or a combination of the first information and the second information (label information), and queries DNS for available local gateways address and/or core network gateway address.

该步骤中,选择管理单元可以根据位置信息和/或APN,查询本地网关地址。可选的,进一步在选择本地网关之后,根据APN和标签信息查询核心网网关地址。标签指的是,通过特殊的指示通知DNS服务器返回真正的核心网网关地址而非选择管理单元地址。该步骤可以通过一次或者多次查询完成,这里只描述一次,但是不对次数做限定。In this step, the selection management unit may query the address of the local gateway according to the location information and/or the APN. Optionally, after the local gateway is selected, the address of the core network gateway is queried according to the APN and label information. The label refers to instructing the DNS server to return the real core network gateway address instead of selecting the address of the management unit through a special instruction. This step can be completed by one or more queries, which is described here only once, but the number of times is not limited.

步骤S912,DNS服务器根据查询请求查询相应的地址信息。In step S912, the DNS server queries corresponding address information according to the query request.

步骤S914,DNS服务器返回查询响应消息,其中,该查询响应消息包含可用的选择本地网关信息,或者本地网关信息和核心网网关信息的组合。该信息中的地址可以包含一个或者多个网关地址。In step S914, the DNS server returns a query response message, wherein the query response message includes available selected local gateway information, or a combination of local gateway information and core network gateway information. The addresses in this information may contain one or more gateway addresses.

步骤S916,选择管理单元从返回的本地网关地址或者地址列表中选择本地网关地址。选择管理单元向本地网关发送创建PDP上下文请求,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。如果步骤1005中还查询了核心网网关地址,则该消息中还包含核心网网关信息。Step S916, the selection management unit selects the local gateway address from the returned local gateway address or address list. The selection management unit sends a PDP context creation request to the local gateway, which carries parameters such as UE ID, PDP type, QoS information, charging information, APN, and terminal location information. If the core network gateway address is also queried in step 1005, the message also includes core network gateway information.

步骤S918,本地网关根据静态配置,或者动态获取的路由策略决定是否将该PDP上下文上的数据分流。如果是,则跳过步骤S920~S922。否则,本地网关根据步骤S916的消息中是否携带核心网网关地址判断是否要执行DNS查询过程。如果携带了,则无需执行DNS查询过程,否则本地网关需要查询核心网网关地址,查询过程与步骤S910中描述类似,这里不做赘述。Step S918, the local gateway decides whether to offload the data on the PDP context according to the static configuration or the dynamically acquired routing policy. If yes, skip steps S920-S922. Otherwise, the local gateway judges whether to execute the DNS query process according to whether the message in step S916 carries the core network gateway address. If it is carried, there is no need to perform the DNS query process, otherwise the local gateway needs to query the core network gateway address, the query process is similar to the description in step S910, and will not be repeated here.

步骤S920,本地网关向核心网网关发送创建PDP上下文请求,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。In step S920, the local gateway sends a PDP context creation request to the core network gateway, which carries parameters such as UE ID, PDP type, QoS information, charging information, APN, and terminal location information.

步骤S922,核心网网关对创建PDP上下文请求消息中携带的参数进行验证,并对请求中携带的QoS参数进行授权。核心网网关向本地网关返回创建PDP上下文响应,其中携带为UE分配的隧道端标识,授权的QoS参数等信息。In step S922, the core network gateway verifies the parameters carried in the PDP context creation request message, and authorizes the QoS parameters carried in the request. The core network gateway returns a PDP context creation response to the local gateway, which carries information such as the tunnel end identifier allocated for the UE, authorized QoS parameters, and the like.

步骤S924~S926,如果步骤S918中判断是需要分流而不执行步骤S920~S922,则本地网关创建PDP上下文请求消息中携带的参数进行验证,并对请求中携带的QoS参数进行授权。本地网关通过选择管理单元向本地网关返回创建PDP上下文响应,其中携带为UE分配的隧道端标识,授权的QoS参数等信息。In steps S924-S926, if it is judged in step S918 that offloading is required and steps S920-S922 are not executed, the local gateway verifies the parameters carried in the PDP context creation request message, and authorizes the QoS parameters carried in the request. The local gateway returns the create PDP context response to the local gateway by selecting the management unit, which carries information such as the identifier of the tunnel end assigned to the UE, the authorized QoS parameters, and the like.

步骤S928,执行PDP激活的剩余流程,与现有技术类似,这里不做赘述。In step S928, the rest of the PDP activation process is executed, which is similar to the prior art and will not be repeated here.

图10是根据本发明实例二的实现本地接入的流程图。如图10所示,该流程主要包括以下处理:Fig. 10 is a flow chart of implementing local access according to Example 2 of the present invention. As shown in Figure 10, the process mainly includes the following processing:

步骤S1002,终端发起attach请求,或者PDN连接建立请求,该条非接入层消息经由基站带给SGSN。该消息中携带终端希望接入的APN信息。步骤S1002中如果发生在attach过程中,则APN信息的获取是在建立安全连接之后,该过程是现有技术这里不做赘述。Step S1002, the terminal initiates an attach request, or a PDN connection establishment request, and the non-access stratum message is sent to the SGSN via the base station. The message carries the APN information that the terminal wishes to access. If step S1002 occurs during the attach process, the APN information is acquired after the secure connection is established, and this process is a prior art and will not be described here.

步骤S1004,移动管理单元根据终端提供的APN信息,构建DNS查询请求消息,向DNS查询可用的核心网网关地址。Step S1004, the mobility management unit constructs a DNS query request message according to the APN information provided by the terminal, and queries the DNS for an available core network gateway address.

其中,DNS服务器中设置为,如果根据位置信息构建DNS查询请求,则只能够查询选择管理单元地址。Wherein, the DNS server is set such that if the DNS query request is constructed according to the location information, only the address of the selected management unit can be queried.

其中,上述位置信息,包括但不限于:路由区标识,小区标识,基站标识,跟踪区标识。Wherein, the above location information includes but not limited to: routing area identifier, cell identifier, base station identifier, and tracking area identifier.

步骤S1006,DNS根据存储信息向移动性管理单元返回查询响应消息,其中包含可用的选择管理单元地址信息,该信息中可以包含一个或者多个选择管理单元地址。In step S1006, the DNS returns a query response message to the mobility management unit according to the stored information, which includes available address information of the selected management unit, and the information may include one or more addresses of the selected management unit.

步骤S1008,移动性管理单元从返回的选择管理单元地址或者地址列表中选择选择管理单元。移动性管理单元向选择管理单元发送创建会话请求消息,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。其中,该位置信息可以包含但不限于是UE的路由区标识,小区标识,基站标识,CSG标识,接入网名称等。可选的还可以携带核心网PGW地址。Step S1008, the mobility management unit selects the selected management unit from the returned selected management unit address or address list. The mobility management unit sends a session creation request message to the selection management unit, which carries parameters such as UE identity, PDP type, QoS information, charging information, APN, and terminal location information. Wherein, the location information may include but not limited to UE's routing area identifier, cell identifier, base station identifier, CSG identifier, access network name and so on. Optionally, the PGW address of the core network may also be carried.

步骤S1010,选择管理单元根据终端提供的第一信息(APN和/或位置信息),第一信息和第二信息(标签信息)的组合,构建DNS查询请求消息,向DNS查询可用的本地网关地址。Step S1010, the selection management unit constructs a DNS query request message according to the first information (APN and/or location information) provided by the terminal, the combination of the first information and the second information (label information), and queries DNS for available local gateway addresses .

该步骤中,选择管理单元可以根据位置信息和APN,查询本地网关地址。该步骤可以通过一次或者多次查询完成,这里只描述一次,但是不对次数做限定。In this step, the selection management unit may query the address of the local gateway according to the location information and the APN. This step can be completed by one or more queries, which is described here only once, but the number of times is not limited.

步骤S1012,DNS服务器根据查询请求的查询相应的地址信息。In step S1012, the DNS server queries corresponding address information according to the query request.

步骤S1014,DNS服务器返回查询响应消息,其中包含可用的选择本地网关信息。该信息中可以包含一个或者多个地址。In step S1014, the DNS server returns a query response message, which includes information about available selected local gateways. This information can contain one or more addresses.

步骤S1016,选择管理单元从返回的本地网关地址或者地址列表中选择本地网关地址。选择管理单元向本地网关发送创建会话请求,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。Step S1016, the selection management unit selects the local gateway address from the returned local gateway address or address list. The selection management unit sends a session creation request to the local gateway, which carries parameters such as UE ID, PDP type, QoS information, charging information, APN, and terminal location information.

步骤S1018,本地网关根据静态配置,或者动态获取的路由策略决定是否将该PDN连接的数据分流。如果是,则跳过步骤S1020~S1022。否则执行后续流程。In step S1018, the local gateway decides whether to offload the data of the PDN connection according to the static configuration or the dynamically obtained routing policy. If yes, skip steps S1020-S1022. Otherwise, follow-up procedures are performed.

步骤S1020,本地网关向核心网网关发送创建会话请求,其中携带UE标识,PDP类型,QoS信息,计费信息,APN,终端的位置信息等参数。In step S1020, the local gateway sends a session creation request to the core network gateway, which carries parameters such as UE ID, PDP type, QoS information, charging information, APN, and terminal location information.

步骤S1022,核心网网关对创建PDP上下文请求消息中携带的参数进行验证,并对请求中携带的QoS参数进行授权。核心网网关向本地网关返回创建会话响应,其中携带为UE分配的隧道端标识,授权的QoS参数等信息。In step S1022, the core network gateway verifies the parameters carried in the PDP context creation request message, and authorizes the QoS parameters carried in the request. The core network gateway returns a session creation response to the local gateway, which carries information such as the tunnel end identifier assigned to the UE, authorized QoS parameters, and the like.

步骤S1024~S1026,如果步骤1109中判断是需要分流而不执行步骤S1020~S1022,则本地网关创建会话请求消息中携带的参数进行验证,并对请求中携带的QoS参数进行授权。本地网关通过选择管理单元向本地网关返回创建会话响应,其中携带为UE分配的隧道端标识,授权的QoS参数等信息。In steps S1024-S1026, if it is determined in step 1109 that offloading is required and steps S1020-S1022 are not executed, the local gateway verifies the parameters carried in the session creation request message and authorizes the QoS parameters carried in the request. The local gateway returns a session creation response to the local gateway by selecting the management unit, which carries information such as the tunnel end identifier assigned to the UE, authorized QoS parameters, and the like.

步骤S1028,执行PDN连接建立,或者attach的剩余流程,与现有技术类似,这里不做赘述。Step S1028, execute PDN connection establishment, or the remaining process of attach, which is similar to the prior art, and will not be repeated here.

图11是根据本发明实施例的查询网关的系统的结构框图,该系统应用于实现本地接入的网络中,如图11所示,该查询网关的系统包括:选择管理单元1和DNS服务器2;Fig. 11 is a structural block diagram of a system for querying gateways according to an embodiment of the present invention. The system is applied to a network for local access. As shown in Fig. 11, the system for querying gateways includes: a selection management unit 1 and a DNS server 2 ;

选择管理单元1,包括:Select snap-in 1, including:

第一发送模块10,用于向DNS服务器发送网关查询请求,其中,网关查询请求包括第一信息或者第一信息和第二信息的组合,第一信息包括:终端提供的APN信息和/或位置信息,第二信息包括:用于指示返回核心网网关地址的标签信息;The first sending module 10 is configured to send a gateway query request to the DNS server, where the gateway query request includes first information or a combination of first information and second information, and the first information includes: APN information and/or location provided by the terminal information, the second information includes: label information used to indicate the return address of the core network gateway;

优选地,上述位置信息包括但不限于以下至少之一:终端的路由区标识、小区标识、基站标识、CSG标识、接入网标识。Preferably, the above location information includes but not limited to at least one of the following: routing area identifier, cell identifier, base station identifier, CSG identifier, and access network identifier of the terminal.

第一接收模块12,用于接收来自于DNS服务器返回的网关查询响应,其中,网关查询响应携带有查询得到的一个或多个网关地址。The first receiving module 12 is configured to receive a gateway query response returned from the DNS server, wherein the gateway query response carries one or more gateway addresses obtained through query.

DNS服务器2,包括:DNS server 2, including:

第二接收模块20,用于接收来自于选择管理单元的网关查询请求;The second receiving module 20 is configured to receive a gateway query request from the selection management unit;

查询模块22,用于根据第一信息或者第一信息和第二信息的组合查询得到的一个或多个网关地址;A query module 22, configured to query one or more gateway addresses obtained according to the first information or a combination of the first information and the second information;

第二发送模块24,用于向选择管理单元发送一个或多个网关地址。The second sending module 24 is configured to send one or more gateway addresses to the selection management unit.

其中,上述一个或多个网关地址可以是本地网关地址,也可以是本地网关地址和核心网网关地址的组合。Wherein, the above one or more gateway addresses may be a local gateway address, or a combination of a local gateway address and a core network gateway address.

上述系统中的选择管理单元与DNS服务器进行交互,查询网关地址,从而实现了本地接入。解决了相关技术中为了支持本地接入,需要对现有的移动管理单元进行改进及升级等问题,进而可以有效屏蔽引入本地接入业务对现有的移动管理单元的改动。The selection management unit in the above system interacts with the DNS server to query the gateway address, thereby realizing local access. The invention solves the problem in the related art that the existing mobility management unit needs to be improved and upgraded in order to support local access, and thus can effectively shield the modification of the existing mobility management unit by introducing the local access service.

优选地,如图12所示,上述查询模块22可以进一步包括:第一查询子模块220,用于根据第一信息查询得到一个或多个本地网关地址;第二查询子模块222,用于根据第一信息和第二信息的组合,查询得到一个或多个本地网关地址以及一个或多个核心网网关地址。Preferably, as shown in Figure 12, the query module 22 may further include: a first query sub-module 220, configured to query one or more local gateway addresses according to the first information; a second query sub-module 222, configured to query according to the first information Combining the first information and the second information, one or more local gateway addresses and one or more core network gateway addresses are obtained through query.

优选地,如图12所示,上述查询网关的系统还可以包括:移动管理单元3,移动管理单元包括:第三发送模块30,用于向DNS服务器发送查询选择管理单元的请求,第三接收模块32,用于接收来自于DNS服务器返回的一个或多个选择管理单元地址;第一确定模块34,用于根据一个或多个选择管理单元地址确定选择管理单元;以及第四发送模块36,用于向所述选择管理单元发送承载建立请求,其中,所述承载建立请求携带有:所述位置信息。Preferably, as shown in FIG. 12 , the above-mentioned system for querying the gateway may further include: a mobile management unit 3, and the mobile management unit includes: a third sending module 30, configured to send a request for querying and selecting a management unit to the DNS server, and the third receiving Module 32, for receiving one or more selection management unit addresses returned from the DNS server; a first determination module 34, for determining the selection management unit according to one or more selection management unit addresses; and a fourth sending module 36, It is used to send a bearer establishment request to the selection management unit, where the bearer establishment request carries: the location information.

优选地,如图12所示,上述选择管理单元1还可以包括:第一处理模块14,用于选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息;第二处理模块16,用于选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述DNS服务器返回的一个或者多个核心网网关地址;第三处理模块18,用于选取本地网关地址和核心网网关地址,并向所述选取的本地网关地址发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述选取的核心网网关地址。Preferably, as shown in FIG. 12, the selection management unit 1 may further include: a first processing module 14, configured to select a local gateway address and send a bearer establishment request to it, wherein the bearer establishment request carries the location information; the second processing module 16 is configured to select a local gateway address and send a bearer establishment request to it, wherein the bearer establishment request carries the location information and one or more core network gateway addresses returned by the DNS server a third processing module 18, configured to select a local gateway address and a core network gateway address, and send a bearer establishment request to the selected local gateway address, wherein the bearer establishment request carries the location information and the selected Core network gateway address.

优选地,如图12所示,上述查询网关的系统还可以包括:本地网关4,该本地网关4可以进一步包括:第二确定模块40,用于确定是否需要进行数据分流;验证授权模块42,用于在第二确定模块输出为是时,对承载建立请求中携带的参数进行验证和授权;第五发送模块44,用于在第二确定模块输出为否时,向核心网网关发送承载建立请求。Preferably, as shown in FIG. 12 , the system for querying the gateway may further include: a local gateway 4, and the local gateway 4 may further include: a second determining module 40, configured to determine whether data distribution is required; a verification and authorization module 42, It is used to verify and authorize the parameters carried in the bearer establishment request when the output of the second determination module is yes; the fifth sending module 44 is used to send the bearer establishment request to the core network gateway when the output of the second determination module is no. ask.

以下结合图13和图14描述实现本地接入的网络(该网络包含查询网关的系统)架构。The architecture of a network (the network includes a query gateway system) for realizing local access is described below in conjunction with FIG. 13 and FIG. 14 .

图13是根据本发明实例一的实现本地接入的网络架构示意图。本架构适用于终端从GERAN/UTRAN/EUTRAN接入EPC网络。上述图9或图10描述的流程可以基于该架构。该实施方式不限定基站类型,即家用基站或者普通基站。对于UTRAN/GERAN接入来说,家用基站/普通基站为HNB/RNC,移动管理单元主要由SGSN和MME构成,此处以SGSN为例。对于EUTRAN接入来说,家用基站/基站为HeNB/eNB,移动管理单元是MME。对于家用基站的场景,网络中可能存在家用基站网关,如果存在家用基站网关,那么所有家用基站和移动管理单元之间的消息都需要经过家用基站网关。进一步的家用基站和本地网关之间的消息,可以通过家用基站网关也可以不通过家用基站网关。对于通过家用基站网关转发消息的场景,家用基站网关对经过的消息进行透传,透传的过程与本发明无关,这里不做赘述。本实施例中的核心网网关节点指的是SGW和PGW,或者是PGW。FIG. 13 is a schematic diagram of a network architecture for implementing local access according to Example 1 of the present invention. This architecture is applicable to terminals accessing EPC network from GERAN/UTRAN/EUTRAN. The process described above in FIG. 9 or FIG. 10 may be based on this architecture. This embodiment does not limit the type of the base station, that is, the home base station or the common base station. For UTRAN/GERAN access, the home base station/ordinary base station is HNB/RNC, and the mobility management unit is mainly composed of SGSN and MME. Here, SGSN is taken as an example. For EUTRAN access, the home base station/base station is HeNB/eNB, and the mobility management unit is MME. For the HNB scenario, there may be a HNB gateway in the network. If there is a HNB gateway, all messages between the HNB and the MMU need to pass through the HNB gateway. Further messages between the HNB and the local gateway may or may not pass through the HNB gateway. For the scenario where the message is forwarded through the HNB gateway, the HNB gateway transparently transmits the passing message. The process of transparent transmission is irrelevant to the present invention, and will not be described here. The core network gateway node in this embodiment refers to SGW and PGW, or PGW.

与相关技术相比,新增了选择管理单元用于屏蔽引入本地连接业务对现有的移动管理单元的修改。Compared with the related technology, a newly added selection management unit is used to shield the modification of the existing mobility management unit by introducing the local connection service.

对于移动管理单元来说,选择管理单元是一个核心网网关,移动管理单元通过APN和/或位置信息只能够选择到选择管理单元。选择管理单元负责选择本地网关,或者本地网关和核心网网关的组合。For the mobility management unit, the selection management unit is a core network gateway, and the mobility management unit can only select the selection management unit through APN and/or location information. The selection management unit is responsible for selecting a local gateway, or a combination of a local gateway and a core network gateway.

当选择管理单元设定为只负责选择本地网关时,选择管理单元根据终端提供的位置信息选择本地网关。并将相关消息路由给本地网关。本地网关根据分流策略,决定是否将该PDP上下文/PDN连接的数据分流出去。如果决定分流,则无需进一步选择核心网网关,否则本地网关根据APN,和或用户的位置信息选择核心网网关。When the selection management unit is set to only select the local gateway, the selection management unit selects the local gateway according to the location information provided by the terminal. and route related messages to the local gateway. The local gateway decides whether to offload the data of the PDP context/PDN connection according to the offload policy. If it is decided to offload, there is no need to further select the core network gateway, otherwise the local gateway selects the core network gateway according to the APN and/or the location information of the user.

当选择管理单元设定为选择本地网关以及核心网网关时,选择管理单元根据终端提供的位置信息和APN信息选择核心网网关和本地网关。并将相关消息路由给本地网关,其中包含核心网网关的相关信息。本地网关根据分流策略,决定是否将该PDP上下文/PDN连接的数据分流出去。如果决定分流,则无需进一步选择核心网网关,否则将相关消息转发给核心网网关。When the selection management unit is set to select the local gateway and the core network gateway, the selection management unit selects the core network gateway and the local gateway according to the location information and APN information provided by the terminal. And route relevant messages to the local gateway, which contains relevant information of the core network gateway. The local gateway decides whether to offload the data of the PDP context/PDN connection according to the offload policy. If it is decided to offload, there is no need to further select a core network gateway, otherwise, relevant messages will be forwarded to the core network gateway.

对于核心网网关来说,本地网关发送消息的方式类似移动性管理单元,因此可以做到对核心网网关和现有的移动性管理单元没有影响。For the core network gateway, the way the local gateway sends messages is similar to that of the mobility management unit, so there is no impact on the core network gateway and the existing mobility management unit.

在具体实施过程中,上述选择管理单元可以是单独存在的物理实体,也可以同本地网关或者移动性管理单元合设。In a specific implementation process, the aforementioned selection management unit may be a separate physical entity, or may be co-established with a local gateway or a mobility management unit.

图14是根据本发明实例二的实现本地接入的网络架构示意图。本架构适用于终端从GERAN/UTRAN接入GPRS网络。上述图9描述的流程可以基于该架构。Fig. 14 is a schematic diagram of a network architecture for implementing local access according to Example 2 of the present invention. This architecture is suitable for terminals accessing GPRS network from GERAN/UTRAN. The process described above in FIG. 9 may be based on this architecture.

该实施方式不限定基站类型,即家用基站或者普通基站。对于UTRAN/GERAN接入来说,家用基站/基站为HNB/RNC,移动管理单元是SGSN。对于家用基站的场景,网络中可能存在家用基站网关,如果存在家用基站网关,那么所有家用基站和移动管理单元之间的消息都需要经过家用基站网关。进一步的家用基站和本地网关之间的消息,可以通过家用基站网关也可以不通过家用基站网关。对于通过家用基站网关转发消息的场景,家用基站网关对经过的消息进行透传,透传的过程与本发明无关,这里不做赘述。本实施例中的核心网网关指的是GGSN。This embodiment does not limit the type of the base station, that is, the home base station or the common base station. For UTRAN/GERAN access, the home base station/base station is HNB/RNC, and the mobility management unit is SGSN. For the HNB scenario, there may be a HNB gateway in the network. If there is a HNB gateway, all messages between the HNB and the MMU need to pass through the HNB gateway. Further messages between the HNB and the local gateway may or may not pass through the HNB gateway. For the scenario where the message is forwarded through the HNB gateway, the HNB gateway transparently transmits the passing message. The process of transparent transmission is irrelevant to the present invention, and will not be described here. The core network gateway in this embodiment refers to the GGSN.

与相关技术相比,新增了选择管理单元用于屏蔽引入本地连接业务对现有的移动管理单元单元的修改。Compared with the related technology, a newly added selection management unit is used to shield the modification of the existing mobility management unit by introducing the local connection service.

对于移动管理单元来说,选择管理单元是一个核心网网关,移动管理单元通过APN和或位置信息只能够选择到选择管理单元。选择管理单元负责选择本地网关或者本地网关与核心网网关的组合。For the mobility management unit, the selection management unit is a core network gateway, and the mobility management unit can only select the selection management unit through the APN and/or location information. The selection management unit is responsible for selecting a local gateway or a combination of a local gateway and a core network gateway.

选择管理单元设定为只负责选择本地网关时,选择管理单元根据终端提供的位置信息选择本地网关。并将相关消息路由给本地网关。本地网关根据分流策略,决定是否将该PDP上下文/PDN连接的数据分流出去。如果决定分流,则无需进一步选择核心网网关,否则本地网关根据APN,和/或用户的位置信息选择核心网网关。When the selection management unit is set to only select the local gateway, the selection management unit selects the local gateway according to the location information provided by the terminal. and route related messages to the local gateway. The local gateway decides whether to offload the data of the PDP context/PDN connection according to the offload policy. If it is decided to offload, there is no need to further select the core network gateway, otherwise the local gateway selects the core network gateway according to the APN and/or the location information of the user.

选择管理单元设定为选择本地网关以及核心网网关时,选择管理单元根据终端提供的位置信息和APN信息选择核心网网关和本地网关。并将相关消息路由给本地网关,其中包含核心网网关的相关信息。本地网关根据分流策略,决定是否将该PDP上下文/PDN连接的数据分流出去。如果决定分流,则无需进一步选择核心网网关,否则将相关消息转发给核心网网关。When the selection management unit is set to select the local gateway and the core network gateway, the selection management unit selects the core network gateway and the local gateway according to the location information and APN information provided by the terminal. And route relevant messages to the local gateway, which contains relevant information of the core network gateway. The local gateway decides whether to offload the data of the PDP context/PDN connection according to the offload policy. If it is decided to offload, there is no need to further select a core network gateway, otherwise, relevant messages will be forwarded to the core network gateway.

此外,本地网关或者选择管理单元还能够完成协议转换功能,即完成GTPv1消息和GTPv2消息转换,即SGSN向本地网关/选择管理单元发送GTPv1消息,但是selector选择核心网网关的时候不限定GGSN或者PGW。In addition, the local gateway or the selection management unit can also complete the protocol conversion function, that is, complete the conversion of GTPv1 messages and GTPv2 messages, that is, the SGSN sends GTPv1 messages to the local gateway/selection management unit, but the selector does not limit GGSN or PGW when selecting the core network gateway .

对于核心网网关来说,本地网关发送消息的方式类似移动性管理单元,因此可以做到对核心网网关和现有的移动性管理单元没有影响。For the core network gateway, the way the local gateway sends messages is similar to that of the mobility management unit, so there is no impact on the core network gateway and the existing mobility management unit.

在优选实施过程中,选择管理单元可以是单独存在的物理实体,也可以同本地网关或者移动性管理单元合设。In a preferred implementation process, the selection management unit may be a separate physical entity, or it may be co-located with the local gateway or the mobility management unit.

综上所述,借助本发明提供的上述实施例,在实现本地接入的网络中新增一个选择管理单元,该选择管理单元通过与DNS服务器进行交互查询网关地址,从而实现了本地接入。采用上述方案,可以有效屏蔽引入本地接入业务对现有的移动管理单元的改动,既可以避免大量升级网络设备,又可以很好的引入本地连接业务。To sum up, with the help of the above embodiments provided by the present invention, a selection management unit is added in the network for local access, and the selection management unit interacts with the DNS server to query the gateway address, thereby realizing local access. By adopting the above solution, the modification of the existing mobility management unit by introducing the local access service can be effectively shielded, a large number of network equipment upgrades can be avoided, and the local connection service can be well introduced.

显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (14)

1.一种查询网关的方法,应用于实现本地接入的网络中,其特征在于,所述网络包括:选择管理单元,所述方法包括:1. A method for querying a gateway, which is applied to a network for local access, wherein the network includes: a selection management unit, and the method includes: 移动管理单元向域名DNS服务器发送查询选择管理单元的请求;The mobile management unit sends a request to query and select the management unit to the domain name DNS server; 所述移动管理单元接收来自于所述DNS服务器返回的一个或多个选择管理单元地址;The mobility management unit receives one or more selection management unit addresses returned from the DNS server; 所述移动管理单元根据所述一个或多个选择管理单元地址确定所述选择管理单元;The mobility management unit determines the selection management unit according to the one or more selection management unit addresses; 所述选择管理单元向所述DNS服务器发送网关查询请求,其中,所述网关查询请求包括接入点名称APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;The selection management unit sends a gateway query request to the DNS server, wherein the gateway query request includes access point name APN information and/or location information, or at least one of the APN information and the location information and a combination of indication information for selecting a core network gateway; 所述选择管理单元接收来自于所述DNS服务器返回的网关查询响应,其中,携带查询得到的一个或多个网关地址。The selection management unit receives the gateway query response returned from the DNS server, which carries one or more gateway addresses obtained from the query. 2.根据权利要求1所述的方法,其特征在于,所述DNS服务器根据返回的一个或多个网关地址包括:2. The method according to claim 1, wherein the DNS server comprises according to one or more gateway addresses returned: 所述DNS服务器根据所述APN信息和/或位置信息查询得到一个或多个本地网关地址;或者The DNS server obtains one or more local gateway addresses according to the APN information and/or location information query; or 所述DNS服务器根据所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合,查询得到一个或多个本地网关地址以及一个或多个核心网网关地址。The DNS server queries and obtains one or more local gateway addresses and one or more core network gateway addresses according to a combination of at least one of the APN information and the location information and indication information for selecting a core network gateway. 3.根据权利要求1所述的方法,其特征在于,在所述移动管理单元根据所述一个或多个选择管理单元地址选定所述选择管理单元之后,所述选择管理单元向DNS服务器发送网关查询请求之前,还包括:3. The method according to claim 1, wherein after the mobility management unit selects the selection management unit according to the addresses of the one or more selection management units, the selection management unit sends a DNS server Before the gateway query request, also include: 所述移动管理单元向所述选择管理单元发送承载建立请求,其中,所述承载建立请求携带有:所述位置信息。The mobility management unit sends a bearer establishment request to the selection management unit, where the bearer establishment request carries: the location information. 4.根据权利要求2所述的方法,其特征在于,在所述选择管理单元接收来自于所述DNS服务器返回的网关查询响应之后,还包括以下之一:4. The method according to claim 2, further comprising one of the following after the selection management unit receives the gateway query response returned from the DNS server: 所述选择管理单元选取本地网关地址,并向其对应的本地网关发送承载建立请求,其中,该承载建立请求携带有所述位置信息;The selection management unit selects a local gateway address, and sends a bearer establishment request to its corresponding local gateway, where the bearer establishment request carries the location information; 所述选择管理单元选取本地网关地址,并向其对应的本地网关发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述DNS服务器返回的一个或者多个核心网网关地址。The selection management unit selects a local gateway address, and sends a bearer establishment request to its corresponding local gateway, wherein the bearer establishment request carries the location information and one or more core network gateway addresses returned by the DNS server. 5.根据权利要求4所述的方法,其特征在于,在所述选择管理单元向选取的本地网关地址对应的本地网关发送承载建立请求之后,还包括:5. The method according to claim 4, further comprising: after the selection management unit sends a bearer establishment request to the local gateway corresponding to the selected local gateway address: 如果所述本地网关接收的承载建立请求中不包含核心网网关地址,则向所述DNS服务器发送查询核心网网关地址的请求,其中,该请求包括:所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;所述本地网关接收来自于所述DNS服务器返回的查询响应消息,其中,该查询响应消息携带有一个或多个核心网网关地址;所述本地网关从返回的一个或多个核心网网关地址中选择核心网网关地址;If the bearer establishment request received by the local gateway does not include the core network gateway address, then send a request to the DNS server for querying the core network gateway address, where the request includes: the APN information and the location information At least one and a combination of indication information for selecting a core network gateway; the local gateway receives a query response message returned from the DNS server, wherein the query response message carries one or more core network gateway addresses; the local gateway Select a core network gateway address from one or more core network gateway addresses returned; 如果所述本地网关接收的承载建立请求中包含一个或多个核心网网关地址,则所述本地网关从返回的一个或多个核心网网关地址中选择核心网网关地址。If the bearer establishment request received by the local gateway includes one or more core network gateway addresses, the local gateway selects a core network gateway address from the returned one or more core network gateway addresses. 6.根据权利要求2所述的方法,其特征在于,在所述选择管理单元接收来自于所述DNS服务器返回的网关查询响应之后,还包括:6. The method according to claim 2, further comprising: after the selection management unit receives the gateway query response returned from the DNS server: 所述选择管理单元选取本地网关地址和核心网网关地址,并向所述选取的本地网关地址发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述选取的核心网网关地址。The selection management unit selects a local gateway address and a core network gateway address, and sends a bearer establishment request to the selected local gateway address, wherein the bearer establishment request carries the location information and the selected core network gateway address . 7.根据权利要求4或6所述的方法,其特征在于,在所述选择管理单元向所述选取的本地网关地址对应的本地网关发送承载建立请求之后,还包括:7. The method according to claim 4 or 6, characterized in that, after the selection management unit sends a bearer establishment request to the local gateway corresponding to the selected local gateway address, further comprising: 所述本地网关确定是否需要进行数据分流;The local gateway determines whether data distribution is required; 如果需要,所述本地网关对所述承载建立请求中携带的参数进行验证和授权;If necessary, the local gateway verifies and authorizes the parameters carried in the bearer establishment request; 否则,所述本地网关向核心网网关发送承载建立请求。Otherwise, the local gateway sends a bearer establishment request to the core network gateway. 8.根据权利要求1至6中任一项所述的方法,其特征在于,所述位置信息包括以下至少之一:终端的路由区标识、小区标识、基站标识、闭合用户组CSG标识、接入网标识。8. The method according to any one of claims 1 to 6, wherein the location information includes at least one of the following: routing area identifier, cell identifier, base station identifier, closed subscriber group CSG identifier, access Network access ID. 9.根据权利要求1至6中任一项所述的方法,其特征在于,还包括:所述本地网关或者所述选择管理单元对接收到的承载建立消息和发送出的承载建立消息执行协议转换操作。9. The method according to any one of claims 1 to 6, further comprising: the local gateway or the selection management unit executing a protocol on the received bearer setup message and the sent bearer setup message Transform operation. 10.根据权利要求1至6中任一项所述的方法,其特征在于,10. The method according to any one of claims 1 to 6, characterized in that, 当所述接入的网络为演进的分组交换核心网EPC网络时,所述移动管理单元为移动管理实体MME或者服务通用分组无线业务支持节点SGSN,所述承载建立请求为创建会话请求;When the accessed network is an evolved packet switching core network EPC network, the mobility management unit is a mobility management entity MME or a serving general packet radio service support node SGSN, and the bearer establishment request is a session creation request; 当所述接入的网络为通用分组无线业务GPRS网络时,所述移动管理单元为SGSN,所述承载建立请求为创建分组数据协议PDP上下文请求。When the accessed network is a general packet radio service GPRS network, the mobility management unit is an SGSN, and the bearer establishment request is a packet data protocol PDP context creation request. 11.一种查询网关的系统,应用于实现本地接入的网络中,其特征在于,所述查询网关的系统包括:移动管理单元,选择管理单元和域名DNS服务器;11. A system for inquiring about a gateway, which is applied to a network for local access, wherein the system for inquiring about a gateway comprises: a mobile management unit, a selection management unit and a domain name DNS server; 所述移动管理单元,包括:The mobility management unit includes: 第一发送模块,用于向所述DNS服务器发送查询选择管理单元的请求;A first sending module, configured to send a request for querying and selecting a management unit to the DNS server; 第一接收模块,用于接收来自于所述DNS服务器返回的一个或多个选择管理单元地址;A first receiving module, configured to receive one or more selection management unit addresses returned from the DNS server; 第一确定模块,用于根据所述一个或多个选择管理单元地址确定所述选择管理单元;A first determining module, configured to determine the selection management unit according to the address of the one or more selection management units; 第二发送模块,用于向所述选择管理单元发送承载建立请求,其中,所述承载建立请求携带有:位置信息;The second sending module is configured to send a bearer establishment request to the selection management unit, where the bearer establishment request carries: location information; 所述选择管理单元,包括:The selection management unit includes: 第三发送模块,用于向所述DNS服务器发送网关查询请求,其中,所述网关查询请求包括接入点名称APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合;A third sending module, configured to send a gateway query request to the DNS server, where the gateway query request includes access point name APN information and/or location information, or, the APN information and the location information At least one and a combination of indication information for selecting a core network gateway; 第二接收模块,用于接收来自于所述DNS服务器返回的网关查询响应,其中,所述网关查询响应携带有查询得到的一个或多个网关地址;The second receiving module is configured to receive a gateway query response returned from the DNS server, wherein the gateway query response carries one or more gateway addresses obtained through query; 所述DNS服务器,包括:The DNS server includes: 第三接收模块,用于接收来自于所述选择管理单元的所述网关查询请求;A third receiving module, configured to receive the gateway query request from the selection management unit; 查询模块,用于根据APN信息和/或位置信息,或者,所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合查询得到的所述一个或多个网关地址;A query module, configured to query the one or more gateway addresses obtained according to APN information and/or location information, or a combination of at least one of the APN information and the location information and the selected core network gateway indication information; 第四发送模块,用于向所述选择管理单元发送所述一个或多个网关地址。A fourth sending module, configured to send the one or more gateway addresses to the selection management unit. 12.根据权利要求11所述的系统,其特征在于,所述查询模块包括:12. The system according to claim 11, wherein the query module comprises: 第一查询子模块,用于根据所述APN信息和/或位置信息查询得到一个或多个本地网关地址;The first query submodule is used to query and obtain one or more local gateway addresses according to the APN information and/or location information; 第二查询子模块,用于根据所述APN信息和所述位置信息中的至少一个以及选择核心网网关指示信息的组合,查询得到一个或多个本地网关地址以及一个或多个核心网网关地址。The second query submodule is used to query and obtain one or more local gateway addresses and one or more core network gateway addresses according to at least one of the APN information and the location information and the combination of selecting the core network gateway indication information . 13.根据权利要求12所述的系统,其特征在于,所述选择管理单元还包括以下之一:13. The system according to claim 12, wherein the selection management unit further comprises one of the following: 第一处理模块,用于选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息;The first processing module is configured to select a local gateway address and send a bearer establishment request to it, wherein the bearer establishment request carries the location information; 第二处理模块,用于选取本地网关地址,并向其发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述DNS服务器返回的一个或者多个核心网网关地址;The second processing module is configured to select a local gateway address and send a bearer establishment request to it, where the bearer establishment request carries the location information and one or more core network gateway addresses returned by the DNS server; 第三处理模块,用于选取本地网关地址和核心网网关地址,并向所述选取的本地网关地址发送承载建立请求,其中,该承载建立请求携带有所述位置信息和所述选取的核心网网关地址。A third processing module, configured to select a local gateway address and a core network gateway address, and send a bearer establishment request to the selected local gateway address, wherein the bearer establishment request carries the location information and the selected core network gateway address. 14.根据权利要求13所述的系统,其特征在于,所述系统还包括:本地网关,所述本地网关包括:14. The system according to claim 13, further comprising: a local gateway, the local gateway comprising: 第二确定模块,用于确定是否需要进行数据分流;The second determination module is used to determine whether data distribution is required; 验证授权模块,用于在所述第二确定模块输出为是时,对承载建立请求中携带的参数进行验证和授权;A verification and authorization module, configured to verify and authorize the parameters carried in the bearer establishment request when the output of the second determination module is Yes; 第五发送模块,用于在所述第二确定模块输出为否时,向核心网网关发送承载建立请求。The fifth sending module is configured to send a bearer establishment request to the core network gateway when the output of the second determining module is no.
CN201010560791.5A 2010-11-25 2010-11-25 Method for inquiring gateway and system thereof Active CN102480714B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010560791.5A CN102480714B (en) 2010-11-25 2010-11-25 Method for inquiring gateway and system thereof
PCT/CN2011/081658 WO2012068946A1 (en) 2010-11-25 2011-11-01 Method and system for querying gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010560791.5A CN102480714B (en) 2010-11-25 2010-11-25 Method for inquiring gateway and system thereof

Publications (2)

Publication Number Publication Date
CN102480714A CN102480714A (en) 2012-05-30
CN102480714B true CN102480714B (en) 2014-12-31

Family

ID=46093161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010560791.5A Active CN102480714B (en) 2010-11-25 2010-11-25 Method for inquiring gateway and system thereof

Country Status (2)

Country Link
CN (1) CN102480714B (en)
WO (1) WO2012068946A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974237B (en) * 2013-02-06 2017-06-20 中国移动通信集团公司 Motion management method and entity
US9674048B2 (en) * 2013-06-03 2017-06-06 Qualcomm Incorporated Efficient infrastructure service discovery with security
CN104754559B (en) * 2013-12-27 2019-01-08 中国移动通信集团公司 A kind of DNS query method and network element
US10230685B2 (en) 2016-05-20 2019-03-12 At&T Intellectual Property I, L.P. Subscriber session director
CN112218334B (en) * 2019-07-09 2023-07-04 中国移动通信集团安徽有限公司 Dynamic optimization method, device and computing equipment for core network load
US10951575B1 (en) 2019-11-13 2021-03-16 Sprint Communications Company L.P. Domain name system (DNS) translations for co-located Gateway User Planes in wireless communication networks
US11146528B2 (en) 2019-11-13 2021-10-12 Sprint Communications Company L.P. Wireless communication service delivery over co-located gateway user planes

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852304A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for selecting gateway general packet wireless service support node
CN101064937A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Method and system for accessing home zone of roaming users
CN101080098A (en) * 2007-06-01 2007-11-28 中国移动通信集团公司 A communication method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050054663A (en) * 2003-12-05 2005-06-10 한국전자통신연구원 A method for balancing load in gprs network and call set-up method thereby
EP2015535A1 (en) * 2007-07-10 2009-01-14 Panasonic Corporation Detection of mobility functions implemented in a mobile node
CN101420792B (en) * 2007-10-23 2010-07-07 华为技术有限公司 Gateway anchor point distributing method, network side device and user terminal
CN102307340B (en) * 2008-01-07 2014-07-30 华为技术有限公司 Method and device for movably managing corresponding meter of protocol abilities of name of shared access point

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852304A (en) * 2005-09-28 2006-10-25 华为技术有限公司 Method for selecting gateway general packet wireless service support node
CN101064937A (en) * 2006-04-28 2007-10-31 华为技术有限公司 Method and system for accessing home zone of roaming users
CN101080098A (en) * 2007-06-01 2007-11-28 中国移动通信集团公司 A communication method and system

Also Published As

Publication number Publication date
WO2012068946A1 (en) 2012-05-31
CN102480714A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
US8811317B2 (en) Method for implementing local access and system thereof
US9756561B2 (en) Method for providing connection type information and method for controlling radio resource of home (e)NodeB
CN114946268A (en) Control of network slices
US8493932B2 (en) Method and apparatus for bearer processing
KR20210142725A (en) Core paging processing
EP2475142B1 (en) Method and system for acquiring route strategies
CN102480714B (en) Method for inquiring gateway and system thereof
CN106332222A (en) A method and base station for network selection
WO2010003359A1 (en) Charging method and system for distinguishing charging rules of users
WO2012062183A1 (en) Method and system for controlling service quality and charging policy of data flow
CN102868997B (en) Local gateway information processing method and device
CN102547861B (en) data distribution method and local gateway
CN102378160B (en) Based on carrying establishing method and the system of this locality access
CN102036219B (en) The sending method of local connection information and device
CN103139914A (en) Resource control method and system on local unloaded data
JP2016537853A (en) On-demand QoS for data connection
WO2011032522A1 (en) System and method for implementing local access
CN101998364B (en) Method and system for managing local internet protocol access connection
US20240196222A1 (en) Terminal operation method and device in wireless communication system
CN102740282B (en) A kind of method and system for the IP address for obtaining local gateway
CN102857893A (en) IP data charging method and device
WO2024212793A1 (en) Communication method and communication apparatus
CN114363900A (en) Network access method, communication system, and non-volatile storage medium
WO2012129997A1 (en) Method and device for processing local access connection
WO2014056444A1 (en) Method, device, and system for resource authorization

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201223

Address after: No.105 Wengang South Road, Xinhe street, Chengnan New District, Yancheng City, Jiangsu Province (CNx)

Patentee after: Yancheng hi tech Pioneer Park Co.,Ltd.

Address before: 518057 No. 55 South Science and technology road, Shenzhen, Guangdong, Nanshan District

Patentee before: ZTE Corp.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: No.105 Wengang South Road, Xinhe street, Chengnan New District, Yancheng City, Jiangsu Province (CNx)

Patentee after: Yancheng Big Data Asset Management Co.,Ltd.

Address before: No.105 Wengang South Road, Xinhe street, Chengnan New District, Yancheng City, Jiangsu Province (CNx)

Patentee before: Yancheng hi tech Pioneer Park Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210909

Address after: 224000 Room 903, building 5, financial city, No.5 Century Avenue, Xindu street, Chengnan New District, Yancheng City, Jiangsu Province (CND)

Patentee after: YANCHENG YOTELY AUTOMATION ENGINEERING Co.,Ltd.

Address before: No.105 Wengang South Road, Xinhe street, Chengnan New District, Yancheng City, Jiangsu Province (CNx)

Patentee before: Yancheng Big Data Asset Management Co.,Ltd.

TR01 Transfer of patent right