WO2017000583A1 - Terminal access method and corresponding terminal, base station and main core network - Google Patents

Terminal access method and corresponding terminal, base station and main core network Download PDF

Info

Publication number
WO2017000583A1
WO2017000583A1 PCT/CN2016/075777 CN2016075777W WO2017000583A1 WO 2017000583 A1 WO2017000583 A1 WO 2017000583A1 CN 2016075777 W CN2016075777 W CN 2016075777W WO 2017000583 A1 WO2017000583 A1 WO 2017000583A1
Authority
WO
WIPO (PCT)
Prior art keywords
core network
access request
base station
identifier
matched
Prior art date
Application number
PCT/CN2016/075777
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 WO2017000583A1 publication Critical patent/WO2017000583A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

A terminal access method applied to a base station connecting to multiple core networks of at least one mobile network. The core network having a redirection function among multiple core networks is main core network, and other core networks are sub core networks. The method includes: the base station receives an access request transmitted by the terminal, the request indicating to access the mobile network; if the access request does not carry the identification of the core network to be matched and the main core network is routable, the base station transmits the access request to the main core network; if receiving the redirection message returned from the main core network and the core network indicated in the redirection message is routable, the base station retransmits the access request to the indicated core network. By the method, resolved is the problem how the terminal would access the attributive specific core network when a mobile network comprises multiple core networks,.

Description

一种终端接入方法及相应的终端、基站和主核心网Terminal access method and corresponding terminal, base station and main core network 技术领域Technical field
本申请涉及但不限于移动通信系统,更具体地,涉及一种终端接入方法及相应的终端、基站和主核心网。The present application relates to, but is not limited to, a mobile communication system, and more particularly, to a terminal access method and corresponding terminal, base station, and primary core network.
背景技术Background technique
第三代伙伴计划(3GPP)长期演进(LTE)网络共享方案分为同PLMN(Public Land Mobile Network,公共陆地移动网络)和不同PLMN两种情况。对于不同PLMN的网络共享,意味着基站连接的是两个或多个核心网网络,终端接入时会将选择的PLMN带到基站,然后基站再根据选择的PLMN来确定终端接入的核心网(对LTE网络是要确定接入的MME);同PLMN的网络共享,表示基站连接的是一个移动网络,基站连接的不同核心网(对LTE网络是连接不同的MME)在该移动网络内为“负荷分担”的关系,即当用户接入时,不论基站选择PLMN匹配范围内的哪个核心网,都可以正常建立业务。The 3rd Generation Partnership Project (3GPP) Long Term Evolution (LTE) network sharing scheme is divided into the same situation as the PLMN (Public Land Mobile Network) and the different PLMN. For network sharing of different PLMNs, it means that the base station is connected to two or more core network networks, and when the terminal accesses, the selected PLMN is brought to the base station, and then the base station determines the core network accessed by the terminal according to the selected PLMN. (For the LTE network, the MME to determine access); sharing with the network of the PLMN, indicating that the base station is connected to a mobile network, and different core networks connected to the base station (connecting different MMEs to the LTE network) are in the mobile network. The "load sharing" relationship, that is, when the user accesses, regardless of which core network in the range in which the base station selects the PLMN, the service can be established normally.
但是一些特殊应用场景下,如集群行业用户网络与集群运营商网络共享时,存在特殊需求,此时虽然多个核心网共用一个PLMN,但多个核心网互不相通,更不存在负荷分担关系。目前标准中的网络共享方案没有提供针对这种场景的终端接入方案。However, in some special application scenarios, when the cluster industry user network is shared with the cluster operator network, there are special requirements. In this case, although multiple core networks share one PLMN, multiple core networks are not connected to each other, and there is no load sharing relationship. . The network sharing scheme in the current standard does not provide a terminal access scheme for such a scenario.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
有鉴于此,本发明实施例提供了以下技术方案。In view of this, the embodiments of the present invention provide the following technical solutions.
一种终端接入方法,应用于至少与一移动网络的多个核心网连接的基站,所述多个核心网中具有重定向功能的核心网为主核心网,其他核心网为次核心网,所述方法包括: A terminal access method is applied to a base station connected to at least a plurality of core networks of a mobile network, wherein a core network having a redirection function in the plurality of core networks is a primary core network, and other core networks are a secondary core network. The method includes:
所述基站接收到终端发送的指示接入所述移动网络的接入请求;Receiving, by the base station, an access request sent by the terminal to access the mobile network;
如所述接入请求未携带待匹配的核心网标识且所述主核心网可路由,所述基站向所述主核心网发送接入请求;If the access request does not carry the core network identifier to be matched and the primary core network is routable, the base station sends an access request to the primary core network;
如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。If receiving the redirect message returned by the primary core network and the core network indicated in the redirect message is routable, the base station resends the access request to the indicated core network.
可选地,Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:如所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网,所述基站向匹配到的所述核心网发送接入请求。After the base station receives the access request sent by the terminal to access the mobile network, the method further includes: if the access request carries the core network identifier to be matched, and matches the routable according to the core network identifier. The core network, the base station sends an access request to the matched core network.
可选地,Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:After the base station receives the access request sent by the terminal to access the mobile network, the method further includes:
如所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由,所述基站向所述主核心网发送接入请求;If the access request carries a core network identifier to be matched but does not match the routable core network according to the core network identifier, and the primary core network is routable, the base station sends an access to the primary core network. request;
如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。If receiving the redirect message returned by the primary core network and the core network indicated in the redirect message is routable, the base station resends the access request to the indicated core network.
可选地,Optionally,
所述基站向所述主核心网发送接入请求之后,该方法还包括:After the base station sends an access request to the primary core network, the method further includes:
如接收到所述主核心网返回的接入应答消息,所述基站确定所述主核心网为所述终端接入的核心网。Receiving an access response message returned by the primary core network, the base station determines that the primary core network is a core network accessed by the terminal.
可选地,Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:After the base station receives the access request sent by the terminal to access the mobile network, the method further includes:
如所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由,所述基站向所述移动网络可路由的次核心网发送接入请求。 If the access request does not carry the core network identifier to be matched and/or carries the core network identifier to be matched but does not match the routable core network according to the core network identifier, and the primary core network is not routable, The base station sends an access request to the secondary core network routable by the mobile network.
可选地,Optionally,
所述接入请求中携带表示核心网标识的字段;如所述字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如所述字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识;或者,The access request carries a field indicating a core network identifier; if the core network identifier in the field is valid, the base station determines that the access request carries a core network identifier to be matched; If the identifier is invalid, the base station determines that the access request does not carry the core network identifier to be matched; or
所述接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;如第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识。The access request carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; if the first field indicates that the core network identifier needs to be matched and the core network identifier in the second field is valid, Determining, by the base station, that the access request carries a core network identifier to be matched; if the first field indicates that the core network identifier does not need to be matched or the core network identifier in the second field is invalid, the base station determines that the access request does not carry a to-be-matched Core network identity.
可选地,Optionally,
所述移动网络的多个核心网互不相通,或者,所述移动网络的多个核心网相通但不存在负荷分担关系。The plurality of core networks of the mobile network are not connected to each other, or multiple core networks of the mobile network are connected but there is no load sharing relationship.
一种基站,至少与一移动网络的多个核心网连接,包括:A base station, connected to at least a plurality of core networks of a mobile network, including:
配置模块,设置为:将所述多个核心网中具有重定向功能的核心网配置为主核心网,其它核心网配置为次核心网,并管理所述多个核心网的路由;a configuration module, configured to: configure a core network having a redirection function in the plurality of core networks as a primary core network, and configure other core networks as a secondary core network, and manage routes of the multiple core networks;
接收模块,设置为:接收终端发送的指示接入所述移动网络的接入请求;The receiving module is configured to: receive an access request sent by the terminal to access the mobile network;
选路模块,设置为:在所述接入请求未携带待匹配的核心网标识且所述主核心网可路由时,向所述主核心网发送接入请求;如收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,向所述指示的核心网重新发送接入请求。a routing module, configured to: when the access request does not carry a core network identifier to be matched, and the primary core network is routable, send an access request to the primary core network; if the primary core network is received The returned redirect message and the core network indicated in the redirect message are routable, resending the access request to the indicated core network.
可选地,Optionally,
所述选路模块还设置为:在所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网时,向匹配到的所述核心网发送接入请求。The routing module is further configured to send an access request to the matched core network when the access request carries a core network identifier to be matched and matches the core network identifier to the routable core network. .
可选地,Optionally,
所述选路模块还设置为:在所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由时,向 所述主核心网发送接入请求;如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。The routing module is further configured to: when the access request carries a core network identifier to be matched but does not match the routable core network according to the core network identifier, and the primary core network is routable, The primary core network sends an access request; if the redirect message returned by the primary core network is received and the core network indicated in the redirect message is routable, the base station retransmits the indicated core network Into the request.
可选地,Optionally,
所述选路模块还设置为:在向所述主核心网发送接入请求之后,如接收到所述主核心网返回的接入应答消息,确定所述主核心网为所述终端接入的核心网。The routing module is further configured to: after receiving an access request to the primary core network, if receiving an access response message returned by the primary core network, determining that the primary core network is accessed by the terminal Core Network.
可选地,Optionally,
所述选路模块还设置为:在所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由时,向所述移动网络可路由的次核心网发送接入请求。The routing module is further configured to: if the access request does not carry the core network identifier to be matched and/or carry the core network identifier to be matched but does not match the routable core network according to the core network identifier, and When the primary core network is not routable, an access request is sent to the secondary core network routable by the mobile network.
可选地,Optionally,
所述接收模块接收的接入请求中携带表示核心网标识的字段;所述选路模块在所述字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块在所述字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识;或者,The access request received by the receiving module carries a field indicating a core network identifier; when the core network identifier in the field is valid, the routing module determines that the access request carries a core network identifier to be matched; When the core network identifier in the field is invalid, the routing module does not carry the core network identifier to be matched; or
所述接收模块接收的接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;所述选路模块在第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块在第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识。The access request received by the receiving module carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; the routing module indicates that the core network identifier needs to be matched in the first field, and the second When the core network identifier in the field is valid, determining that the access request carries the core network identifier to be matched; the routing module indicates that the first field indicates that the core network identifier does not need to be matched or the core network identifier in the second field is invalid. Determining that the access request does not carry a core network identifier to be matched.
一种终端接入方法,应用于包括多个核心网的移动网络中的主核心网,所述方法包括:A terminal access method is applied to a primary core network in a mobile network including multiple core networks, and the method includes:
所述主核心网接收到基站发送的接入请求,从所述接入请求中获取用户标识信息;Receiving, by the primary core network, an access request sent by the base station, and acquiring user identification information from the access request;
所述主核心网根据配置的用户标识信息与所述多个核心网的对应关系, 查找所述用户标识信息对应的核心网;The main core network according to the corresponding relationship between the configured user identification information and the plurality of core networks, Finding a core network corresponding to the user identifier information;
如查找到的核心网为其他核心网,所述主核心网向所述基站返回重定向消息,所述重定向消息携带查找到的核心网的标识信息以指示终端接入所述核心网。If the core network is the other core network, the primary core network returns a redirect message to the base station, where the redirect message carries the identifier information of the found core network to indicate that the terminal accesses the core network.
可选地,Optionally,
所述主核心网查找所述用户标识信息对应的核心网之后,该方法还包括:After the primary core network searches for the core network corresponding to the user identifier information, the method further includes:
如查找到的核心网为所述主核心网,所述主核心网向所述基站返回接入应答消息。If the found core network is the primary core network, the primary core network returns an access response message to the base station.
可选地,Optionally,
所述主核心网与所述移动网络的其他核心网互不相通,或者虽然相通但不存在负荷分担关系。The primary core network and the other core networks of the mobile network are not in communication with each other, or although they are connected, there is no load sharing relationship.
一种移动网络中的主核心网,所述移动网络包括主核心网和次核心网,所述主核心网包括:A primary core network in a mobile network, the mobile network comprising a primary core network and a secondary core network, the primary core network comprising:
配置模块,设置为:配置用户标识信息与所述多个核心网的对应关系;The configuration module is configured to: configure a correspondence between the user identification information and the plurality of core networks;
接收模块,设置为:接收基站发送的接入请求,从所述接入请求中获取用户标识信息;The receiving module is configured to: receive an access request sent by the base station, and obtain user identification information from the access request;
响应模块,设置为:根据所述配置模块配置的用户标识信息与所述多个核心网的对应关系,查找所述用户标识信息对应的核心网,如查找到的核心网为次核心网,向所述基站返回重定向消息,其中,所述重定向消息携带所述次核心网的标识信息以指示终端接入所述次核心网。The response module is configured to: according to the correspondence between the user identifier information configured by the configuration module and the plurality of core networks, search for a core network corresponding to the user identifier information, and if the found core network is a secondary core network, The base station returns a redirect message, where the redirect message carries the identifier information of the secondary core network to indicate that the terminal accesses the secondary core network.
可选地,Optionally,
所述响应模块还设置为:如查找到的核心网为所述主核心网,则向所述基站返回接入应答消息。The response module is further configured to: if the found core network is the primary core network, return an access response message to the base station.
一种终端接入方法,应用于终端,所述方法包括:A terminal access method is applied to a terminal, and the method includes:
终端生成接入请求,所述接入请求包括表示移动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;The terminal generates an access request, where the access request includes a field indicating a mobile network identifier, a field indicating a user identifier, and a field indicating core network information;
所述终端向基站发送所述接入请求。 The terminal sends the access request to a base station.
可选地,Optionally,
所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,The field indicating the core network information includes a first field indicating whether a core network identifier needs to be matched, and a second field indicating a core network identifier; or
所述表示核心网信息的字段包括表示核心网标识的字段。The field representing the core network information includes a field indicating the identity of the core network.
一种终端,包括:A terminal comprising:
生成模块,设置为:生成接入请求,其中,所述接入请求包括表示移动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;a generating module, configured to: generate an access request, where the access request includes a field indicating a mobile network identifier, a field indicating a user identifier, and a field indicating core network information;
发送模块,设置为:向基站发送所述接入请求。The sending module is configured to: send the access request to the base station.
其中,所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,所述表示核心网信息的字段包括表示核心网标识的字段。The field indicating the core network information includes a first field indicating whether the core network identifier needs to be matched and a second field indicating the core network identifier; or the field indicating the core network information includes a field indicating the core network identifier.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于基站的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions that implement a terminal access method applied to a base station when the computer executable instructions are executed.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于主核心网的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a terminal access method applied to a primary core network.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于终端的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium, where computer executable instructions are stored, and when the computer executable instructions are executed, a terminal access method applied to the terminal is implemented.
上述方案解决了同一移动网络包括多个核心网时,终端如何接入归属的特定核心网的问题,对接入请求带不带核心网标识等多种情况都可以处理,并且还可以增加选路失败情况下的兼容处理,提高接入成功率。The foregoing solution solves the problem of how the terminal accesses the specific core network belonging to the same when the same mobile network includes multiple core networks, and can handle various situations such as the access request without the core network identifier, and can also increase the routing. Compatible processing in case of failure, improving access success rate.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1是本发明实施例一的应用于基站的终端接入方法的流程图;1 is a flowchart of a method for accessing a terminal applied to a base station according to Embodiment 1 of the present invention;
图2是本发明实施例一的基站的模块图;2 is a block diagram of a base station according to Embodiment 1 of the present invention;
图3是本发明实施例二的应用于主核心网的终端接入方法的流程图; 3 is a flowchart of a method for accessing a terminal applied to a primary core network according to Embodiment 2 of the present invention;
图4是本发明实施例二的主核心网的模块图;4 is a block diagram of a main core network according to Embodiment 2 of the present invention;
图5是本发明实施例三的应用于终端的终端接入方法的流程图;FIG. 5 is a flowchart of a terminal access method applied to a terminal according to Embodiment 3 of the present invention; FIG.
图6是本发明实施例三的终端的模块图;6 is a block diagram of a terminal according to Embodiment 3 of the present invention;
图7是本发明实施例的应用示例一的工作流程图;FIG. 7 is a flowchart of an application example 1 of an embodiment of the present invention; FIG.
图8是本发明实施例的应用示例二的工作流程图;8 is a working flow chart of an application example 2 of an embodiment of the present invention;
图9是本发明实施例的应用示例三的工作流程图。FIG. 9 is a flowchart of the operation of the third application example of the embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一Embodiment 1
本实施例提供一种终端接入方法,应用于至少与一移动网络的多个核心网连接的基站,所述多个核心网中具有重定向功能的核心网配置为主核心网,其他核心网配置为次核心网。本实施例中,主核心网配置一个但不局限于此,如可以存在两个负荷分担的主核心网,在需要重定向时选择一个主核心网发送接入请求即可。The embodiment provides a terminal access method, which is applied to a base station that is connected to at least one core network of a mobile network, where a core network with a redirection function is configured as a main core network, and other core networks. Configured as a secondary core network. In this embodiment, the primary core network is configured with one, but not limited to, for example, there may be two load balancing primary core networks, and one primary core network may be selected to send an access request when redirection is required.
如图1所示,所述方法包括以下步骤:As shown in FIG. 1, the method includes the following steps:
步骤110,基站接收到终端发送的指示接入所述移动网络的接入请求;Step 110: The base station receives an access request sent by the terminal to access the mobile network.
步骤120,如接入请求未携带待匹配的核心网标识且所述主核心网可路由,基站向所述主核心网发送接入请求;Step 120: If the access request does not carry the core network identifier to be matched, and the primary core network is routable, the base station sends an access request to the primary core network.
步骤130,如接收到主核心网返回的重定向消息且其中指示的核心网可路由,基站向所述指示的核心网重新发送接入请求。Step 130: If receiving a redirect message returned by the primary core network and the core network indicated therein is routable, the base station resends the access request to the indicated core network.
可选地,Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:如所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网,所述基站向匹配到的所述核心网发送接入请求。After the base station receives the access request sent by the terminal to access the mobile network, the method further includes: if the access request carries the core network identifier to be matched, and matches the routable according to the core network identifier. The core network, the base station sends an access request to the matched core network.
可选地, Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:如所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由,所述基站向所述主核心网发送接入请求;如接收到所述主核心网返回的重定向消息且其中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。After the base station receives the access request sent by the terminal to access the mobile network, the method further includes: if the access request carries the core network identifier to be matched but cannot match according to the core network identifier. a core network of the route, and the primary core network is routable, the base station sends an access request to the primary core network; if the redirect message returned by the primary core network is received, and the core network indicated therein is routable, The base station resends the access request to the indicated core network.
可选地,Optionally,
所述基站向所述主核心网发送接入请求之后,该方法还包括:如接收到所述主核心网返回的接入应答消息,所述基站确定所述主核心网为所述终端接入的核心网。After the base station sends an access request to the primary core network, the method further includes: receiving an access response message returned by the primary core network, where the base station determines that the primary core network is the terminal accessing Core network.
可选地,Optionally,
所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:如所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由,所述基站向所述移动网络可路由的次核心网发送接入请求。After the base station receives the access request sent by the terminal to access the mobile network, the method further includes: if the access request does not carry the core network identifier to be matched and/or carries the core network identifier to be matched However, according to the core network identifier, the routable core network is not matched, and the primary core network is not routable, and the base station sends an access request to the secondary core network routable by the mobile network.
可选地,Optionally,
所述接入请求中携带表示核心网标识的字段;如所述字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如所述字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识;或者,The access request carries a field indicating a core network identifier; if the core network identifier in the field is valid, the base station determines that the access request carries a core network identifier to be matched; If the identifier is invalid, the base station determines that the access request does not carry the core network identifier to be matched; or
所述接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;如第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识。The access request carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; if the first field indicates that the core network identifier needs to be matched and the core network identifier in the second field is valid, Determining, by the base station, that the access request carries a core network identifier to be matched; if the first field indicates that the core network identifier does not need to be matched or the core network identifier in the second field is invalid, the base station determines that the access request does not carry a to-be-matched Core network identity.
可选地,Optionally,
所述移动网络的多个核心网互不相通,或者,所述移动网络的多个核心网相通但不存在负荷分担关系。The plurality of core networks of the mobile network are not connected to each other, or multiple core networks of the mobile network are connected but there is no load sharing relationship.
相应地,本实施例还提供了一种基站,至少与一移动网络的多个核心网 连接,如图2所示,所述基站包括:Correspondingly, the embodiment further provides a base station, at least with multiple core networks of a mobile network. Connection, as shown in FIG. 2, the base station includes:
配置模块10,设置为:将所述多个核心网中具有重定向功能的核心网配置为主核心网,其它核心网配置为次核心网,并管理所述多个核心网的路由;The configuration module 10 is configured to: configure a core network having a redirection function in the plurality of core networks as a primary core network, and configure other core networks as a secondary core network, and manage routes of the multiple core networks;
接收模块20,设置为:接收终端发送的指示接入所述移动网络的接入请求;The receiving module 20 is configured to: receive an access request sent by the terminal to access the mobile network;
选路模块30,设置为:在所述接入请求未携带待匹配的核心网标识且所述主核心网可路由时,向所述主核心网发送接入请求;如收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,向所述指示的核心网重新发送接入请求。The routing module 30 is configured to: when the access request does not carry the core network identifier to be matched, and the primary core network is routable, send an access request to the primary core network; if the primary core is received The redirect message returned by the network and the core network indicated in the redirect message is routable, and the access request is resent to the indicated core network.
可选地,Optionally,
所述选路模块30还设置为:在所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网时,向匹配到的所述核心网发送接入请求。The routing module 30 is further configured to: when the access request carries a core network identifier to be matched and matches the core network identifier to the routable core network, send the access to the matched core network. request.
可选地,Optionally,
所述选路模块30还设置为:在所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由时,向所述主核心网发送接入请求;如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。The routing module 30 is further configured to: when the access request carries a core network identifier to be matched but does not match the routable core network according to the core network identifier, and the primary core network is routable, The primary core network sends an access request; if the redirect message returned by the primary core network is received and the core network indicated in the redirect message is routable, the base station retransmits the indicated core network Into the request.
可选地,Optionally,
所述选路模块30还设置为:在向所述主核心网发送接入请求之后,如接收到所述主核心网返回的接入应答消息,确定所述主核心网为所述终端接入的核心网。The routing module 30 is further configured to: after receiving an access request to the primary core network, if receiving an access response message returned by the primary core network, determining that the primary core network is the terminal accessing Core network.
可选地,Optionally,
所述选路模块30还设置为:在所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由时,向所述移动网络可路由的次核心网发送接入请求。 The routing module 30 is further configured to: if the access request does not carry the core network identifier to be matched and/or carry the core network identifier to be matched but does not match the routable core network according to the core network identifier, And when the primary core network is not routable, an access request is sent to the secondary core network routable by the mobile network.
可选地,Optionally,
所述接收模块20接收的接入请求中携带表示核心网标识的字段;所述选路模块30在所述字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块30在所述字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识;或者,The access request received by the receiving module 20 carries a field indicating a core network identifier. The routing module 30 determines that the access request carries a core network identifier to be matched when the core network identifier in the field is valid. When the core network identifier in the field is invalid, the routing module 30 determines that the access request does not carry the core network identifier to be matched; or
所述接收模块20接收的接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;所述选路模块30在第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块30在第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识。The access request received by the receiving module 20 carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; the routing module 30 indicates that the core network identifier needs to be matched in the first field. When the core network identifier in the second field is valid, it is determined that the access request carries the core network identifier to be matched; the routing module 30 indicates in the first field that the core network identifier in the second field does not need to be matched or When it is invalid, it is determined that the access request does not carry the core network identifier to be matched.
此外,本发明实施例还提供一种基站,包括处理器和存储器,存储器中存储有处理器可执行的指令,当指令被处理器执行时,执行上述配置模块10、接收模块20以及选路模块30的功能。In addition, an embodiment of the present invention further provides a base station, including a processor and a memory, where the processor stores instructions executable by the processor, and when the instruction is executed by the processor, executing the configuration module 10, the receiving module 20, and the routing module. 30 features.
实施例二Embodiment 2
本实施例提供一种终端接入方法,应用于包括多个核心网的移动网络中的主核心网,如图3所示,所述方法包括以下步骤:This embodiment provides a terminal access method, which is applied to a primary core network in a mobile network including multiple core networks. As shown in FIG. 3, the method includes the following steps:
步骤210,所述主核心网接收到基站发送的接入请求,从所述接入请求中获取用户标识信息;Step 210: The primary core network receives an access request sent by the base station, and obtains user identification information from the access request.
步骤220,所述主核心网根据配置的用户标识信息与所述多个核心网的对应关系,查找所述用户标识信息对应的核心网;Step 220: The primary core network searches for a core network corresponding to the user identifier information according to the corresponding relationship between the configured user identifier information and the multiple core networks.
步骤230,如查找到的核心网为其他核心网,所述主核心网向所述基站返回重定向消息,所述重定向消息携带查找到的核心网的标识信息以指示终端接入所述核心网。Step 230: If the found core network is another core network, the primary core network returns a redirect message to the base station, where the redirect message carries the identifier information of the found core network to indicate that the terminal accesses the core. network.
可选地,Optionally,
所述主核心网查找所述用户标识信息对应的核心网之后,该方法还包括:如查找到的核心网为所述主核心网,所述主核心网向所述基站返回接入应答消息。 After the primary core network searches for the core network corresponding to the user identifier information, the method further includes: if the found core network is the primary core network, the primary core network returns an access response message to the base station.
可选地,Optionally,
所述主核心网与所述移动网络的其他核心网互不相通,或者虽然相通但不存在负荷分担关系。The primary core network and the other core networks of the mobile network are not in communication with each other, or although they are connected, there is no load sharing relationship.
本实施例还提供了一种移动网络中的主核心网,所述移动网络包括主核心网和次核心网,如图4所示,所述主核心网包括:The embodiment also provides a primary core network in a mobile network, where the mobile network includes a primary core network and a secondary core network. As shown in FIG. 4, the primary core network includes:
配置模块40,设置为:配置用户标识信息与所述多个核心网的对应关系;The configuration module 40 is configured to: configure a correspondence between the user identification information and the plurality of core networks;
接收模块50,设置为:接收基站发送的接入请求,从所述接入请求中获取用户标识信息;The receiving module 50 is configured to: receive an access request sent by the base station, and obtain user identification information from the access request;
响应模块60,设置为:根据所述配置模块40配置的用户标识信息与所述多个核心网的对应关系,查找所述用户标识信息对应的核心网,如查找到的核心网为其他核心网,向所述基站返回重定向消息,其中,所述重定向消息携带查找到的核心网的标识信息以指示终端接入所述核心网。The response module 60 is configured to: according to the correspondence between the user identifier information configured by the configuration module 40 and the plurality of core networks, search for a core network corresponding to the user identifier information, for example, the found core network is another core network. Redirecting a redirect message to the base station, where the redirect message carries the identified identity information of the core network to indicate that the terminal accesses the core network.
可选地,Optionally,
所述响应模块60还设置为:如查找到的核心网为所述主核心网,则向所述基站返回接入应答消息。The response module 60 is further configured to: if the found core network is the primary core network, return an access response message to the base station.
实施例三Embodiment 3
本实施例提供一种终端接入方法,应用于终端,如图5所示,所述方法包括以下步骤:This embodiment provides a terminal access method, which is applied to a terminal. As shown in FIG. 5, the method includes the following steps:
步骤310,终端生成接入请求,所述接入请求包括表示移动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;Step 310: The terminal generates an access request, where the access request includes a field indicating a mobile network identifier, a field indicating a user identifier, and a field indicating core network information.
步骤320,所述终端向基站发送所述接入请求。Step 320: The terminal sends the access request to a base station.
可选地,Optionally,
所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,所述表示核心网信息的字段包括表示核心网标识的字段。The field indicating the core network information includes a first field indicating whether the core network identifier needs to be matched and a second field indicating the core network identifier; or the field indicating the core network information includes a field indicating the core network identifier.
相应地,本实施例还提供一种终端,如图6所示,包括:Correspondingly, the embodiment further provides a terminal, as shown in FIG. 6, comprising:
生成模块70,设置为:生成接入请求,其中,所述接入请求包括表示移 动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;The generating module 70 is configured to: generate an access request, where the access request includes a representation a field of the mobile network identifier, a field indicating the user identifier, and a field indicating the core network information;
发送模块80,设置为:向基站发送所述接入请求。The sending module 80 is configured to: send the access request to the base station.
其中,所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,所述表示核心网信息的字段包括表示核心网标识的字段。The field indicating the core network information includes a first field indicating whether the core network identifier needs to be matched and a second field indicating the core network identifier; or the field indicating the core network information includes a field indicating the core network identifier.
此外,本发明实施例还提供一种终端,包括处理器和存储器,存储器中存储有处理器可执行的指令,当指令被处理器执行时,执行上述生成模块70以及发送模块80的功能。In addition, an embodiment of the present invention further provides a terminal, including a processor and a memory, where the processor stores instructions executable by the processor, and when the instructions are executed by the processor, performs the functions of the generating module 70 and the sending module 80.
下面再用几个应用示例进行说明。Here are a few more application examples to illustrate.
应用示例一Application example one
本示例的工作流程如图7所示,包括以下步骤:The workflow of this example is shown in Figure 7, and includes the following steps:
第1步,终端在发送给基站的接入请求中携带PLMN标识、用户标识信息及不需要匹配核心网标识的指示信息;In the first step, the terminal carries the PLMN identifier, the user identifier information, and the indication information that does not need to match the core network identifier in the access request sent to the base station;
其中,PLMN标识用于表示请求接入的移动网络。基站可以配置一个或多个PLMN(也可以是其他移动网络),本示例假定终端请求接入的PLMN有多个核心网且所述多个核心网不存在负荷分担关系,也即终端只能接入其对应的核心网才能够正常通信。The PLMN identity is used to indicate the mobile network requesting access. The base station can be configured with one or more PLMNs (other mobile networks). This example assumes that the PLMN that the terminal requests to access has multiple core networks, and the multiple core networks do not have a load sharing relationship. Only the corresponding core network can communicate normally.
本示例中,接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段,其中,第一字段的值表示不需要匹配核心网标识,此时即可确定接入请求未携带待匹配的核心网标识。如果第一字段的值表示需要匹配核心网标识,但第二字段中的核心网标识无效如为约定的无效值(如空值),也确定接入请求未携带待匹配的核心网标识。在第一字段的值表示需要匹配核心网标识且第二字段中的核心网标识有效如非约定的无效值时,才确定接入请求携带待匹配的核心网标识。In this example, the access request carries a first field indicating whether a core network identifier needs to be matched, and a second field indicating a core network identifier, where the value of the first field indicates that the core network identifier does not need to be matched, and the identifier can be determined at this time. The access request does not carry the core network identifier to be matched. If the value of the first field indicates that the core network identifier needs to be matched, but the core network identifier in the second field is invalid as the agreed invalid value (such as a null value), it is also determined that the access request does not carry the core network identifier to be matched. When the value of the first field indicates that the core network identifier needs to be matched and the core network identifier in the second field is valid, such as a non-agreed invalid value, it is determined that the access request carries the core network identifier to be matched.
在另一示例中,接入请求中可以只携带表示核心网标识的字段,如果该字段中的核心网标识有效,则确定接入请求携带待匹配的核心网标识,如果无效,则确定接入请求未携带待匹配的核心网标识。In another example, the access request may only carry a field indicating the identity of the core network. If the core network identifier in the field is valid, it is determined that the access request carries the core network identifier to be matched, and if not, the access is determined. The request does not carry the core network identifier to be matched.
第2步,基站收到接入请求后,根据PLMN确定终端请求接入的移动网 络,在所述接入请求未携带待匹配的核心网标识时,判断所述主核心网是否可路由,本示例假定可路由即选路成功,此时向主核心网发送接入请求;In the second step, after receiving the access request, the base station determines, according to the PLMN, the mobile network that the terminal requests to access. If the access request does not carry the core network identifier to be matched, it is determined whether the primary core network is routable. This example assumes that the routable route is successful, and the access request is sent to the primary core network.
如果基站没有查找到与所述PLMN标识匹配的移动网络,则接入失败。If the base station does not find a mobile network that matches the PLMN identity, the access fails.
第3步,主核心网收到接入请求后,根据用户标识信息(如国际移动用户识别码(IMSI,International Mobile Subscriber Identification Number)号段但不限于此)等信息,查找配置的用户标识信息与所述移动网络的多个核心网的对应关系(如号段与核心网的对应关系),本示例假定查找到的核心网为次核心网,主核心网发送重定向消息带给基站,所述重定向消息携带所述次核心网的标识以指示终端接入所述次核心网;Step 3: After receiving the access request, the primary core network searches for the configured user identification information according to the information of the user identification information (such as the International Mobile Subscriber Identification Number (IMSI), but not limited to this). Corresponding relationship with the plurality of core networks of the mobile network (such as the correspondence between the segment and the core network), this example assumes that the found core network is the secondary core network, and the primary core network sends a redirect message to the base station. The redirect message carries an identifier of the secondary core network to indicate that the terminal accesses the secondary core network;
第4步,基站收到重定向消息后,判断其中指示的核心网(可以是次核心网,有多个主核心网时,也可以是另一主核心网)可路由,向所述次核心网重新发送接入请求以完成接入流程。Step 4: After receiving the redirect message, the base station determines that the core network indicated therein (which may be a secondary core network, when there are multiple primary core networks, or another primary core network) may be routed to the secondary core. The network resends the access request to complete the access procedure.
第5步,终端、基站和所述次核心网交互完成接入。In the fifth step, the terminal, the base station, and the secondary core network interact to complete the access.
应用示例二Application example two
本示例的工作流程如图8所示,包括以下步骤:The workflow of this example is shown in Figure 8, which includes the following steps:
第1步,终端在发送给基站的接入请求中携带PLMN标识、用户标识信息、需要匹配核心网标识的指示信息及核心网标识;In the first step, the terminal carries the PLMN identifier, the user identifier information, the indication information that needs to match the core network identifier, and the core network identifier in the access request sent to the base station;
第2步,基站收到接入请求后,根据PLMN确定终端请求接入的移动网络,在所述接入请求携带待匹配的核心网标识时,判断所述核心网标识匹配的核心网是否可路由,本示例假定该核心网为次核心网(也可能是主核心网)且可路由即选路成功,此时向所述次核心网发送接入请求;Step 2: After receiving the access request, the base station determines, according to the PLMN, the mobile network that the terminal requests to access, and when the access request carries the core network identifier to be matched, determines whether the core network that matches the core network identifier is available. Routing, this example assumes that the core network is a secondary core network (and possibly a primary core network) and the routing is successful, and an access request is sent to the secondary core network.
第3步,终端、基站和所述次核心网交互以完成接入。In step 3, the terminal, the base station, and the secondary core network interact to complete the access.
应用示例三Application example three
本示例的工作流程如图9所示,包括以下步骤:The workflow of this example is shown in Figure 9, and includes the following steps:
第1步,终端在发送给基站的接入请求中携带PLMN标识、用户标识信息、需要匹配核心网标识的指示信息及核心网标识;In the first step, the terminal carries the PLMN identifier, the user identifier information, the indication information that needs to match the core network identifier, and the core network identifier in the access request sent to the base station;
第2步,基站收到接入请求后,根据PLMN确定终端请求接入的移动网 络,在所述接入请求携带待匹配的核心网标识时,判断所述核心网标识是否匹配到可路由的核心网,本示例假定匹配不到即选路失败;In the second step, after receiving the access request, the base station determines, according to the PLMN, the mobile network that the terminal requests to access. If the access request carries the core network identifier to be matched, it is determined whether the core network identifier matches the routable core network, and the example assumes that the matching fails, that is, the routing fails;
匹配不到可路由的核心网,可能是从配置信息中查找不到所述移动网络下的具有该核心网标识的核心网,也可能是查找到的核心网不可路由。If the core network with the core network identifier is not found in the configuration information, the core network with the core network identifier may not be found in the configuration information.
第3步,基站判断所述移动网络的主核心网是否可路由,本示例假定可路由即选路成功,此时向主核心网发送接入请求;In the third step, the base station determines whether the primary core network of the mobile network is routable. This example assumes that the routable route is successful, and the access request is sent to the primary core network.
第4-6步,同应用示例一的第3-5步。Steps 4-6, the same as step 3-5 of the application example one.
应用示例四Application example four
本示例针对不需要匹配核心网标识但主核心网不可路由的情况,基站可以向次核心网发送接入请求。This example is for a case where the core network identity does not need to be matched but the primary core network is not routable, and the base station can send an access request to the secondary core network.
本示例的工作流程包括以下步骤:The workflow for this example includes the following steps:
第1步,终端在发送给基站的接入请求中携带PLMN标识、用户标识信息及不需要匹配核心网标识的指示信息;In the first step, the terminal carries the PLMN identifier, the user identifier information, and the indication information that does not need to match the core network identifier in the access request sent to the base station;
第2步,基站收到接入请求后,根据PLMN确定终端请求接入的移动网络,在所述接入请求未携带待匹配的核心网标识时,判断所述主核心网是否可路由,本示例假定不可路由即选路失败;In the second step, after receiving the access request, the base station determines, according to the PLMN, the mobile network that the terminal requests to access, and determines whether the primary core network is routable when the access request does not carry the core network identifier to be matched. The example assumes that non-routing, that is, routing failure;
主核心网不可路由可能是该PLMN下没有配置主核心网,也可能是配置了主核心网但基站到该主核心网的链路故障。The main core network may not be routed. The primary core network may not be configured under the PLMN, or the link of the primary core network but the base station to the primary core network may be faulty.
第3步,基站向所述移动网络可路由的次核心网发送接入请求。In step 3, the base station sends an access request to the secondary core network routable by the mobile network.
如果次核心网根据接入请求中的用户标识信息判断该用户是自己服务的用户,会向基站返回接入响应,如果不是自己服务的用户,可以返回匹配失败的通知,基站还可以继续向所述移动网络中其他可路由的次核心网发送接入请求。If the secondary core network determines that the user is the user that serves the user according to the user identification information in the access request, the access response is returned to the base station, and if the user is not the user, the notification of the matching failure may be returned, and the base station may continue to the office. Other routable sub-core networks in the mobile network send access requests.
应用示例五Application example five
本示例针对需要匹配核心网标识但匹配不到可路由的核心网,且主核心网也不可路由的情况。This example is for a core network that needs to match the core network identity but does not match the routable core, and the primary core network is also not routable.
本示例的工作流程包括以下步骤: The workflow for this example includes the following steps:
第1步,终端在发送给基站的接入请求中携带PLMN标识、用户标识信息、需要匹配核心网标识的指示信息及核心网标识;In the first step, the terminal carries the PLMN identifier, the user identifier information, the indication information that needs to match the core network identifier, and the core network identifier in the access request sent to the base station;
第2步,基站收到接入请求后,根据PLMN确定终端请求接入的移动网络,在所述接入请求携带待匹配的核心网标识时,判断所述核心网标识是否匹配到可路由的核心网,本示例假定匹配不到即选路失败;In the second step, after receiving the access request, the base station determines, according to the PLMN, the mobile network that the terminal requests to access, and when the access request carries the core network identifier to be matched, determines whether the core network identifier matches the routable Core network, this example assumes that the match fails and the route fails;
第3步,基站判断所述移动网络的主核心网是否可路由,本示例假定不可路由即选路再次失败;In step 3, the base station determines whether the primary core network of the mobile network is routable, and the example assumes that the non-routable, that is, the routing fails again;
第4步,基站向所述移动网络可路由的次核心网发送接入请求。In step 4, the base station sends an access request to the secondary core network routable by the mobile network.
如果次核心网根据接入请求中的用户标识信息判断该用户是自己服务的用户,会向基站返回接入响应,如果不是自己服务的用户,可以返回匹配失败的通知,基站还可以继续向所述移动网络中其他可路由的次核心网发送接入请求。If the secondary core network determines that the user is the user that serves the user according to the user identification information in the access request, the access response is returned to the base station, and if the user is not the user, the notification of the matching failure may be returned, and the base station may continue to the office. Other routable sub-core networks in the mobile network send access requests.
上述方案解决了同一移动网络包括多个核心网时,终端如何接入归属的特定核心网的问题,对接入请求带不带核心网标识等多种情况都可以处理,并且还可以增加选路失败情况下的兼容处理,提高接入成功率。The foregoing solution solves the problem of how the terminal accesses the specific core network belonging to the same when the same mobile network includes multiple core networks, and can handle various situations such as the access request without the core network identifier, and can also increase the routing. Compatible processing in case of failure, improving access success rate.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于基站的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions that implement a terminal access method applied to a base station when the computer executable instructions are executed.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于主核心网的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium storing computer executable instructions, which are implemented to implement a terminal access method applied to a primary core network.
此外,本发明实施例还提供一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现应用于终端的终端接入方法。In addition, an embodiment of the present invention further provides a computer readable storage medium, where computer executable instructions are stored, and when the computer executable instructions are executed, a terminal access method applied to the terminal is implemented.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘) 中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments. Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic). Disc, CD) The instructions include a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件(例如处理器)完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,例如通过集成电路来实现其相应功能,也可以采用软件功能模块的形式实现,例如通过处理器执行存储于存储器中的程序/指令来实现其相应功能。本申请不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be performed by a program to instruct related hardware, such as a processor, which may be stored in a computer readable storage medium, such as a read only memory, disk or optical disk. Wait. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the above embodiment may be implemented in the form of hardware, for example, by implementing an integrated circuit to implement its corresponding function, or may be implemented in the form of a software function module, for example, executing a program stored in the memory by a processor. / instruction to achieve its corresponding function. This application is not limited to any specific combination of hardware and software.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above is only a preferred embodiment of the present application, and is not intended to limit the scope of the patent application, and the equivalent structure or equivalent process transformations made by the specification and the drawings of the present application, or directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of this application.
工业实用性Industrial applicability
本发明实施例提供一种终端接入方法及相应的终端、基站和主核心网,解决了同一移动网络包括多个核心网时,终端如何接入归属的特定核心网的问题,对接入请求带不带核心网标识等多种情况都可以处理,并且还可以增加选路失败情况下的兼容处理,提高接入成功率。 The embodiment of the present invention provides a terminal access method, a corresponding terminal, a base station, and a main core network, which solves the problem of how the terminal accesses a specific core network when the same mobile network includes multiple core networks, and access requests It can be processed in a variety of situations, such as without the core network identifier, and it can also increase the compatibility processing in the case of routing failures, and improve the access success rate.

Claims (25)

  1. 一种终端接入方法,应用于至少与一移动网络的多个核心网连接的基站,所述多个核心网中具有重定向功能的核心网为主核心网,其他核心网为次核心网,所述方法包括:A terminal access method is applied to a base station connected to at least a plurality of core networks of a mobile network, wherein a core network having a redirection function in the plurality of core networks is a primary core network, and other core networks are a secondary core network. The method includes:
    所述基站接收到终端发送的指示接入所述移动网络的接入请求;Receiving, by the base station, an access request sent by the terminal to access the mobile network;
    如所述接入请求未携带待匹配的核心网标识且所述主核心网可路由,所述基站向所述主核心网发送接入请求;If the access request does not carry the core network identifier to be matched and the primary core network is routable, the base station sends an access request to the primary core network;
    如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。If receiving the redirect message returned by the primary core network and the core network indicated in the redirect message is routable, the base station resends the access request to the indicated core network.
  2. 如权利要求1所述的方法,所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:如所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网,所述基站向匹配到的所述核心网发送接入请求。The method of claim 1, after the base station receives the access request sent by the terminal to access the mobile network, the method further includes: if the access request carries the core network identifier to be matched, and according to The core network identifier is matched to a routable core network, and the base station sends an access request to the matched core network.
  3. 如权利要求2所述的方法,所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:The method of claim 2, after the base station receives the access request sent by the terminal to access the mobile network, the method further includes:
    如所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由,所述基站向所述主核心网发送接入请求;If the access request carries a core network identifier to be matched but does not match the routable core network according to the core network identifier, and the primary core network is routable, the base station sends an access to the primary core network. request;
    如接收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。If receiving the redirect message returned by the primary core network and the core network indicated in the redirect message is routable, the base station resends the access request to the indicated core network.
  4. 如权利要求1或2或3所述的方法,所述基站向所述主核心网发送接入请求之后,该方法还包括:The method of claim 1 or 2 or 3, after the base station sends an access request to the primary core network, the method further includes:
    如接收到所述主核心网返回的接入应答消息,所述基站确定所述主核心网为所述终端接入的核心网。Receiving an access response message returned by the primary core network, the base station determines that the primary core network is a core network accessed by the terminal.
  5. 如权利要求1所述的方法,所述基站接收到终端发送的指示接入所述移动网络的接入请求之后,该方法还包括:The method of claim 1, after the base station receives the access request sent by the terminal to access the mobile network, the method further includes:
    如所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网 标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由,所述基站向所述移动网络可路由的次核心网发送接入请求。If the access request does not carry the core network identifier to be matched and/or carries the core network to be matched The core network is identified but not routable according to the core network identifier, and the primary core network is not routable, and the base station sends an access request to the secondary core network routable by the mobile network.
  6. 如权利要求1或2或3或5所述的方法,其中,The method of claim 1 or 2 or 3 or 5, wherein
    所述接入请求中携带表示核心网标识的字段;如所述字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如所述字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识;或者,The access request carries a field indicating a core network identifier; if the core network identifier in the field is valid, the base station determines that the access request carries a core network identifier to be matched; If the identifier is invalid, the base station determines that the access request does not carry the core network identifier to be matched; or
    所述接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;如第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效,所述基站确定所述接入请求携带待匹配的核心网标识;如第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效,所述基站确定所述接入请求未携带待匹配的核心网标识。The access request carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; if the first field indicates that the core network identifier needs to be matched and the core network identifier in the second field is valid, Determining, by the base station, that the access request carries a core network identifier to be matched; if the first field indicates that the core network identifier does not need to be matched or the core network identifier in the second field is invalid, the base station determines that the access request does not carry a to-be-matched Core network identity.
  7. 如权利要求1所述的方法,其中,所述移动网络的多个核心网互不相通,或者,所述移动网络的多个核心网相通但不存在负荷分担关系。The method of claim 1, wherein the plurality of core networks of the mobile network are not connected to each other, or the plurality of core networks of the mobile network are connected but there is no load sharing relationship.
  8. 一种基站,至少与一移动网络的多个核心网连接,包括:A base station, connected to at least a plurality of core networks of a mobile network, including:
    配置模块,设置为:将所述多个核心网中具有重定向功能的核心网配置为主核心网,其它核心网配置为次核心网,并管理所述多个核心网的路由;a configuration module, configured to: configure a core network having a redirection function in the plurality of core networks as a primary core network, and configure other core networks as a secondary core network, and manage routes of the multiple core networks;
    接收模块,设置为:接收终端发送的指示接入所述移动网络的接入请求;The receiving module is configured to: receive an access request sent by the terminal to access the mobile network;
    选路模块,设置为:在所述接入请求未携带待匹配的核心网标识且所述主核心网可路由时,向所述主核心网发送接入请求;如收到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,向所述指示的核心网重新发送接入请求。a routing module, configured to: when the access request does not carry a core network identifier to be matched, and the primary core network is routable, send an access request to the primary core network; if the primary core network is received The returned redirect message and the core network indicated in the redirect message are routable, resending the access request to the indicated core network.
  9. 如权利要求8所述的基站,其中,所述选路模块还设置为:在所述接入请求携带待匹配的核心网标识且根据所述核心网标识匹配到可路由的核心网时,向匹配到的所述核心网发送接入请求。The base station according to claim 8, wherein the routing module is further configured to: when the access request carries a core network identifier to be matched and matches the core network identifier to a routable core network, The matched core network sends an access request.
  10. 如权利要求9所述的基站,其中,所述选路模块还设置为:在所述接入请求携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网可路由时,向所述主核心网发送接入请求;如接收 到所述主核心网返回的重定向消息且所述重定向消息中指示的核心网可路由,所述基站向所述指示的核心网重新发送接入请求。The base station according to claim 9, wherein the routing module is further configured to: carry the core network identifier to be matched in the access request but cannot match the routable core network according to the core network identifier, and Sending an access request to the primary core network when the primary core network is routable; And the core network indicated in the redirect message is routable, and the base station resends the access request to the indicated core network.
  11. 如权利要求8或9或10所述的基站,其中,所述选路模块还设置为:在向所述主核心网发送接入请求之后,如接收到所述主核心网返回的接入应答消息,确定所述主核心网为所述终端接入的核心网。The base station according to claim 8 or 9 or 10, wherein the routing module is further configured to: after receiving an access request to the primary core network, receive an access response returned by the primary core network The message determines that the primary core network is a core network accessed by the terminal.
  12. 如权利要求8所述的基站,其中,所述选路模块还设置为:在所述接入请求未携带待匹配的核心网标识和/或携带待匹配的核心网标识但根据所述核心网标识匹配不到可路由的核心网,且所述主核心网不可路由时,向所述移动网络可路由的次核心网发送接入请求。The base station according to claim 8, wherein the routing module is further configured to: the access request does not carry a core network identifier to be matched and/or carry a core network identifier to be matched but according to the core network When the identifier does not match the routable core network, and the primary core network is not routable, an access request is sent to the secondary core network routable by the mobile network.
  13. 如权利要求8或9或10或12所述的基站,其中,A base station according to claim 8 or 9 or 10 or 12, wherein
    所述接收模块接收的接入请求中携带表示核心网标识的字段;所述选路模块在所述字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块在所述字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识;或者,The access request received by the receiving module carries a field indicating a core network identifier; when the core network identifier in the field is valid, the routing module determines that the access request carries a core network identifier to be matched; When the core network identifier in the field is invalid, the routing module does not carry the core network identifier to be matched; or
    所述接收模块接收的接入请求中携带表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;所述选路模块在第一字段表示需要匹配核心网标识且第二字段中的核心网标识有效时,确定所述接入请求携带待匹配的核心网标识;所述选路模块在第一字段表示无需匹配核心网标识或者第二字段中的核心网标识无效时,确定所述接入请求未携带待匹配的核心网标识。The access request received by the receiving module carries a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; the routing module indicates that the core network identifier needs to be matched in the first field, and the second When the core network identifier in the field is valid, determining that the access request carries the core network identifier to be matched; the routing module indicates that the first field indicates that the core network identifier does not need to be matched or the core network identifier in the second field is invalid. Determining that the access request does not carry a core network identifier to be matched.
  14. 一种终端接入方法,应用于包括多个核心网的移动网络中的主核心网,所述方法包括:A terminal access method is applied to a primary core network in a mobile network including multiple core networks, and the method includes:
    所述主核心网接收到基站发送的接入请求,从所述接入请求中获取用户标识信息;Receiving, by the primary core network, an access request sent by the base station, and acquiring user identification information from the access request;
    所述主核心网根据配置的用户标识信息与所述多个核心网的对应关系,查找所述用户标识信息对应的核心网;The primary core network searches for a core network corresponding to the user identification information according to the corresponding relationship between the configured user identification information and the multiple core networks;
    如查找到的核心网为其他核心网,所述主核心网向所述基站返回重定向消息,所述重定向消息携带查找到的核心网的标识信息以指示终端接入所述 核心网。If the found core network is another core network, the primary core network returns a redirect message to the base station, where the redirect message carries the identifier information of the found core network to indicate that the terminal accesses the Core Network.
  15. 如权利要求14所述的方法,所述主核心网查找所述用户标识信息对应的核心网之后,该方法还包括:The method of claim 14, after the primary core network searches for the core network corresponding to the user identification information, the method further includes:
    如查找到的核心网为所述主核心网,所述主核心网向所述基站返回接入应答消息。If the found core network is the primary core network, the primary core network returns an access response message to the base station.
  16. 如权利要求14或15所述的方法,其中,所述主核心网与所述移动网络的其他核心网互不相通,或者虽然相通但不存在负荷分担关系。The method according to claim 14 or 15, wherein the primary core network and the other core networks of the mobile network are not in communication with each other, or although there is no communication load sharing relationship.
  17. 一种移动网络中的主核心网,所述移动网络包括主核心网和次核心网,所述主核心网包括:A primary core network in a mobile network, the mobile network comprising a primary core network and a secondary core network, the primary core network comprising:
    配置模块,设置为:配置用户标识信息与所述多个核心网的对应关系;The configuration module is configured to: configure a correspondence between the user identification information and the plurality of core networks;
    接收模块,设置为:接收基站发送的接入请求,从所述接入请求中获取用户标识信息;The receiving module is configured to: receive an access request sent by the base station, and obtain user identification information from the access request;
    响应模块,设置为:根据所述配置模块配置的用户标识信息与所述多个核心网的对应关系,查找所述用户标识信息对应的核心网,如查找到的核心网为次核心网,向所述基站返回重定向消息,其中,所述重定向消息携带所述次核心网的标识信息以指示终端接入所述次核心网。The response module is configured to: according to the correspondence between the user identifier information configured by the configuration module and the plurality of core networks, search for a core network corresponding to the user identifier information, and if the found core network is a secondary core network, The base station returns a redirect message, where the redirect message carries the identifier information of the secondary core network to indicate that the terminal accesses the secondary core network.
  18. 如权利要求17所述的主核心网,其中,所述响应模块还设置为:如查找到的核心网为所述主核心网,则向所述基站返回接入应答消息。The primary core network of claim 17, wherein the response module is further configured to: return an access response message to the base station if the discovered core network is the primary core network.
  19. 一种终端接入方法,应用于终端,所述方法包括:A terminal access method is applied to a terminal, and the method includes:
    终端生成接入请求,所述接入请求包括表示移动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;The terminal generates an access request, where the access request includes a field indicating a mobile network identifier, a field indicating a user identifier, and a field indicating core network information;
    所述终端向基站发送所述接入请求。The terminal sends the access request to a base station.
  20. 如权利要求19所述的方法,其中,The method of claim 19, wherein
    所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,The field indicating the core network information includes a first field indicating whether a core network identifier needs to be matched, and a second field indicating a core network identifier; or
    所述表示核心网信息的字段包括表示核心网标识的字段。The field representing the core network information includes a field indicating the identity of the core network.
  21. 一种终端,包括: A terminal comprising:
    生成模块,设置为:生成接入请求,其中,所述接入请求包括表示移动网络标识的字段、表示用户标识的字段及表示核心网信息的字段;a generating module, configured to: generate an access request, where the access request includes a field indicating a mobile network identifier, a field indicating a user identifier, and a field indicating core network information;
    发送模块,设置为:向基站发送所述接入请求。The sending module is configured to: send the access request to the base station.
  22. 根据权利要求21所述的终端,其中,所述表示核心网信息的字段包括表示是否需要匹配核心网标识的第一字段和表示核心网标识的第二字段;或者,所述表示核心网信息的字段包括表示核心网标识的字段。The terminal according to claim 21, wherein the field indicating the core network information includes a first field indicating whether a core network identifier needs to be matched and a second field indicating a core network identifier; or the core network information is indicated. The field includes a field that represents the core network identity.
  23. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求1至7任一项所述的方法。A computer readable storage medium storing computer executable instructions that, when executed, implement the method of any one of claims 1 to 7.
  24. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求14至16任一项所述的方法。A computer readable storage medium storing computer executable instructions that, when executed, implement the method of any one of claims 14-16.
  25. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令被执行时实现权利要求19至20任一项所述的方法。 A computer readable storage medium storing computer executable instructions that, when executed, implement the method of any one of claims 19 to 20.
PCT/CN2016/075777 2015-06-29 2016-03-07 Terminal access method and corresponding terminal, base station and main core network WO2017000583A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510371516.1 2015-06-29
CN201510371516.1A CN106304274A (en) 2015-06-29 2015-06-29 A kind of terminal access method and corresponding terminal, base station and main core net

Publications (1)

Publication Number Publication Date
WO2017000583A1 true WO2017000583A1 (en) 2017-01-05

Family

ID=57607749

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/075777 WO2017000583A1 (en) 2015-06-29 2016-03-07 Terminal access method and corresponding terminal, base station and main core network

Country Status (2)

Country Link
CN (1) CN106304274A (en)
WO (1) WO2017000583A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109392056B (en) * 2017-08-03 2020-10-13 电信科学技术研究院 Method for accessing terminal to core network, base station and terminal
CN110557803B (en) * 2018-05-31 2022-04-12 成都鼎桥通信技术有限公司 Method for distributing core network for group terminal
CN110557804B (en) * 2018-05-31 2022-04-12 成都鼎桥通信技术有限公司 Method for residing terminal in core network in group

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800930A (en) * 2009-02-11 2010-08-11 中兴通讯美国公司 Terminal redirecting method and wireless communication method
CN101873725A (en) * 2009-04-24 2010-10-27 中兴通讯股份有限公司 Access control method and core network
US8121600B2 (en) * 2008-12-30 2012-02-21 Motorola Mobility, Inc. Wide area mobile communications over femto-cells

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257707B (en) * 2007-03-01 2011-03-16 中兴通讯股份有限公司 Routing method when mobile terminal activating service in wireless network
CN101998355B (en) * 2009-08-25 2014-12-31 中兴通讯股份有限公司 Routing redirection method and system for user information query

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8121600B2 (en) * 2008-12-30 2012-02-21 Motorola Mobility, Inc. Wide area mobile communications over femto-cells
CN101800930A (en) * 2009-02-11 2010-08-11 中兴通讯美国公司 Terminal redirecting method and wireless communication method
CN101873725A (en) * 2009-04-24 2010-10-27 中兴通讯股份有限公司 Access control method and core network

