CN114845350A - Routing method and device - Google Patents
Routing method and device Download PDFInfo
- Publication number
- CN114845350A CN114845350A CN202210331513.5A CN202210331513A CN114845350A CN 114845350 A CN114845350 A CN 114845350A CN 202210331513 A CN202210331513 A CN 202210331513A CN 114845350 A CN114845350 A CN 114845350A
- Authority
- CN
- China
- Prior art keywords
- terminal
- ims system
- routing rule
- pdu session
- local
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/1016—IP multimedia subsystem [IMS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/50—Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
- H04M3/51—Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
- H04M3/523—Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing with call distribution or queueing
- H04M3/5232—Call distribution algorithms
- H04M3/5235—Dependent on call type or called number [DNIS]
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Telephonic Communication Services (AREA)
Abstract
本申请实施例公开了一种路由选择方法及装置。本申请中的终端在成功注册至本地IMS系统后,可以获得用于指示终端访问本地IMS系统的第一路由规则,在终端在成功注册至公网IMS系统后,可以获得用于指示终端访问公网IMS系统的第二路由规则,进而针对终端中待执行的呼叫业务,如果该呼叫业务中的目标号码与第一路由规则中的第一类号段信息匹配,则可以通过上述的第一PDU会话执行该呼叫业务,如果上述目标号码与第二路由规则中的第二类号段信息匹配,则可以通过关联公网IMS系统的第二PDU会话执行该呼叫业务,基于上述执行本地数据网络的内部呼叫业务的第一PDU会话只经过本地数据网络,避免了呼叫业务中的私密性数据泄露。
The embodiments of the present application disclose a routing method and device. After the terminal in the present application successfully registers with the local IMS system, it can obtain the first routing rule for instructing the terminal to access the local IMS system. The second routing rule of the network IMS system, and then for the call service to be executed in the terminal, if the target number in the call service matches the first type number segment information in the first routing rule, the above-mentioned first PDU can be used. The call service is executed by the session. If the above-mentioned target number matches the second type number segment information in the second routing rule, the call service can be executed through the second PDU session associated with the public network IMS system, based on the above-mentioned execution of the local data network. The first PDU session of the internal call service only passes through the local data network, which avoids the leakage of private data in the call service.
Description
技术领域technical field
本申请涉及通信领域,特别涉及一种路由选择方法及装置。The present application relates to the field of communications, and in particular, to a routing method and device.
背景技术Background technique
在通信网络系统中,通信网络可以分为公共数据网络(简称公网)和企业搭建的本地数据网络(又称企业数据网络),目前的通信网络系统中属于企业的用户终端(UE)在本地数据网络中进行注册时,会同时向公网数据网络的公网IMS(IP Multimedia Subsystem,IP多媒体子系统)系统和本地数据网络的本地IMS系统中注册,因此企业中的UE在进行属于本地数据网络的内部呼叫业务时会经过公网,导致如企业数据(比如呼叫业务中的语音、视频等呼叫数据)等需要私密性的数据的泄露。In the communication network system, the communication network can be divided into a public data network (referred to as a public network) and a local data network (also known as an enterprise data network) built by an enterprise. When registering in the data network, it will simultaneously register with the public network IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) system of the public network data network and the local IMS system of the local data network. The internal call service of the network will pass through the public network, resulting in the leakage of data that requires privacy, such as enterprise data (such as call data such as voice, video and other call data in the call service).
发明内容SUMMARY OF THE INVENTION
本申请公开了一种路由选择方法、装置及设备,以避免UE执行呼叫业务时本地数据网络中的私密性数据泄露。The present application discloses a routing method, device and device to avoid leakage of privacy data in a local data network when a UE performs a call service.
根据本申请实施例的第一方面,提供一种路由选择方法,该方法应用于终端,包括:According to a first aspect of the embodiments of the present application, a routing method is provided, and the method is applied to a terminal, including:
在获知所述终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,获得用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段;After learning that the terminal has successfully registered with the local IP Multimedia Subsystem IMS system to which the terminal belongs, obtain a first routing rule for instructing the terminal to access the local IMS system, where the first routing rule at least includes the local IMS system and the mapping relationship between the number segment information of the first type, where the number segment information of the first type includes the number segment allocated by the local IMS system;
在获知所述终端成功注册至公网IMS系统后,获得用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段;After learning that the terminal has successfully registered with the public network IMS system, obtain a second routing rule for instructing the terminal to access the public network IMS system, where the second routing rule includes at least the public network IMS system and the second type of routing rules. The mapping relationship between the number segment information, the second type of number segment information includes the number segment allocated by the public network IMS system;
针对待执行的呼叫业务,若所述呼叫业务中的目标号码与所述第一路由规则中的第一类号段信息匹配,则通过与5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;若所述呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配,则通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。For the call service to be executed, if the target number in the call service matches the first type number segment information in the first routing rule, the local IMS system will be associated with the 5G core network device through the association The first protocol data unit PDU session of the first protocol data unit PDU session executes the call service; if the target number in the call service matches the second type number segment information in the second routing rule, the call service is established by establishing a relationship with the 5G core network device. The second PDU session associated with the public network IMS system executes the call service.
根据本申请实施例的第二方面,提供一种路由选择方法,该方法应用于5G核心网设备,包括:According to a second aspect of the embodiments of the present application, a routing method is provided, and the method is applied to 5G core network equipment, including:
在获知终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,向所述终端下发用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段;After learning that the terminal has successfully registered with the local IP multimedia subsystem IMS system to which the terminal belongs, a first routing rule for instructing the terminal to access the local IMS system is delivered to the terminal, where the first routing rule at least includes the The mapping relationship between the local IMS system and the first-type number segment information, where the first-type number segment information includes the number segment allocated by the local IMS system;
在获知所述终端成功注册至公网IMS系统后,向所述终端下发用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段;After learning that the terminal has successfully registered with the public network IMS system, issue a second routing rule to the terminal for instructing the terminal to access the public network IMS system, where the second routing rule at least includes the public network IMS system The mapping relationship between the system and the second type number segment information, where the second type number segment information includes the number segment allocated by the public network IMS system;
其中,所述第一路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第一路由规则中的第一类信息匹配时,指示所述终端通过与所述5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;The first routing rule is used to instruct the terminal to communicate with the 5G core network device when the target number in the call service executed by the terminal matches the first type of information in the first routing rule The first protocol data unit PDU session established between the local IMS system and associated with the local IMS system executes the call service;
所述第二路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配时,指示所述终端通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。The second routing rule is used to instruct the terminal to pass between the terminal and the 5G core network device when the target number in the call service executed by the terminal matches the second type number segment information in the second routing rule. The established second PDU session associated with the public network IMS system executes the call service.
根据本申请实施例的第三方面,提供一种路由选择装置,该装置应用于终端,包括:According to a third aspect of the embodiments of the present application, a routing device is provided, and the device is applied to a terminal, including:
第一路由规则获取单元,用于在获知所述终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,获得用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段;The first routing rule obtaining unit is configured to obtain a first routing rule for instructing the terminal to access the local IMS system after learning that the terminal has successfully registered with the local IP Multimedia Subsystem IMS system to which the terminal belongs. The routing rule includes at least a mapping relationship between the local IMS system and first type number segment information, where the first type number segment information includes the number segment allocated by the local IMS system;
第二路由规则获取单元,用于在获知所述终端成功注册至公网IMS系统后,获得用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段;The second routing rule obtaining unit is configured to obtain a second routing rule for instructing the terminal to access the public network IMS system after learning that the terminal has successfully registered with the public network IMS system, where the second routing rule at least includes all the mapping relationship between the public network IMS system and the second type number segment information, where the second type number segment information includes the number segment allocated by the public network IMS system;
呼叫业务执行单元,用于针对待执行的呼叫业务,若所述呼叫业务中的目标号码与所述第一路由规则中的第一类号段信息匹配,则通过与5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;若所述呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配,则通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。The call service execution unit is configured to, for the call service to be executed, if the target number in the call service matches the first type number segment information in the first routing rule, establish a connection with the 5G core network device. The first protocol data unit PDU session associated with the local IMS system executes the call service; if the target number in the call service matches the second type number segment information in the second routing rule, the The call service is executed in the second PDU session associated with the public network IMS system established between the 5G core network devices.
根据本申请实施例的第四方面,提供一种路由选择装置,该装置应用于5G核心网设备,包括:According to a fourth aspect of the embodiments of the present application, a routing device is provided, and the device is applied to 5G core network equipment, including:
第一路由规则下发单元,用于在获知终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,向所述终端下发用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段;a first routing rule issuing unit, configured to issue a first routing rule for instructing the terminal to access the local IMS system to the terminal after learning that the terminal has successfully registered with the local IP multimedia subsystem IMS system to which the terminal belongs, The first routing rule includes at least the mapping relationship between the local IMS system and the first type of number segment information, where the first type of number segment information includes the number segment allocated by the local IMS system;
第二路由规则下发单元,用于在获知所述终端成功注册至公网IMS系统后,向所述终端下发用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段;The second routing rule issuing unit is configured to issue a second routing rule to the terminal for instructing the terminal to access the public network IMS system after learning that the terminal has successfully registered with the public network IMS system, the first routing rule issuing unit. The second routing rule includes at least the mapping relationship between the public network IMS system and the second type number segment information, and the second type number segment information includes the number segment allocated by the public network IMS system;
其中,所述第一路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第一路由规则中的第一类信息匹配时,指示所述终端通过与所述5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;The first routing rule is used to instruct the terminal to communicate with the 5G core network device when the target number in the call service executed by the terminal matches the first type of information in the first routing rule The first protocol data unit PDU session established between the local IMS system and associated with the local IMS system executes the call service;
所述第二路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配时,指示所述终端通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。The second routing rule is used to instruct the terminal to pass between the terminal and the 5G core network device when the target number in the call service executed by the terminal matches the second type number segment information in the second routing rule. The established second PDU session associated with the public network IMS system executes the call service.
本申请的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
由以上技术方案可知,本申请提供的方案中的终端在成功注册至本地IMS系统后,可以获得用于指示终端访问本地IMS系统的第一路由规则,在终端在成功注册至公网IMS系统后,可以获得用于指示终端访问公网IMS系统的第二路由规则,进而针对终端中待执行的呼叫业务,如果该呼叫业务中的目标号码与第一路由规则中的第一类号段信息匹配(即该呼叫业务为本地数据网络的内部呼叫业务),则可以通过关联本地IMS系统的第一PDU会话执行该呼叫业务,如果上述目标号码与第二路由规则中的第二类号段信息匹配,则可以通过关联公网IMS系统的第二PDU会话执行该呼叫业务,基于上述执行本地数据网络的内部呼叫业务的第一PDU会话只经过本地数据网络,避免了呼叫业务中本地数据网络中的私密性数据泄露。As can be seen from the above technical solutions, after the terminal in the solution provided by the present application successfully registers with the local IMS system, it can obtain the first routing rule for instructing the terminal to access the local IMS system, and after the terminal successfully registers with the public network IMS system , the second routing rule for instructing the terminal to access the public network IMS system can be obtained, and then for the call service to be executed in the terminal, if the target number in the call service matches the first type of number segment information in the first routing rule (that is, the call service is an internal call service of the local data network), the call service can be executed through the first PDU session associated with the local IMS system, if the above-mentioned target number matches the second type number segment information in the second routing rule , the call service can be executed through the second PDU session associated with the public network IMS system, and the first PDU session based on the above-mentioned execution of the internal call service of the local data network only passes through the local data network, avoiding the call service in the local data network. Private data leakage.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not limiting of the present application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本说明书的实施例,并与说明书一起用于解释本说明书的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with this specification and together with the description serve to explain the principles of this specification.
图1是本申请实施例提供的一种5G通信系统的场景图;FIG. 1 is a scene diagram of a 5G communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种路由选择的方法流程图;2 is a flowchart of a method for routing provided by an embodiment of the present application;
图3是本申请实施例提供的另一种路由选择的方法流程图;3 is a flowchart of another routing method provided by an embodiment of the present application;
图4是本申请实施例提供的一种实现路由选择方法的交互示意图;4 is an interactive schematic diagram of a method for implementing routing provided by an embodiment of the present application;
图5是本申请实施例提供的一种路由选择的装置示意图;FIG. 5 is a schematic diagram of a routing device provided by an embodiment of the present application;
图6是本申请实施例提供的另一种路由选择的装置示意图。FIG. 6 is a schematic diagram of another apparatus for routing selection provided by an embodiment of the present application.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application and the appended claims, the singular forms "a," "the," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本申请可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used in this application to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other. For example, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of the present application. Depending on the context, the word "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determining."
为了使本领域技术人员更好地理解本申请实施例提供的技术方案,并使本申请实施例的上述目的、特征和优点能够更加明显易懂,下面先对本申请实施例所应用的场景进行简述:In order for those skilled in the art to better understand the technical solutions provided by the embodiments of the present application, and to make the above objectives, features, and advantages of the embodiments of the present application more obvious and understandable, the following briefly describes the scenarios to which the embodiments of the present application are applied. stated:
作为一个实施例,本申请实施例所应用的可以为图1所示的5G通信网络系统,该5G通信网络系统中包括一个公共数据网络(即图1中的公网)和至少一个企业搭建的本地数据网络(即图1中的企业网)。其中,公共网络中至少包含一个公网IMS(IP MultimediaSubsystem,IP多媒体子系统)系统和一个公网数据中心(即图1中公网的DN,DataNetwork),企业网中至少包含一个本地IMS系统和一个本地数据中心。As an example, the application of the embodiment of the present application may be the 5G communication network system shown in FIG. 1 . The 5G communication network system includes a public data network (that is, the public network in FIG. 1 ) and at least one enterprise built Local data network (ie, the enterprise network in Figure 1). Wherein, the public network includes at least one public network IMS (IP MultimediaSubsystem, IP Multimedia Subsystem) system and a public network data center (that is, the DN of the public network in Figure 1, DataNetwork), and the enterprise network includes at least one local IMS system and one local data center.
其中,公网中的公网IMS系统用于实现在公网IMS系统中注册的各终端之间的多媒体通话(比如终端之间基于终端号码的语音通话、视频通话等),公网数据中心用于对公网中诸如呼叫业务等业务的业务数据进行管理;企业网中的本地IMS系统用于实现在本地IMS系统中注册的各终端之间的多媒体通话,企业网中的本地数据中心用于对企业网中诸如呼叫业务等业务的业务数据进行管理。Among them, the public network IMS system in the public network is used to implement multimedia calls between terminals registered in the public network IMS system (such as voice calls and video calls based on terminal numbers between terminals), and the public network data center uses It is used to manage the service data of services such as call services in the public network; the local IMS system in the enterprise network is used to implement multimedia calls between terminals registered in the local IMS system, and the local data center in the enterprise network is used for Manage the service data of services such as call services in the enterprise network.
作为一个实施例,上述的企业网是由企业向运营商进行本地数据网络搭建申请,在运营商通过企业的本地数据网络搭建申请后,由运营商基于搭建公网时采用的基站、线缆等硬件设备,新建分配给企业的本地数据网络的UPF(User Plane Function,用户面功能)网元,然后基于新建的UPF网元搭建企业的本地数据网络。可选的,上述企业搭建的本地数据网络既可以是单独一个企业向运营商申请的用于处理该企业内部业务的数据网络,也可以是多个具有共同业务的企业一同向运营商申请的用于处理该共同业务的数据网络。As an embodiment, in the above-mentioned enterprise network, the enterprise applies to the operator for the establishment of a local data network. After the operator applies for the establishment of the local data network through the enterprise, the operator uses the base stations, cables, etc. used to build the public network. Hardware equipment, create a UPF (User Plane Function, user plane function) network element allocated to the local data network of the enterprise, and then build the local data network of the enterprise based on the newly created UPF network element. Optionally, the local data network built by the above-mentioned enterprise can be either a data network that a single enterprise applies to the operator for processing the internal business of the enterprise, or a data network that multiple enterprises with common services apply to the operator together. The data network used to handle the common service.
基于上述5G通信网络系统,如果用户的终端为企业分配的用于处理本地数据网络中的内部业务的企业UE,则该企业UE需要同时在公网IMS系统和本地IMS系统中进行注册,以使该企业UE在执行呼叫业务时,既可以向本地IMS系统中注册的其他企业UE呼叫,也可以向公网IMS系统中注册的其他UE呼叫。不过在用户使用企业UE向本地IMS系统中注册的其他企业UE呼叫时,由于用户的企业UE在公网中也进行了注册,该呼叫可能会经过公网IMS系统,导致此次呼叫过程中的呼叫数据泄露。Based on the above 5G communication network system, if the user's terminal is an enterprise UE allocated by an enterprise to process internal services in the local data network, the enterprise UE needs to be registered in both the public network IMS system and the local IMS system to enable When the enterprise UE performs the call service, it can call not only other enterprise UEs registered in the local IMS system, but also other UEs registered in the public network IMS system. However, when the user uses the enterprise UE to make a call to other enterprise UEs registered in the local IMS system, since the user's enterprise UE is also registered in the public network, the call may pass through the public network IMS system, resulting in the call process. Call data breach.
因此,为了保证用户使用企业UE向本地IMS系统中注册其他企业UE呼叫时,只经过本地数据网络,不经过公网,以避免呼叫过程中的呼叫数据泄露,本实施例提供了一种路由选择方法,以使企业UE向本地IMS系统中注册其他企业UE呼叫时,只经过本地数据网络,企业UE向公网IMS系统中注册其他UE呼叫时,只经过公网。Therefore, in order to ensure that when the user uses the enterprise UE to register other enterprise UEs in the local IMS system, it only passes through the local data network and does not pass through the public network, so as to avoid the leakage of call data during the call process, this embodiment provides a route selection method. The method ensures that when the enterprise UE registers other enterprise UE calls in the local IMS system, it only passes through the local data network, and when the enterprise UE registers other UE calls in the public network IMS system, it only passes through the public network.
下面结合附图对本申请实施例提供的路由选择方法作进一步详细的说明。参见图2,图2为本申请实施例提供的一种路由选择的方法流程图。作为一个实施例,图2所示的流程可以应用于诸如智能手机、智能电话手表等可以执行呼叫业务的终端。The routing method provided by the embodiments of the present application will be described in further detail below with reference to the accompanying drawings. Referring to FIG. 2, FIG. 2 is a flowchart of a method for routing selection provided by an embodiment of the present application. As an embodiment, the process shown in FIG. 2 can be applied to terminals that can perform call services, such as smart phones, smart phone watches, and the like.
如图2所示,该流程可以包括以下步骤:As shown in Figure 2, the process can include the following steps:
步骤201,在获知终端成功注册至终端所属的本地IMS系统后,获得用于指示终端访问本地IMS系统的第一路由规则。
其中,上述步骤201中的第一路由规则至少包括本地IMS系统和第一类号段信息之间的映射关系,该第一类号段信息包含本地IMS系统被分配的号段。作为一个实施例,这里本地IMS系统被分配的号段为预先被指定的企业网号段,该企业网号段可以是运营商预先针对公网和企业网划分的,本实施例中本地IMS系统被分配的号段可以是运营商在创建本地IMS系统时从企业网号段中查找到的未使用的号段。Wherein, the first routing rule in the
步骤202,在获知终端成功注册至公网IMS系统后,获得用于指示终端访问公网IMS系统的第二路由规则。
其中,上述步骤202中的第二路由规则至少包括公网IMS系统和第二类号段信息之间的映射关系,该第二类号段信息包含公网IMS系统被分配的号段。作为一个实施例,这里公网IMS系统被分配的号段为预先被指定的公网号段,该公号段可以是运营商预先针对公网和企业网划分的,本实施例中公网IMS系统被分配的号段可以是运营商在创建公网IMS系统时从公网号段中查找到的未使用的号段。Wherein, the second routing rule in the
需要说明的是,上述步骤201和步骤202中之所以需要终端成功注册至本地IMS系统和公网IMS系统,是为了保证终端可以在本地数据网络中正常执行本地数据网络内部呼叫业务、以及保证终端可以在公网数据网络中正常执行呼叫业务。It should be noted that the reason why the terminal is required to successfully register with the local IMS system and the public network IMS system in the
作为一个实施例,终端在本地IMS系统中进行注册可以通过以下步骤:通过与5G核心网设备之间的第一PDU会话发送SIP(Session Initiation Protocol,会话发起协议)注册请求,以由5G核心网设备将SIP注册请求转发给终端所属的本地IMS系统,使得终端成功注册至本地IMS系统。As an embodiment, the terminal can register in the local IMS system through the following steps: send a SIP (Session Initiation Protocol, Session Initiation Protocol) registration request through the first PDU session with the 5G core network device, so that the 5G core network The device forwards the SIP registration request to the local IMS system to which the terminal belongs, so that the terminal successfully registers with the local IMS system.
在本申请实施例中,上述终端在本地IMS系统中进行注册的过程中使用的第一PDU会话是终端在检测到第一PDU会话建立事件时,向5G核心网设备发送第一PDU会话建立请求建立的。本实施例中第一PDU会话建立请求用于指示5G核心网设备在终端和5G核心网设备之间建立用于与本地IMS系统相关联的第一PDU会话,该第一PDU会话用于传递终端与本地IMS系统之间的通讯。In the embodiment of the present application, the first PDU session used by the above-mentioned terminal in the process of registering in the local IMS system is that the terminal sends a first PDU session establishment request to the 5G core network device when detecting the first PDU session establishment event built. In this embodiment, the first PDU session establishment request is used to instruct the 5G core network device to establish a first PDU session for association with the local IMS system between the terminal and the 5G core network device, and the first PDU session is used to transfer the terminal Communication with the local IMS system.
可选的,为了建立终端和本地IMS系统之间的连接,可以在终端中预先配置本地IMS系统的网络标志,使得终端在开机之后自动基于本地IMS系统的网络标识触发第一PDU会话建立事件,终端在检测到第一PDU会话建立事件之后,可以通过向5G核心网设备发送携带本地IMS系统的网络标识的第一PDU会话建立请求,使得5G核心网设备建立与本地IMS系统关联的第一PDU会话。Optionally, in order to establish the connection between the terminal and the local IMS system, the network identifier of the local IMS system may be pre-configured in the terminal, so that the terminal automatically triggers the first PDU session establishment event based on the network identifier of the local IMS system after the terminal is powered on, After detecting the first PDU session establishment event, the terminal can send the first PDU session establishment request carrying the network identifier of the local IMS system to the 5G core network device, so that the 5G core network device can establish the first PDU associated with the local IMS system. session.
作为一个实施例,终端在公网IMS系统中进行注册可以通过以下步骤:通过与5G核心网设备之间的第二PDU会话发送SIP(Session Initiation Protocol,会话发起协议)注册请求,以由5G核心网设备将SIP注册请求转发给公网IMS系统,使得终端成功注册至公网IMS系统。As an embodiment, the terminal can register in the public network IMS system through the following steps: send a SIP (Session Initiation Protocol, Session Initiation Protocol) registration request through the second PDU session with the 5G core network device, so that the 5G core The network device forwards the SIP registration request to the public network IMS system, so that the terminal successfully registers with the public network IMS system.
在本申请实施例中,上述终端在公网IMS系统中进行注册的过程中使用的第二PDU会话是终端在检测到第二PDU会话建立事件时,向5G核心网设备发送第二PDU会话建立请求建立的。本实施例中第二PDU会话建立请求用于指示5G核心网设备在终端和5G核心网设备之间建立用于与公网IMS系统相关联的第二PDU会话,该第二PDU会话用于传递终端与公网IMS系统之间的通讯。In the embodiment of the present application, the second PDU session used by the above-mentioned terminal in the process of registering in the public network IMS system is that the terminal sends the second PDU session establishment event to the 5G core network device when the second PDU session establishment event is detected. request created. In this embodiment, the second PDU session establishment request is used to instruct the 5G core network device to establish a second PDU session between the terminal and the 5G core network device for being associated with the public network IMS system, and the second PDU session is used for transferring Communication between the terminal and the public network IMS system.
可选的,为了建立终端和公网IMS系统之间的连接,可以在终端中预先配置公网IMS系统的网络标志,使得终端在开机之后自动基于公网IMS系统的网络标识触发第二PDU会话建立事件,终端在检测到第二PDU会话建立事件之后,可以通过向5G核心网设备发送携带公网IMS系统的网络标识的第二PDU会话建立请求,使得5G核心网设备建立与公网IMS系统关联的第二PDU会话。Optionally, in order to establish the connection between the terminal and the public network IMS system, the network identifier of the public network IMS system can be pre-configured in the terminal, so that the terminal automatically triggers the second PDU session based on the network identifier of the public network IMS system after the terminal is powered on. Establishment event, after the terminal detects the second PDU session establishment event, it can send the second PDU session establishment request carrying the network identifier of the public network IMS system to the 5G core network device, so that the 5G core network device can establish and communicate with the public network IMS system. Associated second PDU session.
作为一个实施例,基于上述实施例中与5G核心网设备建立的第一PDU会话和第二PDU会话,上述步骤201中获得用于指示终端访问本地IMS系统的第一路由规则,可以通过上述的第一PDU会话接收5G核心网设备下发的第一路由规则;上述步骤202中获得用于指示终端访问公网IMS系统的第二路由规则,可以通过第二PDU会话接收5G核心网设备下发的第二路由规则。可选的,本实施例中获取第一路由规则和第二路由规则也可以通过接收外部输入的第一路由规则和第二路由规则得到,本申请对第一路由规则和第二路由规则的获取方式并不限定。As an embodiment, based on the first PDU session and the second PDU session established with the 5G core network device in the foregoing embodiment, the first routing rule obtained in the foregoing
可选的,上述各实施例中的号段信息可以采用正则表达式记录,比如号段信息被记录为1380000[0-9]{4,4},则表示号码前7位为1380000,后4位每一位为0~9中任意一个数字的号段。Optionally, the number segment information in the foregoing embodiments may be recorded using a regular expression. For example, if the number segment information is recorded as 1380000[0-9]{4, 4}, it means that the first 7 digits of the number are 1380000, and the last 4 digits are 1380000. Each bit is a number segment of any number from 0 to 9.
步骤203,针对待执行的呼叫业务,当该呼叫业务中的目标号码与第一路由规则中的第一类号段信息匹配,则通过与5G核心网设备之间建立的关联本地IMS系统的第一PDU会话执行该呼叫业务;当该呼叫业务中的目标号码与第二路由规则中的第二类号段信息匹配,则通过与5G核心网设备之间建立的关联公网IMS系统的第二PDU会话执行该呼叫业务。
在具体应用时,在终端接收到外部输入的呼叫指令向某一号码进行呼叫时,确定终端中存在待执行的呼叫业务,且上述某一号码为该待执行的呼叫业务中的目标号码。In a specific application, when the terminal receives an externally input call instruction to call a certain number, it is determined that there is a calling service to be executed in the terminal, and the above-mentioned certain number is the target number of the calling service to be executed.
作为一个实施例,在确定终端中存在待执行的呼叫业务之后,终端可以利用新编译的号段解析功能对目标号码进行解析,判断目标号码与第一路由规则中的第一类号段信息或者第二路由规则中的第二类号段信息是否匹配,如果目标号码与第一类号段信息匹配,则确定目标号码处于本地IMS系统被分配的号段,需要与本地IMS系统关联的第一PDU会话执行该呼叫业务,而如果目标号码与第二类号段信息匹配,则确定目标号码处于公网IMS系统被分配的号段,需要与公网IMS系统关联的第二PDU会话执行该呼叫业务。As an embodiment, after determining that there is a call service to be executed in the terminal, the terminal can use the newly compiled number segment parsing function to parse the target number, and determine whether the destination number is related to the first type of number segment information in the first routing rule or Whether the second type number segment information in the second routing rule matches, if the target number matches the first type number segment information, it is determined that the target number is in the number segment allocated by the local IMS system, and the first type associated with the local IMS system is required. The PDU session executes the call service, and if the target number matches the second type number segment information, it is determined that the target number is in the number segment allocated by the public network IMS system, and the second PDU session associated with the public network IMS system is required to execute the call. business.
至此,完成图2所示流程。So far, the process shown in FIG. 2 is completed.
通过图2所示的流程可以看出,本实施例中的终端在成功注册至本地IMS系统后,可以获得用于指示终端访问本地IMS系统的第一路由规则,在终端在成功注册至公网IMS系统后,可以获得用于指示终端访问公网IMS系统的第二路由规则,进而针对终端中待执行的呼叫业务,如果该呼叫业务中的目标号码与第一路由规则中的第一类号段信息匹配(即该呼叫业务为本地数据网络的内部呼叫业务),则可以通过关联本地IMS系统的第一PDU会话执行该呼叫业务,如果上述目标号码与第二路由规则中的第二类号段信息匹配,则可以通过关联公网IMS系统的第二PDU会话执行该呼叫业务,基于上述执行本地数据网络的内部呼叫业务的第一PDU会话只经过本地数据网络,避免了呼叫业务中本地数据网络中的私密性数据泄露。It can be seen from the process shown in FIG. 2 that, after the terminal in this embodiment successfully registers with the local IMS system, it can obtain the first routing rule for instructing the terminal to access the local IMS system. After the IMS system, the second routing rule for instructing the terminal to access the public network IMS system can be obtained, and then for the call service to be executed in the terminal, if the target number in the call service is the same as the first type number in the first routing rule If the segment information matches (that is, the call service is an internal call service of the local data network), the call service can be executed through the first PDU session associated with the local IMS system. If the segment information matches, the call service can be executed through the second PDU session associated with the public network IMS system. Based on the above, the first PDU session executing the internal call service of the local data network only passes through the local data network, avoiding the need for local data in the call service. Private data leakage in the network.
需要说明的是,本申请实施例并不限制上述步骤201和步骤202之间的执行顺序,步骤201和步骤202之间的执行顺序与第一路由规则的获得时间和第二路由规则的获得时间相关,若先获得第一路由规则,则先执行步骤201,若先获得第二路由规则,则先执行步骤202。It should be noted that this embodiment of the present application does not limit the execution sequence between the
下面对本申请实施例提供的另一种路由选择的方法实施例进行简述。如图3所示,图3为另一种路由选择的方法流程图。作为一个实施例,图3所示的流程可以应用于5G核心网设备,这里的5G核心网设备至少包括5G核心网中的用于策略控制的PCF(Policy Controlfunction,策略控制功能)网元、AMF(Access and Mobility Management Function,移动性管理)网元、SMF(Session Management Function,会话管理)网元和、分配给本地数据网络的UPF(User Plane Function,用户面功能)网元和分配给公网的UPF网元。The following briefly describes another route selection method embodiment provided by the embodiment of the present application. As shown in FIG. 3 , FIG. 3 is a flowchart of another routing method. As an embodiment, the process shown in FIG. 3 can be applied to 5G core network equipment, where the 5G core network equipment at least includes a PCF (Policy Control function, policy control function) network element used for policy control in the 5G core network, AMF (Access and Mobility Management Function, mobility management) network element, SMF (Session Management Function, session management) network element and, UPF (User Plane Function, user plane function) network element allocated to the local data network and allocated to the public network UPF network element.
如图3所示,该流程可以包括以下步骤:As shown in Figure 3, the process can include the following steps:
步骤301,在获知终端成功注册至终端所属的本地IMS系统后,向终端下发用于指示终端访问本地IMS系统的第一路由规则。Step 301: After learning that the terminal has successfully registered with the local IMS system to which the terminal belongs, a first routing rule for instructing the terminal to access the local IMS system is delivered to the terminal.
步骤302,在获知所述终端成功注册至公网IMS系统后,向所述终端下发用于指示所述终端访问公网IMS系统的第二路由规则。
其中,上述步骤301下发给终端的第一路由规则用于在终端执行的呼叫业务中的目标号码与第一路由规则中的第一类信息匹配时(即目标号码处于本地IMS系统被分配的号段),指示终端通过与5G核心网设备之间且关联本地IMS系统的第一PDU会话执行该呼叫业务。上述步骤302下发给终端的第二路由规则用于在终端执行的呼叫业务中的目标号码与第二路由规则中的第二类号段信息匹配时(目标号码处于公网IMS系统被分配的号段),指示终端通过与5G核心网设备之间且关联公网IMS系统的第二PDU会话执行呼叫业务。Wherein, the first routing rule issued to the terminal in the
可选的,本实施例中的第一路由规则是5G核心网设备基于运营商在搭建本地数据网络时为本地IMS系统分配的号段和本地IMS系统的网络标识生成的,第二路由规则是5G核心网设备基于运营商在搭建公网时为公网IMS系统分配的号段和公网IMS系统的网络标识生成的。Optionally, the first routing rule in this embodiment is generated by the 5G core network device based on the number segment allocated to the local IMS system by the operator when building the local data network and the network identifier of the local IMS system, and the second routing rule is: The 5G core network equipment is generated based on the number segment allocated by the operator for the public network IMS system when building the public network and the network identifier of the public network IMS system.
示例性的,本实施例中的运营商在搭建本地数据网络时可以在PCF网元中记录为本地IMS系统分配的号段和本地IMS系统的网络标识之间的映射关系,在PCF网元中记录为公网IMS系统分配的号段和公网IMS系统的网络标识之间的映射关系,在PCF网元获知终端在本地IMS系统和公网IMS系统中注册成功时,由PCF网元向终端下发扩展的URSP(UE路由选择策略,UE Route Selection Policy),该扩展的URSP的扩展部分包含第一路由规则或者第二路由规则。Exemplarily, the operator in this embodiment may record the mapping relationship between the number segment allocated for the local IMS system and the network identifier of the local IMS system in the PCF network element when building the local data network. Record the mapping relationship between the number segment allocated to the public network IMS system and the network identifier of the public network IMS system. When the PCF network element learns that the terminal is successfully registered in the local IMS system and the public network IMS system, the PCF network element sends the terminal to the terminal. An extended URSP (UE Route Selection Policy, UE Route Selection Policy) is delivered, and the extended part of the extended URSP includes the first routing rule or the second routing rule.
作为一个实施例,本实施例中的5G核心网设备获知终端成功注册至终端所属的本地IMS系统可以通过以下方式:在通过第一PDU会话接收到本地IMS系统发送的SIP注册成功的通知消息时,获知终端成功注册至终端所属的本地IMS系统。本实施例中的5G核心网设备获知终端成功注册至公网IMS系统则可以通过以下方式:在通过第二PDU会话接收到公网IMS系统发送的SIP注册成功的通知消息时,获知终端成功注册至公网IMS系统。As an embodiment, the 5G core network device in this embodiment can learn that the terminal has successfully registered with the local IMS system to which the terminal belongs by the following methods: when receiving a notification message of successful SIP registration sent by the local IMS system through the first PDU session , to learn that the terminal has successfully registered with the local IMS system to which the terminal belongs. The 5G core network device in this embodiment can learn that the terminal has successfully registered with the public network IMS system in the following manner: when receiving a notification message of successful SIP registration sent by the public network IMS system through the second PDU session, learn that the terminal has successfully registered to the public network IMS system.
需要说明的是,本实施例中的第一PDU会话和第二PDU会话是由属于5G核心网设备的不同网元共同构建的,因此上述实施例在具体实现时,终端在向通过与5G核心网设备之间的第一PDU会话发送SIP注册请求之后,5G核心网设备会通过承载第一PDU会话的UPF网元将SIP注册请求透传至本地IMS系统,进而本地IMS系统在接收到SIP注册请求后会将终端注册至本地IMS系统,并返回给终端SIP注册响应,之后再向5G核心网设备中的承载第一PDU会话的PCF网元发送SIP注册成功的通知消息。以及终端在向通过与5G核心网设备之间的第二PDU会话发送SIP注册请求之后,5G核心网设备会通过承载第二PDU会话的UPF网元将SIP注册请求透传至公网IMS系统,进而公网IMS系统在接收到SIP注册请求后会将终端注册至公网IMS系统,并返回给终端SIP注册响应,之后再向5G核心网设备中的承载第二PDU会话的PCF网元发送SIP注册成功的通知消息。It should be noted that the first PDU session and the second PDU session in this embodiment are jointly constructed by different network elements belonging to the 5G core network equipment. Therefore, when the above embodiment is specifically implemented, the terminal is connected to the 5G core network through After the first PDU session between network devices sends the SIP registration request, the 5G core network device will transparently transmit the SIP registration request to the local IMS system through the UPF network element that carries the first PDU session, and then the local IMS system receives the SIP registration request. After the request, the terminal will be registered with the local IMS system, and a SIP registration response will be returned to the terminal, and then a notification message of successful SIP registration will be sent to the PCF network element in the 5G core network device that bears the first PDU session. And after the terminal sends the SIP registration request to the second PDU session with the 5G core network device, the 5G core network device will transparently transmit the SIP registration request to the public network IMS system through the UPF network element that carries the second PDU session, Furthermore, after receiving the SIP registration request, the public network IMS system will register the terminal to the public network IMS system, and return a SIP registration response to the terminal, and then send the SIP to the PCF network element in the 5G core network device that carries the second PDU session. Notification message for successful registration.
其中,作为一个实施例,上述第一PDU会话和第二PDU会话是在图3所示的方法流程之前分别通过以下步骤建立的:Wherein, as an embodiment, the above-mentioned first PDU session and second PDU session are established respectively through the following steps before the method flow shown in FIG. 3:
接收终端发送的第一PDU会话建立请求,然后基于第一PDU会话建立请求在终端和5G核心网设备之间建立用于与本地IMS系统相关联的第一PDU会话;接收终端发送的第二PDU会话建立请求,然后基于第二PDU会话建立请求在终端和5G核心网设备之间建立用于与公网IMS系统相关联的第二PDU会话。Receive a first PDU session establishment request sent by the terminal, and then establish a first PDU session associated with the local IMS system between the terminal and the 5G core network device based on the first PDU session establishment request; receive a second PDU sent by the terminal A session establishment request is made, and then a second PDU session for association with the public network IMS system is established between the terminal and the 5G core network device based on the second PDU session establishment request.
在具体实现时,第一PDU会话具体可以通过以下方式建立:5G核心网设备会通过AMF网元接收第一PDU会话建立请求,然后将该请求通知给SMF网元,然后由SMF网元通知PCF网元和分配给本地数据网络的UPF网元建立第一PDU会话。第二PDU会话具体可以通过以下方式建立:5G核心网设备会通过AMF网元接收第二PDU会话建立请求,然后将该请求通知给SMF网元,然后由SMF网元通知PCF网元和分配给公网的UPF网元建立第二PDU会话。In specific implementation, the first PDU session can be established in the following manner: the 5G core network device will receive the first PDU session establishment request through the AMF network element, and then notify the SMF network element of the request, and then the SMF network element notifies the PCF. The network element establishes a first PDU session with the UPF network element assigned to the local data network. The second PDU session can be established in the following ways: the 5G core network device will receive the second PDU session establishment request through the AMF network element, and then notify the SMF network element of the request, and then the SMF network element notifies the PCF network element and allocates to the The UPF network element of the public network establishes the second PDU session.
作为一个实施例,在5G核心网设备成功建立与终端之间的第一PDU会话和第二PDU会话后,会向终端分别返回第一PDU会话建立响应和第二PDU会话建立响应。其中,第一PDU会话建立响应中会携带第一PDU会话信息,比如第一PDU会话的会话标识、承载第一PDU会话的各网元的网元标识以及分配给终端在本地IMS系统中的第一媒体地址,第二PDU会话建立响应中会携带第二PDU会话信息,比如第二PDU会话的会话标识、承载第二PDU会话的各网元的网元标识以及分配给终端在公网IMS系统中的第二媒体地址。As an embodiment, after the 5G core network device successfully establishes the first PDU session and the second PDU session with the terminal, it will return the first PDU session establishment response and the second PDU session establishment response to the terminal respectively. The first PDU session establishment response will carry the first PDU session information, such as the session identifier of the first PDU session, the network element identifiers of each network element carrying the first PDU session, and the first PDU session assigned to the terminal in the local IMS system. A media address, the second PDU session establishment response will carry the second PDU session information, such as the session identifier of the second PDU session, the network element identifiers of the network elements carrying the second PDU session, and the network element identifiers allocated to the terminal in the public network IMS system. The second media address in .
上述第一媒体地址是由承载了第一PDU会话的5G核心网设备中的PCF网元分配的,第二媒体地址是由承载了第二PDU会话的5G核心网设备中的PCF网元分配的。The above-mentioned first media address is allocated by the PCF network element in the 5G core network device that carries the first PDU session, and the second media address is allocated by the PCF network element in the 5G core network device that carries the second PDU session. .
作为一个实施例,第一媒体地址用于终端在本地IMS系统中进行注册,并且第一媒体地址标识了终端在执行属于本地IMS系统的呼叫业务时该终端所在的PDU会话。上述实施例中终端通过第一PDU发送的SIP注册请求中可以携带第一媒体地址和终端被分配的本地号码之间的对应关系,以使本地IMS系统在接收到终端执行的呼叫业务时,可以通过第一媒体地址和终端被分配的本地号码之间的对应关系确定使用第一PDU会话传输呼叫业务中的业务数据。As an embodiment, the first media address is used for the terminal to register in the local IMS system, and the first media address identifies the PDU session where the terminal is located when the terminal executes a call service belonging to the local IMS system. In the above embodiment, the SIP registration request sent by the terminal through the first PDU may carry the correspondence between the first media address and the local number assigned to the terminal, so that when the local IMS system receives the call service performed by the terminal, it can It is determined by the correspondence between the first media address and the local number assigned to the terminal that the first PDU session is used to transmit the service data in the call service.
在本实施例中,第二媒体地址用于终端在公网IMS系统中进行注册,并且第二媒体地址标识了终端在执行属于公网IMS系统的呼叫业务时该终端所在的PDU会话。上述实施例中终端通过第二PDU发送的SIP注册请求中可以携带第二媒体地址和终端被分配的公网号码之间的对应关系,以使公网IMS系统在接收到终端执行的呼叫业务时,可以通过第二媒体地址和终端被分配的公网号码之间的对应关系确定使用第二PDU会话传输呼叫业务中的业务数据。In this embodiment, the second media address is used for the terminal to register in the public network IMS system, and the second media address identifies the PDU session where the terminal is located when the terminal executes a call service belonging to the public network IMS system. In the above embodiment, the SIP registration request sent by the terminal through the second PDU may carry the correspondence between the second media address and the public network number assigned to the terminal, so that when the public network IMS system receives the call service performed by the terminal, , it can be determined that the second PDU session is used to transmit the service data in the call service according to the correspondence between the second media address and the public network number assigned to the terminal.
至此,完成图3所示流程。So far, the process shown in FIG. 3 is completed.
通过图3所示的流程可以看出,本实施例中通过5G核心网设备在获知终端成功注册至终端所属的本地IMS系统和公网IMS系统后,向终端下发用于指示终端访问本地IMS系统的第一路由规则和用于指示终端访问公网IMS系统的第二路由规则,以使终端可以基于第一路由规则和第二路由规则,在终端中待执行的呼叫业务中的目标号码与第一路由规则中的第一类号段信息匹配时,通过关联本地IMS系统的第一PDU会话执行该呼叫业务,在终端中待执行的呼叫业务中的目标号码与第二路由规则中的第二类号段信息匹配时,通过关联公网IMS系统的第二PDU会话执行该呼叫业务,避免了呼叫业务中本地数据网络中的私密性数据泄露。It can be seen from the process shown in FIG. 3 that in this embodiment, after learning that the terminal has successfully registered with the local IMS system and the public network IMS system to which the terminal belongs, the 5G core network device sends a message to the terminal to instruct the terminal to access the local IMS The first routing rule of the system and the second routing rule for instructing the terminal to access the public network IMS system, so that the terminal can, based on the first routing rule and the second routing rule, the target number in the call service to be executed in the terminal is the same as the target number. When the first type number segment information in the first routing rule matches, the call service is executed through the first PDU session associated with the local IMS system. When the type II number segment information matches, the call service is executed through the second PDU session associated with the public network IMS system, thereby avoiding the leakage of private data in the local data network in the call service.
需要说明的是,本申请实施例并不限制上述步骤301和步骤302之间的执行顺序,步骤301和步骤302之间的执行顺序与5G核心网设备获知终端成功注册至本地IMS系统和获知终端成功注册至公网IMS系统的时间相关,若先获知终端成功注册至本地IMS系统,则先执行步骤301,若先获知终端成功注册至公网IMS系统,则先执行步骤302。It should be noted that this embodiment of the present application does not limit the execution sequence between the
为了便于理解,下面结合图4所示的具体实施例对本申请提供的路由选择方法进行详述:For ease of understanding, the routing method provided by the present application will be described in detail below with reference to the specific embodiment shown in FIG. 4 :
作为一个实施例,本申请提供的路由选择方法所应用的场景中至少包括公网和一个本地数据网络。其中公网数据网络中的公网IMS系统和本地数据网络中的本地IMS系统通过网络标识(DNN,数据网络名称,Data Network Name)区分,该网络标识可以唯一标识数据网络中的IMS系统以及唯一标识数据网络,比如可以设置本地IMS系统的网络标识为imsLocal,公网IMS系统的网络标识为ims。As an embodiment, the application scenario of the routing method provided by the present application includes at least a public network and a local data network. The public network IMS system in the public network data network and the local IMS system in the local data network are distinguished by a network identifier (DNN, data network name, Data Network Name), which can uniquely identify the IMS system in the data network and the unique To identify the data network, for example, the network identifier of the local IMS system can be set as imsLocal, and the network identifier of the public network IMS system can be set as ims.
在本实施例中,上述网络标识可以由运营商在创建公网和本地数据网络时为本地IMS系统和公网IMS系统分配的,运营商在创建公网和本地数据网络时还会分别为本地IMS系统和公网IMS系统分配号段,并将本地IMS系统被分配的号段和本地IMS系统的网络标识imsLocal之间的映射关系记录到5G核心网设备中的PCF网元,将公网IMS系统被分配的号段和公网IMS系统的网络标识ims之间的映射关系也记录到5G核心网设备中的PCF网元中。In this embodiment, the above-mentioned network identifiers may be allocated by the operator for the local IMS system and the public network IMS system when creating the public network and the local data network. The IMS system and the public network IMS system allocate number segments, and record the mapping relationship between the number segment allocated by the local IMS system and the network identifier imsLocal of the local IMS system to the PCF network element in the 5G core network device, and the public network IMS The mapping relationship between the number segment allocated by the system and the network identifier ims of the public network IMS system is also recorded in the PCF network element in the 5G core network device.
作为一个实施例,运营商为本地IMS系统分配号段是基于预先划分的企业网号段划分的,比如企业网号段至少包括1360000[0-9]{4,4}、1370000[0-9]{4,4}、1380000[0-9]{4,4}和1390000[0-9]{4,4},则可以将其中未分配给其他IMS系统的1360000[0-9]{4,4}、1380000[0-9]{4,4}号段分配给本地IMS系统。As an embodiment, the number segment allocated by the operator to the local IMS system is divided based on the pre-divided enterprise network number segment. For example, the enterprise network number segment includes at least 1360000[0-9]{4,4}, 1370000[0-9 ]{4,4}, 1380000[0-9]{4,4} and 1390000[0-9]{4,4}, you can assign 1360000[0-9]{4 which is not assigned to other IMS systems ,4} and 1380000[0-9]{4,4} are allocated to the local IMS system.
在本地数据网络搭建完成后,基于终端需要在本地数据网络执行业务,在该终端中预先配置该本地IMS系统的网络标识imsLocal和公网IMS系统的网络标识ims,然后如图4所示,在终端开机时,终端将自动针对已配置的网络标识imsLocal和ims,向5G核心网设备发送携带网络标识imsLocal的第一PDU会话请求,以及发送携带网络标识ims的第二PDU会话请求,以使5G核心网设备与终端建立与本地IMS系统关联的第一PDU会话和与公网IMS系统关联的第二PDU会话。第一PDU会话和第二PDU会话的具体建立过程可参见上述对图3所示的实施例的描述,这里不再赘述。After the construction of the local data network is completed, based on the need for the terminal to perform services on the local data network, the network identifier imsLocal of the local IMS system and the network identifier ims of the public network IMS system are pre-configured in the terminal. When the terminal is powered on, the terminal will automatically send the first PDU session request carrying the network identifier imsLocal and the second PDU session request carrying the network identifier ims to the 5G core network device for the configured network identifiers imsLocal and ims, so that the 5G The core network device and the terminal establish a first PDU session associated with the local IMS system and a second PDU session associated with the public network IMS system. For the specific establishment process of the first PDU session and the second PDU session, reference may be made to the above description of the embodiment shown in FIG. 3 , and details are not repeated here.
在第一PDU会话和第二PDU会话建立完成后,终端将通过获得的第一PDU会话信息获得5G核心网设备为终端在本地IMS系统分配的第一媒体地址,以及通过获得的第二PDU会话信息获得5G核心网设备为终端在公网IMS系统分配的第二媒体地址。After the establishment of the first PDU session and the second PDU session is completed, the terminal will obtain the first media address allocated by the 5G core network device for the terminal in the local IMS system through the obtained first PDU session information, and the obtained second PDU session The information obtains the second media address assigned by the 5G core network device to the terminal in the public network IMS system.
然后终端可以将通过第一PDU会话发送携带第一媒体地址和预先分配给终端的本地号码的SIP注册请求至本地IMS系统,通过第二PDU会话发送携带第二媒体地址和预先分配给终端的公网号码的SIP注册请求至公网IMS系统。Then the terminal can send the SIP registration request carrying the first media address and the local number pre-allocated to the terminal to the local IMS system through the first PDU session, and send the SIP registration request carrying the second media address and the public number pre-allocated to the terminal through the second PDU session. The SIP registration request of the network number is sent to the public network IMS system.
在本实施例中,本地IMS系统在接收到SIP注册请求之后会记录第一媒体地址和预先分配给终端的本地号码之间的映射关系,以便在本地IMS系统获知本终端向其他终端呼叫时,将其他终端传输过来的呼叫数据通过第一媒体地址指示的第一PDU会话传输给本终端,或者,在获知其他终端请求向本终端呼叫时,根据本终端的本地号码查找到对应的第一媒体地址,然后通过第一媒体地址指示的第一PDU会话通知本终端。In this embodiment, after receiving the SIP registration request, the local IMS system records the mapping relationship between the first media address and the local number pre-assigned to the terminal, so that when the local IMS system learns that the terminal is calling other terminals, Transfer the call data transmitted from other terminals to the terminal through the first PDU session indicated by the first media address, or, when learning that other terminals request to call the terminal, find the corresponding first media according to the local number of the terminal address, and then notify the terminal through the first PDU session indicated by the first media address.
在本实施例中,公网IMS系统在接收到SIP注册请求之后也会记录第二媒体地址和预先分配给终端的公网号码之间的映射关系,以便在公网IMS系统获知本终端向其他终端呼叫时,将其他终端传输过来的呼叫数据通过第二媒体地址指示的第二PDU会话传输给本终端,或者,在获知其他终端请求向本终端呼叫时,根据本终端的公网号码查找到对应的第二媒体地址,然后通过第二媒体地址指示的第二PDU会话通知本终端。In this embodiment, after receiving the SIP registration request, the public network IMS system will also record the mapping relationship between the second media address and the public network number pre-assigned to the terminal, so that the public network IMS system can know that the terminal sends other When the terminal makes a call, it transmits the call data transmitted by other terminals to the terminal through the second PDU session indicated by the second media address, or, when it learns that other terminals request to call the terminal, it searches the terminal according to the public network number of the terminal. the corresponding second media address, and then notify the terminal through the second PDU session indicated by the second media address.
进一步的,在本地IMS系统在接收到SIP注册请求并记录第一媒体地址和预先分配给终端的本地号码之间的映射关系之后,如图4所示,本地IMS系统会通过第一PDU会话向终端返回SIP注册响应,通知终端在本地IMS系统注册成功,以及向5G核心网设备中的PCF网元发送SIP注册成功的通知消息,使5G核心网设备获知终端成功注册至本地IMS系统。Further, after the local IMS system receives the SIP registration request and records the mapping relationship between the first media address and the local number pre-assigned to the terminal, as shown in FIG. The terminal returns a SIP registration response to notify the terminal that the registration in the local IMS system is successful, and sends a notification message of successful SIP registration to the PCF network element in the 5G core network device, so that the 5G core network device knows that the terminal has successfully registered to the local IMS system.
同样的,如图4所示,在公网IMS系统在接收到SIP注册请求并记录第二媒体地址和预先分配给终端的公网号码之间的映射关系之后,公网IMS系统会通过第二PDU会话向终端返回SIP注册响应,通知终端在公网IMS系统注册成功,以及向5G核心网设备中的PCF网元发送SIP注册成功的通知消息,使5G核心网设备获知终端成功注册至公网IMS系统。Similarly, as shown in Figure 4, after the public network IMS system receives the SIP registration request and records the mapping relationship between the second media address and the public network number pre-assigned to the terminal, the public network IMS system will The PDU session returns a SIP registration response to the terminal, notifying the terminal that the terminal is successfully registered in the public network IMS system, and sends a notification message that the SIP registration is successful to the PCF network element in the 5G core network device, so that the 5G core network device knows that the terminal has successfully registered to the public network. IMS system.
进一步的,如图4所示,5G核心网设备在获知终端成功注册至本地IMS系统之后,会触发PCF网元通过第一PDU会话向终端下发用于指示终端访问本地IMS系统的第一路由规则,在获知终端成功注册至公网IMS系统之后,会触发PCF网元通过第二PDU会话向终端下发用于指示终端访问公网IMS系统的第二路由规则。Further, as shown in FIG. 4 , after learning that the terminal has successfully registered with the local IMS system, the 5G core network device will trigger the PCF network element to issue the first route to the terminal to instruct the terminal to access the local IMS system through the first PDU session. After learning that the terminal has successfully registered with the public network IMS system, the PCF network element will be triggered to issue a second routing rule to the terminal to instruct the terminal to access the public network IMS system through the second PDU session.
可选的,本实施例中的终端在通过第一PDU会话接收到第一路由规则之后会将第一路由规则中本地IMS系统和第一类号段信息之间的映射关系记录至预先创建的路由规则记录表中,在通过第二PDU会话接收到第二路由规则之后会将第二路由规则中公网IMS系统和第二类号段信息之间的映射关系记录至同一路由规则记录表中。Optionally, after receiving the first routing rule through the first PDU session, the terminal in this embodiment records the mapping relationship between the local IMS system and the first type number segment information in the first routing rule to a pre-created one. In the routing rule record table, after the second routing rule is received through the second PDU session, the mapping relationship between the public network IMS system and the second type number segment information in the second routing rule is recorded in the same routing rule record table.
示例性的,终端中的路由规则记录表可以采用如下表1所示的表格记录:Exemplarily, the routing rule record table in the terminal may be recorded in the table shown in Table 1 below:
表1Table 1
表1中的号段信息为采用正则表达式记录的示例,比如号段信息1380000[0-9]{4,4}表示号码前7位为1380000、后4位每一位为0~9中任意一个数字的号码,号段信息1360000[0-9]{4,4}表示号码前7位为1360000、后4位每一位为0~9中任意一个数字的号码,号段信息135[0-9]{8,8}则表示号码前3位为135、后8位中每一位为0~9中任意一个数字的号码。The number segment information in Table 1 is an example recorded using regular expressions. For example, the number segment information 1380000[0-9]{4,4} means that the first 7 digits of the number are 1380000, and each of the last 4 digits is 0 to 9. The number of any number, the number segment information 1360000[0-9]{4,4} indicates that the first 7 digits of the number are 1360000, and each of the last 4 digits is a number from 0 to 9. Number segment information 135[ 0-9]{8,8} means that the first 3 digits of the number are 135, and each of the last 8 digits is any number from 0 to 9.
通过表1也可以看出,本地IMS系统可以被分配一个或多个号段,比如上表DNN为imsLocal的本地IMS系统被分配了两个号段:1380000[0-9]{4,4}和1360000[0-9]{4,4}。同样的,公网IMS系统也可以被分配一个或多个号,表1中DNN为ims的公网则是被分配了一个号段:135[0-9]{8,8}。本实施例中本地IMS系统被分配多少号段取决于申请该企业网的企业的业务需求,在多个企业共用一个企业网时,根据业务需求可以为不同企业分配不同号段。It can also be seen from Table 1 that the local IMS system can be assigned one or more number segments. For example, the local IMS system whose DNN is imsLocal in the above table is assigned two number segments: 1380000[0-9]{4,4} and 1360000[0-9]{4,4}. Similarly, the public network IMS system can also be assigned one or more numbers, and the public network whose DNN is ims in Table 1 is assigned a number segment: 135[0-9]{8,8}. In this embodiment, how many number segments are allocated to the local IMS system depends on the business requirements of the enterprise applying for the enterprise network. When multiple enterprises share one enterprise network, different number segments can be allocated to different enterprises according to business requirements.
基于如图1所示的路由规则记录表,终端在执行呼叫业务时,可以先对呼叫业务中的目标号码和路由规则记录表中各号段信息进行匹配,以确定目标号码所处的号段,然后根据目标号码所处的号段从路由规则记录表中查找到对应的IMS DNN,从而获知执行该呼叫业务需要使用的PDU会话为和哪一个IMS系统关联的PDU会话。比如呼叫业务中的目标号码为1380000XXXX(X表示一个具体的数字)时,可以确定该号码所处号段的号段信息为1380000[0-9]{4,4},路由规则记录表中1380000[0-9]{4,4}对应的IMS系统的网络标识为imsLocal,则终端可以选择与imsLocal指示的本地IMS系统关联的第一PDU会话执行该呼叫业务。Based on the routing rule record table shown in Figure 1, when the terminal executes the call service, it can first match the target number in the call service with the number segment information in the routing rule record table to determine the number segment where the target number is located , and then look up the corresponding IMS DNN from the routing rule record table according to the number segment where the target number is located, so as to know which IMS system is associated with which PDU session the call service needs to use. For example, when the target number in the call service is 1380000XXXX (X represents a specific number), it can be determined that the number segment information of the number segment where the number is located is 1380000[0-9]{4, 4}, and 1380000 in the routing rule record table [0-9] The network identifier of the IMS system corresponding to {4, 4} is imsLocal, and the terminal may select the first PDU session associated with the local IMS system indicated by imsLocal to execute the call service.
至此,完成本实施例中终端执行呼叫业务时的路由选择的全部过程的描述。So far, the description of the whole process of routing when the terminal performs the call service in this embodiment is completed.
以上举例只是为了便于理解,本申请实施例并不具体限定。The above examples are only for the convenience of understanding, and the embodiments of the present application are not specifically limited.
以上对本申请实施例提供的方法进行了描述。下面对本申请实施例提供的装置进行描述:The methods provided by the embodiments of the present application have been described above. The devices provided in the embodiments of the present application are described below:
参见图5,图5为本申请实施例提供的一种路由选择装置的示意图,该装置实施例应用于终端。该装置包括:Referring to FIG. 5 , FIG. 5 is a schematic diagram of a routing device provided by an embodiment of the present application, and the device embodiment is applied to a terminal. The device includes:
第一路由规则获取单元501,用于在获知所述终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,获得用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段。The first routing rule obtaining unit 501 is configured to obtain a first routing rule for instructing the terminal to access the local IMS system after learning that the terminal has successfully registered with the local IP Multimedia Subsystem IMS system to which the terminal belongs. A routing rule includes at least a mapping relationship between the local IMS system and first type number segment information, where the first type number segment information includes the number segment allocated by the local IMS system.
第二路由规则获取单元502,用于在获知所述终端成功注册至公网IMS系统后,获得用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段。The second routing rule obtaining unit 502 is configured to obtain a second routing rule for instructing the terminal to access the public network IMS system after learning that the terminal has successfully registered with the public network IMS system, where the second routing rule at least includes The mapping relationship between the public network IMS system and the second type number segment information, where the second type number segment information includes the number segment allocated by the public network IMS system.
呼叫业务执行单元503,用于针对待执行的呼叫业务,若所述呼叫业务中的目标号码与所述第一路由规则中的第一类号段信息匹配,则通过与5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;若所述呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配,则通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。The call
可选的,该装置进一步包括:Optionally, the device further includes:
注册单元,用于通过与所述5G核心网设备之间的第一PDU会话发送会话发起协议SIP注册请求,以由所述5G核心网设备将所述SIP注册请求转发给终端所属的本地IMS系统,使得所述终端成功注册至所述本地IMS系统。A registration unit, configured to send a session initiation protocol SIP registration request through the first PDU session with the 5G core network device, so that the 5G core network device forwards the SIP registration request to the local IMS system to which the terminal belongs , so that the terminal successfully registers with the local IMS system.
所述第一路由规则获取单元501获得用于指示所述终端访问本地IMS系统的第一路由规则,包括:The first routing rule obtaining unit 501 obtains the first routing rule for instructing the terminal to access the local IMS system, including:
通过所述第一PDU会话接收所述5G核心网设备下发的所述第一路由规则。The first routing rule issued by the 5G core network device is received through the first PDU session.
可选的,所述注册单元还用于通过与所述5G核心网设备之间的第二PDU会话发送会话发起协议SIP注册请求,以由所述5G核心网设备将所述SIP注册请求转发给公网IMS系统,使得所述终端成功注册至所述公网IMS系统。Optionally, the registration unit is further configured to send a session initiation protocol SIP registration request through the second PDU session with the 5G core network device, so that the 5G core network device forwards the SIP registration request to the 5G core network device. public network IMS system, so that the terminal is successfully registered to the public network IMS system.
所述第二路由规则获取单元502获得用于指示所述终端访问公网IMS系统的第二路由规则,包括:The second routing rule obtaining unit 502 obtains a second routing rule for instructing the terminal to access the public network IMS system, including:
通过所述第二PDU会话接收所述5G核心网设备下发的所述第二路由规则。The second routing rule issued by the 5G core network device is received through the second PDU session.
可选的,所述本地IMS系统被分配的号段为预先被指定的企业网号段;所述公网IMS系统被分配的号段为预先被指定的公网号段。Optionally, the number segment allocated by the local IMS system is a pre-designated enterprise network number segment; the number segment allocated by the public network IMS system is a pre-designated public network number segment.
可选的,该装置进一步包括:Optionally, the device further includes:
第一PDU会话建立单元,用于在检测到第一PDU会话建立事件时,向所述5G核心网设备发送第一PDU会话建立请求;所述第一PDU会话建立请求用于指示所述5G核心网设备在所述终端和所述5G核心网设备之间建立用于与所述本地IMS系统相关联的所述第一PDU会话。a first PDU session establishment unit, configured to send a first PDU session establishment request to the 5G core network device when a first PDU session establishment event is detected; the first PDU session establishment request is used to instruct the 5G core A network device establishes the first PDU session for association with the local IMS system between the terminal and the 5G core network device.
第二PDU会话建立单元,用于在检测到第二PDU会话建立事件时,向所述5G核心网设备发送第二PDU会话建立请求;所述第二PDU会话建立请求用于指示所述5G核心网设备在所述终端和所述5G核心网设备之间建立用于与所述公网IMS系统相关联的所述第二PDU会话。The second PDU session establishment unit is configured to send a second PDU session establishment request to the 5G core network device when a second PDU session establishment event is detected; the second PDU session establishment request is used to instruct the 5G core The network device establishes the second PDU session for being associated with the public network IMS system between the terminal and the 5G core network device.
以上完成了对图5所示的装置实施例的描述。The above completes the description of the apparatus embodiment shown in FIG. 5 .
下面请参见图6,图6为本申请实施例提供的一种路由选择装置的示意图,该装置实施例应用于5G核心网设备。该装置包括:Referring to FIG. 6 below, FIG. 6 is a schematic diagram of a routing device provided by an embodiment of the present application, and the device embodiment is applied to 5G core network equipment. The device includes:
第一路由规则下发单元601,用于在获知终端成功注册至终端所属的本地IP多媒体子系统IMS系统后,向所述终端下发用于指示所述终端访问本地IMS系统的第一路由规则,所述第一路由规则至少包括所述本地IMS系统和第一类号段信息之间的映射关系,所述第一类号段信息包含所述本地IMS系统被分配的号段。The first routing
第二路由规则下发单元602,用于在获知所述终端成功注册至公网IMS系统后,向所述终端下发用于指示所述终端访问公网IMS系统的第二路由规则,所述第二路由规则至少包括所述公网IMS系统和第二类号段信息之间的映射关系,所述第二类号段信息包含所述公网IMS系统被分配的号段。The second routing
其中,所述第一路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第一路由规则中的第一类信息匹配时,指示所述终端通过与所述5G核心网设备之间建立的关联所述本地IMS系统的第一协议数据单元PDU会话执行所述呼叫业务;The first routing rule is used to instruct the terminal to communicate with the 5G core network device when the target number in the call service executed by the terminal matches the first type of information in the first routing rule The first protocol data unit PDU session established between the local IMS system and associated with the local IMS system executes the call service;
所述第二路由规则用于在所述终端执行的呼叫业务中的目标号码与所述第二路由规则中的第二类号段信息匹配时,指示所述终端通过与5G核心网设备之间建立的关联所述公网IMS系统的第二PDU会话执行所述呼叫业务。The second routing rule is used to instruct the terminal to pass between the terminal and the 5G core network device when the target number in the call service executed by the terminal matches the second type number segment information in the second routing rule. The established second PDU session associated with the public network IMS system executes the call service.
可选的,所述第一路由规则下发单元601获知终端成功注册至终端所属的本地IP多媒体子系统IMS系统,包括:Optionally, the first routing
在通过所述第一PDU会话接收到所述本地IMS系统发送的SIP注册成功的通知消息时,获知终端成功注册至终端所属的本地IMS系统;When receiving a notification message of successful SIP registration sent by the local IMS system through the first PDU session, learn that the terminal has successfully registered with the local IMS system to which the terminal belongs;
所述第二路由规则下发单元602获知所述终端成功注册至公网IMS系统,包括:The second routing
在通过所述第二PDU会话接收到所述公网IMS系统发送的SIP注册成功的通知消息时,获知终端成功注册至所述公网IMS系统。When the notification message of successful SIP registration sent by the public network IMS system is received through the second PDU session, it is learned that the terminal has successfully registered with the public network IMS system.
可选的,该装置之前进一步包括:Optionally, the device further includes:
第一PDU会话建立单元,用于接收所述终端发送的第一PDU会话建立请求;基于所述第一PDU会话建立请求,在所述终端和所述5G核心网设备之间建立用于与所述本地IMS系统相关联的所述第一PDU会话。The first PDU session establishment unit is configured to receive a first PDU session establishment request sent by the terminal; the first PDU session associated with the local IMS system.
第二PDU会话建立单元,用于接收所述终端发送的第二PDU会话建立请求;基于所述第二PDU会话建立请求,在所述终端和所述5G核心网设备之间建立用于与所述公网IMS系统相关联的所述第二PDU会话。The second PDU session establishment unit is configured to receive a second PDU session establishment request sent by the terminal; based on the second PDU session establishment request, establish a connection between the terminal and the 5G core network device for communication with the second PDU session establishment request. the second PDU session associated with the public network IMS system.
以上完成了对图6所示的装置实施例的描述。The above completes the description of the apparatus embodiment shown in FIG. 6 .
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the present application. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210331513.5A CN114845350B (en) | 2022-03-30 | 2022-03-30 | A routing selection method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210331513.5A CN114845350B (en) | 2022-03-30 | 2022-03-30 | A routing selection method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114845350A true CN114845350A (en) | 2022-08-02 |
| CN114845350B CN114845350B (en) | 2025-06-24 |
Family
ID=82563412
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210331513.5A Active CN114845350B (en) | 2022-03-30 | 2022-03-30 | A routing selection method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114845350B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117579601A (en) * | 2024-01-16 | 2024-02-20 | 深圳星网信通科技股份有限公司 | Communication connection method and communication system |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101931901A (en) * | 2009-06-26 | 2010-12-29 | 中兴通讯股份有限公司 | Service implementation method and system of IP multimedia subsystem network |
| CN103109553A (en) * | 2011-05-31 | 2013-05-15 | 华为技术有限公司 | Local routing processing method, device and communication system |
| WO2017107643A1 (en) * | 2015-12-24 | 2017-06-29 | 中兴通讯股份有限公司 | Ims local service routing processing method and system |
| KR20170081491A (en) * | 2016-01-04 | 2017-07-12 | 주식회사 케이티 | Method and communication system for providing dynamic messaging security in asymmetric multi mobile data network |
| US9801158B1 (en) * | 2016-06-14 | 2017-10-24 | Verizon Patent And Licensing Inc. | Selective call routing and notification for multi-endpoint terminals |
| CN108235388A (en) * | 2016-12-22 | 2018-06-29 | 大唐移动通信设备有限公司 | A kind of method of calling, apparatus and system |
| CN109547652A (en) * | 2018-12-07 | 2019-03-29 | 陈善席 | A kind of method and device of telecommunication management |
| WO2019184717A1 (en) * | 2018-03-30 | 2019-10-03 | 华为技术有限公司 | Communication method and related product |
| CN111181831A (en) * | 2019-06-10 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Communication data processing method and device, storage medium and electronic device |
| CN112003855A (en) * | 2020-08-20 | 2020-11-27 | 杭州诚智天扬科技有限公司 | Privacy number service platform system based on IMS network and application method thereof |
| CN112543172A (en) * | 2019-09-23 | 2021-03-23 | 维沃移动通信有限公司 | IMS calling method, terminal and network function |
| CN113438647A (en) * | 2020-03-05 | 2021-09-24 | 大唐移动通信设备有限公司 | Method for accessing public network user to private network, call service processing method and equipment |
-
2022
- 2022-03-30 CN CN202210331513.5A patent/CN114845350B/en active Active
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101931901A (en) * | 2009-06-26 | 2010-12-29 | 中兴通讯股份有限公司 | Service implementation method and system of IP multimedia subsystem network |
| CN103109553A (en) * | 2011-05-31 | 2013-05-15 | 华为技术有限公司 | Local routing processing method, device and communication system |
| WO2017107643A1 (en) * | 2015-12-24 | 2017-06-29 | 中兴通讯股份有限公司 | Ims local service routing processing method and system |
| KR20170081491A (en) * | 2016-01-04 | 2017-07-12 | 주식회사 케이티 | Method and communication system for providing dynamic messaging security in asymmetric multi mobile data network |
| US9801158B1 (en) * | 2016-06-14 | 2017-10-24 | Verizon Patent And Licensing Inc. | Selective call routing and notification for multi-endpoint terminals |
| CN108235388A (en) * | 2016-12-22 | 2018-06-29 | 大唐移动通信设备有限公司 | A kind of method of calling, apparatus and system |
| CN110324291A (en) * | 2018-03-30 | 2019-10-11 | 华为技术有限公司 | A kind of communication means and Related product |
| WO2019184717A1 (en) * | 2018-03-30 | 2019-10-03 | 华为技术有限公司 | Communication method and related product |
| CN109547652A (en) * | 2018-12-07 | 2019-03-29 | 陈善席 | A kind of method and device of telecommunication management |
| CN111181831A (en) * | 2019-06-10 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Communication data processing method and device, storage medium and electronic device |
| CN112543172A (en) * | 2019-09-23 | 2021-03-23 | 维沃移动通信有限公司 | IMS calling method, terminal and network function |
| CN113438647A (en) * | 2020-03-05 | 2021-09-24 | 大唐移动通信设备有限公司 | Method for accessing public network user to private network, call service processing method and equipment |
| CN112003855A (en) * | 2020-08-20 | 2020-11-27 | 杭州诚智天扬科技有限公司 | Privacy number service platform system based on IMS network and application method thereof |
Non-Patent Citations (2)
| Title |
|---|
| 张凝昊;王哲;崔巧旭;: "企业IP-PBX用户接入IMS网络方案研究", 移动通信, no. 18, 30 September 2012 (2012-09-30) * |
| 贾美玉;: "企业信息网络安全体系的设计与实现", 电子技术与软件工程, no. 01, 31 December 2020 (2020-12-31) * |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117579601A (en) * | 2024-01-16 | 2024-02-20 | 深圳星网信通科技股份有限公司 | Communication connection method and communication system |
| CN117579601B (en) * | 2024-01-16 | 2024-04-02 | 深圳星网信通科技股份有限公司 | Communication connection method and communication system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114845350B (en) | 2025-06-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110324284B (en) | Method and communication device for accessing IMS | |
| CN111083718B (en) | A session management method, network function and network system | |
| CN109257509B (en) | Communication method, system, server and storage medium based on virtual number | |
| JP4567752B2 (en) | Method and apparatus for handling emergency calls | |
| US8503461B2 (en) | Media path optimization for multimedia over internet protocol | |
| JP4673369B2 (en) | Method and apparatus for providing correlation means in a hybrid communication network | |
| CN101543022B (en) | Method for processing communication in communication system | |
| CN101977199A (en) | Ip telephone system and ip telephone terminal register method | |
| US20130007291A1 (en) | MEDIA INTERWORKING IN IPv4 AND IPv6 SYSTEMS | |
| WO2015078149A1 (en) | Method for implementing distributive call centre, distributive call centre and relevant apparatus | |
| CN102045350A (en) | Apparatus and method for integrated signal processing for ip-based convergence network | |
| CN102497446B (en) | Business flow transmission method crossing NAT device and apparatus thereof | |
| CN114080054A (en) | A PDU session establishment method, terminal device and chip system | |
| BRPI0314550B1 (en) | internet assisted mobile calling | |
| CN114845350A (en) | Routing method and device | |
| US8009585B2 (en) | Method and system for topology discovery in an SIP network | |
| CN101282388A (en) | Telephone system and gateway equipment | |
| WO2021254442A1 (en) | Session initiation method, apparatus and system, electronic device, and computer readable storage medium | |
| WO2005117346A1 (en) | A method of registration for the private nerwork terminal to the gatekeeper based on the h.323 protocol | |
| JP5093012B2 (en) | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM | |
| CN107534847B (en) | A discovery method and device | |
| WO2016119633A1 (en) | Access method and device for virtual mobile tenant network | |
| JP2022106247A (en) | IP address assignment method, call control method and mobile core system to user terminals | |
| CN110809033A (en) | Message forwarding method and device and switching server | |
| US11653334B2 (en) | Systems and methods for reducing transcoding resource allocation during call setup to multiple terminations |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |