WO2017097060A1 - Message routing method and system in lte network, and gateway - Google Patents

Message routing method and system in lte network, and gateway Download PDF

Info

Publication number
WO2017097060A1
WO2017097060A1 PCT/CN2016/103973 CN2016103973W WO2017097060A1 WO 2017097060 A1 WO2017097060 A1 WO 2017097060A1 CN 2016103973 W CN2016103973 W CN 2016103973W WO 2017097060 A1 WO2017097060 A1 WO 2017097060A1
Authority
WO
WIPO (PCT)
Prior art keywords
request
identifier
hss
message
user identifier
Prior art date
Application number
PCT/CN2016/103973
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 WO2017097060A1 publication Critical patent/WO2017097060A1/en

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/20Communication route or path selection, e.g. power-based or shortest path routing based on geographic position or location

Abstract

A message routing method and system in an LTE network, and a gateway. The method comprises: an MME at a roaming site LTE network sends an access request to an international roaming gateway DRA, the access request carrying a source subscriber identifier; the international roaming gateway DRA positions a first HSS according to the source subscriber identifier, and sends a request message to the first HSS, the request message carrying the source subscriber identifier, an identifier indicating whether a request retry is supported and an identifier indicating whether routing optimization is supported; when the first HSS finds that a subscriber does not exist after the first HSS queries in a database according to the source subscriber identifier, the first HSS returns an error code to the international roaming gateway DRA and carries the identifier indicating whether a request retry is supported and the identifier indicating whether routing optimization is supported if the identifier indicating whether a request retry is supported indicates that a retry is supported and the identifier indicating whether routing optimization is supported indicates that routing optimization is supported; and the international roaming gateway DRA parses the error code, initiates a query request to an EMNP, and fining a corresponding target subscriber identifier and a target routing address according to the source subscriber identifier, and again initiates an access request to a second HSS by using the target subscriber identifier and the target routing address.

Description

