Security policy determination method and system

By using UDM network elements in 5G networks to obtain the target security policy of the UE and update the priority order, the problem of inflexible security policy selection in the existing technology is solved, and personalized needs adaptation to different UEs and higher Protection capability.

CN114286339BActive Publication Date: 2024-11-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111570062.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-11-12
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

The security policy choice of existing 5G networks is not flexible enough to adapt to the personalized needs of different user terminal devices (UEs).

Method used

Obtain the user ID of the UE through the UDM network element, determine the security policy corresponding to its target number segment, and send the security policy identifier to the AMF network element or base station, update the priority order of its security policy to determine the UE's security policy and ensure the policy Adapt to the service needs of UE.

Benefits of technology

It realizes flexible selection of security policies, adapts to the personalized needs of different UEs, provides richer protection capabilities, and avoids the problem of poor flexibility based on fixed order selection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114286339B_ABST
    Figure CN114286339B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and system for determining a security policy, which belongs to the field of communication technology. The method includes: upon receiving an identity authentication request from a UE, the UDM network element obtains the user identity of the UE; the UDM network element obtains the security policy corresponding to the target number segment where the user identity of the UE is located as the target security policy based on the user identity of the UE; the UDM network element sends a first message to the AMF network element, and the first message includes the identifier of the target security policy; the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, and the target network element is the AMF network element or a base station. The method for determining a security policy based on the embodiment of the present disclosure can solve the problem of insufficient flexibility in the selection of security policies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of communication technology, and particularly relates to a method and system for determining a security policy. Background Art

[0002] At present, the access security protection of 5G networks can include a variety of different security strategies, through which the data transmission between the UE (User Equipment) side and the network side can be encrypted and integrity protected.

[0003] Usually, the gNB (5G base station) or the AMF (Access and Mobility Management Function) network element in the core network is configured with the priority of each security policy selection. When the UE accesses the network, the gNB or AMF network element determines the security policy corresponding to the UE according to the pre-configured priority order. For example, the priority order in gNB 1 is policy 0, policy 1, policy 2, policy 3, and the priority order in gNB 2 is policy 3, policy 2, policy 1, policy 0. Assuming that the UE supports the above four policies, for the UE accessing gNB 1, the selected policy is policy 0, and for the UE accessing gNB2, the selected policy is policy 3.

[0004] However, the above-mentioned method of determining the security policy is mainly based on the configuration priority order of the gNB or AMF network element. The selection of the security policy is not flexible enough and may not be able to adapt to the personalized needs of different UEs. Summary of the invention

[0005] The purpose of the embodiments of the present disclosure is to provide a method and system for determining a security policy, which can solve the problem that the selection of a security policy is not flexible enough.

[0006] In order to solve the above technical problems, the present disclosure is implemented as follows:

[0007] In the first aspect, an embodiment of the present disclosure provides a method for determining a security policy, the method comprising: upon receiving an identity authentication request from a UE, a UDM (Unified Data Management) network element obtains a user identifier of the UE; the UDM network element obtains, based on the user identifier of the UE, a security policy corresponding to a target number segment where the user identifier of the UE is located as a target security policy, and one number segment corresponds to a business requirement of a security policy; the UDM network element sends a first message to an AMF network element, the first message including an identifier of the target security policy; the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, the target network element being the AMF network element or a base station.

[0008] Optionally, before the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, the method also includes: the target network element updates the priority order of the security policies in the target network element based on the identifier of the target security policy; the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, including: the target network element determines the security policy corresponding to the UE based on the priority order of the updated security policies.

[0009] Optionally, the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, including: the target network element determines the target security policy as the security policy of the UE.

[0010] Optionally, the target network element determines the target security policy as the security policy of the UE, including: if it is determined that the UE supports the target security policy, the target network element determines the security policy corresponding to the UE as the target security policy; if it is determined that the UE does not support the target security policy, the target network element determines the security policy corresponding to the UE according to the priority order of the security policies configured in the target network element.

[0011] Optionally, after the UDM network element obtains the user identifier of the UE, the method also includes: if there is no corresponding security policy for the target number segment where the user identifier of the UE is located, the UDM network element sends an indication message to the AMF network element; wherein the indication message instructs the target network element to determine the security policy for the UE according to the priority order of the security policies configured in the target network element.

[0012] Optionally, the target network element is a base station; before the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, the method also includes: the AMF network element sends second information to the base station, and the second information includes the identifier of the target security policy; the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, including: the base station determines the security policy corresponding to the UE based on the identifier of the target security policy in the second information.

[0013] Optionally, after the AMF network element sends the second information to the base station, the method further includes: the base station updates the priority order of the security policy in the base station based on the identifier of the target security policy in the second information.

[0014] Optionally, the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, including: when the target network element is an AMF network element, the AMF network element determines the security policy of the non-access layer corresponding to the UE based on the identifier of the target security policy; or, when the target network element is a base station, the base station determines the security policy of the access layer corresponding to the UE based on the identifier of the target security policy.

[0015] Optionally, the method also includes: according to business requirements, the UDM network element configures a security policy corresponding to the target number segment, and the security policy includes at least one of a confidentiality policy and an integrity policy.

[0016] In the second aspect, an embodiment of the present disclosure provides a security policy determination system, which includes: an AMF network element, a UDM network element and a base station connected to the AMF network element; the UDM network element is used to obtain, when receiving an identity authentication request from the UE, the security policy corresponding to the target number segment where the user identity of the UE is located as the target security policy, and send a first message to the AMF network element, where one number segment corresponds to a business requirement of a security policy, and the first message includes an identifier of the target security policy; the target network element is used to determine the security policy corresponding to the UE based on the identifier of the target security policy, and the target network element is the AMF network element or the base station.

[0017] In an embodiment of the present disclosure, during the process of UE identity authentication, the UDM network element can determine the security policy corresponding to the number segment corresponding to the user identity based on the UE's user identity, and return the identity of the security policy to the target network element that selects the UE's security policy for the UE. The target network element combines the security policy selected for the UE by the UDM network element to select the final security policy for the UE. Since the security policy corresponding to the number segment is a security policy adapted to the business needs of the UE, for UEs with different business needs accessing the same base station, the UDM network element can determine the security policy corresponding to the UE's business needs based on the number segments of each UE, and select the final security policy for the UE based on the security policy adapted to the UE's business, thereby avoiding the problem of poor flexibility in selection in the related art based on the fixed order configured in the base station or AMF network element. The technical solution of the present disclosure provides users with more diverse protection capabilities, and the security policies corresponding to the different business needs of each UE may also be different, which can adapt to the personalized needs of different UEs. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A schematic diagram of a security policy determination system provided in an embodiment of the present disclosure;

[0019] Figure 2 A schematic diagram of a communication architecture provided for an embodiment of the present disclosure;

[0020] Figure 3 One of the flowcharts of the method for determining the security policy provided in the embodiment of the present disclosure;

[0021] Figure 4 A second flowchart of a method for determining a security policy provided in an embodiment of the present disclosure;

[0022] Figure 5 A third flowchart of a method for determining a security policy provided in an embodiment of the present disclosure;

[0023] Figure 6 A fourth flowchart of a method for determining a security policy provided in an embodiment of the present disclosure;

[0024] Figure 7 A fifth flowchart of a method for determining a security policy provided in an embodiment of the present disclosure;

[0025] Figure 8 FIG6 is a flowchart of a method for determining a security policy provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0027] The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable when appropriate, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] It is worth noting that the technology described in the embodiments of the present disclosure is not limited to LTE (Long Term Evolution) / LTE-A (LTE-Advanced, LTE evolution) systems, but can also be used in other wireless communication systems, such as CDMA (Code Division Multiple Access), TDMA (Time Division Multiple Access), FDMA (Frequency Division Multiple Access), OFDMA (Orthogonal Frequency Division Multiple Access), SC-FDMA (Single-carrier Frequency-Division Multiple Access) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned systems and radio technologies as well as for other systems and radio technologies. However, the following description describes the NR system for example purposes, and the NR terminology is used in most of the following descriptions, although these technologies can also be applied to applications other than NR system applications, such as 6G (6th Generation) communication systems.

