PDU type setting method, UE policy setting method, and related entity
11716680 · 2023-08-01
Assignee
Inventors
- Xiaojuan Li (Beijing, CN)
- Haorui Yang (Shenzhen, CN)
- Hui Jin (Beijing, CN)
- Guowei Ouyang (Beijing, CN)
- Fenghui DOU (Beijing, CN)
Cpc classification
H04W80/10
ELECTRICITY
H04L69/167
ELECTRICITY
H04L2101/686
ELECTRICITY
H04W80/04
ELECTRICITY
H04W80/045
ELECTRICITY
H04W48/16
ELECTRICITY
H04W40/02
ELECTRICITY
H04L2101/654
ELECTRICITY
H04W80/12
ELECTRICITY
International classification
H04L69/167
ELECTRICITY
H04W40/02
ELECTRICITY
H04W48/16
ELECTRICITY
H04W80/04
ELECTRICITY
H04W80/10
ELECTRICITY
Abstract
A protocol data unit (PDU) type setting method, a user equipment (UE) policy setting method, and a related entity, where the PDU type setting method includes: setting, by UE, a requested PDU type of a PDU session in a process of establishing the PDU session, where the requested PDU type of the PDU session is set by the UE based on a first condition, the first condition includes an Internet Protocol (IP) version corresponding to an application, and the application is associated with the PDU session. In the embodiments of the present disclosure, the requested PDU type of the PDU session can be consistent with a PDU type requested by the application, such that the application can normally perform communication.
Claims
1. A protocol data unit (PDU) type setting method implemented by a user equipment (UE), wherein the PDU type setting method comprises: obtaining a UE route selection policy (URSP) for the UE from a policy control function entity, wherein the URSP comprises a first application identifier which identifies a first application, a first Internet Protocol (IP) version corresponding to the first application, a second application identifier which identifies a second application, and a second IP version corresponding to the second application; and setting a requested PDU type of a PDU session in a process of establishing the PDU session, wherein the requested PDU type of the PDU session is set for an application associated with the PDU session by the UE based on a first condition, wherein the first condition comprises one of the first IP version or the second IP version corresponding to the application associated with the PDU session, wherein the application associated with the PDU session is identified by one of the first application identifier or the second application identifier, and wherein setting the requested PDU type comprises setting, by the UE, in the process of establishing the PDU session, the requested PDU type of the PDU session to the one of the first IP version or the second IP version corresponding to the one of the first application identifier or the second application identifier associated with the PDU session.
2. The PDU type setting method of claim 1, wherein the one of the first IP version or the second IP version corresponding to the application associated with the PDU session is requested by the application or an IP version recommended by the application.
3. The PDU type setting method of claim 2, wherein the IP version recommended by the application is determined based on an IP version supported by a data network name and the first IP version or the second IP version requested by the application.
4. The PDU type setting method of claim 1, wherein the first condition further comprises at least one of an IP stack capability of the UE or an IP version supported by a data network name.
5. The PDU type setting method of claim 4, wherein when the first condition comprises the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE, setting the requested PDU type of the PDU session in the process of establishing the PDU session comprises setting, by the UE in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE.
6. The PDU type setting method of claim 4, wherein when the one of the first IP version or the second IP version corresponding to the application associated with the PDU session is an IP version requested by the application, and the first condition comprises the IP version requested by the application and the IP version supported by the data network name, setting the requested PDU type of the PDU session in the process of establishing the PDU session comprises setting, by the UE in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application and the IP version supported by the data network name.
7. The PDU type setting method of claim 1, wherein the first application identifier and the second application identifier comprise an application name.
8. User equipment (UE), comprising: a memory configured to store instructions; and a processor coupled to the memory and configured to execute the instructions to: obtain a UE route selection policy (URSP) for the UE from a policy control function entity, wherein the URSP comprises a first application identifier which identifies a first application, a first Internet Protocol (IP) version corresponding to the first application, a second application identifier which identifies a second application, and a second IP version corresponding to the second application; and set a requested PDU type of a PDU session in a process of establishing the PDU session, wherein the requested PDU type of the PDU session is set for an application associated with the PDU session by the UE based on a first condition, wherein the first condition comprises one of the first IP version or the second IP version corresponding to the application associated with the PDU session, wherein the application associated with the PDU session is identified by one of the first application identifier or the second application identifier, and wherein setting the requested PDU type of the PDU session comprises setting, by the UE, in the process of establishing the PDU session, the requested PDU type of the PDU session to the one of the first IP version or the second IP version corresponding to the one of the first application identifier or the second application identifier associated with the PDU session.
9. The UE of claim 8, wherein the one of the first IP version or the second IP version corresponding to the application associated with the PDU session is requested by the application or an IP version recommended by the application.
10. The UE of claim 9, wherein the IP version recommended by the application is determined based on an IP version supported by a data network name and the first IP version or the second IP version requested by the application.
11. The UE of claim 8, wherein the first condition further comprises at least one of an IP stack capability of the UE or an IP version supported by a data network name.
12. The UE of claim 11, wherein when the first condition comprises the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE, the processor is further configured to execute the instructions to set the requested PDU type of the PDU session in the process of establishing the PDU session by setting, by the UE in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE.
13. The UE of claim 11, wherein when the one of the first IP version or the second IP version corresponding to the application associated with the PDU session is an IP version requested by the first application identifier or the second application identifier, and the first condition comprises the IP version requested by the application and the IP version supported by the data network name, the processor is further configured to execute the instructions to set the requested PDU type of the PDU session in the process of establishing the PDU session by setting, by the UE in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application and the IP version supported by the data network name.
14. The UE of claim 8, wherein the first application identifier and the second application identifier comprise an application name.
15. A computer program product comprising instructions stored on a non-volatility computer readable medium that, when executed by a processor, cause a user equipment (UE) to: obtain a UE route selection policy (URSP) for the UE from a policy control function entity, wherein the URSP comprises a first application identifier which identifies a first application, a first Internet Protocol (IP) version corresponding to the first application, a second application identifier which identifies a second application, and a second IP version corresponding to the second application; and set a requested protocol data unit (PDU) type of a PDU session in a process of establishing the PDU session, wherein the requested PDU type of the PDU session is set for an application associated with the PDU session by the UE based on a first condition, wherein the first condition comprises one of the first IP version or the second IP version corresponding to the application associated with the PDU session, wherein the application associated with the PDU session is identified by one of the first application identifier or the second application identifier, and wherein setting the requested PDU type of the PDU session comprises setting, by the UE, in the process of establishing the PDU session, the requested PDU type of the PDU session to the one of the first IP version or the second IP version corresponding to the one of the first application identifier or the second application identifier associated with the PDU session.
16. The computer program product of claim 15, wherein the one of the first IP version or the second IP version corresponding to the application associated with the PDU session is requested by the application or an IP version recommended by the application.
17. The computer program product of claim 15, wherein the IP version recommended by the application is determined based on an IP version supported by a data network name and the first IP version or the second IP version requested by the application.
18. The computer program product of claim 15, wherein the first condition further comprises at least one of an IP stack capability of the UE or an IP version supported by a data network name.
19. The computer program product of claim 18, wherein when the first condition comprises the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE, the processor is configured to execute the instructions to set the requested PDU type of the PDU session in the process of establishing the PDU session by setting, by the UE in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the one of the first IP version or the second IP version corresponding to the application associated with the PDU session and the IP stack capability of the UE.
20. A system, comprising: a policy control function entity; an access and mobility management function entity; and a user equipment (UE) configured to: obtain a UE route selection policy (URSP) for the UE from the policy control function entity, wherein the URSP comprises a first application identifier which identifies a first application, a first Internet Protocol (IP) version corresponding to the first application, a second application identifier which identifies a second application, and a second IP version corresponding to the second application; and set a requested PDU type of a PDU session in a process of establishing the PDU session, wherein the requested PDU type of the PDU session is set for an application associated with the PDU session by the UE based on a first condition, wherein the first condition comprises one of the first IP version or the second IP version corresponding to the application associated with the PDU session, wherein the application associated with the PDU session which is identified by one of the first application identifier or the second application identifier, and wherein setting the requested PDU type of the PDU session comprises setting, by the UE, in the process of establishing the PDU session, the requested PDU type of the PDU session to the one of the first IP version or the second IP version corresponding to the one of the first application identifier or the second application identifier associated with the PDU session.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION OF EMBODIMENTS
(11) Embodiments of the present disclosure provide a PDU type setting method in which a UE sets a requested PDU type of a PDU session in a process of establishing the PDU session. The requested PDU type of the PDU session is set by the UE based on a first condition, where the first condition includes an IP version corresponding to an application associated with the PDU session. It may be understood that, that the application is associated with the PDU session means that the application transmits data using the PDU session or transmits data traffic of the application using the PDU session.
(12) In the embodiments of the present disclosure, when setting the requested PDU type of the PDU session in the process of establishing the PDU session, the UE considers the IP version corresponding to the application associated with the PDU session. Therefore, the requested PDU type of the PDU session can be consistent with a PDU type requested by the application, such that the application can normally perform communication.
(13) In a possible implementation, the IP version corresponding to the application includes an IP version requested by the application or an IP version recommended by the application. The IP version requested by the application or the IP version recommended by the application may be configured in the UE. The UE may obtain, from configuration information, the IP version requested by the application or the IP version recommended by the application. Alternatively, the UE may obtain, from a UE policy received from a PCF, the IP version requested by the application or the IP version recommended by the application. In this implementation, two methods that can reflect the IP version requested by the application are provided. One form is used to directly obtain the IP version requested by the application. The other form is used to indirectly obtain the IP version requested by the application, that is, indirectly obtain, using the IP version recommended by the application, the IP version requested by the application.
(14)
(15) The UE policy may be but is not limited to the URSP. It can be learned from descriptions of the URSP in the 5G protocol that the PCF stores the URSP, and a DNN selection policy in the URSP is used to select one or more DNNs for the PDU session. The URSP may include one or more rules corresponding to each application. The rule may be formulated by an operator or formulated by an operator based on a requirement of an application service provider. The rule usually includes a DNN. Table 2 shows an example of a common URSP. Table 2 also shows a correspondence between an application name and a DNN.
(16) TABLE-US-00002 TABLE 2 A table of a correspondence between an application name and a DNN in a URSP Application name DNN App 1 Default App 2 Internet
(17) It can be learned from Table 2 that, because the DNN corresponding to the App 1 is not specified in the URSP, the UE may consider the DNN of the application as a default value, where the DNN corresponding to the App 2 is the Internet. After determining the DNN corresponding to the application, the UE may determine the requested PDU type of the PDU session based on an IP version supported by the DNN, where the requested PDU type of the PDU session is a requested IP version of the PDU session. Alternatively, the UE may determine the requested PDU type of the PDU session based on an IP version supported by the DNN and an IP stack capability of the UE.
(18) It can be learned from the foregoing analysis that the common URSP includes only the DNN, and does not include a PDU type requested by the application (namely, an IP version requested by the application). When determining the requested PDU type of the PDU session, the UE usually determines the requested PDU type of the PDU session based on the IP version supported by the DNN and/or the IP stack capability of the UE. As a result, the requested PDU type of the PDU session may be inconsistent with the IP version requested by the application, and consequently the application cannot normally perform communication.
(19) In an embodiment of the present disclosure, the URSP is modified such that the UE can obtain an IP version requested by an application. Table 3 shows an example of a modified URSP provided in this embodiment of the present disclosure. Table 3 also shows a correspondence between an application name and an IP version requested by an application.
(20) TABLE-US-00003 TABLE 3 A table of a correspondence between an application name and an IP version requested by an application in a URSP IP version requested Application name by an application App 1 IPv4 App 2 IPv6
(21) It can be learned from Table 3 that the IP version requested by the App 1 is IPv4 and the IP version requested by the App 2 is IPv6. After determining the application associated with the PDU session, the UE may determine a requested IP version of the PDU session based on the IP version requested by the application, that is, determine the requested PDU type of the PDU session. Alternatively, the UE may determine a requested IP version of the PDU session based on the IP version requested by the application and an IP stack capability of the UE.
(22) In another embodiment of the present disclosure, the URSP is modified, such that the UE can obtain an IP version requested by an application. Table 4 shows an example of a modified URSP provided in this embodiment of the present disclosure. Table 4 also shows a correspondence among an application name, an IP version requested by an application, and a DNN.
(23) TABLE-US-00004 TABLE 4 A table of a correspondence among an application name, an IP version requested by an application, and a DNN in a URSP IP version requested Application name by an application DNN App 1 IPv4 Default App 2 IPv6 Internet
(24) It can be learned from Table 4 that the IP version requested by the App 1 is IPv4, the DNN of the App 1 is considered as a default value, the IP version requested by the App 2 is IPv6, and the DNN corresponding to the App 2 is the Internet. After determining the application associated with the PDU session, the UE may determine a requested IP version of the PDU session based on the IP version requested by the application and an IP version supported by the DNN. Alternatively, the UE may determine a requested IP version of the PDU session based on the IP version requested by the application, an IP version supported by the DNN, and an IP stack capability of the UE.
(25) In still another embodiment of the present disclosure, the URSP is modified, such that the UE can obtain an IP version recommended by an application. Table 5 shows an example of a modified URSP provided in this embodiment of the present disclosure. Table 5 also shows a correspondence between an application name and an IP version recommended by an application.
(26) TABLE-US-00005 TABLE 5 A table of a correspondence between an application name and an IP version recommended by an application in a URSP IP version recommended Application name by an application App 1 IPv4 App 2 IPv6
(27) It can be learned from Table 5 that the IP version recommended by the App 1 is IPv4 and the IP version recommended by the App 2 is IPv6. After determining the application associated with the PDU session, the UE may determine a requested IP version of the PDU session based on the IP version recommended by the application. Alternatively, the UE may determine a requested IP version of the PDU session based on the IP version recommended by the application and an IP stack capability of the UE.
(28) An embodiment of the present disclosure provides a PDU type setting method. The method may be based on the application scenario shown in
(29) In this embodiment of the present disclosure, when setting the requested PDU type of the PDU session in the process of establishing the PDU session, the UE considers the IP version corresponding to the application associated with the PDU session. Therefore, the requested PDU type of the PDU session can be consistent with a PDU type requested by the application, such that the application can normally perform communication.
(30) The following describes, using an example in which the PCF sends one of the foregoing modified URSPs to the UE, the PDU type setting method provided in this embodiment of the present disclosure.
(31)
(32) Step 201. A PCF sends a UE policy to a UE, where the UE policy includes an IP version requested by an application and a DNN.
(33) Applications may have different DNNs. In this case, the DNN is a DNN of the application. For example, if the DNN is the Internet, it indicates that a data network of the application is the Internet.
(34) In an example, the IP version requested by the application may include “IPv4”, “IPv6”, and “IP”. “IP” indicates that the application supports both IPv4 and IPv6.
(35) Step 202. The UE sets, based on the IP version requested by the application, an IP version supported by the DNN, and an IP stack capability of the UE, a requested PDU type of a PDU session in a process of establishing the PDU session, where the application is associated with the PDU session.
(36) It may be understood that, that the application is associated with the PDU session means that the application transmits data using the PDU session or transmits data traffic of the application using the PDU session.
(37) The UE may determine, based on the DNN included in the UE policy, the IP version supported by the DNN. A correspondence between a DNN and an IP version supported by the DNN may be pre-stored in the UE, and the IP stack capability of the UE may also be pre-stored in the UE.
(38) In an example, the UE sets, in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN. To be more specific, the UE selects, as the requested PDU type of the PDU session, an IP version jointly supported by the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN. For example, if the IP version requested by the application is IPv4, and both the IP stack capability of the UE and the IP version supported by the DNN support both IPv4 and IPv6, the IP version jointly supported by the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN is IPv4. In this case, IPv4 is used as the requested PDU type of the PDU session.
(39) In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN. As such, the PDU type meets an application requirement, a UE capability requirement, and a DNN capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(40) The following describes, using an example, the PDU type setting method provided in this embodiment of the present disclosure.
(41)
(42) Step 301. A UE determines, based on an IP version requested by an application, an IP version supported by a DNN, and an IP stack capability of the UE, a requested PDU type of a PDU session to be initiated by the UE.
(43) In an example, when there is an IP version jointly supported by the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE, the UE determines the jointly supported IP version as the requested PDU type of the PDU session to be initiated by the UE, and the UE subsequently initiates the PDU session of the application based on the determined PDU type. When there is no IP version jointly supported by the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE, the UE cannot initiate the PDU session of the application.
(44) Step 302. Obtain the following information: the IP version requested by the application is IPv6, IP versions supported by the DNN are IPv4 and IPv6, and IP stack capabilities of the UE are IPv4 and IPv6.
(45) In an example, the UE may be configured to: receive a URSP from a PCF; obtain, from the URSP, the IP version requested by the application and the DNN; determine, based on a pre-stored correspondence between a DNN and an IP version supported by the DNN, the IP version supported by the DNN; and obtain the pre-stored IP stack capability of the UE.
(46) Step 303. Determine, based on the information obtained in step 302, that the PDU type is IPv6.
(47) In an example, the UE may select, as the requested PDU type of the PDU session, an intersection of the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE.
(48) After determining the PDU type, the UE may subsequently perform step 308.
(49) Step 304. Obtain the following information: IP versions requested by the application are IPv4 and IPv6, the IP version supported by the DNN is IPv4, and IP stack capabilities of the UE are IPv4 and IPv6.
(50) In an example, the UE may be configured to: receive a URSP from a PCF; obtain, from the URSP, the IP version requested by the application and the DNN; determine, based on a pre-stored correspondence between a DNN and an IP version supported by the DNN, the IP version supported by the DNN; and obtain the pre-stored IP stack capability of the UE.
(51) Step 305. Determine, based on the information obtained in step 304, that the PDU type is IPv4.
(52) In an example, the UE may select, as the requested PDU type of the PDU session, an intersection of the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE.
(53) After determining the PDU type, the UE may subsequently perform step 308.
(54) Step 306. Determine that the IP version requested by the application is IPv6, the IP version supported by the DNN is not configured, and the IP stack capability of the UE is IPv4.
(55) In an example, the UE may be configured to: receive a URSP from a PCF; obtain, from the URSP, the IP version requested by the application and the DNN; determine, based on a pre-stored correspondence between a DNN and an IP version supported by the DNN, the IP version supported by the DNN; and obtain the pre-stored IP stack capability of the UE.
(56) Step 307. Determine, based on the information obtained in step 306, that the PDU session of the application cannot be initiated.
(57) In an example, the UE may determine whether the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have an intersection. When the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have no intersection, the UE determines that the PDU session of the application cannot be initiated.
(58) Step 308. The UE initiates the PDU session of the application based on the determined PDU type.
(59) In an example, the UE may determine whether the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have an intersection. When the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have an intersection, the UE uses, as the requested PDU type of the PDU session, the intersection of the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE. Then the UE initiates the PDU session of the application based on the determined PDU type.
(60) It can be learned from
(61) In this embodiment of the present disclosure, the UE first determines whether the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have an intersection. When the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have no intersection, the UE determines that the PDU session of the application cannot be initiated. As such, network resources can be saved, that is, the PDU session is established without wasting the network resources. When the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE have an intersection, the UE uses, as the requested PDU type of the PDU session, the intersection of the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE. The UE then initiates the PDU session of the application based on the determined PDU type, such that a possibility that the application can normally perform communication can be improved.
(62) In this embodiment of the present disclosure, because a UE policy includes both the DNN and the IP version requested by the application, the UE may set the requested PDU type of the PDU session based on the IP version requested by the application, the IP version supported by the DNN, and the IP stack capability of the UE. Therefore, the requested PDU type of the PDU session can be consistent with the IP version requested by the application, such that the application can normally perform communication.
(63) In addition, this embodiment of the present disclosure further provides a plurality of optional implementations.
(64) In a possible implementation, before the UE sets the requested PDU type of the PDU session, the UE receives the UE policy from the PCF, where the UE policy includes the IP version requested by the application. This way, the UE can set the requested PDU type of the PDU session based on the IP version requested by the application. For example, the UE sets the requested PDU type of the PDU session to the IP version requested by the application. In this implementation, both the IP stack capability of the UE and the IP version supported by the DNN usually support both IPv4 and IPv6. Therefore, processing resources can be saved when only the IP version requested by the application is considered to set the requested PDU type of the PDU session.
(65) In a possible implementation, before the UE sets the requested PDU type of the PDU session, the UE receives the UE policy from the PCF, where the UE policy includes the IP version requested by the application and the DNN. As such, the UE can set the requested PDU type of the PDU session based on the IP version requested by the application and the IP version supported by the DNN.
(66) For example, the UE sets, in a process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application and the IP stack capability of the UE. In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version corresponding to the application and the IP stack capability of the UE. As such, the PDU type meets both an application requirement and a UE capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(67) For another example, the UE sets, in a process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application and the IP version supported by the DNN. In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version requested by the application and the IP version supported by the DNN. As such, the PDU type meets both an application requirement and a DNN capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(68) For another example, the UE sets, in a process of establishing the PDU session, the requested PDU type of the PDU session to the intersection of the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN. In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN. As such, the PDU type meets an application requirement, a UE capability requirement, and a DNN capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(69)
(70) Step 401. A PCF sends a UE policy to UE, where the UE policy includes an IP version recommended by an application.
(71) In an example, the PCF may determine, based on an IP version requested by the application and an IP version supported by a DNN, the IP version recommended by the application. For example, an intersection of the IP version requested by the application and the IP version supported by the DNN is used as the IP version recommended by the application.
(72) Applications may have different DNNs. In this case, the DNN is a DNN of the application. For example, if the DNN is the Internet, it indicates that a data network of the application is the Internet.
(73) In an example, the IP version requested by the application may include “IPv4”, “IPv6”, and “IP”. “IP” indicates that the application supports both IPv4 and IPv6.
(74) Step 402. The UE sets, based on the IP version recommended by the application and an IP stack capability of the UE, a requested PDU type of a PDU session in a process of establishing the PDU session, where the application is associated with the PDU session.
(75) The IP stack capability of the UE may be pre-stored in the UE.
(76) In a possible implementation, the UE sets, in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version recommended by the application and the IP stack capability of the UE. To be more specific, the UE selects, as the requested PDU type of the PDU session, an IP version jointly supported by the IP version recommended by the application and the IP stack capability of the UE. For example, if the IP version recommended by the application is IPv4, and the IP stack capability of the UE supports both IPv4 and IPv6, the IP version jointly supported by the IP version recommended by the application and the IP stack capability of the UE is IPv4. In this case, IPv4 is used as the requested PDU type of the PDU session.
(77) In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version recommended by the application and the IP stack capability of the UE. Because the IP version recommended by the application reflects both an application requirement and a DNN capability requirement, the PDU type meets the application requirement, a UE capability requirement, and the DNN capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(78) The following describes, using an example, the PDU type setting method provided in this embodiment of the present disclosure.
(79)
(80) Step 501. A UE determines, based on an IP version recommended by an application and an IP stack capability of the UE, a requested PDU type of a PDU session to be initiated by the UE.
(81) In an example, when there is an IP version jointly supported by the IP version recommended by the application and the IP stack capability of the UE, the UE determines the jointly supported IP version as the requested PDU type of the PDU session to be initiated by the UE. The UE subsequently initiates the PDU session of the application based on the determined PDU type. When there is no IP version jointly supported by the IP version recommended by the application and the IP stack capability of the UE, the UE cannot initiate the PDU session of the application.
(82) Step 502. Obtain the following information: the IP version recommended by the application is IPv6, and IP stack capabilities of the UE are IPv4 and IPv6.
(83) In an example, the UE may be configured to: receive a URSP from a PCF; obtain, from the URSP, the IP version recommended by the application; and obtain the pre-stored IP stack capability of the UE.
(84) Step 503. Determine, based on the information obtained in step 502, that the PDU type is IPv6.
(85) In an example, the UE may select, as the requested PDU type of the PDU session, an intersection of the IP version recommended by the application and the IP stack capability of the UE.
(86) After determining the PDU type, the UE may subsequently perform step 506.
(87) Step 504. Obtain the following information: the IP version recommended by the application is IPv6, and the IP stack capability of the UE is IPv4.
(88) In an example, the UE may be configured to: receive a URSP from a PCF; obtain, from the URSP, the IP version recommended by the application; and obtain the pre-stored IP stack capability of the UE.
(89) Step 505. Determine, based on the information obtained in step 504, that the PDU session of the application cannot be initiated.
(90) In an example, the UE may determine whether the IP version recommended by the application and the IP stack capability of the UE have an intersection. When the IP version recommended by the application and the IP stack capability of the UE have no intersection, the UE determines that the PDU session of the application cannot be initiated.
(91) Step 506. The UE initiates the PDU session of the application based on the determined PDU type.
(92) In an example, the UE may determine whether the IP version recommended by the application and the IP stack capability of the UE have an intersection. When the IP version recommended by the application and the IP stack capability of the UE have an intersection, the UE uses, as the requested PDU type of the PDU session, the intersection of the IP version recommended by the application and the IP stack capability of the UE. The then UE initiates the PDU session of the application based on the determined PDU type.
(93) It can be learned from
(94) In this embodiment of the present disclosure, the UE first determines whether the IP version recommended by the application and the IP stack capability of the UE have an intersection. When the IP version recommended by the application and the IP stack capability of the UE have no intersection, the UE determines that the PDU session of the application cannot be initiated. As such, network resources can be saved, that is, the PDU session is established without wasting the network resources. When the IP version recommended by the application and the IP stack capability of the UE have an intersection, the UE uses, as the requested PDU type of the PDU session, the intersection of the IP version recommended by the application and the IP stack capability of the UE. Then the UE initiates the PDU session of the application based on the determined PDU type, such that a possibility that the application can normally perform communication can be improved.
(95) In this embodiment of the present disclosure, because a UE policy includes the IP version recommended by the application, and the IP version recommended by the application is determined based on an IP version requested by the application and an IP version supported by a DNN, the UE may set the requested PDU type of the PDU session based on the IP version recommended by the application and the IP stack capability of the UE. Therefore, the requested PDU type of the PDU session can be consistent with the IP version requested by the application, such that the application can normally perform communication.
(96) In addition, this embodiment of the present disclosure further provides a plurality of optional implementations.
(97) In a possible implementation, before the UE sets the requested PDU type of the PDU session, the UE receives the UE policy from the PCF. The UE policy includes the IP version recommended by the application, such that the UE can set the requested PDU type of the PDU session based on the IP version recommended by the application. The IP version recommended by the application is an IP version determined based on the IP version supported by the DNN and the IP version requested by the application. To be more specific, an intersection of the IP version supported by the DNN and the IP version requested by the application may be used as the IP version recommended by the application. For example, if IP versions supported by the DNN are IPv4 and IPv6, and the IP version requested by the application is IPv4, the IP version recommended by the application is IPv4.
(98) For example, the UE sets, in a process of establishing the PDU session, the requested PDU type of the PDU session to the IP version recommended by the application. In this implementation, the IP stack capability of the UE usually supports both IPv4 and IPv6. Therefore, processing resources can be saved when only the IP version recommended by the application is considered to set the requested PDU type of the PDU session.
(99) For another example, the UE sets, in a process of establishing the PDU session, the requested PDU type of the PDU session to the intersection of the IP version recommended by the application and the IP stack capability of the UE. In this implementation, the UE sets the requested PDU type of the PDU session to the intersection of the IP version recommended by the application and the IP stack capability of the UE. As such, the PDU type meets an application requirement, a DNN capability requirement, and a UE capability requirement, thereby correspondingly improving a possibility that the application can normally perform communication.
(100) The following describes, using an embodiment, a process in which the UE obtains the URSP.
(101)
(102) Step 601. A UE sends a registration request message to an AMF, where the registration request message carries a globally unique temporary identity (GUTI) of the UE.
(103) Step 602. The AMF sends an update location request message to a unified data management (UDM) function entity, where the update location request message carries the GUTI of the UE.
(104) Step 603. The UDM sends an update location response (e.g., Update Location Acknowledgment (Ack)) message to the AMF, where the update location response message carries subscription information of the user equipment (UE's Subscription). The subscription information of the user equipment includes an international mobile subscriber identity (IMSI) of the UE.
(105) In addition to the IMSI of the UE, the subscription information of the user equipment may include other subscription information. Details are not described herein.
(106) Step 604. The AMF sends a context establishment request message of the UE to a PCF, where the context establishment request message carries the IMSI of the UE.
(107) Step 605. The PCF sends a context establishment response message of the UE to the AMF, where the context establishment response message carries the IMSI of the UE and a URSP.
(108) The URSP includes an IP version requested by an application or an IP version recommended by an application.
(109) In an example, the URSP includes the IP version recommended by the application.
(110) Before the PCF sends the URSP to the UE, the PCF determines, based on an IP version supported by a DNN and the IP version requested by the application, the IP version recommended by the application. In this implementation, the IP version recommended by the application reflects both the IP version requested by the application and the IP version supported by the DNN, and therefore includes a large amount of information.
(111) In another example, the URSP includes the IP version requested by the application and a DNN. In this implementation, the PCF sends the URSP to the UE, such that the UE can not only obtain the IP version requested by the application, but also obtain the DNN. This way, when setting a requested PDU type of a PDU session, the UE can not only consider the IP version requested by the application associated with the PDU session, but also consider an IP version supported by the DNN. Therefore, the requested PDU type of the PDU session can be consistent with a PDU type requested by the application, and can also be consistent with the IP version supported by the DNN.
(112) Step 606. The AMF sends a registration response (e.g., Registration Accept) message to the UE, where the registration response message carries the URSP.
(113) The URSP includes the IP version requested by the application or the IP version recommended by the application.
(114) Optionally, this embodiment of the present disclosure further includes the following step.
(115) Step 607. The UE sets, based on an IP version requested by an application or an IP version recommended by an application, a requested PDU type of a PDU session in a process of establishing the PDU session, where the application is associated with the PDU session.
(116) In this embodiment of the present disclosure, the PCF sends the URSP to the UE, where the URSP includes the IP version requested by the application or the IP version recommended by the application. As such, the UE can set the requested PDU type of the PDU session based on the IP version requested by the application or the IP version recommended by the application, thereby correspondingly improving a possibility that the application normally performs communication.
(117) The foregoing mainly describes the solutions in the embodiments of the present disclosure from the perspective of interaction between network elements. It may be understood that, to implement the foregoing functions, the network elements such as the UE and the PCF include a corresponding hardware structure and/or software module for performing the functions. A person of ordinary skill in the art should be aware that, units and algorithm steps in the examples described with reference to the embodiments disclosed in this specification may be implemented by hardware or a combination of hardware and computer software in the present disclosure. Whether a function is performed by hardware or hardware driven by computer software depends on particular applications and design constraints of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present disclosure.
(118) In the embodiments of the present disclosure, the UE, the PCF, and the like may be divided into function modules based on the foregoing method examples. For example, each function module may be obtained through division for each corresponding function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software function module. It should be noted that the module division in the embodiments of the present disclosure is an example, and is merely logical function division. There may be another division manner in actual implementation.
(119) When an integrated module is used,
(120) In an example, the processing module 702 is configured to set a requested PDU type of a PDU session in a process of establishing the PDU session using the communications module 703. The requested PDU type of the PDU session is set based on a first condition, which includes an IP version corresponding to an application, where the application is associated with the PDU session.
(121) In an example, before the processing module 702 sets the requested PDU type of the PDU session, the processing module 702 is further configured to receive a UE policy from a PCF using the communications module 703. The UE policy includes the IP version corresponding to the application.
(122) In an example, before the processing module 702 sets the requested PDU type of the PDU session, the processing module 702 is further configured to receive a UE policy from a PCF using the communications module 703. The UE policy includes the IP version corresponding to the application and a DNN.
(123) In an example, the IP version corresponding to the application includes an IP version requested by the application or an IP version recommended by the application.
(124) In an example, the IP version recommended by the application is an IP version determined based on an IP version supported by the DNN and the IP version requested by the application.
(125) An example in which the processing module 702 sets a requested PDU type of a PDU session in a process of establishing the PDU session using the communications module 703 includes: setting, in the process of establishing the PDU session using the communications module 703, the requested PDU type of the PDU session to the IP version corresponding to the application.
(126) In an example, the first condition further includes at least one of the following: an IP stack capability of the UE or the IP version supported by the DNN.
(127) An example in which the processing module 702 sets a requested PDU type of a PDU session in a process of establishing the PDU session using the communications module 703 includes: when the first condition includes the IP version corresponding to the application and the IP stack capability of the UE, setting, in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version corresponding to the application and the IP stack capability of the UE.
(128) An example in which the processing module 702 sets a requested PDU type of a PDU session in a process of establishing the PDU session using the communications module 703 includes: when the IP version corresponding to the application is the IP version requested by the application, and the first condition includes the IP version requested by the application and the IP version supported by the DNN, setting, in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application and the IP version supported by the DNN.
(129) An example in which the processing module 702 sets a requested PDU type of a PDU session in a process of establishing the PDU session using the communications module 703 is as follows. When the IP version corresponding to the application is the IP version requested by the application, and the first condition includes the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN, the UE sets, in the process of establishing the PDU session, the requested PDU type of the PDU session to an intersection of the IP version requested by the application, the IP stack capability of the UE, and the IP version supported by the DNN.
(130) For example, the processing module 702 is configured to support the UE in performing the process 202 in
(131) In this embodiment of the present disclosure, when setting the requested PDU type of the PDU session in the process of establishing the PDU session using the communications module 703, the processing module 702 considers the IP version corresponding to the application associated with the PDU session. Therefore, the requested PDU type of the PDU session can be consistent with a PDU type requested by the application, such that the application can normally perform communication.
(132) The processing module 702 may be a processor or a controller, such as a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or a combination thereof. The processing module 702 may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in the present disclosure. Alternatively, the processor may be a combination that implements a computing function, for example, a combination of one or more microprocessors, or a combination of a DSP and a microprocessor. The communications module 703 may be a communications interface, a transceiver, a transceiver circuit, or the like. The communications interface is a general term, and may include one or more interfaces. The storage module 701 may be a memory.
(133) When the processing module 702 is a processor, the communications module 703 is a communications interface, and the storage module 701 is a memory, the UE in this embodiment of the present disclosure may be a UE shown in
(134) Referring to
(135) When an integrated module is used,
(136) In an example, the processing module 902 is configured to send a UE policy to a UE using the communications module 903. The UE policy includes an IP version corresponding to an application, where the IP version corresponding to the application is used by the UE to set a requested PDU type of a PDU session, and where the application is associated with the PDU session.
(137) In an example, the IP version corresponding to the application includes an IP version requested by the application or an IP version recommended by the application.
(138) In an example, before the processing module 902 sends the UE policy to the UE using the communications module 903, the processing module 902 is further configured to determine, based on an IP version supported by a DNN and the IP version requested by the application, the IP version recommended by the application. The IP version corresponding to the application is the IP version recommended by the application.
(139) In an example, the UE policy further includes the DNN.
(140) For example, the processing module 902 is configured to support the PCF in performing the process 201 in
(141) In this embodiment of the present disclosure, the processing module 902 sends the UE policy to the UE using the communications module 903, where the UE policy includes the IP version corresponding to the application. As such, the UE can set the requested PDU type of the PDU session based on the IP version corresponding to the application.
(142) The processing module 902 may be a processor or a controller, such as a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a transistor logic device, a hardware component, or a combination thereof. The processing module 902 may implement or execute various example logical blocks, modules, and circuits described with reference to content disclosed in the present disclosure. Alternatively, the processor may be a combination that implements a computing function, for example, a combination of one or more microprocessors, or a combination of a DSP and a microprocessor. The communications module 903 may be a communications interface, a transceiver, a transceiver circuit, or the like. The communications interface is a general term, and may include one or more interfaces. The storage module 801 may be a memory.
(143) When the processing module 902 is a processor, the communications module 903 is a communications interface, and the storage module 901 is a memory, the PCF in this embodiment of the present disclosure may be a PCF shown in
(144) Referring to
(145) All or some of the foregoing embodiments of the present disclosure may be implemented using software, hardware, firmware, or any combination thereof. When software is used to implement the embodiments, all or some of the embodiments may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the procedure or functions according to the embodiments of the present disclosure are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or other programmable apparatuses. The computer instructions may be stored in a computer readable storage medium or may be transmitted from a computer readable storage medium to another computer readable storage medium. For example, the computer instructions may be transmitted from a web site, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared, radio, or microwave) manner. The computer readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid state disk (SSD)), or the like.
(146) The objectives, technical solutions, and beneficial effects of the present disclosure are further described in detail in the foregoing embodiments. It should be understood that the foregoing descriptions are merely example embodiments of the present disclosure, and are not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure shall fall within the protection scope of the present disclosure.