Method, apparatus and system for configuring security modes, and computer-readable storage medium

The method configures security modes in 5G base stations by generating integrity protection and encryption keys based on operator-specific requirements, addressing the need for differentiated protection in shared 5G base stations, enhancing communication integrity and flexibility.

JP7559222B2Active Publication Date: 2024-10-01CHINA TELECOM CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023512155
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-08-17
Filing Date
2021-04-29
Publication Date
2024-10-01
Estimated Expiration
2041-04-29

AI Technical Summary

Technical Problem

Existing technologies fail to provide differentiated integrity protection for different services of different operators in co-built and carrier-shared 5G base stations, which may require ultra-low latency or independent user data integrity protection.

Method used

A method and system for configuring security modes in 5G base stations that generate integrity protection and encryption keys based on the operator's specific requirements, using preconfigured key generation algorithms and algorithms determined by PLMN identity, ensuring adaptive key generation for different operators.

Benefits of technology

This approach enables differentiated access layer integrity protection and enhances service flexibility in shared carrier systems by generating keys tailored to the specific needs of each operator, improving communication integrity and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007559222000001
    Figure 0007559222000001
  • Figure 0007559222000002
    Figure 0007559222000002
  • Figure 0007559222000003
    Figure 0007559222000003
Patent Text Reader

Abstract

A safe mode configuration method, device, system, and computer-readable storage medium related to the technical field of mobile communications are disclosed. The safe mode configuration method includes: obtaining an integrity protection algorithm and an encryption algorithm, an original key of the core network, and an operator identifier sent by a core network, where the core network is a core network of a first operator or a second operator, and the first operator and the second operator use a shared carrier in a jointly constructed and shared base station, determining a key generation algorithm pre-configured by an operator to which a user belongs according to the operator identifier, generating an integrity protection key and an encryption key for the user according to the key generation algorithm and the original key, and sending a safe mode command to a user terminal, where the safe mode command includes verification information encrypted using the user's integrity protection key, the integrity protection algorithm, and the encryption algorithm, and the terminal has the key generation algorithm pre-configured by the operator to which the user belongs.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] The present invention relates to the field of mobile communication technologies, and in particular to a security mode configuration method, apparatus and system, and a computer-readable storage medium. In the construction of 5G, two operators may jointly build and share base stations and use a shared carrier, that is, a shared 5G base station connects the core networks of the two operators, and the two operators share one cell (i.e., share one carrier).

[0002] Integrity protection is a necessary technical measure to prevent information or data from being tampered with or to ensure that it can be quickly detected after tampering. In the 4G era, signaling integrity protection has always been emphasized. In the 5G era, data integrity protection is also essential. Summary of the Invention

[0003] After analyzing the related art, the inventors found that different services of different operators transmitted by co-construction and shared 5G base stations may have different requirements for the services. For example, some services require ultra-low latency with high requirements for signal integrity protection, and some services require independent user data integrity protection. In the related art, a method for providing differentiated integrity protection for co-construction and carrier-shared base stations of different operators has not yet been considered.

[0006] In some embodiments, the integrity protection key includes a control plane integrity protection key and the encryption keys include a control plane encryption key and a user plane encryption key.

[0007] In some embodiments, the security mode configuration method further includes obtaining a security mode completion message from the user's terminal, where the security mode completion message is sent by the terminal after the verification of the security mode command is passed, performing integrity verification of the security mode completion message, and in response to the integrity verification of the security mode completion message being passed, sending a setup completion message to a core network of an operator to which the user belongs, where the setup completion message includes an integrity protection algorithm and an encryption algorithm of the security mode command, and is used to instruct the core network to start a security control process.

[0008] In some embodiments, the operator identity information is a Public Land Mobile Network (PLMN) identity information, and determining the key generation algorithm pre-configured by the operator to which the user belongs according to the operator identity information includes obtaining a PLMN identity information corresponding to the user who initiates the security mode, and determining the key generation algorithm pre-configured by the operator to which the user belongs according to a corresponding relationship between the pre-configured PLMN identity information and the key generation algorithm.

[0009] In some embodiments, the original key is generated by the core network in response to initiating an access stratum security mode after the radio resource control (RRC) connection setup is complete and Layer 3 (L3) authentication is passed.

[0010] In some embodiments, a security mode configuration method includes determining, by an access and mobility management function (AMF) in a core network, an original key for a user's non-access stratum (NAS) signaling according to the user's operator identity, where the core network is shared by a first operator and a second operator, and generating, by the AMF, a NAS integrity protection key and a NAS encryption key by adopting a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator identity.

[0011] In some embodiments, the security mode configuration method further includes generating an original key of the first operator and an original key of the second operator by an AMF in the core network, and sending, by the AMF, an integrity protection algorithm, an encryption algorithm, and the original key of the first operator, as well as the integrity protection algorithm, the encryption algorithm, and the original key of the second operator to the base station.

[0012] According to a second aspect of some embodiments of the present invention, there is provided a security mode configuration device, comprising: an acquisition module configured to acquire an integrity protection algorithm, an encryption algorithm, an original key, and an operator identification information of the core network from a core network, where the original key is also sent to a user to initiate the security mode, where the core network is a core network of a first operator or a second operator, and the first operator and the second operator use the same shared carrier in a co-constructed and shared base station; an algorithm determination module configured to determine a key generation algorithm pre-set by an operator to which the user belongs according to the operator identification information; a key generation module configured to generate an integrity protection key and an encryption key of the user according to the key generation algorithm and the original key; and a command sending module configured to send a security mode command to a terminal of the user, where the security mode command includes verification information encrypted by the integrity protection key, the integrity protection algorithm, and the encryption algorithm of the user, and the terminal has the key generation algorithm pre-set by the operator to which the user belongs. In some embodiments, the operator identity is a PLMN identity.

[0013] In some embodiments, the integrity protection key includes a control plane integrity protection key, and the encryption keys include a control plane encryption key and a user plane encryption key.

[0014] In some embodiments, the security mode configuration device further comprises a verification module that obtains a security mode completion message from the user's terminal, where the security mode completion message is sent by the terminal after the verification of the security mode command is passed, performs integrity verification on the security mode completion message, and in response to the integrity verification of the security mode completion message being passed, sends a setup completion message to the core network of the operator to which the user belongs, where the setup completion message includes the integrity protection algorithm and the encryption algorithm in the security mode command and is used to instruct the core network to start a security control process.

[0015] In some embodiments, the operator identity is a Public Land Mobile Network (PLMN) identity, and the algorithm determination module is further configured to obtain a PLMN identity corresponding to the user who initiates the security mode, and determine a key generation algorithm pre-configured by the operator to which the user belongs according to a corresponding relationship between the pre-configured PLMN identity and the key generation algorithm.

[0016] In some embodiments, the original key is generated by the core network in response to initiating an access stratum security mode after the RRC connection setup is complete and layer 3 authentication has been passed.

[0017] According to a third aspect of some embodiments of the present invention there is provided a security mode configuration device comprising a memory and a processor coupled to the memory, the security mode configuration device being configured to perform any of the aforementioned security mode configuration methods based on instructions stored in the memory.

[0018] According to a fourth aspect of some embodiments of the present invention, there is provided a security mode configuration system comprising: a base station including any of the aforementioned security mode configuration devices; a first core network of a first operator, configured to transmit an integrity protection algorithm, an encryption algorithm, an original key generated by the first core network, and operator identification information of the first core network to the base station and transmit the original key generated by the first core network to a user of the first operator; and a second core network of a second operator, configured to transmit an integrity protection algorithm, an encryption algorithm, an original key generated by the second core network, and operator identification information of the second core network to the base station and transmit the original key generated by the second core network to a user of the second operator, wherein the first operator and the second operator use the same shared carrier at the base station.

[0019] According to a fourth aspect of some embodiments of the present invention, there is provided a security mode configuration system, comprising: a base station including any of the security mode configuration devices described above; and a first core network of a first operator, First Core Network A first core network and a second core network of a second operator, configured to send an integrity protection algorithm and an encryption algorithm, an original key generated by the first core network, and an operator identification information of the first core network to a base station, and send the original key generated by the first core network to a user of the first operator; Second Core Network and a second core network configured to transmit an integrity protection algorithm and an encryption algorithm, an original key generated by the second core network, and an operator identification information of the second core network to a base station, and transmit the original key generated by the second core network to a user of the second operator, wherein the first operator and the second operator use the same shared carrier at the base station, and a configuration system for a security mode is provided.

[0020] According to a fifth aspect of some embodiments of the present invention, there is provided a security mode configuration system comprising: a base station including any of the aforementioned security mode configuration devices; and an AMF of a core network configured to determine an original key for a user's NAS signaling according to an operator identity of the user, wherein the core network is shared by a first operator and a second operator, and the AMF of the core network generates a NAS signaling integrity protection key and a NAS signaling encryption key by adopting a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator identity.

[0021] In some embodiments, the AMF is further configured to generate an original key of the first operator and an original key of the second operator, and send the original key, integrity protection algorithm, and encryption algorithm of the first operator, as well as the original key, integrity protection algorithm, and encryption algorithm of the second operator to the base station.

[0022] In some embodiments, the operator identity information is a PLMN identity information.