LTE网络中的消息路由方法、系统和网关Message routing method, system and gateway in LTE network 技术领域Technical field
本公开涉及移动通信领域,例如涉及一种LTE网络中的消息路由方法、系统和网关。The present disclosure relates to the field of mobile communications, for example, to a message routing method, system, and gateway in an LTE network.
背景技术Background technique
长期演进(Long Term Evolution,LTE)是由第三代合作伙伴计划(The 3rd Generation Partnership Project,3GPP)组织指定的通用移动通信系统(Universal Mobile Telecommunications System,UMTS)技术标准的长期演进。LTE核心网中的移动管理实体(Mobility Management Entity,MME)和归属签约用户服务器(Home Subscriber Server,HSS)之间的S6a接口基于Diameter基本协议。其中,MME是3GPP协议LTE中的关键控制节点;Diameter基本协议为多种认证、授权和计费业务提供了安全、可靠、易于扩展的框架,该协议可以涉及性能协商、消息如何被发送、对等双方最终如何结束通信等方面。在RFC3588Diameter协议中规定了Diameter消息路由采用基于域的路由表方式,所有基于域的路由查找都可以依靠路由表来执行的。Long Term Evolution (LTE) is a long-term evolution of the Universal Mobile Telecommunications System (UMTS) technology standard specified by the 3rd Generation Partnership Project (3GPP). The S6a interface between the Mobility Management Entity (MME) and the Home Subscriber Server (HSS) in the LTE core network is based on the Diameter basic protocol. The MME is a key control node in the 3GPP protocol LTE. The Diameter basic protocol provides a secure, reliable, and easily scalable framework for multiple authentication, authorization, and accounting services. The protocol may involve performance negotiation, how messages are sent, and Waiting for the parties to finally end the communication and other aspects. In the RFC3588Diameter protocol, the Diameter message routing is defined by a domain-based routing table. All domain-based routing lookups can be performed by means of a routing table.
3GPP29.272协议详细规定了S6a接口定位HSS的方式。MME或者路由代理节点(Diameter Routing Agent,DRA)需要根据S6a接口消息中的User-Name AVP来定位HSS,即根据S6a接口消息中的用户的国际移动用户识别码(International Mobile Subscriber Identification Number,IMSI)定位HSS。The 3GPP 29.272 protocol specifies the manner in which the S6a interface locates the HSS. The MME or the Diameter Routing Agent (DRA) needs to locate the HSS according to the User-Name AVP in the S6a interface message, that is, the International Mobile Subscriber Identification Number (IMSI) of the user according to the S6a interface message. Locate the HSS.
但是,在相关技术的移动通信网络中,存在一个用户同时使用多张全球用户识别卡(Universal Subscriber Identity Module,USIM)的情况。比如,对于中国电信这样的利用码分多址(Code Division Multiple Access,CDMA)技术的运营商,3G用户国际漫游时普遍使用漫游运营商提供的发起者(Sponsor)IMSI,而在国内开展4G业务时使用中国电信自营的IMSI。但是如果该类用户国际漫游时需要使用4G业务,由于涉及到新号码的漫游协议谈判等事项,因此在相当长的一段时间内,这部分用户国际漫游时仍需要采用Sponsor IMSI接入LTE网络。However, in the related art mobile communication network, there is a case where one user simultaneously uses a plurality of Universal Subscriber Identity Modules (USIMs). For example, for operators such as China Telecom that use Code Division Multiple Access (CDMA) technology, 3G users generally use the sponsor IMSI provided by roaming operators during international roaming, and carry out 4G services in China. When using China Telecom's self-operated IMSI. However, if such users need to use 4G services for international roaming, due to the negotiation of roaming agreements involving new numbers, for a long period of time, these users still need to use the Sponsor IMSI to access the LTE network during international roaming.
发明内容 Summary of the invention
本公开提供一种能实现路由的灵活变换和号码自动切换的LTE网络中的消息路由方法、系统和网关。The present disclosure provides a message routing method, system and gateway in an LTE network capable of implementing flexible transformation of routes and automatic number switching.
一种LTE网络中的消息路由方法,所述方法包括:A message routing method in an LTE network, the method includes:
漫游地LTE网络的MME向国际漫游网关DRA发送接入请求,所述接入请求中携带源用户标识;The MME of the roaming LTE network sends an access request to the international roaming gateway DRA, where the access request carries the source user identifier;
所述国际漫游网关DRA根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;The international roaming gateway DRA locates the first HSS according to the source user identifier, and sends a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported;
所述第一HSS根据所述源用户标识查询数据库后发现用户不存在时,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为支持路由优化,则所述第一HSS向国际漫游网关DRA返回错误码,且携带支持请求重试标志和支持路由优化标志;以及If the first HSS queries the database according to the source user identifier and finds that the user does not exist, if the request retry identifier is supported to support the request retry, and whether the route optimization identifier is supported to support route optimization, The first HSS returns an error code to the international roaming gateway DRA, and carries a support request retry flag and a support route optimization flag;
所述国际漫游网关DRA解析所述错误码,向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。The international roaming gateway DRA parses the error code, initiates a query request to the EMNP, queries the corresponding target user identifier and the target routing address according to the source user identifier, and uses the target user identifier and the target routing address to re-route The second HSS initiates an access request.
可选地,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为不支持路由优化,则由所述第一HSS向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址,重新向第二HSS发起接入请求。Optionally, if the request retry identifier is supported to support request retry, and whether the route optimization identifier is supported to not support route optimization, the first HSS initiates a query request to the EMNP according to the source. The user identifier queries the corresponding target user identifier and the target routing address, and uses the target user identifier and the target routing address to re-initiate an access request to the second HSS.
可选地,若所述是否支持请求重试标识为不支持请求重试,则第一HSS向国际漫游网关DRA返回错误码且携带不支持请求重试标志;所述国际漫游网关DRA转发响应消息至MME,拒绝本次接入。Optionally, if the request retry identifier is not supported for request retry, the first HSS returns an error code to the international roaming gateway DRA and carries a non-support request retry flag; the international roaming gateway DRA forwards the response message. To the MME, the access is denied.
可选地,所述请求消息为用户鉴权请求或位置更新请求。Optionally, the request message is a user authentication request or a location update request.
一种LTE网络中的消息路由系统,所述系统包括:A message routing system in an LTE network, the system comprising:
漫游地LTE网络的MME,设置为向国际漫游网关DRA发送接入请求,所述接入请求中携带源用户标识;The MME of the roaming LTE network is configured to send an access request to the international roaming gateway DRA, where the access request carries the source user identifier;
国际漫游网关DRA,设置为根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;The international roaming gateway DRA is configured to locate the first HSS according to the source user identifier, and send a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported. ;
第一HSS,设置为根据所述源用户标识查询数据库后发现用户不存在时,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为支持路由优化,则向国际漫游网关DRA返回错误码,且携带支持请求重试标志和 支持路由优化标志;以及If the first HSS is configured to query the database according to the source user identifier and find that the user does not exist, if the request retry identifier is supported to support the request retry, and the route optimization identifier is supported to support route optimization, Return an error code to the international roaming gateway DRA, and carry the support request retry flag and Support for route optimization flags;
所述国际漫游网关DRA还设置为解析所述错误码,向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。The international roaming gateway DRA is further configured to parse the error code, initiate a query request to the EMNP, query the corresponding target user identifier and the target routing address according to the source user identifier, and use the target user identifier and the target routing address. The access request is re-initiated to the second HSS.
可选地,所述第一HSS还设置为若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为不支持路由优化,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址,重新向第二HSS发起接入请求。Optionally, the first HSS is further configured to: if the support retry identifier is supported to support request retry, and whether the route optimization identifier is supported to not support route optimization, initiate a query request to the EMNP, according to the The source user identifier queries the corresponding target user identifier and the target routing address, and uses the target user identifier and the target routing address to re-initiate an access request to the second HSS.
可选地,所述第一HSS还设置为若所述是否支持请求重试标识为不支持请求重试,则向国际漫游网关DRA返回错误码且携带不支持请求重试标志;所述国际漫游网关DRA还用于转发响应消息至MME,拒绝本次接入。Optionally, the first HSS is further configured to: if the request retry identifier is not supported for request retry, return an error code to the international roaming gateway DRA and carry a non-support request retry flag; the international roaming The gateway DRA is also used to forward the response message to the MME, rejecting the current access.
可选地,所述请求消息为用户鉴权请求或位置更新请求。Optionally, the request message is a user authentication request or a location update request.
一种LTE网络中的消息路由方法,应用于网关侧,所述方法包括:A message routing method in an LTE network is applied to a gateway side, and the method includes:
接收漫游地LTE网络的MME发送的接入请求,所述接入请求中携带源用户标识;Receiving an access request sent by the MME of the roaming LTE network, where the access request carries the source user identifier;
根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;以及And locating the first HSS according to the source user identifier, and sending a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported;
接收第一HSS返回的错误码并解析所述错误码,若所述错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。Receiving an error code returned by the first HSS and parsing the error code, if the error code carries a support request retry flag and a support route optimization flag, initiating a query request to the EMNP, and querying the corresponding according to the source user identifier The target user identifier and the target routing address, and re-initiating an access request to the second HSS using the target user identifier and the target routing address.
可选地,若所述错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。Optionally, if the error code carries the unsupported request retry flag, the response message is forwarded to the MME, and the current access is rejected.
可选地,所述请求消息为用户鉴权请求或位置更新请求。Optionally, the request message is a user authentication request or a location update request.
一种在LTE网络中实现消息路由的网关,所述网关包括:A gateway for implementing message routing in an LTE network, the gateway comprising:
消息接收模块,设置为接收漫游地LTE网络的MME发送的接入请求,所述接入请求中携带源用户标识;a message receiving module, configured to receive an access request sent by an MME of a roaming LTE network, where the access request carries a source user identifier;
消息发送模块,设置为根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;The message sending module is configured to: locate the first HSS according to the source user identifier, and send a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported;
解析模块,设置为接收第一HSS返回的错误码并解析所述错误码; a parsing module configured to receive an error code returned by the first HSS and parse the error code;
查询模块,设置为若所述错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址;以及The query module is configured to: if the error code carries the support request retry flag and the support route optimization flag, initiate a query request to the EMNP, and query the corresponding target user identifier and the target routing address according to the source user identifier;
重新接入模块,设置为使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。Re-accessing the module, configured to re-initiate an access request to the second HSS using the target user identity and the target routing address.
可选地,所述网关还包括:Optionally, the gateway further includes:
响应模块,设置为若所述错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。The response module is configured to: if the error code carries the unsupported request retry flag, forward the response message to the MME, rejecting the current access.
可选地,所述请求消息为用户鉴权请求或位置更新请求。Optionally, the request message is a user authentication request or a location update request.
一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述的LTE网络中的消息路由方法。A non-transitory computer readable storage medium storing computer executable instructions for performing a message routing method in an LTE network as described above.
一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述应用于网关侧的LTE网络中的消息路由方法。A non-transitory computer readable storage medium storing computer executable instructions for performing the above-described message routing method applied to an LTE network on a gateway side.
一种电子设备,该电子设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述的LTE网络中的消息路由方法。An electronic device comprising one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, performing the Message routing method in LTE networks.
一种电子设备,该电子设备包括一个或多个处理器、存储器以及一个或多个程序,所述一个或多个程序存储在存储器中,当被一个或多个处理器执行时,执行上述应用于网关侧的LTE网络中的消息路由方法。An electronic device comprising one or more processors, a memory, and one or more programs, the one or more programs being stored in a memory, when executed by one or more processors, executing the application A message routing method in an LTE network on the gateway side.
上述LTE网络中的消息路由方法、系统和网关,通过在请求消息中扩展了是否支持请求重试标识和是否支持路由优化标识,在支持请求重试且支持路由优化的情况下,国际漫游网关DRA解析错误码会得到支持请求重试标志和支持路由优化标志,进而可根据源用户标识向EMNP查询到对应的目标用户标识和目标路由地址,根据目标路由地址可定位到第二HSS,从而可使用目标用户标识和目标路由地址重新向第二HSS发起接入请求,从而可以实现路由的灵活变换,且可以实现号码的自动切换。The message routing method, system and gateway in the foregoing LTE network extend the support request retry identifier and whether to support the route optimization identifier in the request message, and support the request retry and support route optimization, the international roaming gateway DRA The error code is parsed to obtain the support request retry flag and the support route optimization flag, and then the corresponding target user identifier and the target route address can be queried according to the source user identifier to the EMNP, and the second HSS can be located according to the target route address, thereby being usable. The target user identifier and the target routing address re-initiate an access request to the second HSS, so that flexible routing can be implemented, and automatic number switching can be implemented.
附图说明DRAWINGS
图1为本公开实施例中LTE网络中的消息路由方法的流程图;1 is a flowchart of a message routing method in an LTE network according to an embodiment of the present disclosure;
图2为本公开实施例中LTE网络中的消息路由系统的框架图;2 is a framework diagram of a message routing system in an LTE network according to an embodiment of the present disclosure;
图3为本公开实施例中应用于网关侧的LTE网络中的消息路由方法的流程 图;FIG. 3 is a flowchart of a message routing method applied to an LTE network on a gateway side according to an embodiment of the present disclosure Figure
图4为本公开实施例中在LTE网络中实现消息路由的网关的结构框图;4 is a structural block diagram of a gateway for implementing message routing in an LTE network according to an embodiment of the present disclosure;
图5为本公开实施例中在LTE网络中实现消息路由的网关的结构框图;FIG. 5 is a structural block diagram of a gateway for implementing message routing in an LTE network according to an embodiment of the present disclosure;
图6为本公开实施例中EMNP的协议栈配置示意图;6 is a schematic diagram of a protocol stack configuration of an EMNP according to an embodiment of the present disclosure;
图7为本公开实施例中支持请求重试且支持路由优化的用户鉴权接入流程的示意图;FIG. 7 is a schematic diagram of a user authentication access procedure supporting request retry and supporting route optimization according to an embodiment of the present disclosure;
图8为本公开实施例中支持请求重试且支持路由优化的用户位置更新接入流程的示意图;FIG. 8 is a schematic diagram of a user location update access procedure supporting request retry and supporting route optimization according to an embodiment of the present disclosure;
图9为本公开实施例中支持请求重试但不支持路由优化的用户鉴权接入流程的示意图;FIG. 9 is a schematic diagram of a user authentication access procedure supporting request retry but not supporting route optimization according to an embodiment of the present disclosure;
图10为本公开实施例中支持请求重试但不支持路由优化的用户位置更新接入流程的示意图;10 is a schematic diagram of a user location update access procedure supporting request retry but not supporting route optimization according to an embodiment of the present disclosure;
图11为本公开实施例提供的一种电子设备的硬件结构示意图;以及FIG. 11 is a schematic structural diagram of hardware of an electronic device according to an embodiment of the present disclosure;
图12为本公开实施例提供的另一种电子设备的硬件结构示意图。FIG. 12 is a schematic structural diagram of hardware of another electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
本公开实施例所提供的LTE网络中的消息路由方法,可适用于用户使用多张USIM卡的情况下可以实现用户多种号码的灵活路由和路由重试,可以实现号码的自动切换。本公开实施例通过在请求消息中扩展是否支持请求重试标识和是否支持路由优化标识,网关可通过扩展的请求重试消息向EMNP发起路由查询,在扩展的请求重试消息中携带了请求重试标志和支持路由优化标志的情况下,可根据源用户标识向EMNP查询到对应的目标用户标识和目标路由地址,从而使用目标用户标识和目标路由地址重新向第二HSS发起接入请求,从而可以实现了路由的灵活变换和号码的自动切换。The message routing method in the LTE network provided by the embodiment of the present disclosure can be applied to a flexible routing and route retry of multiple numbers of users when a user uses multiple USIM cards, and can automatically switch numbers. In the embodiment of the present disclosure, by extending whether the request retry identifier is supported in the request message and whether the route optimization identifier is supported, the gateway may initiate a route query to the EMNP through the extended request retry message, and carry the request in the extended request retry message. In the case of the test flag and the support route optimization flag, the corresponding target user identifier and the target route address may be queried to the EMNP according to the source user identifier, thereby re-initiating the access request to the second HSS by using the target user identifier and the target route address, thereby Flexible routing of routes and automatic switching of numbers can be achieved.
如图1所示,在一个实施例中,提供了一种LTE网络中的消息路由方法,包括步骤102,步骤104,步骤106和步骤108。As shown in FIG. 1, in an embodiment, a message routing method in an LTE network is provided, including step 102, step 104, step 106, and step 108.
在步骤102中,漫游地LTE网络的MME向国际漫游网关DRA发送接入请求,该接入请求中携带源用户标识。In step 102, the MME of the roaming LTE network sends an access request to the international roaming gateway DRA, where the access request carries the source user identifier.
本实施例中,用户可以使用源用户标识访问漫游地LTE网络,比如,源用户标识可以是3G用户国际漫游时采用的漫游运营商提供的Sponsor IMSI。漫游地LTE网络的MME接收到用户的接入请求,将接入请求转发到国际漫游网关DRA,请求消息中携带源用户标识。 In this embodiment, the user may use the source user identifier to access the roaming LTE network. For example, the source user identifier may be the Sponsor IMSI provided by the roaming operator used by the 3G user during international roaming. The MME of the roaming LTE network receives the access request of the user, and forwards the access request to the international roaming gateway DRA, where the request message carries the source user identifier.
在步骤104中,国际漫游网关DRA根据源用户标识定位第一HSS,向第一HSS发送请求消息,该请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识。In step 104, the international roaming gateway DRA locates the first HSS according to the source user identifier, and sends a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported.
本实施例中,对请求消息进行了扩展,可以增加是否支持请求重试标识和是否支持路由优化标识。比如,对于S6a接口的鉴权请求(Authentication Response,AIR)消息中扩充AIR-Flags,设置为标识AIR消息是否支持请求重试和是否支持路由优化。对于S6a接口的更新位置请求(Update Location Request,ULR)消息中扩充ULR-Flags,设置为标识ULR消息是否支持请求重试和是否支持路由优化。In this embodiment, the request message is extended, and whether the request retry identifier and the route optimization identifier are supported may be added. For example, for the AIR-Flags in the Authentication Response (AIR) message of the S6a interface, it is set to identify whether the AIR message supports request retry and whether to support route optimization. The extended ULR-Flags in the Update Location Request (ULR) message of the S6a interface is set to identify whether the ULR message supports request retry and whether route optimization is supported.
可选地,国际漫游网关DRA根据源用户标识可定位到HSS,即第一HSS,向第一HSS发送请求消息,该请求消息中携带了扩展的标识,设置为标识请求消息是否支持请求重试和是否支持路由优化。Optionally, the international roaming gateway DRA can locate the HSS, that is, the first HSS, according to the source user identifier, and send a request message to the first HSS, where the request message carries the extended identifier, and is set to identify whether the request message supports the request retry. And whether to support route optimization.
在步骤106中,第一HSS根据源用户标识查询数据库后发现用户不存在时,若是否支持请求重试标识为支持请求重试,且是否支持路由优化标识为支持路由优化,则第一HSS可以向国际漫游网关DRA返回错误码,且可以携带支持请求重试标志和支持路由优化标志。In step 106, when the first HSS queries the database according to the source user identifier and finds that the user does not exist, if the request retry identifier is supported to support the request retry, and whether the route optimization identifier is supported to support route optimization, the first HSS may An error code is returned to the international roaming gateway DRA, and the support request retry flag and the support route optimization flag can be carried.
本实施例中,对请求消息的应答消息也进行了扩展,可以增加是否支持请求重试标识和是否支持路由优化标识。比如对于S6a接口的AIA消息(鉴权应答消息)中扩充AIA-Flags,设置为标识AIA消息是否支持请求重试和是否支持路由优化。对于S6a接口的更新位置应答(Update Location Answer,ULA)消息中扩充ULA-Flags,设置为标识ULA消息是否支持请求重试和是否支持路由优化。In this embodiment, the response message to the request message is also extended, and whether the request retry identifier and the route optimization identifier are supported may be added. For example, for the AIA message (authentication response message) of the S6a interface, the AIA-Flags is extended, and it is set to identify whether the AIA message supports the request retry and whether the route optimization is supported. The extended ULA-Flags in the Update Location Answer (ULA) message of the S6a interface is set to identify whether the ULA message supports request retry and whether route optimization is supported.
第一HSS根据源用户标识查询到数据库中不存在该用户,则可以向国际漫游网关DRA返回应答消息,其中包含错误码和扩充的是否支持请求重试标识和是否支持路由优化标识。本实施例中,是否支持请求重试标识可以为支持请求重试标志,是否支持路由优化标识可以为支持路由优化标志。The first HSS, according to the source user identifier, queries that the user does not exist in the database, and may return a response message to the international roaming gateway DRA, including whether the error code and the extended support request retry identifier and whether the route optimization identifier is supported. In this embodiment, whether the request retry identifier is supported may be a support request retry flag, and whether the route optimization identifier is supported may be a support route optimization flag.
在步骤108中,国际漫游网关DRA解析错误码,可以向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标识和目标路由地址,并使用目标用户标识和目标路由地址重新向第二HSS发起接入请求。In step 108, the international roaming gateway DRA parses the error code, and may initiate a query request to the EMNP, query the corresponding target user identifier and the target routing address according to the source user identifier, and re-route to the second HSS using the target user identifier and the target routing address. Initiate an access request.
演进移动号码携带(Evolved Mobile Number Portability,EMNP)中存储了用户的多个用户标识,比如用户使用多张USIM卡,则对应存储了用户的多个IMSI号码。本实施例中,国际漫游网关DRA解析错误码,获取到支持请求重试 标志和支持路由优化标志,则国际漫游网关DRA向EMNP发送扩展的用户重试请求(User-Retry-Request,URR)消息,扩展的URR消息设置为向EMNP进行路由查询,该扩展的URR消息中可以包含源用户标识、消息发起方的的主机名和域名、消息发送目的地主机名和域名等信息。The Evolved Mobile Number Portability (EMNP) stores a plurality of user identifiers of the user. For example, if the user uses multiple USIM cards, the user stores multiple IMSI numbers of the user. In this embodiment, the international roaming gateway DRA parses the error code and obtains a support request retry. The flag and the support route optimization flag, the international roaming gateway DRA sends an extended User-Retry-Request (URR) message to the EMNP, and the extended URR message is set to perform routing query to the EMNP, in the extended URR message. It can contain information such as the source user ID, the host name and domain name of the message originator, the destination address of the message, and the domain name.
在一个可选的实施例中,URR消息定义如下:In an alternative embodiment, the URR message is defined as follows:
Figure PCTCN2016103973-appb-000001
Figure PCTCN2016103973-appb-000001
可选地,EMNP接收到URR消息,可以根据源用户标识查询到对应的目标用户标识和目标路由地址,并生成用户重试响应(User-Retry-Answer,URA)消息,返回至国际漫游网关DRA。URA消息也为扩展的消息,其中可以包含源用户标识、目标用户标识(即重定向的号码)、目标路由地址(即重定向的地址域名)和消息发起方的主机名和域名等信息。Optionally, the EMNP receives the URR message, and may query the corresponding target user identifier and the target routing address according to the source user identifier, and generate a User-Retry-Answer (URA) message, and return to the international roaming gateway DRA. . The URA message is also an extended message, which may include information such as the source user ID, the target user ID (ie, the redirected number), the destination routing address (ie, the redirected address domain name), and the host name and domain name of the message originator.
在一个可选的实施例中,URA消息定义如下:In an alternative embodiment, the URA message is defined as follows:
Figure PCTCN2016103973-appb-000002
Figure PCTCN2016103973-appb-000002
Figure PCTCN2016103973-appb-000003
Figure PCTCN2016103973-appb-000003
可选地,国际漫游网关接收到URA消息,根据目标用户标识和目标路由地址即可定向到第二HSS,从而向第二HSS发起接入请求。Optionally, the international roaming gateway receives the URA message, and can be directed to the second HSS according to the target user identifier and the target routing address, thereby initiating an access request to the second HSS.
本实施例中,通过在请求消息中扩展了是否支持请求重试标识和是否支持路由优化标识,在支持请求重试且支持路由优化的情况下,国际漫游网关DRA解析错误码会得到支持请求重试标志和支持路由优化标志,进而可根据源用户标识向EMNP查询到对应的目标用户标识和目标路由地址,根据目标路由地址可定位到第二HSS,从而可使用目标用户标识和目标路由地址重新向第二HSS发起接入请求,从而可以实现路由的灵活变换,且可以实现号码的自动切换。In this embodiment, by extending whether the request retry identifier is supported and whether the route optimization identifier is supported in the request message, when the request retry is supported and the route optimization is supported, the international roaming gateway DRA parses the error code to obtain the support request weight. The test flag and the support route optimization flag can further query the corresponding target user identifier and the target route address to the EMNP according to the source user identifier, and can be located to the second HSS according to the target route address, so that the target user identifier and the target route address can be used again. An access request is initiated to the second HSS, so that flexible routing can be implemented, and automatic number switching can be implemented.
在一个实施例中,若请求消息中的是否支持请求重试标识为支持请求重试,且是否支持路由优化标识为不支持路由优化,则可以由第一HSS直接向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标示和目标路由地址,并可以使用目标用户标识和目标路由地址,重新向第二HSS发起接入请求。In an embodiment, if the request retry identifier in the request message supports the request retry, and the route optimization identifier is supported to not support the route optimization, the first HSS may directly initiate a query request to the EMNP, according to the source. The user identifier queries the corresponding target user identifier and the target routing address, and can re-initiate the access request to the second HSS by using the target user identifier and the target routing address.
可选地,第一HSS向EMNP发送扩展的URR消息,EMNP接收到URR消息,根据源用户标识查询到对应的目标用户标识和目标路由地址,并生成URA消息,返回至国际漫游网关DRA。国际漫游网关DRA接收到URA消息,可以根据目标用户标识和目标路由地址即可定向到第二HSS,从而向第二HSS发起接入请求。Optionally, the first HSS sends an extended URR message to the EMNP, and the EMNP receives the URR message, queries the corresponding target user identifier and the target routing address according to the source user identifier, and generates a URA message, and returns to the international roaming gateway DRA. The international roaming gateway DRA receives the URA message, and can be directed to the second HSS according to the target user identifier and the target routing address, thereby initiating an access request to the second HSS.
在一个实施例中,若请求消息中的是否支持请求重试标识为不支持请求重试,则第一HSS向国际漫游网关DRA返回错误码且携带不支持请求重试标志,国际漫游网关DRA可以转发响应消息至MME,拒绝本次接入。In an embodiment, if the request retry identifier in the request message does not support the request retry, the first HSS returns an error code to the international roaming gateway DRA and carries the unsupported request retry flag, and the international roaming gateway DRA can The response message is forwarded to the MME, and the current access is denied.
本实施例中,第一HSS根据源用户标识查询数据库后发现用户不存在,且获取到请求消息中的不支持请求重试标志,则向国际漫游网关DRA返回错误码且携带不支持请求标志,国际漫游网关DRA解析错误码,可以获取到不支持请求标志,则转发响应消息至MME,拒绝本次接入。In this embodiment, after the first HSS queries the database according to the source user identifier and finds that the user does not exist, and obtains the unrequested request retry flag in the request message, the first HSS returns an error code to the international roaming gateway DRA and carries the unsupported request flag. The international roaming gateway DRA parses the error code, and can obtain the unsupported request flag, and then forwards the response message to the MME, rejecting the current access.
在一个实施例中,请求消息可为用户鉴权请求或位置更新请求。可以理解的是,本公开实施例所提供的LTE网络中的消息路由方法并不局限于这两种请求消息,其它需要根据用户标识来进行灵活路由的请求消息都可以使用本公开实施例所提供的LTE网络中的消息路由方法。 In one embodiment, the request message can be a user authentication request or a location update request. It can be understood that the message routing method in the LTE network provided by the embodiment of the present disclosure is not limited to the two types of request messages, and other request messages that need to be flexibly routed according to the user identifier may be provided by using the embodiments of the present disclosure. A message routing method in an LTE network.
如图2所示,在一个实施例中,提供了一种LTE网络中的消息路由系统20,该系统20包括漫游地LTE网络的MME 21、国际漫游网关DRA 22和第一HSS 23,其中:As shown in FIG. 2, in one embodiment, a message routing system 20 in an LTE network is provided. The system 20 includes an MME 21 of an LTE network roaming, an international roaming gateway DRA 22, and a first HSS 23, where:
漫游地LTE网络的MME 21设置为向国际漫游网关DRA 22发送接入请求,该接入请求中携带源用户标识。The MME 21 of the roaming LTE network is configured to send an access request to the international roaming gateway DRA 22, where the access request carries the source user identity.
国际漫游网关DRA 22设置为根据源用户标识定位第一HSS 23,向第一HSS 23发送请求消息,该请求消息中携带源用户标识、是否支持请求重试标志和是否支持路由标识。The international roaming gateway DRA 22 is configured to locate the first HSS 23 according to the source user identifier, and send a request message to the first HSS 23, where the request message carries the source user identifier, whether the request retry flag is supported, and whether the route identifier is supported.
第一HSS 23设置为根据源用户标识查询数据库后发现用户不存在时,若是否支持请求重试标识为支持请求重试,且是否支持路由优化标识为支持路由优化,则向国际漫游网关DRA 22返回错误码,且携带支持请求重试标志和支持路由优化标志。When the first HSS 23 is configured to query the database according to the source user identifier and find that the user does not exist, if the request retry identifier is supported to support the request retry, and whether the route optimization identifier is supported to support route optimization, then the international roaming gateway DRA 22 is provided. The error code is returned, and the support request retry flag and the support route optimization flag are carried.
本实施例中,国际漫游网关DRA 22还设置为解析错误码,向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标识和目标路由地址,并使用目标用户标识和目标路由地址,并使用目标用户标识和目标路由地址重新向第二HSS发起接入请求。In this embodiment, the international roaming gateway DRA 22 is further configured to parse the error code, initiate a query request to the EMNP, query the corresponding target user identifier and the target routing address according to the source user identifier, and use the target user identifier and the target routing address, and The access request is re-initiated to the second HSS using the target user identity and the target routing address.
可选地,第一HSS 23还设置为若是否支持请求重试标识为支持请求重试,且是否支持路由优化标识为不支持路由优化,则向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标识和目标路由地址,并使用所目标用户标识和目标路由地址,重新向第二HSS发起接入请求。Optionally, the first HSS 23 is further configured to: if the request retry identifier is supported to support the request retry, and whether the route optimization identifier is supported to not support route optimization, initiate a query request to the EMNP, and query the corresponding according to the source user identifier. The target user identifier and the target routing address, and use the target user identifier and the target routing address to re-initiate an access request to the second HSS.
可选地,第一HSS 23还用于若是否支持请求重试标识为不支持请求重试,则向国际漫游网关DRA返回错误码且携带不支持请求重试标志。本实施例中,国际漫游网关DRA 22还用于转发响应消息至MME,拒绝本次接入。Optionally, the first HSS 23 is further configured to: if the request retry identifier is supported to not support the request retry, return an error code to the international roaming gateway DRA and carry the unsupported request retry flag. In this embodiment, the international roaming gateway DRA 22 is further configured to forward the response message to the MME, and reject the current access.
可选地,请求消息可为用户鉴权请求或位置更新请求。可以理解的是,本公开实施例所提供的LTE网络中的消息路由系统并不局限于这两种请求消息,其它需要根据用户标识来进行灵活路由的请求消息都可以使用本发明实施例所提供的LTE网络中的消息路由系统。Optionally, the request message may be a user authentication request or a location update request. It can be understood that the message routing system in the LTE network provided by the embodiment of the present disclosure is not limited to the two types of request messages, and other request messages that need to be flexibly routed according to the user identifier may be provided by using the embodiments of the present invention. A message routing system in an LTE network.
如图3所示,在一个实施例中,还提供了另一种LTE网络中的消息路由方法,该方法以应用于LTE网络中的网关中进行举例说明,该方法包括步骤302,步骤304和步骤306。As shown in FIG. 3, in an embodiment, a message routing method in another LTE network is also provided. The method is applied to a gateway in an LTE network, where the method includes step 302, step 304, and Step 306.
在步骤302中,接收漫游地LTE网络的MME发送的接入请求,该接入请求 中携带源用户标识。In step 302, receiving an access request sent by an MME of a roaming LTE network, the access request The source user ID is carried in the middle.
本实施例中,用户漫游后,使用源用户标识访问漫游地LTE网络,漫游地LTE网络的MME接收到用户的接入请求,将接入请求转发到网关,网关则接收到MME发送的接入请求,该接入请求携带源用户标识。In this embodiment, after the user roams, the source user identifier is used to access the roaming LTE network, and the MME of the roaming LTE network receives the access request of the user, forwards the access request to the gateway, and the gateway receives the access sent by the MME. The request, the access request carries a source user identifier.
在步骤304中,根据源用户标识定位第一HSS,向第一HSS发送请求消息,该请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识。In step 304, the first HSS is located according to the source user identifier, and a request message is sent to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported.
本实施例中,对网关发送给HSS的请求消息进行了扩展,可以增加是否支持请求重试标识和是否支持路由优化标识。比如,对于S6a接口的AIR消息(鉴权请求消息)中扩充AIR-Flags,设置为标识AIR消息是否支持请求重试和是否支持路由优化。对于S6a接口的ULR消息中扩充ULR-Flags,设置为标识ULR消息是否支持请求重试和是否支持路由优化。In this embodiment, the request message sent by the gateway to the HSS is extended, and whether the request retry identifier and the route optimization identifier are supported may be added. For example, for AIR-Flags in the AIR message (authentication request message) of the S6a interface, it is set to identify whether the AIR message supports request retry and whether route optimization is supported. For ULR-Flags in the ULR message of the S6a interface, it is set to identify whether the ULR message supports request retry and whether route optimization is supported.
在步骤306中,接收第一HSS返回的错误码并解析错误码,若错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标识和目标路由地址,并使用目标用户标识和目标路由地址重新向第二HSS发起接入请求。In step 306, the error code returned by the first HSS is received and the error code is parsed. If the error code carries the support request retry flag and the support route optimization flag, the query request is sent to the EMNP, and the corresponding target is queried according to the source user identifier. The user identity and the target routing address, and re-initiating an access request to the second HSS using the target user identity and the target routing address.
本实施例中,第一HSS接收到请求消息,根据源用户标识查询数据库后发现用户不存在,且请求消息中的是否支持请求重试标识为支持请求重试,是否支持路由优化标识为支持路由标识,则向网关返回错误码,且携带了支持请求重试标志和支持路由优化标志。网关接收到错误码并解析错误码,获取到支持请求重试标志和支持路由优化标志,则向EMNP发送扩展的URR消息,可以设置为向EMNP进行路由查询。EMNP接收到URR消息,根据源用户标识查询到对应的目标用户标识和目标路由地址,生成用户重试相应消息URA,返回至网关。网关接收到URA消息,根据目标用户标识和目标路由地址即可定向到第二HSS,从而可以向第二HSS发起接入请求。In this embodiment, the first HSS receives the request message, and after the database is queried according to the source user identifier, the user does not exist, and the request message supports the request retry identifier to support the request retry, and whether the route optimization identifier is supported as the support route. The identifier returns an error code to the gateway and carries the support request retry flag and the support route optimization flag. When the gateway receives the error code and parses the error code, obtains the support request retry flag, and supports the route optimization flag, it sends an extended URR message to the EMNP, which can be set to perform route query to the EMNP. The EMNP receives the URR message, queries the corresponding target user identifier and the target routing address according to the source user identifier, generates a user retry corresponding message URA, and returns to the gateway. The gateway receives the URA message and can be directed to the second HSS according to the target user identity and the target routing address, so that an access request can be initiated to the second HSS.
可选地,若错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。本实施例中,请求消息中的是否支持请求重试为不支持请求重试,第一HSS根据源用户标识查询数据库后发现用户不存在,则向网关返回错误码,网关接收错误码且获取到不支持请求重试标志,则转发响应消息到MME,拒绝本次接入。Optionally, if the error code carries the unsupported request retry flag, the response message is forwarded to the MME, and the current access is denied. In this embodiment, whether the request retry is supported in the request message does not support the request retry. After the first HSS queries the database according to the source user identifier and finds that the user does not exist, the error code is returned to the gateway, and the gateway receives the error code and obtains the error code. If the request retry flag is not supported, the response message is forwarded to the MME, and the current access is denied.
可选地,请求消息可为用户鉴权请求或位置更新请求。可以理解的是,本公开实施例所提供的LTE网络中的消息路由方法并不局限于这两种请求消息, 其它需要根据用户标识来进行灵活路由的请求消息都可以使用本公开实施例所提供的LTE网络中的消息路由方法。Optionally, the request message may be a user authentication request or a location update request. It can be understood that the message routing method in the LTE network provided by the embodiment of the present disclosure is not limited to the two request messages. Other request messages that need to be flexibly routed according to the user identifier may use the message routing method in the LTE network provided by the embodiments of the present disclosure.
如图4所示,在一个实施例中,还提供了一种在LTE网络中实现消息路由的网关40,该网关40包括消息接收模块41,消息发送模块42,解析模块43,查询模块44和重新接入模块45。As shown in FIG. 4, in an embodiment, a gateway 40 for implementing message routing in an LTE network is provided. The gateway 40 includes a message receiving module 41, a message sending module 42, a parsing module 43, a query module 44, and Re-access module 45.
消息接收模块41,设置为接收漫游地LTE网络的MME发送的接入请求,该接入请求中携带用户标识。The message receiving module 41 is configured to receive an access request sent by the MME of the roaming LTE network, where the access request carries the user identifier.
消息发送模块42,设置为根据源用户标识定位第一HSS,向第一HSS发送请求消息,该请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识。The message sending module 42 is configured to locate the first HSS according to the source user identifier, and send a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported.
解析模块43,设置为接收第一HSS返回的错误码并解析错误码。The parsing module 43 is configured to receive the error code returned by the first HSS and parse the error code.
查询模块44,设置为若错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据源用户标识查询到对应的目标用户标识和目标路由地址。The query module 44 is configured to: if the error code carries the support request retry flag and the support route optimization flag, initiate a query request to the EMNP, and query the corresponding target user identifier and the target routing address according to the source user identifier.
重新接入模块45,设置为使用目标用户标识和目标路由地址重新向第二HSS发起接入请求。The re-access module 45 is configured to re-initiate an access request to the second HSS using the target user identity and the target routing address.
可选地,如图5所示,网关40还可以包括:响应模块46,设置为若错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。Optionally, as shown in FIG. 5, the gateway 40 may further include: a response module 46, configured to: if the error code carries the unsupported request retry flag, forward the response message to the MME, rejecting the current access.
可选地,请求消息为用户鉴权请求或位置更新请求。可以理解的是,本公开实施例所提供的在LTE网络中的实现消息路由的网关并不局限于可用于这两种请求消息,其它需要根据用户标识来进行灵活路由的请求消息都可以使用本公开实施例所提供的在LTE网络中的实现消息路由的网关。Optionally, the request message is a user authentication request or a location update request. It can be understood that the gateway for implementing message routing in the LTE network provided by the embodiment of the present disclosure is not limited to being applicable to the two types of request messages, and other request messages that need to be flexibly routed according to the user identifier may use the present message. A gateway implementing message routing in an LTE network as provided by the disclosed embodiments.
下面将结合用户鉴权接入流程和用户位置更新接入流程来详细说明本公开实施例所提供的LTE网络中实现消息路由的方法。可以理解的是,本公开实施例所提供的LTE网络中实现消息路由的方法并不局限于用户鉴权接入流程和用户位置更新接入流程,其它需要根据用户号码做灵活路由的请求消息所涉及的流程也同样可使用所提供的LTE网络中实现消息路由的方法。The method for implementing message routing in the LTE network provided by the embodiment of the present disclosure is described in detail below in conjunction with the user authentication access procedure and the user location update access procedure. It can be understood that the method for implementing message routing in the LTE network provided by the embodiment of the present disclosure is not limited to the user authentication access procedure and the user location update access procedure, and other request messages that need to be flexibly routed according to the user number. The process involved can also use the method of implementing message routing in the provided LTE network.
图6示出了EMNP的协议栈配置。由图6可知,EMNP是相关技术中电路域与MNP设备的LTE演进,可以同时支持MAP协议和DIAMETER协议,此外,还可以支持TCAP、SCCP或IP等协议。EMNP可设置为提供传电路域的号码携带查询, 并支持EPC域的Diameter路由查询,支持灵活的号码变换策略。Figure 6 shows the protocol stack configuration of the EMNP. It can be seen from FIG. 6 that EMNP is an LTE evolution of the circuit domain and the MNP device in the related art, and can support both the MAP protocol and the DIAMETER protocol, and can also support protocols such as TCAP, SCCP, or IP. The EMNP can be set to provide a number portability query for the transmission domain. It also supports Diameter route query in EPC domain and supports flexible number change strategy.
图7示出了支持请求重试和支持路由优化时的用户鉴权接入流程,参考图7所示,该用户鉴权接入流程可以包括步骤701-步骤710。FIG. 7 shows a user authentication access procedure for supporting request retry and supporting route optimization. Referring to FIG. 7, the user authentication access procedure may include steps 701-710.
在步骤701中,用户接入LTE网络,由用户设备(User Equipment,UE)向漫游地MME发起接入请求(Attach Request),携带源用户标识。本实施例以源用户标识为Sponsor IMSI进行举例说明。In step 701, the user accesses the LTE network, and the user equipment (User Equipment, UE) initiates an access request (Attach Request) to the roaming MME, and carries the source user identifier. This embodiment uses the source user identifier as the Sponsor IMSI for illustration.
在步骤702中,漫游地MME发现需要对该用户进行鉴权处理,向漫游网关DRA发送AIR消息,携带Sponsor IMSI。In step 702, the roaming MME finds that the user needs to be authenticated, and sends an AIR message to the roaming gateway DRA, carrying the Sponsor IMSI.
在步骤703中,DRA分析Sponsor IMSI,将AIR消息发送至HSS 1,该AIR消息中的AIR-Flags中携带支持请求重试标志和支持优化路由标志。In step 703, the DRA analyzes the Sponsor IMSI and sends an AIR message to the HSS 1. The AIR-Flags in the AIR message carries the support request retry flag and the support optimized route flag.
在步骤704中,HSS1使用Sponsor IMSI查询本地数据库失败,向DRA发送AIA消息,该AIA消息中包含错误码5001,且AIA-Flags中携带支持请求重试标志。In step 704, the HSS1 fails to query the local database by using the Sponsor IMSI, and sends an AIA message to the DRA. The AIA message includes an error code 5001, and the AIA-Flags carries the support request retry flag.
在步骤705中,DRA解析AIA消息,发现错误码5001,且AIA-Flags中携带了请求重试标志,则使用Sponsor IMSI向EMNP发起URR查询请求。In step 705, the DRA parses the AIA message, finds the error code 5001, and the AIA-Flags carries the request retry flag, and then uses the Sponsor IMSI to initiate a URR query request to the EMNP.
在步骤706中,EMNP接收URR消息,查询本地数据库,得到与Sponsor IMSI对应的重定向IMSI和重定向地址HSS2,向DRA返回URA消息,其中携带转换后的重定向IMSI和重定向地址HSS2。In step 706, the EMNP receives the URR message, queries the local database, obtains the redirected IMSI and the redirected address HSS2 corresponding to the Sponsor IMSI, and returns a URA message to the DRA, which carries the translated redirected IMSI and the redirected address HSS2.
在步骤707中,DRA根据EMNP返回结果,使用重定向IMSI(即own IMSI)向HSS 2发起AIR查询。In step 707, the DRA initiates an AIR query to HSS 2 using the redirected IMSI (ie, own IMSI) based on the EMNP return result.
在步骤708中,HSS 2使用own IMSI查询本地数据库,完成鉴权操作,并向DRA返回AIA消息。In step 708, HSS 2 queries the local database using own IMSI, completes the authentication operation, and returns an AIA message to the DRA.
在步骤709中,DRA向MME返回AIA消息,携带相关鉴权向量。In step 709, the DRA returns an AIA message to the MME, carrying the associated authentication vector.
在步骤710中,MME完成用户鉴权流程。In step 710, the MME completes the user authentication process.
图8示出了支持请求重试和支持路由优化时的用户位置更新接入流程,参考图8所示,该用户位置更新接入流程可以包括步骤801-步骤813。FIG. 8 shows a user location update access procedure for supporting request retry and supporting route optimization. Referring to FIG. 8, the user location update access procedure may include steps 801-813.
在步骤801中,用户国际漫游后,UE向漫游地MME发起接入请求(Attach Request)携带源用户标识,本实施例以源用户标识为Sponsor IMSI为例进行说明。In step 801, after the user roams internationally, the UE initiates an access request (Attach Request) to the roaming MME to carry the source user identifier. In this embodiment, the source user identifier is the Sponsor IMSI as an example.
在步骤802中,MME完成该用户的鉴权操作。 In step 802, the MME completes the authentication operation of the user.
在步骤803中,鉴权通过后,MME向国际漫游网关DRA发起位置更新请求ULR,ULR消息中携带Sponsor IMSI。In step 803, after the authentication is passed, the MME initiates a location update request ULR to the international roaming gateway DRA, and the ULR message carries the Sponsor IMSI.
在步骤804中,DRA分析Sponsor IMSI,向HSS1发送ULR消息,其中ULR-Flags中携带支持请求重试标志和支持路由优化标志。In step 804, the DRA analyzes the Sponsor IMSI and sends a ULR message to the HSS1, where the ULR-Flags carries the support request retry flag and the support route optimization flag.
在步骤805中,HSS 1使用Sponsor IMSI查询数据库失败,向DRA返回ULA消息,其中包含错误码5001和ULA-Flags,ULA-Flags中携带支持请求重试标志。In step 805, the HSS 1 fails to query the database using the Sponsor IMSI, and returns a ULA message to the DRA, which includes an error code 5001 and ULA-Flags, and the ULA-Flags carries a support request retry flag.
在步骤806中,DRA解析ULA消息,发现错误码为5001,并且ULA-Flags中携带了支持请求重试标志,则使用Sponsor IMSI向EMNP发起URR查询,URR消息携带源用户标识Sponsor IMSI。In step 806, the DRA parses the ULA message, finds that the error code is 5001, and carries the support request retry flag in the ULA-Flags, and then uses the Sponsor IMSI to initiate a URR query to the EMNP, where the URR message carries the source user identifier Sponsor IMSI.
在步骤807中,EMNP接收URR消息,查询本地数据库,得到与Sponsor IMSI对应的重定向IMSI和重定向地址HSS2,向DRA返回URA消息,其中携带转换后的重定向IMSI和重定向地址HSS2。In step 807, the EMNP receives the URR message, queries the local database, obtains the redirected IMSI and the redirected address HSS2 corresponding to the Sponsor IMSI, and returns a URA message to the DRA, which carries the translated redirected IMSI and the redirected address HSS2.
在步骤808中,DRA根据EMNP返回结果,使用重定向的own IMSI向HSS2发起ULR查询,并携带Sponsor IMSI和ULR-Flags,ULR-Flags中携带支持请求重试标志。In step 808, the DRA initiates a ULR query to the HSS2 using the redirected own IMSI according to the EMNP return result, and carries the Sponsor IMSI and the ULR-Flags, and the ULR-Flags carries the support request retry flag.
在步骤809中,HSS 2检测ULR-Flags中携带支持请求重试标志,且携带了Sponsor IMSI,且用户之前已经在其它MME注册过(HSS会记录用户之前注册的MME地址),则先使用Sponsor IMSI向注册过的MME(即old MME)发起取消定位请求(Cancel-Location-Request,CLR)请求。In step 809, the HSS 2 detects that the support request retry flag is carried in the ULR-Flags, and carries the Sponsor IMSI, and the user has previously registered with other MMEs (the HSS records the MME address previously registered by the user), and then uses the Sponsor first. The IMSI initiates a Cancel-Location-Request (CLR) request to the registered MME (ie, the old MME).
在步骤810中,Old MME删除用户原有承载,并向HSS 2返回取消定位应答(Cancel-Location-Answer,CLA)消息。In step 810, the Old MME deletes the original bearer of the user and returns a Cancel-Location-Answer (CLA) message to the HSS 2.
在步骤811中,HSS 2再使用own IMSI查询本地数据库,向DRA返回ULA消息。In step 811, HSS 2 uses the own IMSI to query the local database and returns a ULA message to the DRA.
在步骤812中,DRA向MME返回ULA消息。In step 812, the DRA returns a ULA message to the MME.
在步骤813中,MME开始为用户建立承载,完成用户接入操作。In step 813, the MME starts to establish a bearer for the user, and completes the user access operation.
图9示出了支持请求重试但不支持路由优化时的用户鉴权接入流程,参考图9所示,该用户鉴权接入流程可以包括步骤901-步骤910。FIG. 9 shows a user authentication access procedure when the request retry is supported but the route optimization is not supported. Referring to FIG. 9, the user authentication access procedure may include steps 901 to 910.
在步骤901中,用户接入LTE网络,由UE向漫游地MME发起接入请求(Attach Request),携带源用户标识。本实施例以源用户标识为Sponsor IMSI进行举例说明。 In step 901, the user accesses the LTE network, and the UE initiates an access request (Attach Request) to the roaming MME, carrying the source user identifier. This embodiment uses the source user identifier as the Sponsor IMSI for illustration.
在步骤902中,漫游地MME发现需要对该用户进行鉴权处理,向漫游网关DRA发送鉴权请求AIR消息,携带Sponsor IMSI。In step 902, the roaming MME finds that the user needs to be authenticated, and sends an authentication request AIR message to the roaming gateway DRA, carrying the Sponsor IMSI.
在步骤903中,DRA分析Sponsor IMSI,将AIR消息发送至HSS 1,该AIR消息中的AIR-Flags中携带支持请求重试标志和不支持优化路由标志。In step 903, the DRA analyzes the Sponsor IMSI and sends an AIR message to the HSS 1. The AIR-Flags in the AIR message carries the support request retry flag and does not support the optimized route flag.
在步骤904中,HSS 1使用Sponsor IMSI查询本地数据库失败且失败原因为未知用户,但是AIR-Flags中携带支持请求重试标志和不支持路由优化标志,则HSS1使用Sponsor IMSI向EMNP发起URR查询请求,URR消息中携带Sponsor IMSI。In step 904, HSS 1 fails to query the local database using Sponsor IMSI and the reason for the failure is unknown user, but AIR-Flags carries the support request retry flag and does not support the route optimization flag, then HSS1 uses the Sponsor IMSI to initiate a URR query request to the EMNP. The URR message carries the Sponsor IMSI.
在步骤905中,EMNP查询本地数据库,得到与Sponsor IMSI对应的重定向IMSI和重定向地址HSS2,向HSS1返回URA消息,其中携带转换后的重定向IMSI和重定向地址HSS2。In step 905, the EMNP queries the local database, obtains the redirected IMSI and the redirected address HSS2 corresponding to the Sponsor IMSI, and returns a URA message to the HSS1, which carries the translated redirected IMSI and the redirected address HSS2.
在步骤906中,HSS 1根据EMNP返回结果,使用重定向IMSI(即own IMSI)向HSS2发起AIR查询。In step 906, HSS 1 initiates an AIR query to HSS 2 using the redirected IMSI (ie, own IMSI) based on the EMNP return result.
在步骤907中,HSS 2使用own IMSI查询本地数据库,完成鉴权操作,并向HSS1返回AIA消息。In step 907, HSS 2 queries the local database using own IMSI, completes the authentication operation, and returns an AIA message to HSS1.
在步骤908中,HSS 1向DRA返回AIA消息,携带相关鉴权向量。In step 908, HSS 1 returns an AIA message to the DRA carrying the associated authentication vector.
在步骤909中,DRA向MME返回AIM消息,携带相关鉴权向量。In step 909, the DRA returns an AIM message to the MME, carrying the associated authentication vector.
在步骤910中,MME完成用户鉴权流程。In step 910, the MME completes the user authentication process.
图10示出了支持请求重试但不支持路由优化时的用户位置更新接入流程,参考图10所示,该用户位置更新接入流程可以包括步骤1001-步骤1013。FIG. 10 shows a user location update access procedure when the request retry is supported but the route optimization is not supported. Referring to FIG. 10, the user location update access procedure may include step 1001 - step 1013.
在步骤1001中,用户国际漫游后,UE向漫游地MME发起接入请求(Attach Request)携带源用户标识,本实施例以源用户标识为Sponsor IMSI为例进行说明。In step 1001, after the user roams internationally, the UE initiates an access request (Attach Request) to the roaming MME to carry the source user identifier. In this embodiment, the source user identifier is the Sponsor IMSI as an example.
在步骤1002中,MME完成该用户的鉴权操作。In step 1002, the MME completes the authentication operation of the user.
在步骤1003中,鉴权通过后,MME向国际漫游网关DRA发起位置更新请求ULR,ULR消息中携带Sponsor IMSI。In step 1003, after the authentication is passed, the MME initiates a location update request ULR to the international roaming gateway DRA, and the ULR message carries the Sponsor IMSI.
在步骤1004中,DRA分析Sponsor IMSI,向HSS 1发送ULR消息,其中ULR-Flags中携带支持请求重试标志和不支持路由优化标志。In step 1004, the DRA analyzes the Sponsor IMSI and sends a ULR message to the HSS 1, wherein the ULR-Flags carries the support request retry flag and does not support the route optimization flag.
在步骤1005中,HSS 1使用Sponsor IMSI查询本地数据库失败且失败原因为未知用户,但是ULR-Flags中携带支持请求重试标志和不支持路由优化标志,则HSS 1使用Sponsor IMSI向EMNP发起URR查询请求,URR消息中携带Sponsor  IMSI。In step 1005, HSS 1 fails to use the Sponsor IMSI to query the local database and the reason for the failure is an unknown user, but the ULR-Flags carries the support request retry flag and does not support the route optimization flag, and the HSS 1 uses the Sponsor IMSI to initiate a URR query to the EMNP. Request, carry the Sponsor in the URR message IMSI.
在步骤1006中,EMNP查询本地数据库,得到与Sponsor IMSI对应的重定向IMSI和重定向地址HSS 2,向HSS 1返回URA消息,其中携带转换后的重定向IMSI和重定向地址HSS2。In step 1006, the EMNP queries the local database, obtains the redirected IMSI and the redirected address HSS 2 corresponding to the Sponsor IMSI, and returns a URA message to the HSS 1, carrying the translated redirected IMSI and the redirected address HSS2.
在步骤1007中,HSS 1根据EMNP返回结果,使用重定向IMSI(即own IMSI)向HSS 2发起ULR查询,并携带Sponsor IMSI和ULR-Flags,ULR-Flags中携带支持请求重试标志。In step 1007, the HSS 1 initiates a ULR query to the HSS 2 using the redirected IMSI (ie, the own IMSI) according to the EMNP return result, and carries the Sponsor IMSI and the ULR-Flags, and the ULR-Flags carries the support request retry flag.
在步骤1008中,HSS 2检测ULR-Flags中携带支持请求重试标志,且携带了Sponsor IMSI,且用户之前已经在其它MME注册过(HSS会记录用户之前注册的MME地址),则先使用Sponsor IMSI向old MME(即注册过的MME)发起CLR请求。In step 1008, the HSS 2 detects that the support request retry flag is carried in the ULR-Flags, and carries the Sponsor IMSI, and the user has previously registered with other MMEs (the HSS records the MME address previously registered by the user), and then uses the Sponsor first. The IMSI initiates a CLR request to the old MME (ie, the registered MME).
在步骤1009中,Old MME删除用户原有承载,并向HSS2返回CLA消息。In step 1009, the Old MME deletes the original bearer of the user and returns a CLA message to the HSS 2.
在步骤1010中,HSS 2再使用own IMSI查询本地数据库,向HSS1返回ULA消息。In step 1010, HSS 2 queries the local database using own IMSI and returns a ULA message to HSS1.
在步骤1011中,HSS1向DRA返回ULA消息。In step 1011, HSS1 returns a ULA message to the DRA.
在步骤1012中,DRA向MME返回ULA消息。In step 1012, the DRA returns a ULA message to the MME.
在步骤1013中,MME开始为用户建立承载,完成用户接入操作。In step 1013, the MME starts to establish a bearer for the user, and completes the user access operation.
在一个实施例中,还提供一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述LTE网络中消息路由方法。In one embodiment, a non-transitory computer readable storage medium is also provided, stored with computer executable instructions for performing a message routing method in the LTE network described above.
在一个实施例中,还提供一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述应用于网关侧的LTE网络中消息路由方法。In one embodiment, there is also provided a non-transitory computer readable storage medium storing computer executable instructions for performing the above described message routing method in an LTE network applied to a gateway side.
如图11所示,是本公开实施例提供的一种电子设备的硬件结构示意图,如图11所示,该电子设备包括:As shown in FIG. 11 , it is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 11 , the electronic device includes:
处理器(processor)1101和存储器(memory)1102;还可以包括通信接口(Communications Interface)1103和总线1104。A processor 1101 and a memory 1102; may further include a communication interface 1103 and a bus 1104.
其中,处理器1101、存储器1102和通信接口1103可以通过总线1104完成相互间的通信。通信接口1103可以用于信息传输。处理器1101可以调用存储器1102中的逻辑指令,以执行上述实施例的LTE网络中消息路由方法。 The processor 1101, the memory 1102, and the communication interface 1103 can complete communication with each other through the bus 1104. Communication interface 1103 can be used for information transmission. The processor 1101 can invoke logic instructions in the memory 1102 to perform the message routing method in the LTE network of the above embodiments.
此外,上述的存储器1102中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。In addition, the logic instructions in the memory 1102 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
如图12所示,是本公开实施例提供的一种电子设备的硬件结构示意图,如图11所示,该电子设备包括:As shown in FIG. 12, it is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 11, the electronic device includes:
处理器(processor)1201和存储器(memory)1202;还可以包括通信接口(Communications Interface)1203和总线1204。A processor 1201 and a memory 1202; and may further include a communication interface 1203 and a bus 1204.
其中,处理器1201、存储器1202和通信接口1203可以通过总线1204完成相互间的通信。通信接口1203可以用于信息传输。处理器1201可以调用存储器1202中的逻辑指令,以执行上述实施例的应用于网关侧的LTE网络中消息路由方法。The processor 1201, the memory 1202, and the communication interface 1203 can complete communication with each other through the bus 1204. Communication interface 1203 can be used for information transmission. The processor 1201 can call the logic instructions in the memory 1202 to perform the message routing method applied to the LTE network on the gateway side of the above embodiment.
此外,上述的存储器1202中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质,也可以是暂态存储介质。Moreover, the logic instructions in the memory 1202 described above may be implemented in the form of software functional units and sold or used as separate products, and may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network) The device or the like) performs all or part of the steps of the method described in the embodiments of the present disclosure. The foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code, or a transitory storage medium.
最后需要说明的是,本领域普通技术人员可理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来执行相关的硬件来完成的,该程序可存储于一个非暂态计算机可读存储介质中,该程序在执行时,可包括如上述方法的实施例的流程,其中,该计算机可读存储介质可以为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。 Finally, it should be understood that those skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by executing related hardware by a computer program, and the program can be stored in a non-transitory computer. In reading a storage medium, the program, when executed, may include a flow of an embodiment of the method described above, wherein the computer readable storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory. (RAM), etc.
在不冲突的情况下,以上所述实施例的技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。In the case of no conflict, the technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described, however, as long as these technical features are There is no contradiction in the combination and should be considered as the scope of this manual.
以上所述实施例仅表达了本公开的可选实施方式,但并不能因此而理解为对公开专利范围的限制。The above-described embodiments are merely illustrative of alternative embodiments of the present disclosure, but are not to be construed as limiting the scope of the disclosure.
工业实用性Industrial applicability
本公开实施例提供了一种LTE网络中的消息路由方法、系统和网关,可以实现路由的灵活变换和号码的自动切换。 The embodiments of the present disclosure provide a message routing method, system, and gateway in an LTE network, which can implement flexible routing and automatic number switching.

