Method and device for implementing UE customized confidentiality and integrity protection algorithm

By allowing the UE to customize and update the security algorithm priority in 5G communication technology, and selecting the corresponding protection algorithm at the base station, the problem of the UE being unable to customize the confidentiality and integrity protection algorithms is solved and the flexibility of security protection is improved. and applicability.

CN114222303BActive Publication Date: 2024-09-20BEIHANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing 5G communication technology, the UE cannot customize confidentiality and integrity protection algorithms, and the priority of the algorithms supported by the UE is not defined, resulting in limited security algorithm selection and inability to meet user customization needs.

Method used

During the power-on registration phase, the UE generates and reports a security algorithm priority list, updates the highest priority algorithm through the service signaling phase, and selects the corresponding protection algorithm based on the priority at the base station to realize the UE's customized confidentiality and integrity protection algorithm. Negotiate.

Benefits of technology

It realizes custom security algorithm selection and priority sorting on the UE side, improves the flexibility and scalability of wireless air interface security protection, is suitable for highly heterogeneous IoT scenarios, and meets user customization needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114222303B
    Figure CN114222303B
Patent Text Reader

Abstract

The present application relates to the field of wireless communication security technology, and in particular to a method and device for implementing UE customized confidentiality and integrity protection algorithms, wherein the method comprises: Step 1: The user selects an algorithm and an algorithm priority to form an algorithm priority list. Step 2: The algorithm priority is reported to the core network. Step 3: The terminal reports the highest priority algorithm during the service signaling phase. Step 4: The core network transmits the algorithm to the base station. Step 5: The base station selects an algorithm based on the algorithm priority, i.e., the algorithm and priority stored in the base station itself, and sends it to the terminal. Step 6: The base station receives and returns a confirmation message to complete the algorithm negotiation. This allows users to customize the security algorithm they use if both the base station and the terminal support it, realizing the user customization function emphasized in the 5G technology field, and making up for the current 5G security algorithm that is still subject to the security shortcomings of the base station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication security technology, and in particular to a method and device for implementing a UE customized confidentiality and integrity protection algorithm. Background Art

[0002] In order to adapt to the explosive growth of massive mobile terminals and mobile data and promote the implementation of industries such as the Internet of Things, the fifth generation of communication technology (5G) came into being. According to the law of communication development, 5G technology will be significantly improved in terminal capacity, reliability, latency, transmission rate and user experience, solving the application of communication technology in future usage scenarios such as enhanced mobile broadband, high-reliability and low-latency connections, and massive connection Internet of Things services, and can meet the development needs of mobile Internet, Internet of Things and other technologies in the next decade. Compared with previous generations of mobile communications, 5G has richer service provision capabilities and provides flexible services for differentiated needs in more diverse scenarios, adapting to the ever-changing modern information society.

[0003] As the main standard organization for international mobile communications, 3GPP is responsible for the formulation of 5G international standard technical content. The selection method of air interface security algorithm currently defined by 3GPP specifications is as follows: Figure 1 The specific process is described as follows:

[0004] Phase 1: Security capability reporting: According to 3GPP TS23.502, when the UE is powered on and registered, the Registration request message in the Registration procedure carries the UE security capabilities and is reported to the core network.

[0005] Phase 2: The core network transmits UE capabilities to the base station: According to 3GPP TS38.413, the initial Context Setup Request message sent by the core network to the base station carries the UE security capabilities, informing the base station of the security algorithms supported by the terminal. The format of UE security capabilities is shown in 3GPP TS24.501.

[0006] Phase 3: The base station selects a security algorithm: The selection principles are: 1) The selected algorithm is an algorithm supported by the UE security capability. 2) The selected algorithm is an algorithm supported by the base station. 3) The selected algorithm is the algorithm with the highest priority in the algorithm priority list on the base station side.

[0007] Phase 4: Signaling to the terminal: According to 3GPP TS38.331, the definition of the security algorithm carried in the SecurityModeCommand signaling is as follows Figure 2 According to 3GPP TS33.501, the confidentiality and integrity protection algorithms are as shown in Table 1 and Table 2 below.

[0008] Table 1 Confidentiality algorithm comparison table

[0009]

[0010]

[0011] Table 2 Integrity algorithm comparison table

[0012]

[0013] Phase 5: Completion of algorithm negotiation: The terminal side completes the algorithm negotiation according to the signaling and returns SecurityModeComplete.