[0023] According to a sixth aspect of some embodiments of the present invention there is provided a non-transitory computer readable storage medium having a computer program stored thereon, the program being adapted, when executed by a processor, to implement any of the security mode configuration methods described above.

[0024] Some embodiments of the above invention have the advantage or benefit that the adapted key determines the corresponding integrity protection algorithm and encryption algorithm according to the operator to which the user belongs, and adopts the corresponding key generation algorithm to generate the key under the condition that the base station is a jointly constructed and shared base station, so that the key can be generated according to the service requirements of different operators.Therefore, the differentiation of the integrity protection of the access layer is realized, and the service bearing flexibility of the shared carrier system is improved. [Brief description of the drawings]

[0026] In order to more clearly describe the embodiments of the present invention or the technical solutions in the prior art, the following briefly describes the drawings used in the description of the embodiments or the prior art, but it is obvious that the drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other drawings according to the drawings without creative efforts.

[0027] [Figure 1] 1 illustrates a flow diagram of a security mode configuration method according to some embodiments of the present invention. [Diagram 2] 1 illustrates a flow diagram of a security mode configuration method according to some embodiments of the present invention. [Diagram 3] 1 illustrates a flow diagram of a method for security mode configuration of a shared core network according to some embodiments of the present invention. [Figure 4] 4 shows a flow diagram illustrating a method for configuring a security mode according to a further embodiment of the present invention; [Diagram 5] 1 shows a structural diagram of a security mode configuration device according to some embodiments of the present invention; [Figure 6] 1 shows a structural diagram of a security mode configuration system according to some embodiments of the present invention. [Figure 7] 4 shows a structural diagram of a security mode configuration system according to a further embodiment of the present invention; [Figure 8]FIG. 2 shows a structural diagram of a security mode configuration device according to a further embodiment of the present invention; [Figure 9] FIG. 2 shows a structural diagram of a security mode configuration device according to a further embodiment of the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] Hereinafter, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings of the embodiments of the present invention, but it is clear that the described embodiments are only some of the embodiments of the present invention, and are not all of the embodiments. The following description of at least one exemplary embodiment is merely exemplary in nature and is in no way intended to limit the present invention, its application, or use. Based on the embodiments of the present invention, all other embodiments that a person skilled in the art can obtain without inventive step are within the scope of protection of the present invention.

[0029] The relative arrangement of components and steps shown in these embodiments, numerical expressions, and values ​​do not limit the scope of the present invention unless otherwise specified.

[0030] However, it should be understood that the sizes of the parts shown in the drawings are not drawn to actual proportions for the sake of convenience of explanation.

[0031] Techniques, methods and apparatus known to those skilled in the relevant art have not been described in detail, but are intended to be part of the specification where appropriate.

[0032] In all examples shown and discussed herein, any particular values ​​should be construed as exemplary only, and not limiting, and thus other examples of example embodiments may have different values.

[0033] It should be noted that like reference numbers and letters indicate like items in the following accompanying drawings, and therefore, once an item is defined in one accompanying drawing, no further discussion of it is necessary in the subsequent accompanying drawings.

[0034] 1 shows a flow diagram of a security mode configuration method according to some embodiments of the present invention. As shown in FIG. 1, the security mode configuration method according to this embodiment includes steps S102 to S108. The method according to this embodiment may be implemented in a base station. After analyzing the related art, the inventors found that different services of different operators transmitted by co-construction and shared 5G base stations may have different requirements for the services. For example, some services require ultra-low latency with high requirements for signal integrity protection, and some services require independent user data integrity protection. In the related art, a method for providing differentiated integrity protection for co-construction and carrier-shared base stations of different operators has not yet been considered. The embodiments of the present invention aim to solve a technical problem, namely, how to provide a consistency protection method that supports joint construction and shared base stations for multiple operators.

[0035] In step S102, the integrity protection algorithm, the encryption algorithm, the original key, and the operator identification information of the core network sent from the core network are obtained, the original key is further sent to the user to initiate a security mode, the core network is a core network of a first operator or a second operator, and the first operator and the second operator use the same shared carrier in a jointly constructed and shared base station.

[0036] In some embodiments, the co-built and shared base station is a 5G base station.

[0037] In step S104, a key generation algorithm that is preset by the service provider to which the user belongs is determined according to the service provider identification information.

[0038] The first operator and the second operator each pre-set their own key generation algorithm according to factors such as service requirements. If the user who initiates the security mode is a user of the first operator, the integrity protection key and the encryption key are generated using the key generation algorithm pre-set by the first operator, and if the user who initiates the security mode is a user of the second operator, the integrity protection key and the encryption key are generated using the key generation algorithm pre-set by the second operator. Therefore, the base station side can adopt the corresponding algorithm to generate keys for users of different operators.

[0039] In some embodiments, the key generation algorithm is a key derivation function, and the integrity protection key and the encryption key may be generated using the key derivation function, whose role is to derive one or more key data from a shared secret bit string.

[0040] In some embodiments, for example, a public land mobile network (PLMN) identification information corresponding to a user who initiates a security mode is obtained from a core network, and a key generation algorithm pre-configured by an operator to which the user belongs is determined according to a correspondence relationship between the pre-configured PLMN identification information and the key generation algorithm.

[0041] In step S106, an integrity protection key and an encryption key for the user are generated based on a key generation algorithm and a key generated by the core network of the operator to which the user belongs.

[0042] In step S106, a key generation algorithm and a key generated by the core network of the operator to which the user belongs are , i.e. the original key Based on this, the user's integrity protection key and encryption key are generated.

[0043] In step S108, a security mode command is sent to the user's terminal, where the security mode command includes the user's integrity protection key, the integrity protection algorithm and the verification information encrypted using an encryption algorithm, and the terminal has a key generation algorithm pre-configured by the operator to which the user belongs.

[0044] Since the user's terminal also has the original key and key generation algorithm, it can generate an integrity protection key and an encryption key, and the verification information of the security mode command can be verified using the integrity protection key. After passing the verification, the terminal can obtain the integrity protection algorithm and encryption algorithm of the security mode command, and the terminal and the base station can respectively use the generated integrity protection key and encryption key and the corresponding algorithm to realize the integrity protection and encryption of the communication process.

[0045] In the method of the above embodiment, according to the operator that the user belongs to, determine the corresponding integrity protection algorithm and encryption algorithm, and under the condition that the base station is jointly constructed and shared base station, adopt the corresponding key generation algorithm to generate the key, so that adaptive key can be generated according to the service requirements of different operators, thus realizing the differentiation of the integrity protection of the access layer, and improving the service bearing flexibility of the shared carrier system.

[0046] In some embodiments, the security mode configuration method is implemented by the cooperation of the base station, the core network and the terminal. An embodiment of the security mode configuration method of the present invention is described below with reference to FIG.

[0047] 2 shows a flow diagram of a security mode configuration method according to some embodiments of the present invention. As shown in FIG. 2, the security mode configuration method according to the present embodiment includes steps S202 to S220.

[0048] In step S202, after the RRC connection setup is completed and Layer 3 (L3) authentication is passed, the core network generates an original key according to the security mode of the access stratum. In this embodiment, the core network is set as the core network of the first operator.

[0049] In step S204, the core network sends the original key, the first integrity protection algorithm and the first encryption algorithm used by the first operator, and the PLMN identity information of the first operator to the base station.

[0050] In some embodiments, the core network sends a list of integrity protection algorithms and a list of encryption algorithms supported by the user's terminal, and the terminal's capability parameters to the base station, and the base station selects a first integrity protection algorithm and a first encryption algorithm to apply to the user.

[0051] In step S206, the core network sends an original key to the user's terminal to start a security mode, and the terminal has a key generation algorithm pre-configured by the operator to which the user belongs (ie, the first operator).

[0052] In some embodiments, the core network transmits the original key to the terminal via Non-Access Stratum (NAS) signaling.

[0053] In step S208, the base station determines according to the PLMN identification information that the user is a user of the first operator, and searches for a key generation algorithm preset by the first operator that is the same as the key generation algorithm preset by the terminal.

[0054] In step S210, the base station generates a user's integrity protection key and encryption key according to the key generation algorithm and original key preset by the first operator, and generates a security mode command including the user's integrity protection key, the first integrity protection algorithm, and verification information encrypted by the first encryption algorithm.

[0055] In some embodiments, the verification information is generated according to an integrity protection key and other configuration parameters including, for example, transmission direction, bearer identity information, etc., which may be obtained from the core network.

[0056] In step S212, the base station sends a security mode command to the user's terminal.

[0057] In step S214, the terminal verifies the integrity of the security mode command.

[0058] For example, the terminal may generate an integrity protection key and an encryption key using an original key and a key generation algorithm, generate verification information using the integrity protection key and the terminal's configuration parameters, and determine whether the verification information generated by the terminal matches the verification information sent by the base station. If the two match, the verification passes. The terminal may then perform an integrity protection operation and an encryption operation using the first integrity protection algorithm and the first encryption algorithm sent by the base station, and the integrity protection key and encryption key generated by the terminal.

[0059] In step S216, the terminal sends a security mode complete message to the base station.

[0060] In step S218, the base station performs integrity verification of the security mode completion message, for example, if the terminal generates the security mode completion message based on the integrity protection key, the base station also performs verification by the integrity protection key.