Also Published As

Publication number Publication date
CN106304274A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN109922472B (en) Acquisition of user policy
CN102299954B (en) For the context-specific network resource addressing system and method for Distributed Services
US11496954B2 (en) Methods, systems, and computer readable media for supporting multiple preferred localities for network function (NF) discovery and selection procedures
US11589298B2 (en) Methods, systems, and computer readable media for selecting multiple network function types using a single discovery request
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN114788315A (en) Policy-based access and mobility management function (AMF) selection using Network Slice Selection Assistance Information (NSSAI) availability information
US20220103990A1 (en) Communication Method, Apparatus, and System
US11930083B2 (en) Methods, systems, and computer readable media for processing network function (NF) discovery requests at NF repository function (NRF) using prioritized lists of preferred locations
US20220394597A1 (en) Methods, systems, and computer readable media for applying or overriding preferred locality criteria in processing network function (nf) discovery requests
US10924533B2 (en) System, apparatus and method for load balancing
CN111565404A (en) Data distribution method and device
US20210392522A1 (en) Communication method and apparatus, entity, and storage medium
CN106686752B (en) It is a kind of that the method and apparatus being wirelessly connected is established by the first application on user equipment
US11871309B2 (en) Methods, systems, and computer readable media for network function discovery using preferred-locality information
WO2018000202A1 (en) Load migration method, apparatus and system
US11888957B2 (en) Methods, systems, and computer readable media for locality and serving scope set based network function (NF) profile prioritization and message routing
WO2017000583A1 (en) Terminal access method and corresponding terminal, base station and main core network
US9350606B2 (en) System and method for assigning server to terminal and efficiently delivering messages to the terminal
CN112583880B (en) Server discovery method and related equipment
US20230164110A1 (en) Methods, systems, and computer readable media for dynamically updating domain name system (dns) records from registered network function (nf) profile information
US20230110286A1 (en) Methods, systems, and computer readable media for routing inter-public land mobile network (inter-plmn) messages related to existing subscriptions with network function (nf) repository function (nrf) using security edge protection proxy (sepp)
US20240048986A1 (en) Communication method and apparatus
US20220191777A1 (en) Telecommunications network
WO2023229855A1 (en) Methods, systems, and computer readable media for utilizing network function (nf) service attributes associated with registered nf service producers in a hierarchical network
US11864093B2 (en) Methods, systems, and computer readable media for communicating delegated network function (NF) discovery results between service communication proxies (SCPs) and using the delegated NF discovery results for alternate routing

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

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

Country of ref document: EP

Kind code of ref document: A1