[0029] The following describes in detail the method for determining the security policy provided by the embodiment of the present disclosure through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0030] Figure 1 A schematic diagram of a security policy determination system provided by an embodiment of the present disclosure, such as Figure 1 As shown, the security policy determination system 100 includes: an AMF network element 101, a UDM network element 102 and a base station 103 connected to the AMF network element 101; the UDM network element 102 is used to obtain the security policy corresponding to the target number segment where the UE's user identity is located as the target security policy when receiving the UE's identity authentication request, and send a first message to the AMF network element 101, the first message including the identifier of the target security policy; the target network element is used to determine the security policy corresponding to the UE based on the identifier of the target security policy, and the target network element is the AMF network element 101 or the base station 103.

[0031] A security policy determination system is provided in an embodiment of the present disclosure. During the process of UE identity authentication, the UDM network element in the security policy determination system can determine the security policy corresponding to the number segment corresponding to the user identity based on the user identity of the UE, and return the identity of the security policy to the target network element that selects the security policy of the UE for the UE. The target network element combines the security policy selected for the UE by the UDM network element to select the final security policy for the UE. Since the security policy corresponding to the number segment is a security policy adapted to the service requirements of the UE, for UEs with different service requirements accessing the same base station, the UDM network element can determine the security policy corresponding to the service requirements of the UE in combination with the number segments of each UE, and select the final security policy for the UE based on the security policy adapted to the UE service, thereby avoiding the problem of poor flexibility in selection in the related art that can only be based on the fixed order configured in the base station or AMF network element. The technical solution of the present disclosure provides users with more diverse protection capabilities. The security policies corresponding to the different service requirements of each UE can also be different, which can adapt to the personalized needs of different UEs.

[0032] Figure 2 A schematic diagram of a communication architecture provided by an embodiment of the present disclosure. Figure 2 As shown in , the communication system includes: at least one UE (for example, UE 200 and UE 201), a base station 202, an AMF network element 203, an AUSF network element 204, and a UDM network element 205; wherein, the UDM network element 205 is configured with a correspondence between number segments and security policies. The UE can access the base station 202. During the access process, the UE can send an identity authentication request to the base station 202. The base station 202 sends the identity authentication request to the AMF network element 203. The AMF network element 203 then forwards the identity authentication request to the UDM network element 205 through the AUSF (Authentication Server Function) network element for UE identity authentication. The UDM network element 205 can provide authentication keys and credentials, and cooperate with the AMF network element 203 and the AUSF network element 204 to complete the identity authentication of the UE. In the process of authenticating each UE, the UDM network element can use the security policy determination method provided in the embodiment of the present disclosure to determine the preferred security policy for the UE, so that the AMF network element 203 and the base station 202 can determine the corresponding security policy for each UE.

[0033] For ease of explanation, in the present disclosed embodiment, the communication between the AMF network element and the UDM network element via the AUSF network element is simplified to the communication between the AMF network element and the UDM network element as an example for explanation, and will not be repeated below.

[0034] Figure 3 A flowchart of a method for determining a security policy provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown in , the method includes the following S301 and S304:

[0035] S301. Upon receiving an identity authentication request from a UE, the UDM network element obtains a user identity of the UE.

[0036] The identity authentication request includes the user identification of the UE requesting authentication.

[0037] Usually, when the UE performs identity authentication, the UE first sends an identity authentication request to the base station in the access network. The base station in the access network sends the identity authentication request to the AMF network element in the core network. The AMF network element can forward the identity authentication request to the UDM network element in the core network through the AUSF network element in the core network for identity authentication.

[0038] Exemplarily, the user identifier of the UE may be a mobile phone number.

[0039] S302. The UDM network element obtains, according to the user identifier of the UE, a security policy corresponding to the target number segment where the user identifier of the UE is located as a target security policy.

[0040] Among them, one number segment corresponds to the business requirement of a security policy.

[0041] It should be noted that the UDM network element is configured with a correspondence between number segments and security policies.

[0042] For example, in the embodiments of the present disclosure, the security policy is described by taking the confidentiality policy and the security policy in the 5G system as an example. Table 1 is the 5G encryption policy, including 4 encryption algorithms; Table 2 is the 5G security policy, including four encryption algorithms.

[0043] Table 1

[0044] Algorithm ID (4 bits) Algorithm Name Remark 0000_{2} NEA 0 Null algorithm (no encryption) 0001_{2} 128-NEA 1 128-bit SNOW 3G encryption algorithm 0010_{2} 128-NEA 2 128-bit AES algorithm 0011_{2} 128-NEA 3 128-bit Zu Chongzhi algorithm

