A routing method and apparatus

By establishing routing rules for terminals and 5G core network devices in the communication network system, the problem of data leakage when enterprise user terminals register in the local data network is solved, and data privacy and security are realized when performing call services within the local data network.

CN114845350BActive Publication Date: 2025-06-24NEW H3C TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210331513.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2025-06-24
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

In the communication network system, when an enterprise user terminal registers in the local data network, it will register with the public network IMS system and the local IMS system at the same time, resulting in the enterprise data being leaked through the public network in the calling service, damaging privacy.

Method used

By establishing routing rules between the terminal and the 5G core network device, the terminal obtains routing rules for accessing the local IMS system and the public IMS system respectively after registering with the local IMS system and the public IMS system. For call services, according to the matching of the target number with the number segment information in the routing rules, it is selected to perform call services through the local IMS system or the public network IMS system to avoid private data leakage.

Benefits of technology

It realizes that when performing internal call services of local data networks, communication is only carried out through the local data network, avoiding private data leakage in the local data network in the call services, and ensuring the privacy and security of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114845350B_ABST
    Figure CN114845350B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a routing method and apparatus. After the terminal in the present application successfully registers to the local IMS system, it can obtain a first routing rule for instructing the terminal to access the local IMS system. After the terminal successfully registers to the public network IMS system, it can obtain a second routing rule for instructing the terminal to access the public network IMS system. Then, for a 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, the call service can be executed through the above-mentioned first PDU session. If the above target number matches the second type of 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, the first PDU session for executing the internal call service of the local data network only passes through the local data network, avoiding the leakage of private data in the call service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and particularly to a routing method and apparatus. Background Art

[0002] In a communication network system, the communication network can be divided into a public data network (abbreviated as the public network) and a local data network established by an enterprise (also known as an enterprise data network). Currently, when a user terminal (UE) belonging to an enterprise in the communication network system registers in the local data network, it will register with both the public IMS (IP Multimedia Subsystem) system of the public data network and the local IMS system of the local data network at the same time. Therefore, when a UE in an enterprise performs an internal call service belonging to the local data network, it will pass through the public network, resulting in the leakage of private data such as enterprise data (such as voice and video call data in call services). Summary of the Invention

[0003] This application discloses a routing method, apparatus, and device to avoid the leakage of private data in the local data network when a UE performs a call service.

[0004] According to a first aspect of an embodiment of the present application, there is provided a routing method, which is applied to a terminal and includes:

[0005] 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. The first routing rule at least includes a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system;

[0006] After learning that the terminal has successfully registered with the public IMS system, obtain a second routing rule for instructing the terminal to access the public IMS system. The second routing rule at least includes a mapping relationship between the public IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public IMS system;

[0007] For a call service to be executed, if the target number in the call service matches the first type of number segment information in the first routing rule, execute the call service through a first Protocol Data Unit (PDU) session associated with the local IMS system established with a 5G core network device; if the target number in the call service matches the second type of number segment information in the second routing rule, execute the call service through a second PDU session associated with the public IMS system established with the 5G core network device.

[0008] According to a second aspect of the embodiments of the present application, there is provided a routing method, which is applied to a 5G core network device and includes:

[0009] After learning that the terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs, send a first routing rule for instructing the terminal to access the local IMS system to the terminal. The first routing rule includes at least a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system;

[0010] After learning that the terminal has successfully registered to the public network IMS system, send a second routing rule for instructing the terminal to access the public network IMS system to the terminal. The second routing rule includes at least a mapping relationship between the public network IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system;

[0011] Wherein, 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 routing rule is used to instruct the terminal to execute the call service through a first protocol data unit (PDU) session associated with the local IMS system and established between the terminal and the 5G core network device;

[0012] When the target number in the call service executed by the terminal matches the second type of number segment information in the second routing rule, the second routing rule is used to instruct the terminal to execute the call service through a second PDU session associated with the public network IMS system and established between the terminal and the 5G core network device.

[0013] According to a third aspect of the embodiments of the present application, there is provided a routing device, which is applied to a terminal and includes:

[0014] A first routing rule acquisition unit, 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 to the local IP multimedia subsystem (IMS) system to which the terminal belongs. The first routing rule includes at least a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system;

[0015] A second routing rule acquisition unit, 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 to the public network IMS system. The second routing rule includes at least a mapping relationship between the public network IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system;

[0016] A call service execution unit, which is used for a call service to be executed. If the target number in the call service matches the first type of number segment information in the first routing rule, the call service is executed through a first protocol data unit (PDU) session that associates the local IMS system with a 5G core network device; if the target number in the call service matches the second type of number segment information in the second routing rule, the call service is executed through a second PDU session that associates the public network IMS system with a 5G core network device.

[0017] According to a fourth aspect of the embodiments of the present application, a routing selection device is provided. The device is applied to a 5G core network device and includes:

[0018] A first routing rule distribution unit, which is used for, after learning that a terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs, distributing a first routing rule for instructing the terminal to access the local IMS system to the terminal. The first routing rule at least includes a mapping relationship between the local IMS system and the first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system;

[0019] A second routing rule distribution unit, which is used for, after learning that the terminal has successfully registered to the public network IMS system, distributing a second routing rule for instructing the terminal to access the public network IMS system to the terminal. The second routing rule at least includes a mapping relationship between the public network IMS system and the second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system;

[0020] Wherein, the first routing rule is used for indicating that when the target number in the call service executed by the terminal matches the first type of information in the first routing rule, the terminal executes the call service through a first PDU session that associates the local IMS system with the 5G core network device;

[0021] The second routing rule is used for indicating that when the target number in the call service executed by the terminal matches the second type of number segment information in the second routing rule, the terminal executes the call service through a second PDU session that associates the public network IMS system with the 5G core network device.

[0022] The technical solutions provided by the embodiments of the present application may include the following beneficial effects:

[0023] As can be seen from the above technical solutions, after the terminal in the solution provided by this application successfully registers with the local IMS system, it can obtain a first routing rule for instructing the terminal to access the local IMS system. After the terminal successfully registers with the public IMS system, it can obtain a second routing rule for instructing the terminal to access the public IMS system. Then, for a 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 (i.e., 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 target number matches the second type of number segment information in the second routing rule, the call service can be executed through the second PDU session associated with the public IMS system. Based on the above, the first PDU session for executing the internal call service of the local data network only passes through the local data network, avoiding the leakage of private data in the local data network during the call service.

[0024] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with this specification, and are used together with the specification to explain the principles of this specification.

[0026] Figure 1 is a scenario diagram of a 5G communication system provided by an embodiment of this application;

[0027] Figure 2 is a flowchart of a method for route selection provided by an embodiment of this application;

[0028] Figure 3 is a flowchart of another method for route selection provided by an embodiment of this application;

[0029] Figure 4 is an interaction diagram for implementing a method for route selection provided by an embodiment of this application;

[0030] Figure 5 is a schematic diagram of a device for route selection provided by an embodiment of this application;

[0031] Figure 6 is a schematic diagram of another device for route selection provided by an embodiment of this application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0032] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0033] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit the present application. The singular forms "a", "the", and "said" used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.

[0034] 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 to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, 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. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to a determination".

[0035] To enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above objects, features, and advantages of the embodiments of the present application more apparent and understandable, the following briefly describes the scenarios to which the embodiments of the present application are applied:

[0036] As an embodiment, the scenarios to which the embodiments of the present application are applied may be Figure 1 the 5G communication network system shown in the figure. The 5G communication network system includes a public data network (i.e., Figure 1 the public network in the figure) and at least one local data network built by an enterprise (i.e., Figure 1 the enterprise network in the figure). Among them, the public network includes at least one public IMS (IP Multimedia Subsystem) system and a public data center (i.e., Figure 1 the DN (Data Network) of the public network in the figure), and the enterprise network includes at least one local IMS system and a local data center.

[0037] 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, video calls, etc. between terminals based on terminal numbers), and the public network data center is used to manage 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 to manage service data of services such as call services in the enterprise network.

[0038] As an embodiment, the above enterprise network is built by the enterprise applying to the operator for building a local data network. After the operator approves the enterprise's application for building a local data network, the operator creates a UPF (User Plane Function) network element for the newly allocated local data network of the enterprise based on hardware devices such as base stations and cables used when building the public network, and then builds the enterprise's local data network based on the newly created UPF network element. Optionally, the local data network built by the enterprise can be either a data network applied for by a single enterprise to the operator for processing internal business of the enterprise, or a data network applied for by multiple enterprises with common services to the operator for processing the common services.

[0039] Based on the above 5G communication network system, if the user's terminal is an enterprise UE allocated by the enterprise for processing internal services in the local data network, then the enterprise UE needs to be registered in both the public network IMS system and the local IMS system, so that when the enterprise UE executes a call service, it can call other enterprise UEs registered in the local IMS system or other UEs registered in the public network IMS system. However, when the user uses the enterprise UE to call other enterprise UEs registered in the local IMS system, since the enterprise UE of the user is also registered in the public network, this call may pass through the public network IMS system, resulting in the leakage of call data during this call process.

[0040] Therefore, in order to ensure that when the user uses the enterprise UE to call other enterprise UEs registered 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 routing selection method, so that when the enterprise UE calls other enterprise UEs registered in the local IMS system, it only passes through the local data network, and when the enterprise UE calls other UEs registered in the public network IMS system, it only passes through the public network.

[0041] The following further elaborates on the routing selection method provided in the embodiments of the present application with reference to the accompanying drawings. See Figure 2 , Figure 2 is a flowchart of a routing selection method provided in the embodiments of the present application. As an embodiment,Figure 2 The process shown can be applied to terminals that can perform call services, such as smart phones and smart phone watches.

[0042] As Figure 2 shown, the process may include the following steps:

[0043] Step 201, after learning that the terminal has successfully registered to the local IMS system to which the terminal belongs, obtain a first routing rule for instructing the terminal to access the local IMS system.

[0044] Among them, the first routing rule in the above step 201 at least includes the mapping relationship between the local IMS system and the first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system. As an embodiment, the number segment allocated to the local IMS system here is a pre-specified enterprise network number segment, which can be pre-divided by the operator for the public network and the enterprise network. In this embodiment, the number segment allocated to the local IMS system can be an unused number segment found by the operator from the enterprise network number segment when creating the local IMS system.

[0045] Step 202, after learning that the terminal has successfully registered to the public network IMS system, obtain a second routing rule for instructing the terminal to access the public network IMS system.

[0046] Among them, the second routing rule in the above step 202 at least includes the mapping relationship between the public network IMS system and the second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system. As an embodiment, the number segment allocated to the public network IMS system here is a pre-specified public network number segment, which can be pre-divided by the operator for the public network and the enterprise network. In this embodiment, the number segment allocated to the public network IMS system can be an unused number segment found by the operator from the public network number segment when creating the public network IMS system.

[0047] It should be noted that the reason why the terminal needs to successfully register to the local IMS system and the public network IMS system in the above steps 201 and 202 is to ensure that the terminal can normally perform local data network internal call services in the local data network and ensure that the terminal can normally perform call services in the public network data network.

[0048] As an embodiment, the terminal can be registered in the local IMS system through the following steps: sending a SIP (Session Initiation Protocol) 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 to the local IMS system.

[0049] In an embodiment of the present application, the first PDU session used by the above terminal during the registration process in the local IMS system is established by the terminal sending a first PDU session establishment request to the 5G core network device when detecting a first PDU session establishment event. In this embodiment, the first PDU session establishment request is used to instruct the 5G core network device to establish a first PDU session associated with the local IMS system between the terminal and the 5G core network device, and this first PDU session is used to transmit the communication between the terminal and the local IMS system.

[0050] Optionally, in order to establish a connection between the terminal and the local IMS system, the network identifier of the local IMS system can be pre-configured in the terminal, so that the terminal automatically triggers a first PDU session establishment event based on the network identifier of the local IMS system after power-on. After detecting the first PDU session establishment event, the terminal can send a 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 establishes a first PDU session associated with the local IMS system.

[0051] As an embodiment, the terminal can be registered in the public network IMS system through the following steps: sending a SIP (Session Initiation Protocol) registration request through a second PDU session with the 5G core network device, so that the 5G core network device forwards the SIP registration request to the public network IMS system, enabling the terminal to be successfully registered to the public network IMS system.

[0052] In an embodiment of the present application, the second PDU session used by the above terminal during the registration process in the public network IMS system is established by the terminal sending a second PDU session establishment request to the 5G core network device when detecting a second PDU session establishment event. In this embodiment, the second PDU session establishment request is used to instruct the 5G core network device to establish a second PDU session associated with the public network IMS system between the terminal and the 5G core network device, and this second PDU session is used to transmit the communication between the terminal and the public network IMS system.

[0053] Optionally, in order to establish a 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 a second PDU session establishment event based on the network identifier of the public network IMS system after power-on. After detecting the second PDU session establishment event, the terminal can send a 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 establishes a second PDU session associated with the public network IMS system.

[0054] As an embodiment, based on the first PDU session and the second PDU session established with the 5G core network device in the above embodiment, the first routing rule obtained in step 201 for instructing the terminal to access the local IMS system may receive the first routing rule sent by the 5G core network device through the above first PDU session; the second routing rule obtained in step 202 for instructing the terminal to access the public IMS system may receive the second routing rule sent by the 5G core network device through the second PDU session. Optionally, in this embodiment, the first routing rule and the second routing rule may also be obtained by receiving the first routing rule and the second routing rule input externally. The present application does not limit the obtaining manner of the first routing rule and the second routing rule.

[0055] Optionally, the segment information in the above embodiments may be recorded using a regular expression. For example, if the segment information is recorded as 1380000[0-9]{4,4}, it means that the first 7 digits of the number are 1380000, and each of the last 4 digits is any number from 0 to 9.

[0056] Step 203, for the call service to be executed, when the target number in the call service matches the first type of segment information in the first routing rule, the call service is executed through the first PDU session associated with the local IMS system established with the 5G core network device; when the target number in the call service matches the second type of segment information in the second routing rule, the call service is executed through the second PDU session associated with the public IMS system established with the 5G core network device.

[0057] In specific applications, when the terminal receives an externally input call instruction to call a certain number, it is determined that there is a call service to be executed in the terminal, and the above certain number is the target number in the call service to be executed.

[0058] As an embodiment, after determining that there is a call service to be executed in the terminal, the terminal may use the newly compiled segment parsing function to parse the target number to determine whether the target number matches the first type of segment information in the first routing rule or the second type of segment information in the second routing rule. If the target number matches the first type of segment information, it is determined that the target number is in the segment allocated by the local IMS system, and the call service needs to be executed through the first PDU session associated with the local IMS system. If the target number matches the second type of segment information, it is determined that the target number is in the segment allocated by the public IMS system, and the call service needs to be executed through the second PDU session associated with the public IMS system.

[0059] Thus, the Figure 2 shown process is completed.

[0060] ThroughFigure 2 As can be seen from the process shown, after the terminal in this embodiment successfully registers to the local IMS system, it can obtain a first routing rule for instructing the terminal to access the local IMS system. After the terminal successfully registers to the public IMS system, it can obtain a second routing rule for instructing the terminal to access the public IMS system. Then, for a 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 (i.e., 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 target number matches the second type of number segment information in the second routing rule, the call service can be executed through the second PDU session associated with the public IMS system. Based on the above, the first PDU session for executing the internal call service of the local data network only passes through the local data network, avoiding the leakage of private data in the local data network during the call service.

[0061] It should be noted that the embodiments of the present application do not limit the execution order between step 201 and step 202. The execution order between step 201 and step 202 is related to the acquisition time of the first routing rule and the acquisition time of the second routing rule. If the first routing rule is acquired first, step 201 is executed first. If the second routing rule is acquired first, step 202 is executed first.

[0062] Next, a brief description will be given to another embodiment of the routing selection method provided by the embodiments of the present application. As Figure 3 shown, Figure 3 is a flowchart of another routing selection method. As an embodiment, Figure 3 the process shown can be applied to a 5G core network device. Here, the 5G core network device at least includes a PCF (Policy Control function) network element for policy control, an AMF (Access and Mobility Management Function) network element, an SMF (Session Management Function) network element, a UPF (User Plane Function) network element assigned to the local data network, and a UPF network element assigned to the public network in the 5G core network.

[0063] As Figure 3 shown, the process can include the following steps:

[0064] Step 301, after learning that the terminal has successfully registered to the local IMS system to which the terminal belongs, send a first routing rule for instructing the terminal to access the local IMS system to the terminal.

[0065] Step 302: After learning that the terminal has successfully registered to the public IMS system, send a second routing rule to the terminal to instruct the terminal to access the public IMS system.

[0066] Among them, the first routing rule sent to the terminal in the above step 301 is used to instruct the terminal to execute the call service through the first PDU session between the terminal and the 5G core network device and associated with the local IMS system when the target number in the call service executed by the terminal matches the first type of information in the first routing rule (that is, the target number is within the number segment allocated to the local IMS system). The second routing rule sent to the terminal in the above step 302 is used to instruct the terminal to execute the call service through the second PDU session between the terminal and the 5G core network device and associated with the public IMS system when the target number in the call service executed by the terminal matches the second type of number segment information in the second routing rule (the target number is within the number segment allocated to the public IMS system).

[0067] 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. The second routing rule is generated by the 5G core network device based on the number segment allocated to the public IMS system by the operator when building the public network and the network identifier of the public IMS system.

[0068] Exemplarily, in this embodiment, the operator can record the mapping relationship between the number segment allocated to 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 IMS system and the network identifier of the public IMS system in the PCF network element. When the PCF network element learns that the terminal has successfully registered in the local IMS system and the public IMS system, the PCF network element sends an extended URSP (UE Route Selection Policy) to the terminal, and the extended part of the extended URSP contains the first routing rule or the second routing rule.

[0069] As an embodiment, the 5G core network device in this embodiment can learn that the terminal has successfully registered to the local IMS system to which the terminal belongs in the following manner: when receiving a SIP registration success notification message sent by the local IMS system through the first PDU session, it learns that the terminal has successfully registered to 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 to the public IMS system in the following manner: when receiving a SIP registration success notification message sent by the public IMS system through the second PDU session, it learns that the terminal has successfully registered to the public IMS system.

[0070] 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 device. Therefore, in the specific implementation of the above embodiment, after the terminal sends a SIP registration request to the first PDU session with the 5G core network device, the 5G core network device will transparently transmit the SIP registration request to the local IMS system through the UPF network element carrying the first PDU session. Then, after receiving the SIP registration request, the local IMS system will register the terminal to the local IMS system and return a SIP registration response to the terminal, and then send a SIP registration success notification message to the PCF network element carrying the first PDU session in the 5G core network device. And after the terminal sends a 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 carrying the second PDU session. Then, 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 a SIP registration success notification message to the PCF network element carrying the second PDU session in the 5G core network device.

[0071] Among them, as an embodiment, the above first PDU session and second PDU session are established respectively through the following steps before the Figure 3 method flow shown:

[0072] Receive the 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 the second PDU session establishment request sent by the terminal, and then establish a second PDU session associated with the public network IMS system between the terminal and the 5G core network device based on the second PDU session establishment request.

[0073] In the 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, then notify the request to the SMF network element, and then the SMF network element will notify the PCF network element and the UPF network element assigned to the local data network to establish the first PDU session. The second PDU session can be established in the following manner: the 5G core network device will receive the second PDU session establishment request through the AMF network element, then notify the request to the SMF network element, and then the SMF network element will notify the PCF network element and the UPF network element assigned to the public network to establish the second PDU session.

[0074] As an example, 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. Among them, 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 the network elements carrying the first PDU session, and the first media address assigned to the terminal in the local IMS system. 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 second media address assigned to the terminal in the public IMS system.

[0075] The above first media address is assigned by the PCF network element in the 5G core network device that carries the first PDU session, and the second media address is assigned by the PCF network element in the 5G core network device that carries the second PDU session.

[0076] As an example, 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 example, the SIP registration request sent by the terminal through the first PDU can 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 executed by the terminal, it can determine to use the first PDU session to transmit the service data in the call service through the correspondence between the first media address and the local number assigned to the terminal.

[0077] In this embodiment, the second media address is used for the terminal to register in the public 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 IMS system. In the above example, the SIP registration request sent by the terminal through the second PDU can carry the correspondence between the second media address and the public number assigned to the terminal, so that when the public IMS system receives the call service executed by the terminal, it can determine to use the second PDU session to transmit the service data in the call service through the correspondence between the second media address and the public number assigned to the terminal.

[0078] So far, the Figure 3 shown process is completed.

[0079] Through Figure 3As can be seen from the process shown, in this embodiment, after the 5G core network device learns that the terminal has successfully registered to the local IMS system and the public network IMS system to which the terminal belongs, it sends a first routing rule for instructing the terminal to access the local IMS system and a second routing rule for instructing the terminal to access the public network IMS system to the terminal, so that the terminal can, based on the first routing rule and the second routing rule, when the target number in the call service to be executed in the terminal matches the first type of number segment information in the first routing rule, execute the call service through the first PDU session associated with the local IMS system, and when the target number in the call service to be executed in the terminal matches the second type of number segment information in the second routing rule, execute the call service through the second PDU session associated with the public network IMS system, avoiding the leakage of private data in the local data network during the call service.

[0080] It should be noted that the embodiments of the present application do not limit the execution order between step 301 and step 302. The execution order between step 301 and step 302 is related to the time when the 5G core network device learns that the terminal has successfully registered to the local IMS system and learns that the terminal has successfully registered to the public network IMS system. If it first learns that the terminal has successfully registered to the local IMS system, step 301 is executed first. If it first learns that the terminal has successfully registered to the public network IMS system, step 302 is executed first.

[0081] For ease of understanding, the routing selection method provided by the present application will be described in detail below in conjunction with Figure 4 the specific embodiments shown:

[0082] As an embodiment, the scenario to which the routing selection method provided by the present application is applied includes at least a public network and a local data network. Among them, 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). This network identifier can uniquely identify the IMS system in the data network and uniquely identify the data network. For example, the network identifier of the local IMS system can be set to imsLocal, and the network identifier of the public network IMS system can be set to ims.

[0083] In this embodiment, the above network identifier can be assigned by the operator to the local IMS system and the public network IMS system when creating the public network and the local data network. When creating the public network and the local data network, the operator will also assign number segments to the local IMS system and the public network IMS system respectively, and record the mapping relationship between the number segment assigned to the local IMS system and the network identifier imsLocal of the local IMS system in the PCF network element in the 5G core network device, and record the mapping relationship between the number segment assigned to the public network IMS system and the network identifier ims of the public network IMS system in the PCF network element in the 5G core network device as well.

[0084] As an embodiment, the operator assigns the number segment to the local IMS system based on the pre-divided enterprise network number segment. For example, the enterprise network number segment at least includes 1360000[0-9]{4,4}, 1370000[0-9]{4,4}, 1380000[0-9]{4,4}, and 1390000[0-9]{4,4}. Then, the number segments 1360000[0-9]{4,4} and 1380000[0-9]{4,4} that have not been assigned to other IMS systems can be assigned to the local IMS system.

[0085] After the local data network is set up, based on the need for the terminal to perform services in 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, and then as Figure 4 shown, when the terminal is powered on, the terminal will automatically send a first PDU session request carrying the network identifier imsLocal and a 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 core network device can establish a first PDU session associated with the local IMS system and a second PDU session associated with the public network IMS system with the terminal. The specific establishment process of the first PDU session and the second PDU session can refer to the description of the embodiment shown above Figure 3 and will not be elaborated here.

[0086] After the first PDU session and the second PDU session are established, the terminal will obtain the first media address assigned by the 5G core network device to the terminal in the local IMS system through the obtained first PDU session information, and obtain the second media address assigned by the 5G core network device to the terminal in the public network IMS system through the obtained second PDU session information.

[0087] Then, the terminal can send an SIP registration request carrying the first media address and the local number pre-assigned to the terminal to the local IMS system through the first PDU session, and send an SIP registration request carrying the second media address and the public network number pre-assigned to the terminal to the public network IMS system through the second PDU session.

[0088] In this embodiment, after receiving the SIP registration request, the local IMS system will record 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 this terminal makes a call to other terminals, it can transmit the call data transmitted by other terminals to this terminal through the first PDU session indicated by the first media address, or when it learns that other terminals request to call this terminal, it can find the corresponding first media address according to the local number of this terminal, and then notify this terminal through the first PDU session indicated by the first media address.

[0089] 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 when the public network IMS system learns that this terminal makes a call to other terminals, it can transmit the call data transmitted by other terminals to this terminal through the second PDU session indicated by the second media address, or when it learns that other terminals request to call this terminal, it can find the corresponding second media address according to the public network number of this terminal, and then notify this terminal through the second PDU session indicated by the second media address.

[0090] 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 Figure 4 shown, the local IMS system will return an SIP registration response to the terminal through the first PDU session, notify the terminal that the registration in the local IMS system is successful, and send a notification message indicating the successful SIP registration to the PCF network element in the 5G core network device, so that the 5G core network device learns that the terminal has successfully registered to the local IMS system.

[0091] Similarly, as Figure 4 shown, 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 return an SIP registration response to the terminal through the second PDU session, notify the terminal that the registration in the public network IMS system is successful, and send a notification message indicating the successful SIP registration to the PCF network element in the 5G core network device, so that the 5G core network device learns that the terminal has successfully registered to the public network IMS system.

[0092] Further, as Figure 4As shown, after the 5G core network device learns that the terminal has successfully registered to the local IMS system, it will trigger the PCF network element to send the first routing rule for instructing the terminal to access the local IMS system to the terminal through the first PDU session. After learning that the terminal has successfully registered to the public IMS system, it will trigger the PCF network element to send the second routing rule for instructing the terminal to access the public IMS system to the terminal through the second PDU session.

[0093] Optionally, after receiving the first routing rule through the first PDU session, the terminal in this embodiment will record the mapping relationship between the local IMS system and the first type of number segment information in the first routing rule in a pre-created routing rule record table. After receiving the second routing rule through the second PDU session, it will record the mapping relationship between the public IMS system and the second type of number segment information in the second routing rule in the same routing rule record table.

[0094] Exemplarily, the routing rule record table in the terminal can be recorded in a table as shown in Table 1 below:

[0095]

[0096]

[0097] Table 1

[0098] 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} represents a number whose first 7 digits are 1380000 and each of the last 4 digits is any one of 0-9. The number segment information 1360000[0-9]{4,4} represents a number whose first 7 digits are 1360000 and each of the last 4 digits is any one of 0-9. The number segment information 135[0-9]{8,8} represents a number whose first 3 digits are 135 and each of the last 8 digits is any one of 0-9.

[0099] It can also be seen from Table 1 that one or more number segments can be allocated to the local IMS system. For example, the local IMS system with the DNN imsLocal in the above table is allocated two number segments: 1380000[0-9]{4,4} and 1360000[0-9]{4,4}. Similarly, one or more numbers can be allocated to the public IMS system. In Table 1, the public network with the DNN ims is allocated one number segment: 135[0-9]{8,8}. In this embodiment, the number of number segments allocated to the local IMS system depends on the business requirements of the enterprise applying for the enterprise network. When multiple enterprises share an enterprise network, different number segments can be allocated to different enterprises according to business requirements.

[0100] Based on such Figure 1The routing rule record table shown above. When the terminal executes a call service, it can first match the target number in the call service with the segment information in the routing rule record table to determine the segment where the target number is located. Then, according to the segment where the target number is located, it can find the corresponding IMS DNN from the routing rule record table, so as to know which PDU session associated with which IMS system is required to execute this call service. For example, when the target number in the call service is 1380000XXXX (X represents a specific number), it can be determined that the segment information of the segment where this number is located is 1380000[0-9]{4,4}. The network identifier of the IMS system corresponding to 1380000[0-9]{4,4} in the routing rule record table is imsLocal. Then the terminal can select the first PDU session associated with the local IMS system indicated by imsLocal to execute this call service.

[0101] Thus, the description of the entire process of route selection when the terminal executes a call service in this embodiment is completed.

[0102] The above examples are only for easy understanding, and the embodiments of the present application are not specifically limited.

[0103] The method provided by the embodiments of the present application has been described above. Next, the device provided by the embodiments of the present application will be described:

[0104] See Figure 5 , Figure 5 which is a schematic diagram of a route selection device provided by an embodiment of the present application. This device embodiment is applied to a terminal. The device includes:

[0105] A first routing rule acquisition unit 501, 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 to the local IP multimedia subsystem IMS system to which the terminal belongs. The first routing rule at least includes the mapping relationship between the local IMS system and the first type of segment information, and the first type of segment information includes the segment allocated to the local IMS system.

[0106] A second routing rule acquisition unit 502, 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 to the public network IMS system. The second routing rule at least includes the mapping relationship between the public network IMS system and the second type of segment information, and the second type of segment information includes the segment allocated to the public network IMS system.

[0107] A call service execution unit 503, which is used for a call service to be executed. If the target number in the call service matches the first type of number segment information in the first routing rule, the call service is executed through the first protocol data unit (PDU) session that associates the local IMS system with the 5G core network device; if the target number in the call service matches the second type of number segment information in the second routing rule, the call service is executed through the second PDU session that associates the public IMS system with the 5G core network device.

[0108] Optionally, the device further includes:

[0109] A registration unit, which is used 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, enabling the terminal to be successfully registered to the local IMS system.