[0014] The technical solution defined by the above 3GPP protocol has the following disadvantages:

[0015] 1) The UE does not support the selection of the algorithm on the UE side.

[0016] 2) The algorithms supported by the UE side have no defined priority.

[0017] 3) During the UE power-on registration process, the message format for reporting UE security capabilities does not distinguish priorities.

[0018] 4) The base station does not support algorithm selection according to the algorithm priority defined by the UE. Summary of the invention

[0019] The present application provides a method and apparatus for implementing UE-customized confidentiality and integrity protection algorithms. Through the new algorithm, when both the base station and the terminal support it, the user can customize the security algorithm used, thereby realizing the user customization function emphasized in the field of 5G technology and making up for the current security shortcoming of 5G security algorithms that are still subject to the security constraints of base stations.

[0020] The first aspect of the present application provides a method for implementing UE customized confidentiality and integrity protection algorithms, including the following steps: selecting at least one security algorithm and the priority of each algorithm, and generating an algorithm priority list; in the power-on registration phase, reporting the algorithm priority list to the core network; in the service signaling phase, reporting the highest priority algorithm from the terminal to the core network; after the core network receives the algorithm priority list, transmitting the security capability to at least one base station; at the base station end, selecting a corresponding protection algorithm according to the priority of the algorithm priority list, and sending it to the terminal; after confirmation by the terminal, returning an algorithm confirmation message to complete the algorithm negotiation.

[0021] In one embodiment of the present application, reporting the algorithm priority list to the core network includes: carrying the preset highest priority and its corresponding protection algorithm to the UE security capability; carrying the UE security capability through a Registration request message and reporting it to the core network.

[0022] In one embodiment of the present application, the algorithm for reporting the highest priority includes: after the user initiates the service and modifies the priority, the new priority information is re-notified to the core network and the base station, wherein the first initial direct transmission message sent to the core network by the UE carrying the new priority information.

[0023] In one embodiment of the present application, the corresponding protection algorithm is selected according to the priority of the algorithm and sent to the terminal, including: selecting the corresponding algorithm according to the compatibility condition and the preset priority condition, and transmitting the UE security capability to the target base station during switching.

[0024] In one embodiment of the present application, the algorithm confirmation message is returned after the terminal confirmation to complete the algorithm negotiation, including: determining whether the algorithm carried by the signaling is supported; if supported, calling the carried algorithm to perform confidentiality and integrity operations, and returning a base station success message, otherwise returning a base station failure message.

[0025] The second aspect of the present application provides a device for implementing UE customized confidentiality and integrity protection algorithms, including: a selection module, used to select at least one security algorithm and the priority of each algorithm, and generate an algorithm priority list; a reporting module, used to report the algorithm priority list to the core network during the power-on registration phase; an update module, used to report the highest priority algorithm from the terminal to the core network during the service signaling phase; a sending module, used to transmit security capabilities to at least one base station after the core network receives the algorithm priority list; a sending module, used to select a corresponding protection algorithm according to the priority of the algorithm priority list at the base station end, and send it to the terminal; a negotiation module, used to return an algorithm confirmation message after confirmation by the terminal to complete the algorithm negotiation.

[0026] In one embodiment of the present application, the reporting module is further used to carry the preset highest priority and its corresponding protection algorithm to the UE security capability, carry the UE security capability through a Registration request message, and report it to the core network.

[0027] In one embodiment of the present application, the algorithm for reporting the highest priority includes: after the user initiates the service and modifies the priority, the new priority information is re-notified to the core network and the base station, wherein the first initial direct transmission message sent to the core network by the UE carrying the new priority information.

[0028] In one embodiment of the present application, the sending module is further used to select a corresponding algorithm according to a compatibility condition and a preset priority condition, and transmit the UE security capability to the target base station during switching.

[0029] In one embodiment of the present application, the negotiation module is further used to determine whether the algorithm carried by the signaling is supported. If supported, the carried algorithm is called to perform confidentiality and integrity operations and return a base station success message. If not supported, a base station failure message is returned.

[0030] The method and device for implementing UE customized confidentiality and integrity protection algorithm in the embodiment of the present application expand the 3GPP related signaling content, and implement the UE customized confidentiality and integrity protection algorithm without changing the original signaling process, and its beneficial effects are:

[0031] 1) The function of customizing the selection of confidentiality and integrity algorithms is implemented on the UE side, which makes up for the shortcomings of the traditional 3GPP protocol and improves the flexibility and scalability of the wireless air interface security protection mechanism. It is very practical in the heterogeneous IoT scenario.