[0045] Table 2

[0046] Algorithm ID (4 bits) Algorithm Name Remark 0000_{2} NIA 0 Null algorithm (no encryption) 0001_{2} 128-NIA 1 128-bit SNOW 3G encryption algorithm 0010_{2} 128-NIA 2 128-bit AES algorithm 0011_{2} 128-NIA 3 128-bit Zu Chongzhi algorithm

[0047] It should be noted that the security policy may include at least one of the above-mentioned confidentiality-related algorithms and security-related algorithms. If the security policy includes both confidentiality-related algorithms and security-related algorithms, a confidentiality-related algorithm in a security policy may be combined with any one of multiple security algorithms.

[0048] For example, 128-NEA 1 can form a security policy with any one of NIA0, 128-NIA 1, 128-NIA 1, and 128-NIA 1.

[0049] It should be noted that in the embodiments of the present disclosure, the algorithms corresponding to the security policies in the above table are only exemplary. In actual applications, the security policies may also include security policies in other existing systems besides the 5G system, or may be security policies added to future communication systems. The embodiments of the present disclosure do not specifically limit this.

[0050] S303. The UDM network element sends a first message to the AMF network element.

[0051] The first message includes an identifier of a target security policy.

[0052] Exemplarily, each confidentiality-related algorithm and security-related algorithm can be configured in both the AMF network element and the base station. If a security policy includes a security algorithm and a confidentiality algorithm, the identifier of a security policy can indicate the algorithm identifier of each algorithm in the group of algorithms.

[0053] S304: The target network element determines the security policy corresponding to the UE based on the identifier of the target security policy.

[0054] Among them, the target network element is an AMF network element or a base station.

[0055] It should be noted that the AMF network element and base station can select different levels of security policies for the UE respectively.

[0056] It should be noted that after the target network element determines the security policy corresponding to the UE, the target network element may notify the UE of the determined security policy through an SMC (Security Mode Command).

[0057] In the method for determining the security policy provided by the embodiment of the present disclosure, during the identity authentication process of the UE, the UDM network element can determine the security policy corresponding to the number segment corresponding to the user identity based on the user identity of the UE, and return the identity of the security policy to the target network element that selects the security policy of the UE for the UE. The target network element combines the security policy selected for the UE by the UDM network element to select the final security policy for the UE. Since the security policy corresponding to the number segment is a security policy adapted to the business needs of the UE, for UEs with different business needs accessing the same base station, the UDM network element can determine the security policy corresponding to the business needs of the UE based on the number segment of each UE, and select the final security policy for the UE based on the security policy adapted to the UE business, thereby avoiding the problem of poor flexibility in selection in the related art based on the fixed order configured in the base station or AMF network element. The technical solution of the present disclosure provides users with more diverse protection capabilities, and the security policies corresponding to the different business needs of each UE may also be different, which can adapt to the personalized needs of different UEs.

[0058] Optionally, in the method for determining a security policy provided in an embodiment of the present disclosure, when the target network element is a base station, before the above S304, the following S305 may also be included:

[0059] S305. The AMF network element sends the second information to the base station.

[0060] The second information includes an identifier of a target security policy.

[0061] Furthermore, the above S304 can be specifically performed by the following S34c:

[0062] S34c. The base station determines a security policy corresponding to the UE based on the identifier of the target security policy in the second information.

[0063] Based on this solution, after receiving the identifier of the target security policy returned by the UDM network element, the AMF network element can forward the identifier of the target security policy to the base station, so that the base station can determine the security policy corresponding to the UE based on the target security policy indicated by the AMF network element. Compared with the base station only determining the security policy based on the fixed selection order configured in the base station, the method of determining the security policy is more flexible and more adaptable to the user's business needs.

[0064] Optionally, combined Figure 3 ,like Figure 4 As shown, in the method for determining the security policy provided in the embodiment of the present disclosure, before the above S304, the following S306 may also be included:

[0065] S306: The target network element updates the priority order of the security policy configured in the target network element based on the identifier of the target security policy.

[0066] It should be noted that the target network element is configured with a priority order of security policies in a fixed order corresponding to the target network element. When a UE performs identity authentication, the target network element can adjust the priority order of security policies for the UE through the UDM network element according to the security policy of the number segment where the UE is located. For example, the selection priority of the target security policy can be adjusted to the highest priority.