[0110] The first routing rule acquisition unit 501 obtains the first routing rule for instructing the terminal to access the local IMS system, including:

[0111] Receiving the first routing rule sent by the 5G core network device through the first PDU session.

[0112] Optionally, the registration unit is further used to send a 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 public IMS system, enabling the terminal to be successfully registered to the public IMS system.

[0113] The second routing rule acquisition unit 502 obtains the second routing rule for instructing the terminal to access the public IMS system, including:

[0114] Receiving the second routing rule sent by the 5G core network device through the second PDU session.

[0115] Optionally, the number segment assigned to the local IMS system is a pre-specified enterprise network number segment; the number segment assigned to the public IMS system is a pre-specified public network number segment.

[0116] Optionally, the device further includes:

[0117] A first PDU session establishment unit, configured to send a first PDU session establishment request to the 5G core network device when detecting a first PDU session establishment event; the first PDU session establishment request is used to instruct the 5G core network device to establish, between the terminal and the 5G core network device, the first PDU session associated with the local IMS system.

[0118] A second PDU session establishment unit, configured to send a second PDU session establishment request to the 5G core network device when detecting a second PDU session establishment event; the second PDU session establishment request is used to instruct the 5G core network device to establish, between the terminal and the 5G core network device, the second PDU session associated with the public network IMS system.

[0119] The above completes the description of Figure 5 the device embodiments shown.

[0120] Next, please refer to Figure 6 , Figure 6 , which is a schematic diagram of a routing selection device provided by an embodiment of the present application. This device embodiment is applied to a 5G core network device. The device includes:

[0121] A first routing rule distribution unit 601, configured to, after learning that the terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs, distribute a first routing rule for instructing the terminal to access the local IMS system to the terminal. The first routing rule at least includes a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system.

[0122] A second routing rule distribution unit 602, configured to, after learning that the terminal has successfully registered to the public network IMS system, distribute a second routing rule for instructing the terminal to access the public network IMS system to the terminal. The second routing rule at least includes a mapping relationship between the public network IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system.

[0123] Wherein, when a target number in a call service executed by the terminal matches the first type of information in the first routing rule, the first routing rule is used to instruct the terminal to execute the call service through a first protocol data unit (PDU) session that is associated with the local IMS system and established between the terminal and the 5G core network device;

[0124] The second routing rule is used to instruct the terminal to execute the call service through a second PDU session associated with the public IMS system established between the terminal and the 5G core network device when the destination number in the call service executed by the terminal matches the second type of number segment information in the second routing rule.

[0125] Optionally, the first routing rule distribution unit 601 learns that the terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs, including:

[0126] When receiving a SIP registration success notification message sent by the local IMS system through the first PDU session, it learns that the terminal has successfully registered to the local IMS system to which the terminal belongs;

[0127] The second routing rule distribution unit 602 learns that the terminal has successfully registered to the public IMS system, including:

[0128] When receiving a SIP registration success notification message sent by the public IMS system through the second PDU session, it learns that the terminal has successfully registered to the public IMS system.

[0129] Optionally, the apparatus further includes before:

[0130] A first PDU session establishment unit, configured to receive a first PDU session establishment request sent by the terminal; based on the first PDU session establishment request, establish the first PDU session for associating with the local IMS system between the terminal and the 5G core network device.

[0131] A second PDU session establishment unit, configured to receive a second PDU session establishment request sent by the terminal; based on the second PDU session establishment request, establish the second PDU session for associating with the public IMS system between the terminal and the 5G core network device.

[0132] The above completes the description of Figure 6 the described apparatus embodiment.

[0133] The above is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the scope of protection of the present application.

Claims

1. A routing method, characterized in that, The method is applied to a terminal and includes: After learning that the terminal has successfully registered to the local IP Multimedia Subsystem (IMS) system to which the terminal belongs, obtaining a first routing rule for instructing the terminal to access the local IMS system, where the first routing rule at least includes a mapping relationship between the local IMS system and first class segment information, and the first class segment information includes the segment assigned to the local IMS system; After learning that the terminal has successfully registered to the public network IMS system, obtaining a second routing rule for instructing the terminal to access the public network IMS system, where the second routing rule at least includes a mapping relationship between the public network IMS system and second class segment information, and the second class segment information includes the segment assigned to the public network IMS system; For a call service to be executed, if the target number in the call service matches the first class segment information in the first routing rule, then execute the call service through a first Protocol Data Unit (PDU) session associated with the local IMS system established between the terminal and the 5G core network device; if the target number in the call service matches the second class segment information in the second routing rule, then execute the call service through a second PDU session associated with the public network IMS system established between the terminal and the 5G core network device.

2. The method according to claim 1, characterized in that, Before this method, it further includes: Sending a Session Initiation Protocol (SIP) registration request through a first PDU session between the terminal and 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, enabling the terminal to successfully register to the local IMS system; The obtaining of the first routing rule for instructing the terminal to access the local IMS system includes: Receiving the first routing rule sent by the 5G core network device through the first PDU session.