[0032] 2) Custom sorting of security algorithm priorities is implemented on the UE side, which changes the disadvantage of the traditional solution where only the base station defines the priority of high algorithms, so that the priority is jointly determined by the base station and the UE.

[0033] 3) UE security capabilities, UE highest priority algorithm, and algorithm priority set on the base station side are ultimately determined by the base station. It has strong applicability in cross-site and cross-system scenarios and can perfectly meet the mobility requirements of mobile terminals.

[0034] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0036] Figure 1 Flowchart of the 3GPP air interface security algorithm selection method;

[0037] Figure 2This is a schematic diagram of the security algorithm carried in the 3GPP TS38.331 SecurityModeCommand signaling;

[0038] Figure 3 A flowchart of a method for implementing a UE customized confidentiality and integrity protection algorithm provided according to an embodiment of the present application;

[0039] Figure 4 A logic flow chart of a method for implementing a UE customized confidentiality and integrity protection algorithm provided according to an embodiment of the present application;

[0040] Figure 5 A signaling flow chart according to an embodiment of the present application;

[0041] Figure 6 This is an example diagram of an apparatus for implementing a UE customized confidentiality and integrity protection algorithm according to an embodiment of the present application. DETAILED DESCRIPTION

[0042] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0043] The following describes the method and device for implementing UE customized confidentiality and integrity protection algorithms in an embodiment of the present application with reference to the accompanying drawings. In view of the problem that users cannot select algorithms mentioned in the above background technology center, the present application provides a method for implementing UE customized confidentiality and integrity protection algorithms, in which at least one security algorithm and the priority of each algorithm are selected to generate an algorithm priority list; in the power-on registration stage, the algorithm priority list is reported to the core network; in the service signaling stage, the highest priority algorithm is reported from the terminal to the core network; after the core network receives the algorithm priority list, the security capability is transmitted to at least one base station; at the base station end, the corresponding protection algorithm is selected according to the priority of the algorithm priority list, and sent to the terminal; after the terminal confirms, the algorithm confirmation message is returned to complete the algorithm negotiation. The embodiment of the present application has high flexibility and good user experience, and improves the planning layout of "user customization" of 5G technology. As a result, the problem that users cannot select algorithms is solved.

[0044] Specifically, Figure 3 A flowchart of a method for implementing a UE customized confidentiality and integrity protection algorithm provided according to an embodiment of the present application.

[0045] like Figure 3As shown, the method for implementing UE customized confidentiality and integrity protection algorithm includes the following steps:

[0046] In step S101, at least one security algorithm and the priority of each algorithm are selected to generate an algorithm priority list.

[0047] Specifically, first, the UE selects a security algorithm, and forms a security algorithm priority list on the UE side, which is output in a set form.

[0048] A={security algorithm, algorithm priority} (1)

[0049] Algorithm selection is a UE function (not an APP function), and users need to select and set it on the UE. The algorithm selection module does not limit the number of algorithms to be selected. When the user selects only one algorithm, the default algorithm has the highest priority; if the user selects multiple algorithms, the algorithm priority can be customized. At the same time, the scope of algorithm selection is not limited to the algorithms defined by 3GPP. Users can also select algorithms that will be expanded by 3GPP in the future and user-customized algorithms (supported by both UE and base station).

[0050] In step S102, during the power-on registration phase, the algorithm priority list is reported to the core network.

[0051] In one embodiment of the present application, the algorithm priority list is reported to the core network, including: carrying the preset highest priority and its corresponding protection algorithm to the UE security capability; carrying the UE security capability through a Registration request message and reporting it to the core network.

[0052] During the power-on registration phase, the UE carries the UE security capabilities through the Registration request message and reports it to the core network. The content of the Registration request message is a set {security algorithm, algorithm priority}. After the UE sends it to the core network through the air interface and NG interface, the core network stores the UE security algorithm and algorithm priority information.

[0053] The format of UE security capabilities is defined in 3GPP TS24.501. Based on the 3GPP definition, this application extends the UE security capabilities IE and carries the UE's customized highest priority and its corresponding algorithm to the UE security capabilities. One extension method is as follows:

[0054] Table 3 UE Security Capabilities additional algorithm highest priority

[0055]