[0067] Optionally, the UDM network element may also store the corresponding relationship of the security policies excluded by the number segment, that is, the target security policy is the security policy not used by the number segment, and the target network element may adjust the selection priority of the target security policy to the lowest priority. For ease of explanation, in the embodiment of the present disclosure, the target security policy obtained by the UDM network element is taken as an example of the security policy preferentially used by the UE.

[0068] Furthermore, the above S304 can be performed by the following S34a:

[0069] S34a. The target network element determines the security policy corresponding to the UE based on the priority order of the updated security policies.

[0070] In this solution, the target network element sequentially matches the security policies that can be supported by the UE according to the adjusted priority order, and determines the matched security policy with the highest priority as the security policy corresponding to the UE.

[0071] Generally, during the security policy negotiation process, each UE may report an identifier of a security policy supported by the UE.

[0072] It can be understood that in actual applications, there may be UEs that can support all security policies, and there may also be UEs that only support some security policies, and the embodiments of the present disclosure do not specifically limit this.

[0073] Exemplarily, it is assumed that the original priority order of the security policy in the target network element is: 0, 1, 2, 3, and each UE supports 0, 1, 2 and 3. If the traditional policy selection method is used, the target network element will only select the security policy corresponding to 0 for all UEs accessing the base station corresponding to the target network element. According to the policy selection method of the present disclosure, if the priority order of the updated security policy of the target network element is UE 1 is: 2, 0, 1, 3, the target network element first determines whether the security policy corresponding to 2 is supported by UE 1 according to the updated order, and if it is determined that UE 1 supports 2, the security policy corresponding to 2 can be determined as the security policy of UE. If the priority order of the updated security policy of the target network element is UE 2 is: 3, 2, 0, 1, the target network element first determines whether the security policy corresponding to 3 is supported by UE 2 according to the updated order, and if it is determined that UE 2 supports 3, the security policy corresponding to 3 can be determined as the security policy of UE 2.

[0074] Based on this solution, after the UDM network element determines the target security policy for the UE, the target network element can adjust the selection priority order of the security policies configured in the target network element in combination with the target security policy determined by the UDM network element, and match the security policies supported by the UE in sequence based on the adjusted priority order, and use the first matched security policy as the security policy corresponding to the UE. Since the priority of the target security policy can be adjusted to the highest priority or the lowest priority, that is, when the UE supports the target security policy, the target security policy that adapts to the business needs of the UE can be quickly matched, and the probability of selecting the security policy avoided by the UE as the security policy to be used can also be reduced.

[0075] Optionally, in the method for determining the security policy provided by the embodiment of the present disclosure, after the above S305, the above S306 may be executed by the following S36:

[0076] S36. The base station updates the priority order of the security policies in the base station based on the identifier of the target security policy in the second information.

[0077] Exemplarily, after the UDM network element determines the identifier of the target security policy for a UE, the UDM network element may send update indication information (i.e., first information) to the AMF network element, and the update indication information may include a security policy update identification bit and a security policy identification bit, the security policy update identification bit may be set to 1, and the value of the security policy update identification bit may be the identifier of the target security policy. After receiving the update indication information, the AMF network element may update the priority order of the security policies in the AMF network element for the UE according to the update indication information, and forward the update indication information to the base station, so that the base station updates the priority order of the security policies in the base station for the UE according to the update indication information (i.e., second information).

[0078] Based on this scheme, after receiving the second information returned by the AMF network element, the base station can update the priority order of the security policy in the base station according to the identifier of the target security policy indicated in the second information, so that the base station determines the corresponding security policy for the UE according to the updated priority order of the security policy. Compared with the method in which the base station determines the security policy only according to a fixed priority order, the priority order of the security policy determined by the UDM network element for each UE is updated and then selected, so that the choice of security policy for UEs with different business needs accessing the base station can be more diverse.

[0079] Optionally, combined Figure 3 ,like Figure 5 As shown, in the method for determining the security policy provided by the embodiment of the present disclosure, the above S304 can also be performed by the following S34b:

[0080] S34b. The target network element determines the target security policy as the security policy of the UE.