[0061] In step S220, in response to passing the integrity verification of the security mode completion message, the base station sends a setup completion message to the core network of the operator to which the user belongs, including the integrity protection algorithm and the integrity protection algorithm and encryption algorithm of the security mode command.

[0062] In the method of the embodiment, when the base station is a jointly constructed and shared base station, the base station generates an adaptive key according to the service requirements of different operators. And the terminal can perform verification after key acquisition, and complete the security mode start process through the interaction process between the base station and the core network. Therefore, the differentiation of the integrity protection of the access layer is realized, and the service bearing flexibility of the shared carrier system is improved.

[0063] In some embodiments, the first operator and the second operator can also jointly construct and share a core network, and manage operator identities, such as PLMNs, of the two operators in a core network element of an Access and Mobility Management Function (AMF).An embodiment of a method for configuring a security mode of a shared core network of the present invention is described below with reference to FIG.

[0064] 3 shows a flow diagram of a method for configuring a security mode of a shared core network according to some embodiments of the present invention. As shown in FIG. 3, the method for configuring a security mode of a shared core network in this embodiment includes steps S302 to S304.

[0065] In step S302, the AMF in the core network shared by the first operator and the second operator determines an original key of NAS signaling corresponding to the user according to the operator identification information of the user.

[0066] In step S304, the AMF generates a NAS integrity protection key and a NAS encryption key using a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator identification information.

[0067] For example, in AMF, which algorithm should be used by the current user is determined by the PLMN identifier and the decision maker of the encryption / integrity protection algorithm, and the key KAFM_1 or KAFM_2 is generated according to the algorithm corresponding to each operator, and then the algorithm module of the first operator generates the key K for protecting the NAS from KAFM_1. NASint_1 and K. NASenc_1 The algorithm module of the second operator generates a key K for protecting the NAS from KAFM_2. NASint_2 and K. NASenc_2 Generate.

[0068] In some embodiments, the original keys of the first operator and the second operator may also be generated and transmitted by the shared core network.An embodiment of the security mode configuration method of the present invention will be described below with reference to FIG.

[0069] 4 is a flow chart illustrating a method for configuring a security mode according to a further embodiment of the present invention. As shown in FIG. 4, the method for configuring a security mode according to the present embodiment includes steps S402 to S416.

[0070] In step S402, an AMF in a core network shared by the first operator and the second operator generates an original key of the first operator and an original key of the second operator.

[0071] In step S404, the AMF sends the integrity protection algorithm, encryption algorithm, and original key of the first operator and the integrity protection algorithm, encryption algorithm, and original key of the second operator to the base station. The first operator and the second operator use the same shared carrier in the base station.

[0072] In step S406, the AMF sends the original key to the user's terminal and starts the security mode.

[0073] In step S406, the AMF handleSend the original key and start security mode.

[0074] In step S410, the base station generates a control plane integrity protection key, a control plane encryption key, a user plane encryption key of the user, and a security mode command according to the key generation algorithm and original key corresponding to the operator to which the user belongs, where the original key is sent from the core network, and the security mode command is composed of the user's integrity protection key, the integrity protection algorithm, and verification information encrypted using the encryption algorithm.

[0075] For example, the algorithm module of a first operator in the AMF generates original keys KgNB_1 and NH_1, which are sent to the base station together with algorithm 1 corresponding to the first operator, and similarly, the algorithm module of a second operator in the AMF generates KgNB_2 and NH_2, which are sent to the base station together with algorithm 2 corresponding to the second operator.

[0076] Then, the base station transmits the first operator's control plane integrity protection key K RRCint_1 , the first operator's user plane integrity protection key k UPint_1 , and the key K required for user and control plane encryption UPenc_1 and K. RRCenc_1 , using KgNB_1, NH_1, and Algorithm 1. Similarly, for users of the second operator, the base station calculates the second operator's control plane integrity protection key K RRCint_2 , the second operator's user plane integrity protection key K UPint_2 , and the key K required for user and control plane encryption UPenc_2 and K. RRCenc_2 Calculate KgNB_2, NH_2 and according to Algorithm 22.

[0077] In step S412, the base station sends a security mode command to the user's terminal with a key generation algorithm pre-configured by the operator to which the user belongs.

[0078] In step S414, the user's terminal performs decoding and integrity verification on the security mode command.

[0079] In step S416, if the terminal passes the verification, it extracts the encryption algorithm of the security mode command and sends a security mode complete command to the base station.

[0080] In the 5G base station of the jointly constructed and shared core network, different services may be sent by different operators, and the difference in application scenarios generates communication data with different requirements for data integrity protection, so it is necessary to flexibly consider the integrity protection for each service type. In this embodiment, it is possible to respond to the situation where different integrity protection algorithms are configured for different operators when the core network is shared, and the flexibility of the burden of the jointly constructed and shared service is improved.