[0056] Octet 3---Octet 6 identifies the algorithm, where bit 5 / 6 / 7 / 8 are the algorithms currently defined by 3GPP, see Table 1 and Table 2. Bit 1 / 2 / 3 / 4 is currently empty and can be customized.

[0057] In step S103, during the service signaling phase, the highest priority algorithm is reported from the terminal to the core network.

[0058] In one embodiment of the present application, the highest priority reporting algorithm includes: after the user initiates the service and modifies the priority, the new priority information is re-notified to the core network and the base station, wherein the first initial direct transmission message sent to the core network by the UE carrying the new priority information.

[0059] After power-on registration, if the user modifies the algorithm priority, the security capability and priority information stored in the core network will no longer be valid. When the user initiates a service, the UE selection algorithm priority information needs to be re-notified to the core network and base station, and the relevant information needs to be filled in a certain signaling. This application is implemented by modifying the content of the Security header type in the first initial direct message service request sent by the UE to the core network.

[0060] 3GPPTS24.501 defines the service request message structure, in which the security-related field is the Security header type. The Security header type is 4 bits, representing different security policies, as follows:

[0061] Table 4 Security header type message structure defined in 3GPPTS24.501

[0062]

[0063] This application uses its idle bit 4 to identify the signaling stage, and adds a new 8-bit to identify the highest priority algorithm.

[0064] Table 5 Security header type extension table

[0065]

[0066] PEA: Identifies the highest priority confidentiality algorithm.

[0067] PIA: Identifies the highest priority integrity protection algorithm.

[0068] S: Identifies whether this signaling is initiated during the power-on registration phase or the non-registration phase. If S=1, it indicates that the service request is a signaling during the power-on registration phase. At this time, PEA and PIA are not parsed, but the Registration request message is used to carry the highest priority algorithm in the UE security capability; if S=0, it indicates that the service request is a signaling during the non-power-on registration phase (service phase), and PEA and PIA need to be parsed for algorithm selection of NAS messages and stored in the core network for phase 3.

[0069] In step S104, after receiving the algorithm priority list, the core network transmits the security capability to at least one base station.

[0070] Specifically, the core network transmits the contents of Table 4 and Table 5 to the base station through the UE SecurityCapabilities in the initial Context Setup Request message. If it is in the power-on registration phase, the contents of Table 4 are directly transmitted to the base station. If it is in the non-power-on registration phase, the contents of Table 5 need to be mapped to Table 4 and transmitted to the base station in the format of Table 4.

[0071] In step S105, at the base station end, a corresponding protection algorithm is selected according to the priority of the algorithm priority list and sent to the terminal.

[0072] In one embodiment of the present application, a corresponding protection algorithm is selected according to the priority of the algorithm and sent to the terminal, including: selecting the corresponding algorithm according to the compatibility condition and the preset priority condition, and transmitting the UE security capability to the target base station during switching.

[0073] Specifically, the base station receives the UE's highest priority algorithm and determines that the base station also supports it, then sends it to the UE through SecurityModeCommand (SMC) signaling; if the base station determines that it does not support the UE's highest priority algorithm, the one with the highest priority in the intersection of the base station priority and the UE security capability is used as the algorithm of both parties and sent to the UE through SMC signaling.

[0074] When the mobility is cross-station or cross-system, according to the definition in 3GPP TS38.311, the HandoverRequest (or other related signaling) carries UE Security Capabilities (as shown in Table 3), and the UE security capabilities are delivered to the target base station. If the target base station determines that it also supports this algorithm, it will negotiate with the UE through the RRCreconfig message to select the security algorithm. If the target station determines that it does not support the highest priority algorithm of the UE, the highest priority in the intersection of the base station priority and the UE security capability is used as the algorithm of both parties and sent to the UE through the RRCreconfig message.

[0075] In step S106, after confirmation by the terminal, an algorithm confirmation message is returned to complete the algorithm negotiation.

[0076] In one embodiment of the present application, the algorithm confirmation message is returned after the terminal confirms, and the algorithm negotiation is completed, including: determining whether the algorithm carried by the signaling is supported; if supported, calling the carried algorithm to perform confidentiality and integrity operations, and returning a base station success message, otherwise returning a base station failure message.

[0077] Specifically, the terminal receives SecurityModeCommand / RRCreconfig and determines whether it supports the algorithm carried in it. If it does, it calls this algorithm to perform confidentiality and integrity operations and returns a base station success message (SecurityModeComplete / RRCreconfig complete). If it does not support, the algorithm negotiation fails and the base station returns a failure message (SecurityModeFailure / RRCreconfigFailure).