[0081] Exemplarily, assuming that the security policies selected by the UDM network element for the UE are 128-NEA 1 and 128-NIA 3, the target network element may directly determine 128-NEA 1 and 128-NIA 3 as the security policies corresponding to the UE.

[0082] Example 1: After receiving the first information sent by the UDM network element, the AMF network element can directly determine the target security policy as the security policy of the UE based on the identifier of the target security policy in the first information.

[0083] Example 2: After the base station receives the second information sent by the AMF network element, it can directly determine the target security policy as the security policy of the UE based on the identifier of the target security policy in the second information.

[0084] Based on this solution, after the target network element receives the identifier of the target security policy indicated by the UDM network element, the target security policy indicated by the UDM network element can be directly determined as the security policy of the UE. Since the target security policy is a security policy adapted to the user's service determined by the UDM network element based on the number segment where the UE's user identifier is located, the security policy finally selected is more in line with the user's business needs.

[0085] Optionally, combined Figure 5 ,like Figure 6 As shown, in the method for determining the security policy provided in the embodiment of the present disclosure, the above S34b can be specifically executed by the following B1 or B2:

[0086] B1. If it is determined that the UE supports the target security policy, the target network element determines the security policy corresponding to the UE as the target security policy.

[0087] B2. If it is determined that the UE does not support the target security policy, the target network element determines the security policy corresponding to the UE according to the priority order of the security policies configured in the target network element.

[0088] It can be understood that after the target network element receives the identifier of the target security policy returned by the UDM network element, if the UE supports the target security policy, it can directly use the target security policy as the security policy corresponding to the UE. If the UE does not support the target security policy, the target network element can determine the corresponding security policy for the UE in a traditional manner according to the original priority order of the security policy configured in the target network element.

[0089] Based on this solution, in the scenario where the target network element directly uses the target security policy as the security policy of the UE, the target network element needs to determine whether the UE supports the target security policy based on the information of the supported security policies reported by the UE. If supported, the target security policy is directly adopted as the security policy of the UE. If not supported, the conventional determination method can be used to determine the security policy for the UE.

[0090] Optionally, in the method for determining a security policy provided in the embodiment of the present disclosure, after the above S301, the following S307 may be further included:

[0091] S307. If there is no corresponding security policy for the target number segment where the UE's user identity is located, the UDM network element sends an indication message to the AMF network element.

[0092] The indication information instructs the target network element to determine a security policy for the UE according to the priority order of the security policies configured in the target network element.

[0093] Exemplarily, the indication information may include a security policy update flag, and the value of the security policy update flag may be set to 0, indicating that there is no corresponding security policy for the target number segment where the user identifier is located.

[0094] Based on this solution, if there is no corresponding security policy for the target number segment, the UDM network element can determine that the target number segment is not configured with a security policy, that is, there is no customized requirement for the selection of the security policy. Therefore, the UDM network element can instruct the target network element to select the security policy according to the priority order configured in the target network element.

[0095] Optionally, in the method for determining the security policy provided in the embodiment of the present disclosure, the above S304 may be specifically performed by the following S341 and S342:

[0096] S341. When the target network element is an AMF network element, the AMF network element determines the security policy of the non-access layer corresponding to the UE based on the identifier of the target security policy.

[0097] For example, when the target security policy is directly used as the security policy of the UE, the AMF network element determines whether the UE supports the target security policy. If the UE supports the target security policy, the AMF network element determines the target security policy as the security policy of the non-access layer corresponding to the UE. When the priority order of the security policies in the AMF network element is first updated according to the target security policy, the AMF network element can determine the security policy of the non-access layer corresponding to the UE based on the priority order of the updated security policies.

[0098] Example: The AMF network element can directly determine 128-NEA 1 and 128-NIA 3 as the security policy of the non-access layer corresponding to the UE, and the base station can directly determine 128-NEA 1 and 128-NIA 3 as the security policy of the access layer corresponding to the UE.

[0099] S342: When the target network element is a base station, the base station determines the access layer security policy corresponding to the UE based on the identifier of the target security policy.

[0100] For example, when the target security policy is directly used as the security policy of the UE, the base station determines whether the UE supports the target security policy. If the UE supports the target security policy, the base station determines the target security policy as the security policy of the access layer corresponding to the UE. When the priority order of the security policies in the AMF network element is first updated according to the target security policy, the base station can determine the security policy of the non-access layer corresponding to the UE based on the priority order of the updated security policies.