Claims (15)

  1. 一种LTE网络中的消息路由方法,包括:A message routing method in an LTE network, comprising:
    漫游地LTE网络的移动管理实体MME向国际漫游网关的路由代理节点DRA发送接入请求,所述接入请求中携带源用户标识;The mobile management entity MME of the roaming LTE network sends an access request to the routing proxy node DRA of the international roaming gateway, where the access request carries the source user identifier;
    所述国际漫游网关DRA根据所述源用户标识定位第一归属签约用户服务器HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;The international roaming gateway DRA locates the first home subscriber server HSS according to the source subscriber identity, and sends a request message to the first HSS, where the request message carries the source subscriber identity, whether the request retry identifier is supported, and whether the support is supported. Route optimization identifier;
    当所述第一HSS根据所述源用户标识查询数据库后发现用户不存在时,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为支持路由优化,则所述第一HSS向国际漫游网关DRA返回错误码,且携带支持请求重试标志和支持路由优化标志;以及If the first HSS finds that the user does not exist after querying the database according to the source user identifier, if the request retry identifier is supported to support the request retry, and the route optimization identifier is supported to support route optimization, The first HSS returns an error code to the international roaming gateway DRA, and carries a support request retry flag and a support route optimization flag;
    所述国际漫游网关DRA解析所述错误码,向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。The international roaming gateway DRA parses the error code, initiates a query request to the EMNP, queries the corresponding target user identifier and the target routing address according to the source user identifier, and uses the target user identifier and the target routing address to re-route The second HSS initiates an access request.
  2. 根据权利要求1所述的方法,其中,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为不支持路由优化,则第一HSS向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址,重新向第二HSS发起接入请求。The method according to claim 1, wherein the first HSS initiates a query request to the EMNP if the support request retry identifier is a support request retry, and the support route optimization identifier does not support route optimization, Querying the corresponding target user identifier and the target routing address according to the source user identifier, and re-initiating an access request to the second HSS by using the target user identifier and the target routing address.
  3. 根据权利要求1所述的方法,其中,若所述是否支持请求重试标识为不支持请求重试,则第一HSS向国际漫游网关DRA返回错误码且携带不支持请求重试标志;所述国际漫游网关DRA转发响应消息至MME,拒绝本次接入。The method according to claim 1, wherein if the support request retry identifier does not support request retry, the first HSS returns an error code to the international roaming gateway DRA and carries a non-support request retry flag; The international roaming gateway DRA forwards the response message to the MME, rejecting the current access.
  4. 根据权利要求1所述的方法,其中,所述请求消息为用户鉴权请求或位置更新请求。The method of claim 1, wherein the request message is a user authentication request or a location update request.
  5. 一种LTE网络中的消息路由系统,包括:A message routing system in an LTE network, comprising:
    漫游地LTE网络的MME,设置为向国际漫游网关DRA发送接入请求,所述接入请求中携带源用户标识;The MME of the roaming LTE network is configured to send an access request to the international roaming gateway DRA, where the access request carries the source user identifier;
    国际漫游网关DRA,设置为根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;The international roaming gateway DRA is configured to locate the first HSS according to the source user identifier, and send a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported. ;
    第一HSS,设置为根据所述源用户标识查询数据库后发现用户不存在时,若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为支持路由优化,则向国际漫游网关DRA返回错误码,且携带支持请求重试标志 和支持路由优化标志;以及If the first HSS is configured to query the database according to the source user identifier and find that the user does not exist, if the request retry identifier is supported to support the request retry, and the route optimization identifier is supported to support route optimization, Return an error code to the international roaming gateway DRA, and carry a support request retry flag And support route optimization flags;
    所述国际漫游网关DRA还设置为解析所述错误码,向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。The international roaming gateway DRA is further configured to parse the error code, initiate a query request to the EMNP, query the corresponding target user identifier and the target routing address according to the source user identifier, and use the target user identifier and the target routing address. The access request is re-initiated to the second HSS.
  6. 根据权利要求5所述的系统,其中,所述第一HSS还设置为若所述是否支持请求重试标识为支持请求重试,且所述是否支持路由优化标识为不支持路由优化,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址,重新向第二HSS发起接入请求。The system according to claim 5, wherein the first HSS is further configured to: if the support retry identifier is supported to support request retry, and whether the route optimization identifier is supported to not support route optimization, The EMNP initiates a query request, queries the corresponding target user identifier and the target routing address according to the source user identifier, and uses the target user identifier and the target routing address to re-initiate an access request to the second HSS.
  7. 根据权利要求5所述的系统,其中,所述第一HSS还设置为若所述是否支持请求重试标识为不支持请求重试,则向国际漫游网关DRA返回错误码且携带不支持请求重试标志;所述国际漫游网关DRA还用于转发响应消息至MME,拒绝本次接入。The system according to claim 5, wherein the first HSS is further configured to return an error code to the international roaming gateway DRA and carry the unsupported request if the support retry identifier is not supported for request retry. The international roaming gateway DRA is further configured to forward the response message to the MME, rejecting the current access.
  8. 根据权利要求5所述的系统,其中,所述请求消息为用户鉴权请求或位置更新请求。The system of claim 5 wherein the request message is a user authentication request or a location update request.
  9. 一种LTE网络中的消息路由方法,应用于网管侧,包括:A message routing method in an LTE network, applied to the network management side, includes:
    接收漫游地LTE网络的MME发送的接入请求,所述接入请求中携带源用户标识;Receiving an access request sent by the MME of the roaming LTE network, where the access request carries the source user identifier;
    根据所述源用户标识定位第一HSS,向所述第一HSS发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;And locating the first HSS according to the source user identifier, and sending a request message to the first HSS, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported;
    接收第一HSS返回的错误码并解析所述错误码,若所述错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址,并使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。Receiving an error code returned by the first HSS and parsing the error code, if the error code carries a support request retry flag and a support route optimization flag, initiating a query request to the EMNP, and querying the corresponding according to the source user identifier The target user identifier and the target routing address, and re-initiating an access request to the second HSS using the target user identifier and the target routing address.
  10. 根据权利要求9所述的方法,其中,若所述错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。The method according to claim 9, wherein if the error code carries the unsupported request retry flag, the response message is forwarded to the MME, and the current access is rejected.
  11. 根据权利要求9所述的方法,其中,所述请求消息为用户鉴权请求或位置更新请求。The method of claim 9, wherein the request message is a user authentication request or a location update request.
  12. 一种在LTE网络中实现消息路由的网关,包括:A gateway for implementing message routing in an LTE network, comprising:
    消息接收模块,设置为接收漫游地LTE网络的MME发送的接入请求,所述接入请求中携带源用户标识;a message receiving module, configured to receive an access request sent by an MME of a roaming LTE network, where the access request carries a source user identifier;
    消息发送模块,设置为根据所述源用户标识定位第一HSS,向所述第一HSS 发送请求消息,所述请求消息中携带源用户标识、是否支持请求重试标识和是否支持路由优化标识;a message sending module, configured to locate the first HSS according to the source user identifier, to the first HSS Sending a request message, where the request message carries the source user identifier, whether the request retry identifier is supported, and whether the route optimization identifier is supported;
    解析模块,设置为接收第一HSS返回的错误码并解析所述错误码;a parsing module configured to receive an error code returned by the first HSS and parse the error code;
    查询模块,设置为若所述错误码携带了支持请求重试标志和支持路由优化标志,则向EMNP发起查询请求,根据所述源用户标识查询到对应的目标用户标识和目标路由地址;以及The query module is configured to: if the error code carries the support request retry flag and the support route optimization flag, initiate a query request to the EMNP, and query the corresponding target user identifier and the target routing address according to the source user identifier;
    重新接入模块,设置为使用所述目标用户标识和目标路由地址重新向第二HSS发起接入请求。Re-accessing the module, configured to re-initiate an access request to the second HSS using the target user identity and the target routing address.
  13. 根据权利要求12所述的网关,还包括:The gateway of claim 12, further comprising:
    响应模块,设置为若所述错误码携带了不支持请求重试标志,则转发响应消息至MME,拒绝本次接入。The response module is configured to: if the error code carries the unsupported request retry flag, forward the response message to the MME, rejecting the current access.
  14. 根据权利要求12所述的网关,其中,所述请求消息为用户鉴权请求或位置更新请求。The gateway of claim 12, wherein the request message is a user authentication request or a location update request.
  15. 一种非暂态计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-4,9-11任一项的LTE网络中的消息路由方法。 A non-transitory computer readable storage medium storing computer executable instructions for performing a message routing method in an LTE network of any of claims 1-4, 9-11.