[0078] The embodiment of the present application implements a solution for UE customized algorithm in the field of security algorithm selection. Compared with traditional methods, the present application has high flexibility and good user experience, and improves the planning layout of "user customization" of 5G technology. The main purpose of this application is as follows: At present, a mainstream idea of ​​5G (including the previous 4G and 3G) is that UE behavior should be guided by the network side, and the selection of confidentiality and integrity protection algorithms is set by the base station to set the algorithm priority. The algorithm used is the algorithm with the highest priority in the base station priority list supported by the UE, that is, the selection of security algorithms is subject to the algorithm priority set in the base station.

[0079] The method for implementing UE customized confidentiality and integrity protection algorithm of the present application is described in detail below with reference to the accompanying drawings and specific embodiments.

[0080] Figure 4A logic flow chart of a method for implementing a UE customized confidentiality and integrity protection algorithm provided according to an embodiment of the present application. Figure 5 A signaling flow chart provided according to an embodiment of the present application.

[0081] Assume that the user uses a custom algorithm, the confidentiality and integrity algorithm names are NEA4 and NIA4 respectively, indicating a 256-bit ZUC algorithm, and the algorithm identifier is 0100. Based on Table 1 and Table 2, the sender and receiver both comply with the following extended protocol definition:

[0082] Table 6 Expanded confidentiality algorithm comparison table

[0083]

[0084] Table 7 Extended integrity algorithm comparison table

[0085]

[0086] Phase 1: Security Algorithm Selection (UE)

[0087] The user sets the algorithm and algorithm priority on the terminal according to the following formula. The user can select one or more algorithms and their priorities to form an algorithm and its priority list on the terminal side.

[0088] A={security algorithm, algorithm priority}

[0089] Assuming the user selects NEA4 and NIA4 as the highest priority, an example of the algorithm priority list is as follows:

[0090] Table 8 UE-side priority list example

[0091]

[0092] The larger the number in the algorithm priority, the higher the priority. As can be seen from the table above, the highest priority in the 5G algorithm is the custom confidentiality algorithm NEA4 and integrity algorithm NIA4. The highest priority in the 4G algorithm is EEA3 and EIA1.

[0093] Phase 2: UE security capability reporting during power-on registration (UE to core network)

[0094] During the power-on registration phase, the UE reports the UE SecurityCapabilities carried in the Registration request message to the core network.

[0095] The format of UE Security Capabilities is shown in Table 3. Based on Table 3, this application modifies the UE Security Capabilities bit and carries the highest priority and algorithm set by the UE to UE Security Capabilities (see Table 9). That is, the information carried is a set {security algorithm, algorithm priority}, which is sent to the core network through the air interface and NG interface.

[0096] The core network stores the algorithm and algorithm priority information. If the core network supports the highest priority algorithm reported by the UE, the NAS signaling uses this algorithm securely and uses this algorithm to participate in the air interface algorithm priority sorting in the subsequent air interface. If the core network does not support the highest priority algorithm reported by the UE, the signaling ends. The user reselects the highest priority algorithm and re-registers.

[0097] Table 9 UE Security Capabilities additional UE algorithm highest priority instance table

[0098]

[0099] According to the definitions in Table 3, Table 5 and Table 7, the above table shows that the UE security capability carries NEA3 / NIA3 of the ZUC algorithm in 5G, as well as the customized NEA4 / NIA4, and the customized NEA4 / NIA4 has the highest priority; it also carries EEA3 / EIA3 of the ZUC algorithm in 4G and EEA1 / EIA1 of snow 3G, among which EIA1 and EEA3 have the highest priority.

[0100] Phase 3: Service signaling phase UE reports the highest priority algorithm

[0101] After power-on registration, if the user modifies the algorithm priority again, when initiating the service, the UE selection algorithm priority information must be notified to the core network and base station. This application is achieved by modifying the content of the Security header type in the first initial direct message service request sent by the UE to the core network.

[0102] According to Table 5, the transformation of the Security header type is as follows:

[0103] Table 10 Security header type example table

[0104]

[0105] PEA: identifies the confidentiality algorithm with the highest priority. The example is 0100, which is the custom confidentiality algorithm NEA4.

[0106] PIA: identifies the integrity protection algorithm with the highest priority. The example is 0100, which is the custom integrity algorithm NIA4.