[0081] An embodiment of the security mode configuration device of the present invention will now be described with reference to FIG.

[0082] 5 shows a structural diagram of a security mode configuration device according to some embodiments of the present invention. As shown in FIG. 5, the security mode configuration device 500 of this embodiment includes: an acquisition module 5100 configured to acquire an integrity protection algorithm, an encryption algorithm, an original key, and an operator identification information of a core network from a core network, where the original key is also sent to a user to start a security mode, the core network is a core network of a first operator or a second operator, and the first operator and the second operator use the same shared carrier in a co-constructed and shared base station; an algorithm determination module 5200 configured to determine a key generation algorithm pre-set by an operator to which the user belongs according to the operator identification information; a key generation module 5300 configured to generate an integrity protection key and a user's encryption key according to the key generation algorithm and the original key; and a command sending module 5400 configured to send a security mode command to a terminal of the user, where the security mode command includes the user's integrity protection key, the integrity protection algorithm, and verification information encrypted by the encryption algorithm, and the terminal has a key generation algorithm pre-set by an operator to which the user belongs.

[0083] In some embodiments, the security mode configuration device 500 further comprises a verification module 5500 configured to: obtain a security mode completion message from the user's terminal, where the security mode completion message is sent by the terminal after the security mode command verification is passed; perform integrity verification on the security mode completion message; and in response to passing the integrity verification of the security mode completion message, send a setup completion message to the core network of the operator to which the user belongs, where the setup completion message includes the integrity protection algorithm and the encryption algorithm of the security mode command, and the setup completion message is used to instruct the core network to start a security control process.

[0084] In some embodiments, the integrity protection key includes a control plane integrity protection key and the encryption keys include a control plane encryption key and a user plane encryption key.

[0085] In some embodiments, the operator identity is a PLMN identity, and determining the key generation algorithm pre-configured by the operator to which the user who initiates the security mode belongs includes obtaining a PLMN identity corresponding to the user who initiates the security mode, and determining the key generation algorithm pre-configured by the operator to which the user belongs according to a correspondence relationship between the pre-configured PLMN identity and the key generation algorithm.

[0086] In some embodiments, the original key is generated by the core network in response to initiating an access stratum security mode after the RRC connection setup is complete and layer 3 authentication has been passed.

[0087] An embodiment of the security mode configuration system of the present invention will now be described with reference to FIGS.

[0088] Figure 6 shows a structural diagram of a security mode configuration system according to some embodiments of the present invention. As shown in Figure 6, the security mode configuration system 60 of this embodiment includes a base station 610 including any of the above security mode configuration devices, a first core network 620 of a first operator configured to send an integrity protection algorithm, an encryption algorithm, an original key generated by the first core network, and an operator identification information of the first core network to the base station, and send the original key generated by the first core network to a user of the first operator, and a second core network 630 of a second operator configured to send an integrity protection algorithm, an encryption algorithm, an original key generated by the second core network, and an operator identification information of the second core network to the base station, and send the original key generated by the second core network to a user of the second operator.

[0089] 6 shows a structural diagram of a security mode configuration system according to some embodiments of the present invention. As shown in FIG. 6, the security mode configuration system 60 of this embodiment includes a base station 610 including any of the above security mode configuration devices; First Core Network A first core network 620 of a first operator, configured to send an integrity protection algorithm and an encryption algorithm, an original key generated by the first core network, and an operator identification information of the first core network to a base station, and send the original key generated by the first core network to a user of the first operator; Second Core Network and a second core network 630 of the second operator, configured to send the integrity protection algorithm and the encryption algorithm, the original key generated by the second core network, and operator identification information of the second core network to the base station, and send the original key generated by the second core network to a user of the second operator.

[0090] Figure 7 shows a structural diagram of a security mode configuration system according to a further embodiment of the present invention. As shown in Figure 7, the security mode configuration system 70 of this embodiment includes a base station 710 including any of the above security mode configuration devices, and an AMF 720 of a core network configured to determine a user's Non-Access Stratum (NAS) signaling original key according to the user's operator identity information, where the core network is shared by a first operator and a second operator, and configured to generate a NAS signaling integrity protection key and a NAS signaling encryption key by adopting a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator identity information.

[0091] In some embodiments, the AMF is further configured to generate an original key of the first operator and an original key of the second operator, and send the original key, integrity protection algorithm, and encryption algorithm of the first operator, and the original key, integrity protection algorithm, and encryption algorithm of the second operator to the base station.

[0092] In some embodiments, the operator identity is a PLMN identity.