PCT/CN2016/103973 2015-12-07 2016-10-31 Message routing method and system in lte network, and gateway WO2017097060A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510891363.3A CN106851763B (en) 2015-12-07 2015-12-07 Message routing method, system and gateway in LTE network
CN201510891363.3 2015-12-07

Publications (1)

Publication Number Publication Date
WO2017097060A1 true WO2017097060A1 (en) 2017-06-15

Family

ID=59013716

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103973 WO2017097060A1 (en) 2015-12-07 2016-10-31 Message routing method and system in lte network, and gateway

Country Status (2)

Country Link
CN (1) CN106851763B (en)
WO (1) WO2017097060A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405542A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Method and device for routing redirection of application layer and routing layer and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108055312B (en) * 2017-12-07 2021-07-09 畅捷通信息技术股份有限公司 Routing method and device thereof, computer device and readable storage medium thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222439A (en) * 2008-01-28 2008-07-16 华为技术有限公司 User load distribution method, device and system of core network
US20110295996A1 (en) * 2010-05-28 2011-12-01 At&T Intellectual Property I, L.P. Methods to improve overload protection for a home subscriber server (hss)
CN102395121A (en) * 2011-10-27 2012-03-28 大唐移动通信设备有限公司 Method, system and device for resending Update-Location-Request information
US8369488B2 (en) * 2011-03-15 2013-02-05 At&T Mobility Ii Llc Triggering a 911 voice call from a non-voice message

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8249551B2 (en) * 2008-06-05 2012-08-21 Bridgewater Systems Corp. Long-term evolution (LTE) policy control and charging rules function (PCRF) selection
CN104427483B (en) * 2013-09-03 2018-06-26 中国移动通信集团广东有限公司 A kind of method and system that roaming is realized by LTE network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101222439A (en) * 2008-01-28 2008-07-16 华为技术有限公司 User load distribution method, device and system of core network
US20110295996A1 (en) * 2010-05-28 2011-12-01 At&T Intellectual Property I, L.P. Methods to improve overload protection for a home subscriber server (hss)
US8369488B2 (en) * 2011-03-15 2013-02-05 At&T Mobility Ii Llc Triggering a 911 voice call from a non-voice message
CN102395121A (en) * 2011-10-27 2012-03-28 大唐移动通信设备有限公司 Method, system and device for resending Update-Location-Request information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405542A (en) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 Method and device for routing redirection of application layer and routing layer and computer readable storage medium