3. The method according to claim 1, characterized in that, Before this method, it further includes: Sending a SIP registration request through a second PDU session between the terminal and the 5G core network device, so that the 5G core network device forwards the SIP registration request to the public network IMS system, enabling the terminal to successfully register to the public network IMS system; The obtaining of the second routing rule for instructing the terminal to access the public network IMS system includes: Receiving the second routing rule sent by the 5G core network device through the second PDU session.

4. The method according to any one of claims 1 to 3, characterized in that, The segment assigned to the local IMS system is a pre-specified enterprise network segment; the segment assigned to the public network IMS system is a pre-specified public network segment.

5. The method according to any one of claims 1 to 3, characterized in that Before this method, it further includes: When detecting a first PDU session establishment event, sending a first PDU session establishment request to the 5G core network device; the first PDU session establishment request is used to instruct the 5G core network device to establish the first PDU session associated with the local IMS system between the terminal and the 5G core network device. When a second PDU session establishment event is detected, send a second PDU session establishment request to the 5G core network device; the second PDU session establishment request is used to instruct the 5G core network device to establish, between the terminal and the 5G core network device, the second PDU session associated with the public network IMS system.

6. A routing method, characterized in that, The method is applied to a 5G core network device and includes: After learning that the terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs, send a first routing rule for instructing the terminal to access the local IMS system to the terminal. The first routing rule includes at least a mapping relationship between the local IMS system and first type segment information, and the first type segment information includes the segment assigned to the local IMS system. After learning that the terminal has successfully registered to the public network IMS system, send a second routing rule for instructing the terminal to access the public network IMS system to the terminal. The second routing rule includes at least a mapping relationship between the public network IMS system and second type segment information, and the second type segment information includes the segment assigned to the public network IMS system. Wherein, when the target number in the call service executed by the terminal matches the first type information in the first routing rule, the first routing rule is used to instruct the terminal to execute the call service through the first protocol data unit (PDU) session associated with the local IMS system established 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 segment information in the second routing rule, the second routing rule is used to instruct the terminal to execute the call service through the second PDU session associated with the public network IMS system established between the terminal and the 5G core network device.

7. The method according to claim 6, characterized in that The learning that the terminal has successfully registered to the local IP multimedia subsystem (IMS) system to which the terminal belongs includes: When receiving, through the first PDU session, a SIP registration success notification message sent by the local IMS system, learning that the terminal has successfully registered to the local IMS system to which the terminal belongs. The learning that the terminal has successfully registered to the public network IMS system includes: When receiving, through the second PDU session, a SIP registration success notification message sent by the public network IMS system, learning that the terminal has successfully registered to the public network IMS system.

8. The method according to claim 6 or 7, characterized in that, Before the method, it further includes: Receiving a first PDU session establishment request sent by the terminal; based on the first PDU session establishment request, establishing, between the terminal and the 5G core network device, the first PDU session associated with the local IMS system. Receiving a second PDU session establishment request sent by the terminal; based on the second PDU session establishment request, establishing, between the terminal and the 5G core network device, the second PDU session associated with the public network IMS system.

9. A routing device, characterized in that, The device is applied to a terminal and includes: A first routing rule acquisition unit, 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 to the local IP multimedia subsystem (IMS) system to which the terminal belongs. The first routing rule includes at least a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system. A second routing rule acquisition unit, 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 to the public network IMS system. The second routing rule includes at least a mapping relationship between the public network IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system. A call service execution unit, configured to, for a call service to be executed, if the target number in the call service matches the first type of number segment information in the first routing rule, execute the call service through a first protocol data unit (PDU) session associated with the local IMS system established between the 5G core network device and the terminal; if the target number in the call service matches the second type of number segment information in the second routing rule, execute the call service through a second PDU session associated with the public network IMS system established between the 5G core network device and the terminal.

10. A routing device, characterized in that, The apparatus is applied to a 5G core network device and includes: A first routing rule distribution unit, configured to distribute 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 to the local IP multimedia subsystem (IMS) system to which the terminal belongs. The first routing rule includes at least a mapping relationship between the local IMS system and first type of number segment information, and the first type of number segment information includes the number segment allocated to the local IMS system. A second routing rule distribution unit, configured to distribute a second routing rule for instructing the terminal to access the public network IMS system to the terminal after learning that the terminal has successfully registered to the public network IMS system. The second routing rule includes at least a mapping relationship between the public network IMS system and second type of number segment information, and the second type of number segment information includes the number segment allocated to the public network IMS system. Wherein, the first routing rule is used to instruct the terminal to execute the call service through a first protocol data unit (PDU) session associated with the local IMS system established between the 5G core network device and the terminal when the target number in the call service executed by the terminal matches the first type of information in the first routing rule. The second routing rule is used to instruct the terminal to execute the call service through a second PDU session associated with the public network IMS system established between the 5G core network device and the terminal when the target number in the call service executed by the terminal matches the second type of number segment information in the second routing rule.

Citation Information

Patent Citations

  • Calling method, device and system

    CN108235388A