[0107] S: indicates whether this signaling is initiated in the power-on registration phase or the non-registration phase. In this case, S=0, which is the service signaling phase.

[0108] The highest priority algorithm carried is stored in the core network and is used for security algorithm selection of NAS messages and in the following process.

[0109] Phase 4: Security Capability Transfer (Core Network to Base Station)

[0110] The core network transmits the contents of Table 9 or Table 10 to the base station through the UE SecurityCapabilities in the initial Context Setup Request message. If it is in the power-on registration phase, the contents of Table 9 are directly transmitted to the base station; if it is not in the power-on registration phase, the contents of Table 10 need to be transmitted to the base station.

[0111] Phase 5: Security algorithm selection (base station to terminal)

[0112] Step 1: Compatibility judgment and priority selection: If the base station receives the highest priority algorithm of the UE and determines that the base station also supports it, it will send it to the UE through SecurityModeCommand (SMC) signaling; if the base station determines that it does not support the highest priority algorithm of the UE, the highest priority algorithm in the intersection of the base station priority and the UE security capability will be used as the algorithm of both parties and sent to the UE through SMC signaling.

[0113] Example: According to Table 9 or Table 10, the SMC signaling includes the following algorithm:

[0114] SecurityModeCommand

[0115] {……

[0116] IntegrityProtAlgorithm: NIA4

[0117] CipheringAlgorithm: NEA4

[0118] }.

[0119] Step 2: Algorithm selection during handover: When mobility is cross-station or cross-system, according to the definition in 3GPP TS38.311, the HandoverRequest (or other related handover signaling) carries UE Security Capabilities (as shown in Table 9), and the UE security capabilities are delivered to the target base station. If the target base station determines that it also supports this algorithm, it will negotiate with the UE through the RRCreconfig message to select the security algorithm. If the target station determines that it does not support the highest priority algorithm of the UE, the highest priority in the intersection of the base station priority and the UE security capability is used as the algorithm of both parties and sent to the UE through the RRCreconfig message.

[0120] Phase 6: Negotiation process confirmation (terminal to base station)

[0121] When the terminal receives SecurityModeCommand / RRCreconfig, it determines whether it supports the algorithm carried in it. If it does, it calls this algorithm to perform confidentiality and integrity operations and returns SecurityModeComplete / RRCreconfig complete to the base station. If it does not, the algorithm negotiation fails and the base station returns SecurityModeFailure / RRCreconfigFailure.

[0122] According to the method for implementing UE customized confidentiality and integrity protection algorithm proposed in the embodiment of the present application, the transmission and selection of UE customized algorithm are completed by extending the UE security capability and Security header type in the signaling, and the use of customized algorithm is completed. When both the base station and the terminal support it, the user can customize the security algorithm used, realizing the user customization function emphasized in the field of 5G technology, and making up for the current 5G security algorithm is still subject to the security shortcomings of the base station.

[0123] Next, a device for implementing a UE customized confidentiality and integrity protection algorithm proposed in an embodiment of the present application is described with reference to the accompanying drawings.

[0124] Figure 6 This is an example diagram of an apparatus for implementing a UE customized confidentiality and integrity protection algorithm according to an embodiment of the present application.

[0125] like Figure 6 As shown, the device 10 for implementing UE customized confidentiality and integrity protection algorithm includes: a selection module 100, a reporting module 200, an updating module 300, a sending module 400, a sending module 500 and a negotiation module 600.

[0126] Among them, the selection module 100 is used to select at least one security algorithm and the priority of each algorithm, and generate an algorithm priority list. The reporting module 200 is used to report the algorithm priority list to the core network during the power-on registration phase. The update module 300 is used to report the highest priority algorithm from the terminal to the core network during the service signaling phase. The sending module 400 is used to transmit the security capability to at least one base station after the core network receives the algorithm priority list. The sending module 500 is used to select the corresponding protection algorithm according to the priority of the algorithm priority list at the base station end, and send it to the terminal. The negotiation module 600 is used to return the algorithm confirmation message after confirmation by the terminal to complete the algorithm negotiation.

[0127] In one embodiment of the present application, the reporting module 200 is further used to carry the preset highest priority and its corresponding protection algorithm to the UE security capability, and report the UE security capability to the core network through a Registration request message.

[0128] In one embodiment of the present application, the highest priority reporting algorithm includes: after the user initiates the service and modifies the priority, the new priority information is re-notified to the core network and the base station, wherein the first initial direct transmission message sent to the core network by the UE carrying the new priority information.