[0101] It should be noted that the priority order of the security policies configured in the AMF network element and the priority order of the security policies configured in the base station may be the same or different, and the embodiments of the present disclosure do not specifically limit this.

[0102] Optionally, the way in which the AMF network element and the base station select security policies for the UE can be the same or different. For example, when the base station directly adopts the target security policy as the security policy of the access layer of the UE, the AMF network element can first update the priority order and determine the security policy of the non-access layer of the UE according to the priority order; the AMF network element can also directly adopt the target security policy as the security policy of the non-access layer of the UE.

[0103] Based on this solution, the AMF network element can determine the security policy of the non-access layer for the UE based on the target security policy selected by the UDM network element for the UE. The base station can also determine the security policy of the access layer for the UE based on the target security policy selected by the UDM network element for the UE. For different layers, the security policy can be selected based on the identifier of the target security policy corresponding to the number segment of the UE's user identifier. Compared with the related technology that can only match the fixed configuration in the AMF network element, it is more adaptable to the user's services.

[0104] Optionally, in the method for determining a security policy provided in the embodiment of the present disclosure, before the above S301, the following S300 may be further included:

[0105] S300. According to business requirements, the UDM network element configures a security policy corresponding to the target number segment.

[0106] The security policy includes at least one of a confidentiality policy and an integrity policy.

[0107] Exemplarily, the UDM network element may be configured with a corresponding relationship between security policies and number segments.

[0108] It should be noted that in the embodiments of the present disclosure, required security policies may be pre-configured for users of different services in the UDM network element according to service requirements.

[0109] For example, if users of enterprise 1 need to specify security policy 1, then the correspondence between the specified security policy 1 and number segment 1 can be configured for the number segment 1 occupied by enterprise 1. If users of enterprise 2 need to specify security policy 2, then the correspondence between the specified security policy 2 and number segment 2 can be configured for the number segment 2 occupied by enterprise 2.

[0110] Based on this solution, the UDM network element can configure the correspondence between the number segment and security policy of this type of user according to the user's business needs. During the process of users in the number segment accessing the network for identity authentication, the UDM network element can quickly determine the security policy corresponding to the business needs for the UE based on the number segment, and indicate it to the target network element, so that the target network element determines the corresponding security policy for the UE based on the security policy indicated by the UDM network element.

[0111] Example 1:

[0112] Figure 7 The following is a schematic diagram of a security policy determination process provided by an embodiment of the present disclosure. Figure 7 As shown, the following steps 71 to 79 may be included:

[0113] 71. The UE sends an identity authentication request to the base station.

[0114] 72. The base station forwards the identity authentication request sent by the UE to the AMF network element.

[0115] 73. The AMF network element sends the UE authentication request sent by the base station to the UDM network element.

[0116] 74. The UDM network element obtains the user identification of the UE according to the identity authentication request of the UE.

[0117] 75. The UDM network element obtains, according to the user ID of the UE, the security policy corresponding to the number segment where the user ID of the UE is located as the target security policy.

[0118] 76. The UDM network element sends the identifier of the target security policy to the AMF network element.

[0119] 77. The AMF network element sends the identifier of the target security policy to the base station.

[0120] 78. The base station determines the target security policy as the security policy of the access layer corresponding to the UE.

[0121] 79. The AMF network element determines the target security policy as the security policy of the non-access layer corresponding to the UE.

[0122] Based on this solution, the AMF network element and the base station can directly determine the target security policy determined by the UDM network element as the security policy of the access layer and the security policy of the non-access layer of the UE. The security policy determination steps are simple and can be more adapted to the business needs of the UE.

[0123] Example 2:

[0124] Figure 8 The following is a schematic diagram of a security policy determination process provided by an embodiment of the present disclosure. Figure 7As shown, the following steps 801 to 811 may be included:

[0125] Among them, 801-807 can be referred to Figure 7 71-77 of this chapter will not be repeated here.

[0126] 808. The base station updates the priority order of the security policies configured in the base station based on the identifier of the target security policy.

[0127] 809. The base station determines the access layer security policy corresponding to the UE according to the priority order of the updated security policies.

[0128] 810. The AMF network element updates the priority order of the security policies configured in the AMF network element based on the identifier of the target security policy.