[0093] Fig. 8 shows a schematic configuration of a security mode configuration device according to a further embodiment of the present invention. As shown in Fig. 8, the security mode configuration device 80 of the present embodiment includes a memory 810 and a processor 820 coupled to the memory 810, the processor 820 being configured to execute the security mode configuration method of any of the previously described embodiments based on instructions stored in the memory 810.

[0094] The memory 810 may be, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory stores, for example, an operating system, application programs, a boot loader, and other programs.

[0095] FIG. 9 shows a structural diagram of a security mode configuration device according to a further embodiment of the present invention. As shown in FIG. 9, the security mode configuration device 90 of this embodiment includes a memory 910 and a processor 920, and may further include an input / output interface 930, a network interface 940, a storage interface 950, etc. These interfaces 930, 940, 950, the memory 910, and the processor 920 may be connected by a bus 960, for example. The input / output interface 930 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 940 provides a connection interface for various network devices. The storage interface 950 provides a connection interface for external storage devices such as an SD card and a USB disk.

[0096] An embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, the computer program being configured, when executed by a processor, to implement any of the aforementioned security mode configuration methods.

[0097] As will be appreciated by those skilled in the art, embodiments of the present invention may be provided as a method, a system, or a computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied in one or more computer usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein.

[0098] The present invention has been described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It will be understood that each flow and / or block of the flowchart illustrations and / or block diagrams, and combinations of flows and / or blocks of the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus, and can generate a machine such that the instructions, executed via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and / or block diagram blocks or block diagram blocks.

[0099] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, and the instructions stored in the computer readable memory may generate an article of manufacture that includes instruction means that implement the functions specified in the flowchart flows or flows and / or block diagram blocks or block diagram blocks.

[0100] These computer program instructions may also be loaded into a computer or other programmable data processing apparatus to generate a computer-implemented process such that a sequence of operational steps executed on the computer or other programmable apparatus provides steps that implement the functions specified in the flowchart flow or flows and / or block diagram block or blocks.

[0101] The above description is only for the purpose of illustrating preferred embodiments of the present invention and should not be considered as limiting the scope of the present invention, but is intended to cover modifications, equivalents, improvements and the like within the spirit and scope of the present invention.

[0102] This application claims priority from Chinese Patent Application No. 202010825350.7, filed on August 17, 2020, the disclosure of which is incorporated herein by reference in its entirety.

Claims

1. Obtain an integrity protection algorithm, an encryption algorithm, an original key, and an operator identification information of the core network from a core network, where the original key is also sent to the user to initiate a security mode, the core network is a core network of a first operator or a second operator, and the first operator and the second operator use the same shared carrier in a co-constructed and shared base station; Determine a key generation algorithm pre-configured by the operator to which the user belongs according to the operator identification information; Generate an integrity protection key and an encryption key for the user according to the key generation algorithm and the original key; Send a security mode command to the user's terminal, where the security mode command includes verification information encrypted by the user's integrity protection key, an integrity protection algorithm, and an encryption algorithm, and the terminal has a key generation algorithm pre-configured by the operator to which the user belongs; A method for configuring a security mode, including:

2. 2. The method of claim 1, wherein the integrity protection key comprises a control plane integrity protection key, and the encryption keys comprise a control plane encryption key and a user plane encryption key.

3. Further, obtain a security mode completion message from the user's terminal, where the security mode completion message is sent by the terminal after the security mode command is verified as successful; Perform integrity verification of the security mode completion message; 2. The security mode configuration method of claim 1, further comprising: in response to the integrity verification of the security mode completion message being passed, sending a setup completion message to a core network of an operator to which the user belongs, where the setup completion message includes an integrity protection algorithm and an encryption algorithm of the security mode command and is used to instruct the core network to start a security control process.

4. The operator identification information is Public Land Mobile Network (PLMN) identification information, and determining a key generation algorithm pre-set by the operator to which the user belongs according to the operator identification information; Obtaining PLMN identification information corresponding to a user who initiates a security mode; The security mode configuration method of claim 1, including: determining a key generation algorithm preset by an operator to which a user belongs according to a corresponding relationship between preset PLMN identification information and key generation algorithms.

5. 4. The method of claim 3, wherein an original key is generated by the core network in response to initiating an access stratum security mode after a radio resource control (RRC) connection setup is completed and Layer 3 (L3) authentication is passed.

6. Determine, by an access and mobility management function (AMF) in a core network, an original key for a non-access stratum (NAS) signaling of a user according to an operator identity of the user, where the core network is shared by a first operator and a second operator; The security mode configuration method of claim 1, further comprising: generating, by the AMF, a NAS integrity protection key and a NAS encryption key by adopting a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator's identity information.