[0129] In one embodiment of the present application, the sending module 500 is further used to select a corresponding algorithm according to a compatibility condition and a preset priority condition, and to transmit the UE security capability to the target base station during switching.

[0130] In one embodiment of the present application, the negotiation module 600 is further used to determine whether the algorithm carried by the signaling is supported. If supported, the carried algorithm is called to perform confidentiality and integrity operations and return a base station success message. If not supported, a base station failure message is returned.

[0131] It should be noted that the aforementioned explanation of the method embodiment for implementing the UE customized confidentiality and integrity protection algorithm is also applicable to the device for implementing the UE customized confidentiality and integrity protection algorithm of this embodiment, and will not be repeated here.

[0132] According to the device for implementing UE customized confidentiality and integrity protection algorithm proposed in the embodiment of the present application, the transmission and selection of UE customized algorithm are completed by extending the UE security capability and Security header type in the signaling, and the use of customized algorithm is completed. When both the base station and the terminal support it, the user can customize the security algorithm used, realizing the user customization function emphasized in the field of 5G technology, and making up for the current 5G security algorithm is still subject to the security shortcomings of the base station.

[0133] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0134] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0135] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

Claims

1. A method for implementing a UE customized confidentiality and integrity protection algorithm, It is characterized in that The following steps are involved: Select at least one security algorithm and a priority of each algorithm, and generate an algorithm priority list; In the power-on registration phase, the algorithm priority list is reported to the core network, wherein the reporting of the algorithm priority list to the core network includes: Carry the preset highest priority and its corresponding protection algorithm to the UE security capability; Carrying the UE security capability through a Registration request message, and reporting it to the core network; In the service signaling stage, the highest priority algorithm is reported from the terminal to the core network, wherein the reporting of the highest priority algorithm includes: After the user initiates a service and modifies the priority, the new priority information is re-notified to the core network and the base station, wherein the first initial direct transfer message sent to the core network by the UE carrying the new priority information; After the core network receives the algorithm priority list, transmitting security capabilities to at least one base station; At the base station end, a corresponding protection algorithm is selected according to the priority of the algorithm priority list, and sent to the terminal; and After confirmation by the terminal, an algorithm confirmation message is returned to complete the algorithm negotiation.

2. The method according to claim 1, It is characterized in that The selecting a corresponding protection algorithm according to the priority of the algorithm and sending it to the terminal includes: A corresponding algorithm is selected according to the compatibility condition and the preset priority condition, and the UE security capability is transmitted to the target base station during the handover.

3. The method according to claim 2, It is characterized in that The algorithm confirmation message is returned after the terminal confirms, and the algorithm negotiation is completed, including: Determine whether the algorithm carried by the signaling is supported; If supported, the carried algorithm is called to perform confidentiality and integrity operations, and a base station success message is returned, otherwise a base station failure message is returned.

4. A device for implementing a UE customized confidentiality and integrity protection algorithm, It is characterized in that include: A selection module, used for selecting at least one security algorithm and a priority of each algorithm, and generating an algorithm priority list; A reporting module, used to report the algorithm priority list to the core network during the power-on registration phase, wherein the reporting module is further used to carry the preset highest priority and its corresponding protection algorithm to the UE security capability, and carry the UE security capability through a Registration request message to report to the core network; An updating module, configured to report the highest priority algorithm from the terminal to the core network during the service signaling phase, wherein the reporting of the highest priority algorithm includes: after the user initiates the service and modifies the priority, re-notifying the core network and the base station of the new priority information, wherein the first initial direct transmission message sent to the core network by the UE carrying the new priority information; A sending module, configured to transmit security capabilities to at least one base station after the core network receives the algorithm priority list; A sending module, used for selecting a corresponding protection algorithm according to the priority of the algorithm priority list at the base station end, and sending it to the terminal; and The negotiation module is used to return an algorithm confirmation message after confirmation by the terminal to complete the algorithm negotiation.

5. The device according to claim 4, It is characterized in that The sending module is further used to select a corresponding algorithm according to a compatibility condition and a preset priority condition, and transmit the UE security capability to a target base station during handover.

6. The device according to claim 5, It is characterized in that The negotiation module is further used to determine whether the algorithm carried by the signaling is supported. If supported, the carried algorithm is called to perform confidentiality and integrity operations and return a base station success message. If not supported, a base station failure message is returned.