Also Published As

Publication number Publication date
CN106851763A (en) 2017-06-13
CN106851763B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
US10182341B2 (en) Method, apparatus, and system for online subscription data configuration
EP3487196B1 (en) Privacy managing entity selection in communication system
EP3576471A1 (en) Connection processing method and apparatus in multi-access scenario
JP6700434B2 (en) Wireless communication method and device
US11641620B2 (en) Access control in communications network comprising slices
JP6420337B2 (en) Network selection method and core network device
US10021726B2 (en) Method and device for implementing proximity communication service
WO2015184722A1 (en) Private network selection method and device
US11924641B2 (en) Security management for service access in a communication system
US20130144954A1 (en) Method and Apparatus for Cooperation Between Push Devices
US20120282915A1 (en) Connecting device via multiple carriers
RU2526718C2 (en) Method and system for providing inter-network roaming service
RU2014105550A (en) DYNAMIC ACTIVATION OF M2M SERVICES THROUGH 3GPP ACCESS NETWORK
EP3662691A1 (en) Interfaces for privacy management as service or function
US8964957B2 (en) Telephone, control method therefor, provisioning server, and control method therefor
US20120120932A1 (en) Message-sending method and serving gprs support node
US20140302812A1 (en) Access method, mobility management device, and user equipment
WO2014008625A1 (en) Location update method, device and system
CN110324807B (en) Information processing method, function and computer readable storage medium
WO2017097060A1 (en) Message routing method and system in lte network, and gateway
EP3373621B1 (en) Roaming solution
EP3310117B1 (en) Method for establishing a connection of a mobile terminal to a mobile radio communication network and radio access network component
US11109219B2 (en) Mobile terminal, network node server, method and computer program
JP6169242B2 (en) Method, system, and computer-readable medium for utilizing a Diameter proxy agent to communicate short message service (SMS) messages
CN110430137B (en) Message processing method and device based on S11 interface

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

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

Country of ref document: EP

Kind code of ref document: A1