7. Generate an original key of a first operator and an original key of a second operator by an AMF in a core network; 2. The security mode configuration method of claim 1, further comprising: sending, by the AMF, an integrity protection algorithm, an encryption algorithm, and an original key of a first operator, and an integrity protection algorithm, an encryption algorithm, and an original key of a second operator to a base station.

8. A method for configuring a security mode according to claim 6 or 7, wherein the operator identity information is a PLMN identity information.

9. An acquisition module configured to acquire an integrity protection algorithm, an encryption algorithm, an original key, and an operator identification information of the core network from a core network, where the original key is also sent to the user to initiate a security mode, the core network is a core network of a first operator or a second operator, and the first operator and the second operator use the same shared carrier in a co-constructed and shared base station; an algorithm determination module configured to determine a key generation algorithm preset by an operator to which the user belongs according to the operator identification information; a key generation module configured to generate an integrity protection key and an encryption key for a user according to a key generation algorithm and an original key; A security mode configuration device comprising: a command sending module configured to send a security mode command to a user's terminal, the security mode command including verification information encrypted by the user's integrity protection key, an integrity protection algorithm, and an encryption algorithm, the terminal having a key generation algorithm pre-set by the operator to which the user belongs;

10. 10. The security mode configuration device of claim 9, wherein the integrity protection key comprises a control plane integrity protection key, and the encryption keys comprise a control plane encryption key and a user plane encryption key.

11. The security mode configuration device of claim 9 further comprises a verification module, which obtains a security mode completion message from a user's terminal, where the security mode completion message is sent by the terminal after the verification of the security mode command is passed, performs integrity verification on the security mode completion message, and in response to the integrity verification of the security mode completion message being passed, sends a setup completion message to a core network of an operator to which the user belongs, where the setup completion message includes an integrity protection algorithm and an encryption algorithm in the security mode command, and is used to instruct the core network to start a security control process.

12. The carrier identification information is Public Land Mobile Network (PLMN) identification information, The security mode configuration device according to claim 9, wherein the algorithm determination module is further configured to obtain a PLMN identification information corresponding to a user who initiates the security mode, and determine a key generation algorithm preset by an operator to which the user belongs according to a corresponding relationship between the preset PLMN identification information and the key generation algorithm.

13. 10. The security mode configuration device of claim 9, wherein an original key is generated by the core network in response to initiating an access stratum security mode after RRC connection setup is completed and layer 3 authentication is passed.

14. A security mode configuration device comprising a memory and a processor coupled to the memory, the processor being configured to execute the security mode configuration method according to any one of claims 1 to 8 based on instructions stored in the memory.

15. A base station including a security mode configuration device according to any one of claims 9 to 14, A first core network of a first operator, configured to send an integrity protection algorithm and an encryption algorithm of the first core network, an original key generated by the first core network, and operator identification information of the first core network to a base station, and send the original key generated by the first core network to a user of the first operator; A second core network of a second operator, configured to send an integrity protection algorithm and an encryption algorithm of the second core network, an original key generated by the second core network, and an operator identification information of the second core network to a base station, and send the original key generated by the second core network to a user of the second operator; Equipped with A configuration system in a security mode in which the first operator and the second operator use the same shared carrier at the base station.

16. 16. The security mode configuration system of claim 15, further comprising: a terminal configured to generate an integrity protection key and an encryption key using an original key and a key generation algorithm sent from an operator's core network of the terminal, generate verification information using the integrity protection key generated by the terminal, and send a security mode completion message to the base station if the verification information generated by the terminal and the verification information of the security mode command sent from the base station are consistent.

17. A base station including any one of the security mode configuration devices according to any one of claims 9 to 14; A security mode configuration system comprising: an access and mobility management function (AMF) of a core network configured to determine an original key for a non-access stratum (NAS) signaling of a user according to an operator identity of the user, the core network being shared by a first operator and a second operator; and the AMF of the core network generating a NAS signaling integrity protection key and a NAS signaling encryption key by adopting a NAS signaling integrity protection algorithm and a NAS signaling encryption algorithm corresponding to the operator identity.

18. 18. The security mode configuration system of claim 17, wherein the AMF is further configured to generate an original key of the first operator and an original key of the second operator, and send the original key, the integrity protection algorithm, and the encryption algorithm of the first operator, and the original key, the integrity protection algorithm, and the encryption algorithm of the second operator to the base station.

19. 19. The security mode configuration system according to claim 17 or 18, wherein the operator identity information is a PLMN identity information.

20. A non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method for configuring a security mode according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Implementing Radio Access Network Slicing in a Mobile Network

    US20190159024A1

  • Method, Apparatus, And System For Protecting Data

    US20190349406A1