[0129] 811. The AMF network element determines the non-access layer security policy corresponding to the UE according to the priority order of the updated security policy.

[0130] Based on this solution, the AMF network element and the base station can update the priority order of the security policies configured in the AMF and the priority order of the security policies configured in the base station according to the target security policy determined by the UDM network element, and then determine the access layer and non-access layer security policies corresponding to the UE based on the updated priority order of the security policies, thereby increasing the probability of selecting the security policy corresponding to the UE's business requirements, or reducing the probability of selecting the security policy corresponding to the UE's business exclusion, so that the selected security policy is more suitable for the UE's business.

[0131] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiments of the present disclosure is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0133] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are within the protection of the present disclosure.

Claims

1. A method for determining a security policy, characterized in that: The method comprises: Upon receiving the identity authentication request from the UE, the UDM unified data management network element obtains the user identity of the UE; The UDM network element obtains, according to the user identifier of the UE, a security policy corresponding to a target number segment where the user identifier of the UE is located as a target security policy, where one number segment corresponds to a service requirement of one security policy; The UDM network element sends a first message to the AMF access and mobility management function network element, where the first message includes an identifier of the target security policy; The target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, and the target network element is the AMF network element or the base station.

2. The method according to claim 1, characterized in that Before the target network element determines, based on the identifier of the target security policy, the security policy corresponding to the UE, the method further includes: The target network element updates the priority order of the security policy in the target network element based on the identifier of the target security policy; The target network element determines, based on the identifier of the target security policy, a security policy corresponding to the UE, including: The target network element determines the security policy corresponding to the UE based on the priority order of the updated security policies.

3. The method according to claim 1, characterized in that: The target network element determines, based on the identifier of the target security policy, a security policy corresponding to the UE, including: The target network element determines the target security policy as the security policy of the UE.

4. The method according to claim 1, characterized in that The target network element determines the target security policy as the security policy of the UE, including: If it is determined that the UE supports the target security policy, the target network element determines the security policy corresponding to the UE as the target security policy; If it is determined that the UE does not support the target security policy, the target network element determines the security policy corresponding to the UE according to the priority order of the security policies configured in the target network element.

5. The method according to any one of claims 1 to 4, characterized in that: After the UDM network element obtains the user identifier of the UE, the method further includes: If there is no corresponding security policy for the target number segment where the user identity of the UE is located, the UDM network element sends an indication message to the AMF network element; The indication information instructs the target network element to determine a security policy for the UE according to a priority order of the security policies configured in the target network element.

6. The method according to any one of claims 1 to 4, characterized in that: The target network element is a base station; before the target network element determines the security policy corresponding to the UE based on the identifier of the target security policy, the method further includes: The AMF network element sends second information to the base station, where the second information includes an identifier of the target security policy; The target network element determines, based on the identifier of the target security policy, a security policy corresponding to the UE, including: The base station determines the security policy corresponding to the UE based on the identifier of the target security policy in the second information.

7. The method according to claim 6, characterized in that After the AMF network element sends the second information to the base station, the method further includes: The base station updates the priority order of the security policies in the base station based on the identifier of the target security policy in the second information.

8. The method according to claim 1, characterized in that The target network element determines, based on the identifier of the target security policy, a security policy corresponding to the UE, including: In the case where the target network element is an AMF network element, the AMF network element determines the security policy of the non-access layer corresponding to the UE based on the identifier of the target security policy; or, In the case where the target network element is a base station, the base station determines the access layer security policy corresponding to the UE based on the identifier of the target security policy.

9. The method according to claim 1, characterized in that: The method further comprises: According to business requirements, the UDM network element configures a security policy corresponding to the target number segment, where the security policy includes at least one of a confidentiality policy and an integrity policy.

10. A security policy determination system, characterized in that: The security policy determination system includes: an AMF access and mobility management function network element, a UDM unified data management network element and a base station connected to the AMF network element; The UDM network element is used to, upon receiving an identity authentication request from the UE, obtain the security policy corresponding to the target number segment where the user identity of the UE is located as the target security policy, and send a first message to the AMF network element, where one number segment corresponds to a service requirement of a security policy, and the first message includes an identifier of the target security policy; The target network element is used to determine the security policy corresponding to the UE based on the identifier of the target security policy, and the target network element is the AMF network element or the base station.