CN112087724A - A communication method, network equipment, user equipment and access network equipment - Google Patents
A communication method, network equipment, user equipment and access network equipment Download PDFInfo
- Publication number
- CN112087724A CN112087724A CN201910511766.9A CN201910511766A CN112087724A CN 112087724 A CN112087724 A CN 112087724A CN 201910511766 A CN201910511766 A CN 201910511766A CN 112087724 A CN112087724 A CN 112087724A
- Authority
- CN
- China
- Prior art keywords
- group list
- group
- access
- network device
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
- H04W4/08—User group management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供了一种通信方法,包括:第一网络设备接收用户设备UE发送的加密的第一群组列表,第一群组列表包括UE请求接入的一个或多个群组的标识;第一网络设备解密加密的第一群组列表,以得到第一闭合访问业务标识组;第一网络设备确定统一数据管理UDM保存的签约群组列表;第一网络设备根据第一群组列表和签约群组列表,确定第二群组列表,第二群组列表包括允许UE接入的群组的标识;当存在第二群组列表时,第一网络设备向接入网设备发送第二群组列表。通过第一网络设备接收UE以加密方式发送的UE请求接入群组列表并进行解密,避免了数据泄露,保护了UE的隐私。
The present application provides a communication method, including: a first network device receiving an encrypted first group list sent by a user equipment UE, where the first group list includes identifiers of one or more groups that the UE requests to access; A network device decrypts the encrypted first group list to obtain the first closed access service identification group; the first network device determines the subscription group list stored in the unified data management UDM; the first network device determines the subscription group list stored in the unified data management UDM; a group list, determining a second group list, where the second group list includes an identifier of a group that the UE is allowed to access; when there is a second group list, the first network device sends the second group to the access network device list. The access group list of the UE request sent by the UE in an encrypted manner is received by the first network device and decrypted, thereby avoiding data leakage and protecting the privacy of the UE.
Description
技术领域technical field
本申请涉及通信领域,具体涉及一种通信方法、用户设备、接入网设备和网络设备。The present application relates to the field of communications, and in particular, to a communication method, user equipment, access network equipment, and network equipment.
背景技术Background technique
群组允许一个或多个特定小区的一群签约用户接入。群组的接入需要用户设备(user equipment,UE)、接入网设备和核心网的支持。在UE接入群组时,核心网与UE进行信息的传输以完成校验。在信息传输过程中,需要核心网设备和UE之间实现数据交互的信号可靠有效,不发生数据泄露,保护UE的隐私。A group allows access to a group of subscribers of one or more specific cells. Access to a group requires the support of user equipment (user equipment, UE), access network equipment, and a core network. When the UE accesses the group, the core network and the UE transmit information to complete the verification. In the process of information transmission, it is required that the signal for realizing data interaction between the core network device and the UE is reliable and effective, no data leakage occurs, and the privacy of the UE is protected.
发明内容SUMMARY OF THE INVENTION
本申请提供一种通信方法、网络设备、用户设备和接入网设备,能够避免数据泄露,保护UE的隐私。The present application provides a communication method, network equipment, user equipment and access network equipment, which can avoid data leakage and protect the privacy of UE.
第一方面,提供了一种通信方法,包括:第一网络设备接收用户设备UE发送的加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;所述第一网络设备解密所述加密的第一群组列表,以得到第一闭合访问业务标识组;所述第一网络设备确定统一数据管理UDM保存的签约群组列表;所述第一网络设备根据所述第一群组列表和所述签约群组列表,确定第二群组列表,第二群组列表包括允许所述UE接入的群组的标识;当存在所述第二群组列表时,所述第一网络设备向所述接入网设备发送所述第二群组列表。In a first aspect, a communication method is provided, comprising: a first network device receiving an encrypted first group list sent by a user equipment UE, where the first group list includes one or more groups that the UE requests to access The identification of the group; the first network device decrypts the encrypted first group list to obtain the first closed access service identification group; the first network device determines the subscription group list saved by the unified data management UDM; The first network device determines a second group list according to the first group list and the subscription group list, where the second group list includes an identifier of a group that the UE is allowed to access; When the second group list is selected, the first network device sends the second group list to the access network device.
通过第一网络设备接收UE以加密方式发送的请求接入群组列表并进行解密,避免了数据泄露,保护了UE的隐私。第一网络设备将允许UE接入的群组的标识发送至接入网设备,接入网设备可以为UE接入群组后的数据传输进行准备。The first network device receives and decrypts the request access group list sent by the UE in an encrypted manner, thereby avoiding data leakage and protecting the privacy of the UE. The first network device sends the identifier of the group that the UE is allowed to access to the access network device, and the access network device can prepare for data transmission after the UE accesses the group.
结合第一方面,在一些可能的实现方式中,所述第一网络设备接收UE发送的加密的第一群组列表,包括:所述第一网络设备接收所述UE通过非接入层NAS安全模式SM完成消息发送的所述加密的第一群组列表;或者,所述第一网络设备接收所述UE通过NAS安全上下文保护的上行NAS消息发送的所述加密的第一群组列表。With reference to the first aspect, in some possible implementation manners, the receiving, by the first network device, the encrypted first group list sent by the UE includes: the first network device receiving, by the first network device, that the UE uses a non-access stratum NAS security The encrypted first group list sent by the mode SM completion message; or, the first network device receiving the encrypted first group list sent by the UE through an uplink NAS message protected by a NAS security context.
通过NASSM完成消息或者NAS安全上下文保护的上行NAS消息,第一网络设备接收加密的第一群组列表,实现了对第一群组列表的加密传输,不需要增加额外的流程。接收UE通过NAS SM完成消息发送加密的第一群组列表,可以减少UE与第一网络设备之间的信息交互,降低对系统的影响。Through the NASSM completion message or the uplink NAS message protected by the NAS security context, the first network device receives the encrypted first group list, and realizes encrypted transmission of the first group list without adding additional procedures. Receiving the encrypted first group list sent by the UE through the NAS SM message can reduce information interaction between the UE and the first network device and reduce the impact on the system.
结合第一方面,在一些可能的实现方式中,所述方法还包括:当不存在所述第二群组列表时,所述第一网络设备根据所述UE与所述第一网络设备之间的共享密钥计算得到消息验证码;所述第一网络设备向所述接入网设备发送注册拒绝消息,所述消息验证码用于所述UE验证所述注册拒绝消息。With reference to the first aspect, in some possible implementations, the method further includes: when the second group list does not exist, the first network device according to the relationship between the UE and the first network device The shared key is calculated to obtain a message verification code; the first network device sends a registration rejection message to the access network device, and the message verification code is used for the UE to verify the registration rejection message.
通过第一网络设备发送的消息验证码,UE可以对注册拒绝消息进行验证,避免UE因为伪造或修改后的注册拒绝消息导致无法接入群组。Through the message verification code sent by the first network device, the UE can verify the registration rejection message, so as to prevent the UE from being unable to access the group due to the forged or modified registration rejection message.
结合第一方面,在一些可能的实现方式中,所述方法包括:所述第一网络设备接收所述接入网设备发送的第三群组列表,所述第三群组列表包括所述接入网设备支持的群组的标识,所述第一网络设备根据所述第一群组列表和所述签约群组列表,确定第二群组列表,包括:所述第一网络设备根据所述第一群组列表、所述第三群组列表和所述签约群组列表,确定所述第二群组列表。With reference to the first aspect, in some possible implementations, the method includes: receiving, by the first network device, a third group list sent by the access network device, where the third group list includes the access network device. The identifier of the group supported by the network access device, the first network device determining the second group list according to the first group list and the subscription group list, including: the first network device according to the The first group list, the third group list and the subscription group list determine the second group list.
通过第一接入网设备对接入网设备支持的群组列表、UE请求接入的群组列表、签约群组列表进行校验,保证允许UE接入的群组的准确。The first access network device verifies the group list supported by the access network device, the group list that the UE requests to access, and the subscription group list, so as to ensure the accuracy of the groups that the UE is allowed to access.
结合第一方面,在一些可能的实现方式中,所述方法包括:所述第一网络设备接收所述接入网设备发送的接入群组请求信息,接入群组请求信息用于指示UE请求接入群组。With reference to the first aspect, in some possible implementations, the method includes: receiving, by the first network device, access group request information sent by the access network device, where the access group request information is used to instruct the UE Request to join the group.
第二方面,提供了一种通信方法,包括:用户设备UE利用非接入层NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;所述UE发送所述加密的第一群组列表。In a second aspect, a communication method is provided, comprising: a user equipment UE encrypting a first group list by using a non-access stratum NAS security context to obtain an encrypted first group list, the first group list Including the identifiers of one or more groups that the UE requests to access; the UE sends the encrypted first group list.
UE以加密方式发送的请求接入群组列表,避免了数据泄露,保护了UE的隐私。The UE sends a request to access the group list in an encrypted manner, which avoids data leakage and protects the privacy of the UE.
结合第二方面,在一些可能的实现方式中,所述UE发送所述加密的第一群组列表,包括:所述UE通过NAS安全模式SM完成消息向所述第一网络设备发送所述加密的第一群组列表;或者,所述UE通过NAS安全上下文保护的上行NAS消息发送所述加密的第一群组列表。With reference to the second aspect, in some possible implementations, the UE sending the encrypted first group list includes: the UE sending the encrypted first group list to the first network device through a NAS security mode SM completion message or, the UE sends the encrypted first group list through an uplink NAS message protected by a NAS security context.
UE通过NASSM完成消息或者NAS安全上下文保护的上行NAS消息发送加密的第一群组列表,实现了对第一群组列表的加密传输,不需要增加额外的流程。UE通过NAS SM完成消息发送加密的第一群组列表,可以减少UE与第一网络设备之间的信息交互,降低对系统的影响。The UE sends the encrypted first group list through the NASSM completion message or the uplink NAS message protected by the NAS security context, so as to realize the encrypted transmission of the first group list without adding additional procedures. The UE completes the message sending of the encrypted first group list through the NAS SM, which can reduce the information interaction between the UE and the first network device and reduce the impact on the system.
结合第二方面,在一些可能的实现方式中,所述方法还包括:所述UE接收第一网络设备发送的注册拒绝消息,所述注册拒绝消息包括消息验证码,所述UE根据所述消息验证码验证所述注册拒绝消息。With reference to the second aspect, in some possible implementations, the method further includes: the UE receiving a registration rejection message sent by the first network device, the registration rejection message including a message verification code, and the UE according to the message The verification code verifies the registration rejection message.
通过UE根据消息验证码对注册拒绝消息进行验证,避免UE因为伪造或修改后的注册拒绝消息导致无法接入群组。The registration rejection message is verified by the UE according to the message verification code, so as to prevent the UE from being unable to access the group due to the forged or modified registration rejection message.
结合第二方面,在一些可能的实现方式中,所述方法包括:所述UE向所述接入网设备发送接入群组请求信息,接入群组请求信息用于指示UE请求接入群组。With reference to the second aspect, in some possible implementations, the method includes: the UE sends access group request information to the access network device, where the access group request information is used to instruct the UE to request an access group Group.
第三方面,提供一种通信方法,包括:接入网设备接收用户设备UE发送的加密的第一群组列表,所述第一闭合访问业务标识组包括所述UE请求接入的一个或多个群组务的标识;所述接入网设备发送所述加密的第一群组列表;所述接入网设备接收第一网络设备发送的第二群组列表,所述第二群组列表包括允许所述UE接入的一个或多个群组的标识;所述接入网设备向所述UE发送所述一个或多个群组的服务质量QoS。In a third aspect, a communication method is provided, comprising: an access network device receiving an encrypted first group list sent by a user equipment UE, where the first closed access service identifier group includes one or more groups that the UE requests to access. The identifier of the group service; the access network device sends the encrypted first group list; the access network device receives the second group list sent by the first network device, the second group list Including the identification of one or more groups that the UE is allowed to access; the access network device sends the quality of service QoS of the one or more groups to the UE.
结合第三方面,在一些可能的实现方式中,所述方法包括:所述接入网设备接收所述UE向发送的接入群组请求信息,接入群组请求信息用于指示UE请求接入群组。With reference to the third aspect, in some possible implementations, the method includes: receiving, by the access network device, access group request information sent by the UE to the UE, where the access group request information is used to instruct the UE to request an access into the group.
在UE接入群组的过程中,接入网设备接收网络设备发送的允许所述UE接入的群组的标识,为后续UE接入群组进行准备,能够减小系统延时。In the process of the UE accessing the group, the access network device receives the identifier of the group that the UE is allowed to access sent by the network device, and prepares for the subsequent UE access to the group, which can reduce the system delay.
第四方面,提供一种网络设备,包括:收发模块、解密模块和确定模块;收发模块,用于接收用户设备UE发送的加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;解密模块,用于对所述加密的第一群组列表进行解密,以得到第一闭合访问业务标识组;确定模块,用于确定统一数据管理UDM网元确定保存的签约群组列表;确定模块还用于,根据所述第一群组列表和所述签约群组列表,确定第二群组列表,第二群组列表包括允许所述UE接入的群组的标识;收发模块还用于,当存在所述第二群组列表时,所述第一网络设备向所述接入网设备发送所述第二群组列表。In a fourth aspect, a network device is provided, comprising: a transceiver module, a decryption module, and a determination module; a transceiver module for receiving an encrypted first group list sent by a user equipment UE, where the first group list includes the The identifiers of one or more groups that the UE requests to access; a decryption module, used for decrypting the encrypted first group list to obtain a first closed access service identifier group; a determination module, used for determining unified data The management UDM network element determines the saved subscription group list; the determining module is further configured to, according to the first group list and the subscription group list, determine a second group list, where the second group list includes allowing the The identifier of the group accessed by the UE; the transceiver module is further configured to, when the second group list exists, the first network device sends the second group list to the access network device.
结合第四方面,在一些可能的实现方式中,收发模块用于,接收所述UE通过非接入层NAS安全模式SM完成消息发送的所述加密的第一群组列表。With reference to the fourth aspect, in some possible implementations, the transceiver module is configured to receive the encrypted first group list that the UE completes message sending through the non-access stratum NAS security mode SM.
结合第四方面,在一些可能的实现方式中,所述用户设备还包括计算模块,计算模块用于,当不存在所述第二群组列表时,根据所述UE与所述第一网络设备之间的共享密钥计算得到消息验证码;所述收发模块还用于,向所述接入网设备发送注册拒绝消息,所述消息验证码用于所述UE验证所述注册拒绝消息。With reference to the fourth aspect, in some possible implementations, the user equipment further includes a computing module, and the computing module is configured to, when the second group list does not exist, The shared key between them is calculated to obtain a message verification code; the transceiver module is further configured to send a registration rejection message to the access network device, and the message verification code is used for the UE to verify the registration rejection message.
结合第四方面,在一些可能的实现方式中,所述收发模块还用于,接收所述接入网设备发送的第三群组列表,所述第三群组列表包括所述接入网设备支持的群组的标识,确定模块用于,根据所述第一群组列表、所述第三群组列表和所述签约群组列表,确定所述第二群组列表。With reference to the fourth aspect, in some possible implementations, the transceiver module is further configured to receive a third group list sent by the access network device, where the third group list includes the access network device The identification of the supported groups, the determining module is configured to determine the second group list according to the first group list, the third group list and the subscription group list.
第五方面,提供一种用户设备,包括:加密模块和收发模块;加密模块用于,利用非接入层NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;收发模块用于,发送所述加密的第一群组列表。In a fifth aspect, a user equipment is provided, comprising: an encryption module and a transceiver module; the encryption module is configured to encrypt the first group list by using the non-access layer NAS security context to obtain the encrypted first group list, The first group list includes identifiers of one or more groups that the UE requests to access; the transceiver module is configured to send the encrypted first group list.
结合第五方面,在一些可能的实现方式中,收发模块用于,通过NAS安全模式SM完成消息向所述第一网络设备发送所述加密的第一群组列表;或者,收发模块用于,通过NAS安全上下文保护的上行NAS消息发送所述加密的第一群组列表。With reference to the fifth aspect, in some possible implementations, the transceiver module is configured to send the encrypted first group list to the first network device through a NAS security mode SM completion message; or, the transceiver module is configured to: The encrypted first group list is sent through an uplink NAS message protected by a NAS security context.
结合第五方面,在一些可能的实现方式中,所述收发模块还用于,接收第一网络设备发送的注册拒绝消息,所述注册拒绝消息包括消息验证码;所述用户设备还包括验证模块,验证模块用于根据所述消息验证码验证所述注册拒绝消息。With reference to the fifth aspect, in some possible implementations, the transceiver module is further configured to receive a registration rejection message sent by the first network device, where the registration rejection message includes a message verification code; the user equipment further includes a verification module , the verification module is used to verify the registration rejection message according to the message verification code.
第六方面,提供一种接入网设备,其特征在于,包括:收发模块和生成模块;收发模块用于,接收用户设备UE发送的加密的第一群组列表,所述第一闭合访问业务标识组包括所述UE请求接入的一个或多个群组务的标识;收发模块还用于,发送所述加密的第一群组列表;收发模块还用于,接收第一网络设备发送的第二群组列表,所述第二群组列表包括允许所述UE接入的一个或多个群组的标识;生成模块用于根据所述一个或多个群组的标识生成所述一个或多个群组的服务质量QoS信息;收发模块还用于,向所述UE发送所述服务质量QoS信息。A sixth aspect provides an access network device, characterized by comprising: a transceiver module and a generation module; the transceiver module is configured to receive an encrypted first group list sent by a user equipment UE, the first closed access service The identifier group includes identifiers of one or more group services that the UE requests to access; the transceiver module is further configured to send the encrypted first group list; the transceiver module is further configured to receive the data sent by the first network device. a second group list, where the second group list includes identifiers of one or more groups that the UE is allowed to access; the generating module is configured to generate the one or more groups according to the identifiers of the one or more groups quality of service QoS information of multiple groups; the transceiver module is further configured to send the quality of service QoS information to the UE.
第七方面,提供一种网络设备,包括:处理器和通信接口;所述通信接口用于,接收用户设备UE发送的加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;所述处理器用于,对所述加密的第一群组列表进行解密,以得到第一闭合访问业务标识组;所述处理器还用于,确定统一数据管理UDM网元确定保存的签约群组列表;所述处理器还用于,根据所述第一群组列表和所述签约群组列表,确定第二群组列表,第二群组列表包括允许所述UE接入的群组的标识;当存在所述第二群组列表时,所述第一网络设备向所述接入网设备发送所述第二群组列表。In a seventh aspect, a network device is provided, including: a processor and a communication interface; the communication interface is configured to receive an encrypted first group list sent by a user equipment UE, where the first group list includes the UE identifiers of one or more groups requesting access; the processor is configured to decrypt the encrypted first group list to obtain a first closed access service identifier group; the processor is further configured to: determining the stored subscription group list determined by the unified data management UDM network element; the processor is further configured to, according to the first group list and the subscription group list, determine a second group list, the second group The list includes identifiers of groups that the UE is allowed to access; when the second group list exists, the first network device sends the second group list to the access network device.
结合第七方面,在一些可能的实现方式中,所述通信接口用于,接收所述UE通过非接入层NAS安全模式SM完成消息发送的所述加密的第一群组列表。With reference to the seventh aspect, in some possible implementations, the communication interface is configured to receive the encrypted first group list sent by the UE through the non-access stratum NAS security mode SM completion message.
结合第七方面,在一些可能的实现方式中,当不存在所述第二群组列表时,所述处理器还用于,根据所述UE与所述第一网络设备之间的共享密钥计算得到消息验证码;所述通信接口还用于,向所述接入网设备发送注册拒绝消息,所述消息验证码用于所述UE验证所述注册拒绝消息。With reference to the seventh aspect, in some possible implementations, when the second group list does not exist, the processor is further configured to, according to the shared key between the UE and the first network device A message verification code is obtained by calculation; the communication interface is further configured to send a registration rejection message to the access network device, and the message verification code is used for the UE to verify the registration rejection message.
结合第七方面,在一些可能的实现方式中,所述通信接口还用于,接收所述接入网设备发送的第三群组列表,所述第三群组列表包括所述接入网设备支持的群组的标识,所述处理器用于,根据所述第一群组列表、所述第三群组列表和所述签约群组列表,确定所述第二群组列表。With reference to the seventh aspect, in some possible implementations, the communication interface is further configured to receive a third group list sent by the access network device, where the third group list includes the access network device An identifier of a supported group, and the processor is configured to determine the second group list according to the first group list, the third group list, and the subscription group list.
第八方面,提供一种用户设备,包括:处理器和通信接口;所述处理器用于,利用非接入层NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表,所述第一群组列表包括所述UE请求接入的一个或多个群组的标识;所述通信接口用于,发送所述加密的第一群组列表。In an eighth aspect, a user equipment is provided, including: a processor and a communication interface; the processor is configured to encrypt the first group list by using a non-access stratum NAS security context to obtain the encrypted first group list , the first group list includes identifiers of one or more groups that the UE requests to access; the communication interface is configured to send the encrypted first group list.
结合第八方面,在一些可能的实现方式中,所述通信接口用于,通过NAS安全模式SM完成消息向所述第一网络设备发送所述加密的第一群组列表;或者,所述通信接口用于,通过NAS安全上下文保护的上行NAS消息发送所述加密的第一群组列表。With reference to the eighth aspect, in some possible implementations, the communication interface is configured to send the encrypted first group list to the first network device through a NAS security mode SM completion message; or, the communication The interface is configured to send the encrypted first group list through an uplink NAS message protected by a NAS security context.
结合第八方面,在一些可能的实现方式中,所述通信接口还用于,接收第一网络设备发送的注册拒绝消息,所述注册拒绝消息包括消息验证码,所述消息验证码用于所述UE验证所述注册拒绝消息。With reference to the eighth aspect, in some possible implementations, the communication interface is further configured to receive a registration rejection message sent by the first network device, where the registration rejection message includes a message verification code, and the message verification code is used for all The UE verifies the registration rejection message.
第九方面,提供一种接入网设备,包括:处理器和通信接口;所述通信接口用于,接收用户设备UE发送的加密的第一群组列表,所述第一闭合访问业务标识组包括所述UE请求接入的一个或多个群组务的标识;所述通信接口还用于,发送所述加密的第一群组列表;所述通信接口还用于,接收第一网络设备发送的第二群组列表,所述第二群组列表包括允许所述UE接入的一个或多个群组的标识;所述通信接口还用于,向所述UE发送所述一个或多个群组的服务质量QoS。In a ninth aspect, an access network device is provided, including: a processor and a communication interface; the communication interface is configured to receive an encrypted first group list sent by a user equipment UE, the first closed access service identification group including the identifiers of one or more group services that the UE requests to access; the communication interface is further configured to send the encrypted first group list; the communication interface is further configured to receive a first network device The sent second group list, where the second group list includes identifiers of one or more groups that the UE is allowed to access; the communication interface is further configured to send the one or more groups to the UE quality of service QoS for each group.
第十方面,提供一种通信系统,包括上文所述的接入网设备、网络设备、用户设备。In a tenth aspect, a communication system is provided, including the access network equipment, network equipment, and user equipment described above.
第十一方面,提供一种计算机程序存储介质,所述计算机程序存储介质具有程序指令,当所述程序指令被执行时,使得上文所述的方法被执行。In an eleventh aspect, a computer program storage medium is provided, the computer program storage medium having program instructions that, when executed, cause the above-described method to be performed.
第十二方面,提供一种芯片,所述芯片包括至少一个处理器,当程序指令被所述至少一个处理器中执行时,使得上文所述的方法被执行。In a twelfth aspect, a chip is provided, the chip includes at least one processor, and when program instructions are executed by the at least one processor, the method described above is performed.
附图说明Description of drawings
图1是适用于本申请实施例提供的方法的网络架构的示意图。FIG. 1 is a schematic diagram of a network architecture suitable for the method provided by the embodiment of the present application.
图2是一种终端设备接入群组的方法的示意性流程图。Fig. 2 is a schematic flowchart of a method for a terminal device to access a group.
图3是本申请一个实施例提供的一种通信方法的示意性流程图。FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of the present application.
图4是一种接入层安全模式建立的示意性流程图。FIG. 4 is a schematic flow chart of establishing an access layer security mode.
图5是一种非接入层安全模式建立的示意性流程图。FIG. 5 is a schematic flow chart of establishing a non-access stratum security mode.
图6是一种鉴权认证的示意性流程图。FIG. 6 is a schematic flowchart of authentication and authentication.
图7是本申请另一个实施例提供的一种通信方法的示意性流程图。FIG. 7 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图8是本申请又一个实施例提供的一种通信方法的示意性流程图。FIG. 8 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图9是本申请又一个实施例提供的一种通信方法的示意性流程图。FIG. 9 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图10是本申请又一个实施例提供的一种通信方法的示意性流程图。FIG. 10 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图11是本申请又一个实施例提供的一种通信方法的示意性流程图。FIG. 11 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图12是本申请又一个实施例提供的一种通信方法的示意性流程图。FIG. 12 is a schematic flowchart of a communication method provided by another embodiment of the present application.
图13是本申请一个实施例提供的一种用户设备的示意性结构图。FIG. 13 is a schematic structural diagram of a user equipment provided by an embodiment of the present application.
图14是本申请一个实施例提供的一种网络设备的示意性结构图。FIG. 14 is a schematic structural diagram of a network device provided by an embodiment of the present application.
图15是本申请一个实施例提供的一种接入网设备的示意性结构图。FIG. 15 is a schematic structural diagram of an access network device provided by an embodiment of the present application.
图16是本申请另一个实施例提供的一种用户设备的示意性结构图。FIG. 16 is a schematic structural diagram of a user equipment provided by another embodiment of the present application.
图17是本申请另一个实施例提供的一种网络设备的示意性结构图。FIG. 17 is a schematic structural diagram of a network device provided by another embodiment of the present application.
图18是本申请另一个实施例提供的一种接入网设备的示意性结构图。FIG. 18 is a schematic structural diagram of an access network device provided by another embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solutions in the present application will be described below with reference to the accompanying drawings.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通信(globalsystem for mobile communications,GSM)系统、码分多址(code division multipleaccess,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long termevolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobiletelecommunication system,UMTS)、全球互联微波接入(worldwide interoperabilityfor microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a global system for mobile communications (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (wideband) system code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (long termevolution, LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, future fifth generation (5th generation, 5G) system or new Wireless (new radio, NR) and so on.
应理解,本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构特别限定,只要能够通过运行记录有本申请实施例的提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可,例如,本申请实施例提供的方法的执行主体可以是终端或网络设备,或者,是UE或网络设备中能够调用程序并执行程序的功能模块。It should be understood that the embodiments of the present application do not specifically limit the specific structure of the execution body of the methods provided by the embodiments of the present application, as long as the program in which the codes of the methods provided by the embodiments of the present application are recorded can be executed according to the embodiments of the present application. The provided method only needs to perform communication. For example, the execution subject of the method provided by the embodiment of the present application may be a terminal or a network device, or a functional module in a UE or a network device that can call a program and execute the program.
为便于理解本申请实施例,首先结合图1详细说明本申请实施例的一个应用场景。To facilitate understanding of the embodiments of the present application, an application scenario of the embodiments of the present application is first described in detail with reference to FIG. 1 .
图1是适用于本申请实施例提供的方法的网络架构的示意图。图1所示的网络架构具体可以包括下列网元:FIG. 1 is a schematic diagram of a network architecture suitable for the method provided by the embodiment of the present application. The network architecture shown in Figure 1 may specifically include the following network elements:
1、用户设备(user equipment,UE):可以称终端设备、终端、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、无线通信设备、用户代理或用户装置。UE还可以是蜂窝电话、无绳电话、会话启动协议(session initiationprotocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,还可以是端设备,逻辑实体,智能设备,如手机,智能终端等终端设备,或者服务器,网关,基站,控制器等通信设备,或者物联网设备,如传感器,电表,水表等物联网(Internet ofthings,IoT)设备。UE还可以是有线设备,如计算机、笔记本电脑等。本申请实施例对此并不限定。1. User equipment (UE): can be called terminal equipment, terminal, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile equipment, user terminal, wireless communication equipment, User Agent or User Device. The UE may also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication capable Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, end devices in future 5G networks or end devices in future evolved public land mobile networks (PLMN) It can also be terminal devices, logical entities, smart devices, such as terminal devices such as mobile phones and smart terminals, or communication devices such as servers, gateways, base stations, controllers, or IoT devices, such as sensors, electricity meters, water meters, etc. (Internet of things, IoT) devices. The UE may also be a wired device, such as a computer, a laptop, and the like. This embodiment of the present application does not limit this.
2、接入网(access network,AN):为特定区域的授权用户提供入网功能,并能够根据用户的级别,业务的需求等使用不同质量的传输隧道。接入网络可以为采用不同接入技术的接入网络。目前的无线接入技术有两种类型:第三代合作伙伴计划(3rd GenerationPartnership Project,3GPP)接入技术(例如3G、4G或5G系统中采用的无线接入技术)和非第三代合作伙伴计划(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,采用3GPP接入技术的接入网络称为无线接入网络(Radio Access Network,RAN),其中,5G系统中的接入网设备称为下一代基站节点(next generation Node Base station,gNB)。非3GPP接入技术是指不符合3GPP标准规范的接入技术,例如,以wifi中的接入点(access point,AP)为代表的空口技术。2. An access network (AN): provides a network access function for authorized users in a specific area, and can use transmission tunnels of different qualities according to user levels and service requirements. The access network may be an access network using different access technologies. There are two types of current radio access technologies: 3rd Generation Partnership Project (3GPP) access technologies (such as those used in 3G, 4G or 5G systems) and non-3rd generation partnership Planned (non-3GPP) access technology. 3GPP access technology refers to an access technology that conforms to 3GPP standards and specifications. An access network using 3GPP access technology is called a Radio Access Network (RAN). Among them, the access network equipment in the 5G system is called a radio access network (RAN). Next generation Node Base station (gNB). The non-3GPP access technology refers to an access technology that does not conform to 3GPP standard specifications, for example, an air interface technology represented by an access point (access point, AP) in wifi.
基于有线通信技术实现接入网络功能的接入网可以称为有线接入网。An access network that implements an access network function based on a wired communication technology may be referred to as a wired access network.
基于无线通信技术实现接入网络功能的接入网可以称为无线接入网(radioaccess network,RAN)。无线接入网能够管理无线资源,为终端提供接入服务,进而完成控制信号和用户数据在终端和核心网之间的转发。An access network that implements an access network function based on a wireless communication technology may be referred to as a radio access network (radio access network, RAN). The radio access network can manage radio resources, provide access services for terminals, and then complete the forwarding of control signals and user data between the terminal and the core network.
无线接入网例如可以是基站(NodeB)、演进型基站(evolved NodeB,eNB或eNodeB)、5G移动通信系统中的基站(gNB)、未来移动通信系统中的基站或WiFi系统中的AP等,还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该接入网设备可以为中继站、接入点、车载设备、可穿戴设备以及未来5G网络中的网络设备或者未来演进的PLMN网络中的网络设备等。本申请的实施例对无线接入网设备所采用的具体技术和具体设备形态不做限定。The radio access network may be, for example, a base station (NodeB), an evolved NodeB (evolved NodeB, eNB or eNodeB), a base station (gNB) in a 5G mobile communication system, a base station in a future mobile communication system, or an AP in a WiFi system, etc., It can also be a wireless controller in a cloud radio access network (CRAN) scenario, or the access network device can be a relay station, an access point, a vehicle-mounted device, a wearable device, and a network in the future 5G network equipment or network equipment in a future evolved PLMN network, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the wireless access network device.
3、接入和移动管理功能(access and mobility management function,AMF)实体:主要用于移动性管理和接入管理等,可以用于实现移动性管理实体(mobilitymanagement entity,MME)功能中除会话管理之外的其它功能,例如,合法监听、或接入授权(或鉴权)等功能。在本申请实施例中,可用于实现接入和移动管理网元的功能。3. Access and mobility management function (AMF) entity: mainly used for mobility management and access management, etc., and can be used to implement mobility management entity (mobility management entity, MME) functions in addition to session management Other functions other than that, such as lawful interception, or access authorization (or authentication) and other functions. In the embodiments of the present application, the functions of the access and mobility management network elements can be implemented.
4、会话管理功能(session management function,SMF)实体:主要用于会话管理、UE的网际协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制、或收费功能接口的终结点以及下行数据通知等。在本申请实施例中,可用于实现会话管理网元的功能。4. Session management function (SMF) entity: mainly used for session management, UE's Internet Protocol (IP) address allocation and management, selection of manageable user plane functions, policy control, or charging function interfaces. Endpoints and downlink data notifications, etc. In this embodiment of the present application, it can be used to implement the function of the session management network element.
5、用户平面功能(user plane function,UPF)实体:即,数据面网关。可用于分组路由和转发、或用户面数据的服务质量(quality of service,QoS)处理等。用户数据可通过该网元接入到数据网络(data network,DN)。在本申请实施例中,可用于实现用户面网关的功能。5. A user plane function (UPF) entity: that is, a data plane gateway. It can be used for packet routing and forwarding, or quality of service (QoS) processing of user plane data, etc. User data can be accessed to a data network (DN) through the network element. In this embodiment of the present application, it can be used to implement the function of the user plane gateway.
6、数据网络(DN):用于提供传输数据的网络。例如,运营商业务的网络、因特(Internet)网、第三方的业务网络等。6. Data Network (DN): A network for providing data transmission. For example, an operator's service network, an Internet (Internet) network, a third-party service network, and the like.
7、认证服务功能(authentication server function,AUSF)实体:主要用于用户鉴权等。7. Authentication server function (AUSF) entity: mainly used for user authentication and the like.
8、网络开放功能(network exposure function,NEF)实体:用于安全地向外部开放由3GPP网络功能提供的业务和能力等。8. A network exposure function (NEF) entity: used to safely open services and capabilities provided by the 3GPP network function to the outside.
9、网络存储功能((network function(NF)repository function,NRF)实体:用于保存网络功能实体以及其提供服务的描述信息,以及支持服务发现,网元实体发现等。9. Network function (NF) repository function (NRF) entity: used to store the description information of the network function entity and the services it provides, and to support service discovery, network element entity discovery, and the like.
10、策略控制功能(policy control function,PCF)实体:用于指导网络行为的统一策略框架,为控制平面功能网元(例如AMF,SMF网元等)提供策略规则信息等。10. Policy control function (PCF) entity: a unified policy framework for guiding network behavior, providing policy rule information and the like for control plane function network elements (eg, AMF, SMF network elements, etc.).
11、统一数据管理(unified data management,UDM)实体:用于处理用户标识、接入鉴权、注册、或移动性管理等。11. Unified data management (unified data management, UDM) entity: used to process user identification, access authentication, registration, or mobility management, etc.
12、应用功能(application function,AF)实体:用于进行应用影响的数据路由,接入网络开放功能网元,或,与策略框架交互进行策略控制等。12. Application function (application function, AF) entity: used to perform data routing affected by applications, access network open function network elements, or interact with a policy framework to perform policy control, and the like.
在该网络架构中,N1接口为终端与AMF实体之间的参考点;N2接口为AN和AMF实体的参考点,用于非接入层(non-access stratum,NAS)消息的发送等;N3接口为(R)AN和UPF实体之间的参考点,用于传输用户面的数据等;N4接口为SMF实体和UPF实体之间的参考点,用于传输例如N3连接的隧道标识信息,数据缓存指示信息,以及下行数据通知消息等信息;N6接口为UPF实体和DN之间的参考点,用于传输用户面的数据等。In this network architecture, the N1 interface is the reference point between the terminal and the AMF entity; the N2 interface is the reference point between the AN and the AMF entity, and is used for sending non-access stratum (NAS) messages; N3 The interface is the reference point between the (R)AN and UPF entities, which is used to transmit data on the user plane, etc.; the N4 interface is the reference point between the SMF entity and the UPF entity, which is used to transmit, for example, the tunnel identification information of the N3 connection, data Cache indication information, and downlink data notification messages and other information; the N6 interface is the reference point between the UPF entity and the DN, and is used to transmit data on the user plane.
图1中的各个网元之间的接口名称只是一个示例,具体实现中接口的名称可能为其他的名称,本申请对此不作具体限定。此外,上述各个网元之间的所传输的消息(或信令)的名称也仅仅是一个示例,对消息本身的功能不构成任何限定。The name of the interface between each network element in FIG. 1 is just an example, and the name of the interface in the specific implementation may be other names, which are not specifically limited in this application. In addition, the names of the messages (or signaling) transmitted between the above network elements are only an example, and do not constitute any limitation on the functions of the messages themselves.
应理解,上述应用于本申请实施例的网络架构仅是举例说明的从传统点到点的架构和服务化架构的角度描述的网络架构,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。It should be understood that the above-mentioned network architecture applied to the embodiments of the present application is only a network architecture described from the perspective of a traditional point-to-point architecture and a service-oriented architecture, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture capable of implementing the functions of the foregoing network elements is applicable to the embodiments of the present application.
还应理解,图1中所示的AMF网元、SMF网元、UPF网元、NSSF网元、NEF网元、AUSF网元、NRF网元、PCF网元、UDM网元,均可以理解为核心网中用于实现不同功能的网元,例如可以按需组合成网络切片。这些核心网网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,本申请对此不做限定。执行核心网网元功能的设备又可以称为核心网设备或网络设备。It should also be understood that the AMF network elements, SMF network elements, UPF network elements, NSSF network elements, NEF network elements, AUSF network elements, NRF network elements, PCF network elements, and UDM network elements shown in FIG. 1 can be understood as The network elements used to implement different functions in the core network, for example, can be combined into network slices as needed. These core network elements may be independent devices, or may be integrated into the same device to implement different functions, which is not limited in this application. A device that performs core network element functions may also be referred to as a core network device or a network device.
上述命名仅为用于区分不同的功能,并不代表这些网元分别为独立的物理设备,本申请对于上述网元的具体形态不作限定,例如,可以集成在同一个物理设备中,也可以分别是不同的物理设备。此外,上述命名仅为便于区分不同的功能,而不应对本申请构成任何限定,本申请并不排除在5G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。在此进行统一说明,以下不再赘述。The above names are only used to distinguish different functions, and do not mean that these network elements are independent physical devices. This application does not limit the specific forms of the above network elements. are different physical devices. In addition, the above naming is only for the convenience of distinguishing different functions, and should not constitute any limitation to the present application, and the present application does not exclude the possibility of adopting other nomenclature in the 5G network and other future networks. For example, in a 6G network, some or all of the above-mentioned network elements may use the terms in 5G, and may also use other names. A unified description is provided here, and details are not repeated below.
为便于理解,在描述本申请实施例之前,首先对本申请涉及的几个术语做简单介绍。For ease of understanding, before describing the embodiments of the present application, several terms involved in the present application are briefly introduced first.
1、鉴权与密钥协商(authentication and key agreement,AKA):用户可以在开机发起注册过程中,与网络进行AKA过程。通过AKA过程可以实现终端和网络端的双向鉴权,使终端和网络端密钥达成一致,这样才能保证两者之间安全地通信。1. Authentication and key agreement (AKA): The user can perform the AKA process with the network during the startup registration process. Through the AKA process, the two-way authentication between the terminal and the network can be realized, so that the terminal and the network can reach the same key, so as to ensure the secure communication between the two.
2、密钥KSEAF:在UE注册过程中AUSF向SEAF发送的密钥;SEAF计算得到KAMF,再发送KAMF至AMF。SEAF与AMF可以独立部署,也可以合并部署。2. Key KSEAF: the key sent by the AUSF to the SEAF during the UE registration process; the SEAF calculates the KAMF, and then sends the KAMF to the AMF. SEAF and AMF can be deployed independently or combined.
3、密钥KAMF:在UE注册过程中UE和AMF分别获取到的密钥KAMF。密钥KAMF根据密钥KSEAF确定。KAMF与5G中的密钥集标识符(KSI in 5G,ngKSI)相关。例如,UE和AMF可以分别预先保存至少一个KAMF与至少一个ngKSI的一一对应关系。因此每个ngKSI可用于唯一地指示一个KAMF。KAMF可用于后续生成密钥KgNB。3. Key KAMF: the key KAMF obtained by the UE and the AMF respectively during the UE registration process. The key KAMF is determined from the key KSEAF. KAMF is related to the Key Set Identifier (KSI in 5G, ngKSI) in 5G. For example, the UE and the AMF may respectively store in advance a one-to-one correspondence between at least one KAMF and at least one ngKSI. Thus each ngKSI can be used to uniquely indicate a KAMF. KAMF can be used to subsequently generate the key KgNB.
4、密钥KgNB:由密钥KAMF派生出的密钥,即根据密钥KAMF,可以确定的密钥KgNB。例如,密钥KgNB可以基于密钥派生函数(key derivation function,KDF)等算法、KAMF等生成。4. Key KgNB: a key derived from the key KAMF, that is, the key KgNB that can be determined according to the key KAMF. For example, the key KgNB may be generated based on an algorithm such as a key derivation function (key derivation function, KDF), KAMF, and the like.
还应理解,上文列举的中间密钥、根密钥的名称仅为便于区分而命名,不应对本申请构成任何限定,本申请并不排除采用其他的名称来替代上述中间密钥或根密钥以实现相同或相似功能的可能。It should also be understood that the names of the intermediate keys and root keys listed above are named for the convenience of distinction, and should not constitute any limitation to this application, and this application does not exclude the use of other names to replace the above-mentioned intermediate keys or root keys. key to achieve the same or similar functionality.
5、加密密钥:发送端根据加密算法对明文进行加密以生成密文时输入的参数。若使用对称加密的方法,加密密钥和解密密钥是相同的。接收端可以根据相同的加密算法和加密密钥对密文进行解密。换句话说,发送端和接收端可以基于同一个密钥去加密和解密。5. Encryption key: The parameter input when the sender encrypts the plaintext according to the encryption algorithm to generate the ciphertext. If symmetric encryption is used, the encryption key and decryption key are the same. The receiver can decrypt the ciphertext according to the same encryption algorithm and encryption key. In other words, the sender and receiver can encrypt and decrypt based on the same key.
6、完整性保护密钥:发送端根据完整性保护算法对明文或密文进行完整性保护时输入的参数。接收端可以根据相同的完整性保护算法和完整性保护密钥对进行了完整性保护的数据进行完整性验证。6. Integrity protection key: the parameter input by the sender when the plaintext or ciphertext is integrity protected according to the integrity protection algorithm. The receiving end can perform integrity verification on the integrity-protected data according to the same integrity-protection algorithm and integrity-protection key.
7、安全能力:包括但不限于:安全算法、安全参数、密钥等。在本申请实施例中,安全能力例如可以包括UE的安全能力和用户面网关的安全能力等。7. Security capabilities: including but not limited to: security algorithms, security parameters, keys, etc. In this embodiment of the present application, the security capability may include, for example, the security capability of the UE, the security capability of the user plane gateway, and the like.
8、安全算法:用于在对数据安全保护时使用的算法。例如可包括:加/解密算法、完整性保护算法等。8. Security algorithm: the algorithm used in data security protection. For example, it may include: encryption/decryption algorithms, integrity protection algorithms, and the like.
9、安全上下文:可以用于实现数据加解密和/或完整性保护的信息。安全上下文例如可以包括:加/解密密钥、完整性保护密钥、新鲜参数(比如NAS Count)、ngKSI以及安全算法。9. Security context: information that can be used to implement data encryption, decryption and/or integrity protection. The security context may include, for example, encryption/decryption keys, integrity protection keys, freshness parameters (such as NAS Count), ngKSI, and security algorithms.
普通蜂窝小区可允许运营商的所有合法签约用户(和漫游用户)接入。而群组允许一个或多个特定小区的一群签约用户接入。也就是说,可以接入群组的用户是受限的、有条件的。同一用户可属于多个群组,即可以接入多个群组。每个群组对应于一个群组标识。群组的接入需要UE、接入网设备和核心网的支持。A normal cell may allow access to all legitimate subscribers (and roaming users) of the operator. A group, on the other hand, allows access to a group of subscribers of one or more specific cells. That is, the users who can access the group are limited and conditional. The same user can belong to multiple groups, that is, can access multiple groups. Each group corresponds to a group ID. The access of the group requires the support of the UE, the access network equipment and the core network.
本申请实施例适用UE需要接入群组的场景,群组例如可以为闭合接入组(closedaccess group,CAG),或者封闭用户组(closed subscriber group,CSG)等。下文以CAG为例进行描述。The embodiment of the present application is applicable to a scenario where the UE needs to access a group, and the group may be, for example, a closed access group (CAG), or a closed subscriber group (CSG), or the like. The following description takes CAG as an example.
图2是一种UE接入群组的方法的示意性流程图。FIG. 2 is a schematic flowchart of a method for a UE to access a group.
用户身份解密功能(subscription identifier de-concealing function,SIDF)网元可以配置在统一的数据管理功能(unified data management,UDM)网元中,也可独立部署。也就是说,UDM网元可以通过自己部署的SIDF,或者通过调用SIDF,提供用户身份解密功能。The user identity decryption function (subscription identifier de-concealing function, SIDF) network element can be configured in a unified data management function (unified data management, UDM) network element, or can be deployed independently. That is to say, the UDM network element can provide the user identity decryption function through the SIDF deployed by itself or by calling the SIDF.
UE配置有列表1,列表1可以称为被允许的CAG标识(identification,ID)列表(allowed CAG ID list)。列表1包括UE可以接入的CAG的标识。The UE is configured with a list 1, which may be referred to as an allowed CAG identification (ID) list (allowed CAG ID list). List 1 includes the identities of the CAGs that the UE can access.
在步骤101,接入网设备向UE发送列表2,列表2是小区支持的CAG ID列表,列表2包括小区支持的CAG的ID。In step 101, the access network device sends a list 2 to the UE, the list 2 is a list of CAG IDs supported by the cell, and the list 2 includes the IDs of the CAGs supported by the cell.
接入网设备通过广播的方式发送列表2。广播的内容可能没有加密保护,即接入网设备覆盖范围内的设备都可以获取接入网设备广播的信息。因此,接入网设备覆盖范围内的设备都可以获取列表2。The access network device sends the list 2 by broadcasting. The broadcast content may not be protected by encryption, that is, devices within the coverage of the access network device can obtain the information broadcast by the access network device. Therefore, all devices within the coverage area of the access network device can obtain List 2.
接入网设备也可以通过单播的方式发送列表2。单播的内容可能没有加密保护,即接入网设备覆盖范围内的设备都可以获取接入网设备单播的信息。因此,接入网设备覆盖范围内的设备都可以获取列表2。The access network device can also send List 2 through unicast. The unicast content may not be protected by encryption, that is, devices within the coverage of the access network device can obtain the unicast information of the access network device. Therefore, all devices within the coverage area of the access network device can obtain List 2.
在步骤102,UE对列表1和列表2进行匹配,获取列表1和列表2中均包含的CAG ID,即匹配的CAG ID(selected matching CAG ID)。UE获取第一匹配组,第一匹配组包括一个或多个匹配的CAG ID。列表1包括第一匹配组中的CAG ID,列表2中均包括第一匹配组中的CAG ID。或者说,列表1和列表2均包括第一匹配组。In step 102, the UE matches the list 1 and the list 2, and obtains the CAG ID included in both the list 1 and the list 2, that is, a matching CAG ID (selected matching CAG ID). The UE acquires a first matching group, where the first matching group includes one or more matching CAG IDs. List 1 includes CAG IDs in the first matching group, and List 2 includes CAG IDs in the first matching group. In other words, both List 1 and List 2 include the first matching group.
在步骤103,UE向接入网设备发送注册请求(registration request,RR)信息和第一匹配组。In
RR信息包括用户隐藏标识符(Subscriber Concealed Identifier,SUCI)。SUCI是根据归属网络公钥标识符(home network public key identifier)对应的公钥对用户永久标识(subscription permanent identifier,SUPI)进行加密得到的。归属网络公钥标识符用于指示SUPI加密和SUCI解密采用的公钥和/或私钥。也就是说,UE使用具有原始公钥(即归属网络公钥)的保护方案来生成SUCI。The RR information includes a Subscriber Concealed Identifier (SUCI). The SUCI is obtained by encrypting a user permanent identifier (subscription permanent identifier, SUPI) according to a public key corresponding to a home network public key identifier (home network public key identifier). The Home Network Public Key Identifier is used to indicate the public and/or private keys used for SUPI encryption and SUCI decryption. That is, the UE uses a protection scheme with the original public key (ie, the home network public key) to generate the SUCI.
UDM保存有归属网络公钥标识符对应的私钥。用于用户隐私的算法应在UDM的安全环境中执行。The UDM stores the private key corresponding to the public key identifier of the home network. Algorithms for user privacy should be executed in the secure environment of UDM.
SIDF用于根据SUCI解密以得到SUPI。当归属网络公钥用于SUPI的加密时,SIDF将使用安全存储在归属运营商网络中的归属网络私钥来解密SUCI。解密应在UDM中进行。应定义对SIDF的访问权限,以便仅允许归属网络的网元请求SIDF。SIDF is used to decrypt according to SUCI to get SUPI. When the home network public key is used for encryption of SUPI, the SIDF will use the home network private key, which is securely stored in the home operator's network, to decrypt SUCI. Decryption should take place in UDM. Access rights to SIDF should be defined so that only network elements of the home network are allowed to request SIDF.
第一匹配组是通过无线资源控制(radio resource control,RRC)层发送的。The first matching group is sent through the radio resource control (RRC) layer.
在步骤104,接入网设备向接入和移动管理功能(access and mobilitymanagement function,AMF)网元发送RR信息和第二匹配组。In step 104, the access network device sends the RR information and the second matching group to an access and mobility management function (AMF) network element.
第二匹配组可以与第一匹配组相同。The second matching group may be the same as the first matching group.
在步骤104之前,可选的,接入网设备可以对第一匹配组与列表2进行匹配,以获得第二匹配组。第二匹配组包括一个或多个CAG ID。第一匹配组和列表2均包括第二匹配组。通过接入网设备的匹配,可以降低UE接入CAG注册错误的概率。Before step 104, optionally, the access network device may match the first matching group with List 2 to obtain a second matching group. The second matching set includes one or more CAG IDs. Both the first match group and list 2 include the second match group. Through the matching of the access network equipment, the probability of the UE accessing the CAG registration error can be reduced.
RR信息和第二匹配组是通过接入网设备与AMF网元之间的N2接口发送的。The RR information and the second matching group are sent through the N2 interface between the access network device and the AMF network element.
在步骤105之前,AMF向统一的数据管理功能(unified data management,UDM)/(subscription identifier de-concealing function,SIDF)网元发送认证请求消息至身份验证服务器功能(authentication server function,AUSF),其中携带SUCI。AUSF发送得到请求之前UDM,其中携带SUCIBefore step 105, the AMF sends an authentication request message to an authentication server function (AUSF) to a unified data management function (UDM)/(subscription identifier de-concealing function, SIDF) network element, wherein Carry SUCI. AUSF sends UDM before the request, which carries SUCI
UDM/SIDF网元根据SUCI,确定UE的SUPI。The UDM/SIDF network element determines the SUPI of the UE according to the SUCI.
在步骤105,鉴权认证和安全流程。At step 105, authentication and security procedures are performed.
鉴权认证流程和安全流程可以参见协议第三代合作伙伴计划(3rd generationpartnership project,3GPP)技术规范(technical specification,TS)33.501V15.4.0(2019-03)。在身份认证过程中,UDM/SIDF网元生成认证向量,并发送至AUSF网元。For the authentication process and security process, please refer to the 3rd generation partnership project (3GPP) technical specification (TS) 33.501V15.4.0 (2019-03) of the protocol. During the identity authentication process, the UDM/SIDF network element generates an authentication vector and sends it to the AUSF network element.
鉴权认证流程中,经过AUSF网元、SEAF网元和UE之间的认证过程后,AUSF网元向SEAF网元发送密钥KSEAF。SEAF网元根据密钥KSEAF生成密钥KAMF,并向AMF网元发送密钥KAMF。SEAF网元也可以部署在AMF网元所在的设备中。SEAF网元向UE发送密钥集标识符(keyset identifier,KSI)。KSI可以是5G密钥集标识符(key set identifier in 5G,ngKSI)。UE通过该KSI可以确定密钥KAMF。通过上述方式,UE和AMF网元实现了密钥KAMF的共享。上述给出了一种认证的实现方式,不排除认证方式进一步演进,以及其他双向认证的机制。本专利不做赘述。In the authentication and authentication process, after the authentication process between the AUSF network element, the SEAF network element and the UE, the AUSF network element sends the key KSEAF to the SEAF network element. The SEAF network element generates the key KAMF according to the key KSEAF, and sends the key KAMF to the AMF network element. The SEAF network element can also be deployed in the device where the AMF network element is located. The SEAF network element sends a keyset identifier (keyset identifier, KSI) to the UE. The KSI may be a 5G key set identifier (key set identifier in 5G, ngKSI). The UE can determine the key KAMF through the KSI. In the above manner, the UE and the AMF network element realize the sharing of the key KAMF. The above provides an authentication implementation method, which does not exclude the further evolution of the authentication method and other two-way authentication mechanisms. This patent will not go into details.
在鉴权认证流程之后,可以进行非接入层(non-access stratum,NAS)安全模式命令(security mode command,SMC)和接入层(access stratum,AS)安全模式命令(securitymode command,SMC)。After the authentication process, the non-access stratum (NAS) security mode command (SMC) and the access stratum (AS) security mode command (SMC) can be executed. .
在步骤106之前,UDM/SIDF网元根据SUPI确定UE的签约数据。签约数据也可以称为签约信息。UE的签约数据包括列表3,列表3包括网络侧允许UE接入的CAG ID。列表3包括一个或多个CAG ID。Before step 106, the UDM/SIDF network element determines the subscription data of the UE according to the SUPI. The contract data may also be referred to as contract information. The subscription data of the UE includes a list 3, and the list 3 includes the CAG IDs that the network side allows the UE to access. List 3 includes one or more CAG IDs.
在步骤106,AMF网元接收UDM/SIDF网元发送的列表3。In step 106, the AMF network element receives the list 3 sent by the UDM/SIDF network element.
在步骤107,AMF网元对第二匹配组和列表3进行匹配。AMF检查第二匹配组和列表3是否包括至少一个相同的CAG ID。该至少一个相同的CAG ID作为目标CAG IDIn step 107, the AMF network element matches the second matching group with List 3. The AMF checks whether the second matching set and List 3 include at least one identical CAG ID. the at least one identical CAG ID as the target CAG ID
如果存在目标CAG ID,进行步骤108a。If the target CAG ID exists, go to step 108a.
在步骤108a,AMF向UE发送注册接受信息。In step 108a, the AMF sends registration acceptance information to the UE.
如果不存在目标CAG ID,进行步骤108b。If the target CAG ID does not exist, go to step 108b.
在步骤108b,AMF向UE发送注册拒绝信息。In step 108b, the AMF sends registration rejection information to the UE.
在步骤108b之后,UE从列表1中删除第一匹配组对应的CAG ID。After step 108b, the UE deletes the CAG ID corresponding to the first matching group from list 1.
通过上述方式,可以使UE进行对应的CAG业务。In the above manner, the UE can be made to perform the corresponding CAG service.
UE希望进行的CAG业务与UE的类型有关,每种CAG业务仅特定的UE可以接入和使用。因此,UE希望进行的CAG业务涉及隐私。UE向接入网设备发送第一匹配组时,攻击者通过窃听空口从而获取UE请求接入的CAG ID,泄露隐私。The CAG service that the UE wants to perform is related to the type of the UE, and each CAG service can only be accessed and used by a specific UE. Therefore, the CAG service that the UE wishes to perform involves privacy. When the UE sends the first matching group to the access network device, the attacker obtains the CAG ID requested by the UE to access by eavesdropping on the air interface, thereby revealing privacy.
为了解决上述问题,本申请实施例提供了一种通信方法。通过加密的方式发送UE请求接入的CAG ID。通过该方式,可以降低隐私泄露的可能性。In order to solve the above problem, an embodiment of the present application provides a communication method. The CAG ID that the UE requests to access is sent in an encrypted manner. In this way, the possibility of privacy leakage can be reduced.
图3是本申请实施例提供的一种通信方法的示意性流程图。FIG. 3 is a schematic flowchart of a communication method provided by an embodiment of the present application.
在步骤201,UE生成加密的第一群组列表。In step 201, the UE generates an encrypted first group list.
群组列表又可以称为群组标识集合。第一群组列表包括UE请求接入的一个或多个群组的标识。群组例如可以是CAG、CSG等。The group list may also be referred to as a set of group identifiers. The first group list includes identities of one or more groups that the UE requests to access. A group may be, for example, a CAG, CSG, or the like.
UE请求接入的一个或多个群组的标识可以是配置给UE的第二群组列表的全部或部分标识。The identities of the one or more groups that the UE requests to access may be all or part of the identities of the second group list configured for the UE.
在步骤202,UE发送加密的第一群组列表。At step 202, the UE sends the encrypted first group list.
UE可以向AMF网元发送加密的第一群组列表。The UE may send the encrypted first group list to the AMF network element.
在一些实施例中,UE可以与AMF网元建立NAS安全上下文,即建立NAS安全模式。NAS安全上下文的建立可以参见图4。In some embodiments, the UE may establish a NAS security context with an AMF network element, ie, establish a NAS security mode. The establishment of the NAS security context can be seen in FIG. 4 .
UE可以通过NAS安全上下文建立过程中的NASSM完成消息向AMF网元发送第一群组组。UE也可以在NAS安全上下文建立之后,向AMF网元发送所述加密的第一群组列表,即UE可以通过NAS安全上下文保护的NAS消息向AMF网元发送第一群组列表。The UE may send the first group group to the AMF network element through the NASSM complete message in the process of establishing the NAS security context. The UE may also send the encrypted first group list to the AMF network element after the NAS security context is established, that is, the UE may send the first group list to the AMF network element through a NAS message protected by the NAS security context.
UE可以与AMF网元进行认证,以获取共享密钥。UE的认证可以参见图6。UE可以根据该共享密钥与AMF网元建立NAS安全上下文。NAS安全上下文的建立可以参见图4。The UE can authenticate with the AMF network element to obtain the shared key. The authentication of the UE can refer to FIG. 6 . The UE can establish a NAS security context with the AMF network element according to the shared key. The establishment of the NAS security context can be seen in FIG. 4 .
AMF可以对UE发送的加密的第一群组列表进行解密。AMF可以通机密性算法对加密的第一群组列表进行解密。The AMF may decrypt the encrypted first group list sent by the UE. The AMF can decrypt the encrypted first group list through a confidentiality algorithm.
在另一些实施例中,UE可以通过AMF公钥对第一群组列表进行加密。UE可以向AMF网元发送加密的第一群组列表。AMF公钥可以是AMF向UE发送的,或者可以是UE预配置的。In other embodiments, the UE may encrypt the first group list with the AMF public key. The UE may send the encrypted first group list to the AMF network element. The AMF public key may be sent by the AMF to the UE, or may be pre-configured by the UE.
AMF网元配置有AMF公钥对应的AMF私钥。AMF网元可以根据AMF私钥对加密的第一群组列表进行解密。The AMF network element is configured with the AMF private key corresponding to the AMF public key. The AMF network element may decrypt the encrypted first group list according to the AMF private key.
UE可以向UDM网元发送加密的第一群组列表。The UE may send the encrypted first group list to the UDM network element.
UE可以根据所述归属网络密钥对所述第一群组列表进行加密,以得到加密的第一群组列表。The UE may encrypt the first group list according to the home network key to obtain an encrypted first group list.
UE可以向UDM网元发送加密的第一群组列表和归属网络公钥标识符。归属网络公钥标识符用于指示所述归属网络密钥。The UE may send the encrypted first group list and the home network public key identifier to the UDM network element. The home network public key identifier is used to indicate the home network key.
UDM网元接收加密的第一群组列表和归属网络公钥标识符。UDM网元可以根据归属网络公钥标识符确定归属网络私钥。UDM网元可以根据归属网络私钥对加密的第一群组列表进行解密。The UDM network element receives the encrypted first group list and the home network public key identifier. The UDM network element may determine the home network private key according to the home network public key identifier. The UDM network element may decrypt the encrypted first group list according to the home network private key.
UE可以向接入网设备发送加密的第一群组列表。The UE may send the encrypted first group list to the access network device.
在一些实施例中,UE可以与接入网设备建立AS安全上下文,即建立AS安全模式。AS安全上下文的建立可以参见图5。In some embodiments, the UE may establish an AS security context with an access network device, that is, establish an AS security mode. The establishment of the AS security context can be seen in Figure 5.
UE可以通过AS安全上下文建立过程中的ASSM完成消息向接入网设备发送第一群组列表。UE也可以在AS安全上下文建立之后,向接入网设备发送所述加密的第一群组列表,即UE可以通过AS安全上下文保护的AS消息向接入网设备发送第一群组。The UE may send the first group list to the access network device through the ASSM complete message in the process of establishing the AS security context. The UE may also send the encrypted first group list to the access network device after the AS security context is established, that is, the UE may send the first group to the access network device through the AS message protected by the AS security context.
AMF向接入网设备分发KgNB。UE根据KAMF生成KgNB。之后UE与接入网设备可以建立接入层AS安全模式SM。AMF distributes KgNB to access network equipment. The UE generates KgNB according to the KAMF. Afterwards, the UE and the access network device may establish the access stratum AS security mode SM.
接入网设备可以对UE发送的加密的第一群组列表进行解密。接入网设备可以通机密性算法对加密的第一群组列表进行解密。The access network device may decrypt the encrypted first group list sent by the UE. The access network device may decrypt the encrypted first group list through a confidentiality algorithm.
接入网设备可以对接收的加密的第一群组列表进行解密。接入网设备可以通过机密性算法对加密的第一群组列表进行解密。在另一些实施例中,UE可以通过接入网设备公钥对第一群组列表进行加密。UE可以向接入网设备发送加密的第一群组列表。接入网设备公钥可以是接入网设备向UE发送的,或者可以是UE预配置的。接入网设备配置有接入网设备公钥对应的AMF私钥。接入网设备可以根据接入网设备私钥对加密的第一群组列表进行解密。The access network device may decrypt the received encrypted first group list. The access network device may decrypt the encrypted first group list through a confidentiality algorithm. In other embodiments, the UE may encrypt the first group list by using the access network device public key. The UE may send the encrypted first group list to the access network device. The access network device public key may be sent by the access network device to the UE, or may be pre-configured by the UE. The access network device is configured with an AMF private key corresponding to the access network device public key. The access network device may decrypt the encrypted first group list according to the access network device private key.
可选地,UE可以接收AMF网元发送的注册拒绝消息。注册拒绝消息包括消息验证码,所述消息验证码用于所述UE验证所述注册拒绝消息。注册拒绝消息还可以包括拒绝码。拒绝码可以用于指示拒绝UE注册,或者拒绝码可以用于指示拒绝UE注册的原因。拒绝UE注册的原因可以是AMF网元校验失败,或者,UE认证失败等。AMF网元校验失败是指AMF网元确定不存在第二群组列表。第二群组列表包括UDM保存的签约群组列表与第一群组列表中相同的群组的标识。Optionally, the UE may receive a registration rejection message sent by the AMF network element. The registration rejection message includes a message verification code for the UE to verify the registration rejection message. The registration rejection message may also include a rejection code. The rejection code may be used to indicate the rejection of the UE registration, or the rejection code may be used to indicate the reason for the rejection of the UE registration. The reason for rejecting the registration of the UE may be that the verification of the AMF network element fails, or the authentication of the UE fails. The AMF network element verification failure means that the AMF network element determines that the second group list does not exist. The second group list includes the identifiers of the same groups in the subscription group list saved by the UDM and the first group list.
可选地,UE可以向接入网设备发送接入群组请求信息,所述接入群组请求信息用于指示所述UE请求接入群组。Optionally, the UE may send access group request information to the access network device, where the access group request information is used to instruct the UE to request to access the group.
通过步骤201-步骤202,UE通过加密的方式发送第一群组列表,可以避免泄密。Through steps 201 to 202, the UE sends the first group list in an encrypted manner, which can avoid leakage.
图4是一种建立NAS安全上下文的示意性流程图。FIG. 4 is a schematic flow chart of establishing a NAS security context.
在步骤301a,AMF网元启动完整性保护。In step 301a, the AMF network element initiates integrity protection.
在步骤301b,AMF网元向UE发送NAS SM指令消息。NAS SM指令消息包括完整性算法,加密算法,NAS消息验证码(message authentication code,MAC),UE安全能力、KSI等。该NAS MAC可以用于验证NAS SM指令消息的完整性。In step 301b, the AMF network element sends a NAS SM command message to the UE. The NAS SM command message includes an integrity algorithm, an encryption algorithm, a NAS message authentication code (message authentication code, MAC), a UE security capability, a KSI, and the like. The NAS MAC can be used to verify the integrity of the NAS SM Command message.
在步骤301c,AMF网元启动上行链路解密At step 301c, the AMF network element initiates uplink decryption
在步骤302a,UE验证NAS SM完成消息完整性。如果验证成功,UE启动上行链路加密,下行链路解密和完整性保护At step 302a, the UE verifies the NAS SM complete message integrity. If the verification is successful, the UE initiates uplink encryption, downlink decryption and integrity protection
在步骤302b,UE向AMF网元发送NAS安全模式完成消息。NAS安全模式完成消息包括NAS MAC。该NAS MAC可以用于验证NAS SM完成消息的完整性。In step 302b, the UE sends a NAS security mode complete message to the AMF network element. The NAS Security Mode Complete message includes the NAS MAC. The NAS MAC can be used to verify the integrity of the NAS SM Completion message.
在步骤301d,AMF网元启动下行链路加密。In step 301d, the AMF network element initiates downlink encryption.
AMF网元触发NAS SMC流程,发送NAS安全模式指令至UE;UE发送NAS安全模式完成消息。步骤301b中,AMF网元向UE发送NAS SM指令消息,仅有完整性保护。步骤302b中,UE向AMF网元发送NAS安全模式完成消息,具有机密性和完整性保护。之后,UE与AMF共享NAS安全上下文。UE与AMF网元可以通过NAS安全上下文保护要发送的消息,通过NAS安全上下文保护NAS消息具有完整性和机密性保护。通过步骤301a-302d,建立了NAS安全上下文。The AMF network element triggers the NAS SMC process and sends a NAS security mode command to the UE; the UE sends a NAS security mode completion message. In step 301b, the AMF network element sends a NAS SM command message to the UE, with only integrity protection. In step 302b, the UE sends a NAS security mode completion message to the AMF network element, which has confidentiality and integrity protection. After that, the UE shares the NAS security context with the AMF. The UE and the AMF network element can protect the message to be sent through the NAS security context, and the NAS message has integrity and confidentiality protection through the NAS security context. Through steps 301a-302d, a NAS security context is established.
需要说明的是,为了方便理解,图4只是简述了NAS SMC的处理流程,具体在应用中可以增加其他的处理过程和/或参数,或者减少上述部分处理过程和/或参数。It should be noted that, for ease of understanding, FIG. 4 only briefly describes the processing flow of the NAS SMC, and other processing procedures and/or parameters may be added, or some of the above-mentioned processing procedures and/or parameters may be reduced in specific applications.
图5是一种建立AS安全上下文的示意性流程图。FIG. 5 is a schematic flow chart of establishing an AS security context.
在步骤401a之前,RAN接收密钥KgNB。密钥KgNB是AMF网元根据密钥KAMF确定的。AMF应生成密钥KgNB并向RAN发送该密钥。Before step 401a, the RAN receives the key KgNB. The key KgNB is determined by the AMF network element according to the key KAMF. The AMF shall generate the key KgNB and send it to the RAN.
在步骤401a,RAN启动RRC完整性保护。At step 401a, the RAN initiates RRC integrity protection.
在步骤401b,RAN向UE发送AS SM指令消息,AS SM指令消息包括完整性算法,加密算法,MAC-I,其中,MAC-I是根据密钥KgNB确定的。In step 401b, the RAN sends an AS SM command message to the UE, where the AS SM command message includes an integrity algorithm, an encryption algorithm, and a MAC-I, wherein the MAC-I is determined according to the key KgNB.
在步骤401c,RAN启动RRC下行链路加密。At step 401c, the RAN initiates RRC downlink ciphering.
在步骤402a,UE验证AS SM指令消息的完整性。UE根据MAC-I验证AS SM指令消息的完整性。如果验证成功,UE启动RRC完整性保护和RRC下行链路解密。UE根据AS SMC信息指示的加密算法,对RRC下行链路解密。At step 402a, the UE verifies the integrity of the AS SM command message. The UE verifies the integrity of the AS SM command message according to the MAC-I. If the verification is successful, the UE starts RRC integrity protection and RRC downlink decryption. The UE decrypts the RRC downlink according to the encryption algorithm indicated by the AS SMC information.
在步骤402b,UE向RAN发送AS SM完成消息。AS SM完成消息包括MAC-I,MAC-I是根据密钥KgNB确定的。RAN根据MAC-I可以对AS SM完成消息进行解密,并验证AS SM完成消息的完整性。At step 402b, the UE sends an AS SM complete message to the RAN. The AS SM Complete message includes MAC-I, which is determined according to the key KgNB. The RAN can decrypt the AS SM Completion message according to the MAC-I, and verify the integrity of the AS SM Completion message.
在步骤402c,UE启动RRC上行链路加密。At step 402c, the UE initiates RRC uplink ciphering.
在步骤401d,RAN启动RRC上行链路解密。At step 401d, the RAN initiates RRC uplink deciphering.
RAN触发AS SMC流程,向UE发送AS安全模式指令消息。UE向RAN发送AS安全模式完成消息。其中,步骤401b中的消息仅进行完整性保护,步骤402b的消息同时进行机密性和完整性保护。根据密钥KgNB可以对AS安全模式下UE和RAN之间传输的消息进行完整性和机密性保护。之后,UE与接入网设备共享AS安全上下文,UE与接入网设备可以通过AS安全上下文保护发送AS消息,通过AS安全上下文保护的AS消息具有完整性和机密性保护。通过步骤401a-402d,建立了AS安全上下文。The RAN triggers the AS SMC process and sends the AS security mode command message to the UE. The UE sends an AS security mode complete message to the RAN. Wherein, the message in step 401b is only integrity protected, and the message in step 402b is simultaneously protected by confidentiality and integrity. According to the key KgNB, the integrity and confidentiality of the messages transmitted between the UE and the RAN in the AS security mode can be protected. After that, the UE and the access network device share the AS security context, and the UE and the access network device can send the AS message through the AS security context protection, and the AS message protected by the AS security context has integrity and confidentiality protection. Through steps 401a-402d, the AS security context is established.
需要说明的是,为了方便理解,图5只是简述了AS安全上下文建立的处理流程,具体在应用中可以增加其他的处理过程和/或参数,或者减少上述部分处理过程和/或参数。It should be noted that, for the convenience of understanding, FIG. 5 only briefly describes the processing flow for establishing the AS security context. Specifically, other processing procedures and/or parameters may be added in the application, or some of the above-mentioned processing procedures and/or parameters may be reduced.
图6是一种鉴权认证的方法的示意性流程图。鉴权认证也可以称为身份认证。Fig. 6 is a schematic flow chart of a method for authentication and authentication. Authentication can also be called identity authentication.
在通信网络中,UE请求访问服务提供商提供的服务时,对该UE是否具有访问权限进行校验。鉴权认证的过程可以参见In a communication network, when a UE requests to access a service provided by a service provider, it is checked whether the UE has access authority. The authentication process can be found in
在步骤501,UDM/ARPF网元生成认证向量。In step 501, the UDM/ARPF network element generates an authentication vector.
在步骤502,UDM/ARPF网元向AUSF网元发送第一认证回复消息,第一认证回复消息可以是Nudm_UEAuthentication_Get ReSponse消息。第一认证回复消息包括认证向量。In step 502, the UDM/ARPF network element sends a first authentication reply message to the AUSF network element, where the first authentication reply message may be a Nudm_UEAuthentication_Get Response message. The first authentication reply message includes an authentication vector.
在步骤503,UE与AUSF网元进行双向认证。In step 503, the UE performs bidirectional authentication with the AUSF network element.
在步骤504,AUSF生成并向SEAF网元发送密钥KSEAF。At
在步骤505,SEAF网元根据密钥KSEAF生成密钥KAMF,并向UE发送KSI,KSI用于指示密钥KAMF。In
SEAF网元可以与AMF网元独立部署,也可以单独部署。SEAF网元可以向AMF网元发送KAMF。SEAF network elements can be deployed independently of AMF network elements, or can be deployed independently. The SEAF network element may send the KAMF to the AMF network element.
图6仅给出了一种认证方法,也包括其他的的认证方式,例如5G认证和密钥协议;也可能认证同时包括UE与AMF认证,UE与AUSF的认证等,本申请实施例不做限制。Figure 6 only shows one authentication method, and also includes other authentication methods, such as 5G authentication and key agreement; the authentication may also include UE and AMF authentication, UE and AUSF authentication, etc., which are not implemented in this embodiment of the application. limit.
图7是本申请实施例提供的一种通信方法的示意性流程图。FIG. 7 is a schematic flowchart of a communication method provided by an embodiment of the present application.
第一网络设备包括AMF网元。第一网络设备也可以包括SMF网元,AUSF网元,SEAF网元UDM网元等网络功能(network function,NF)的网元,本申请实施例不做限制。The first network device includes an AMF network element. The first network device may also include network elements of a network function (network function, NF) such as an SMF network element, an AUSF network element, a SEAF network element, and a UDM network element, which are not limited in this embodiment of the present application.
在步骤1101,UE利用NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表。第一群组列表包括所述UE请求接入的一个或多个群组的标识。In step 1101, the UE encrypts the first group list using the NAS security context to obtain an encrypted first group list. The first group list includes identifiers of one or more groups that the UE requests to access.
第一群组列表可以包括配置给UE的UE群组列表中的全部或部分标识。The first group list may include all or part of the identities in the UE group list configured for the UE.
UE可以将UE群组列表作为第一群组列表。The UE may use the UE group list as the first group list.
在步骤1101之前,UE接收接入网设备发送的接入网群组列表,接入网群组列表包括接入网设备支持的群组的标识。UE可以根据接入网群组列表和UE群组列表,确定第一群组列表,第一群组列表包括接入网群组列表和UE群组列表中相同的群组的标识。Before step 1101, the UE receives an access network group list sent by the access network device, where the access network group list includes an identifier of a group supported by the access network device. The UE may determine the first group list according to the access network group list and the UE group list, where the first group list includes an identifier of the same group in the access network group list and the UE group list.
在步骤1102,UE发送所述加密的第一群组列表。At step 1102, the UE sends the encrypted first group list.
在步骤1102之前,UE可以与AMF建立NAS安全上下文。UE可以通过NAS安全上下文保护的NAS消息发送加密的第一群组列表。Before step 1102, the UE may establish a NAS security context with the AMF. The UE may send the encrypted first group list through a NAS message protected by a NAS security context.
或者,在UE与AMF之间的NAS安全上下文建立过程中,在UE建立NAS安全上下文后,UE通过NAS SM完成消息向第一网络设备发送加密的第一群组列表。Alternatively, in the process of establishing the NAS security context between the UE and the AMF, after the UE establishes the NAS security context, the UE sends the encrypted first group list to the first network device through a NAS SM complete message.
第一网络设备接收加密的第一群组列表。第一网络设备对加密的第一群组列表进行解密。The first network device receives the encrypted first group list. The first network device decrypts the encrypted first group list.
在步骤1103,第一网络设备进行校验。AMF根据第一群组列表和签约群组列表,确定第二群组列表。第二群组列表包括第一群组列表和签约群组列表中相同的群组的标识。第二群组列表包括允许UE接入的群组的标识。即该相同的群组的标识作为允许UE接入的群组的标识。In step 1103, the first network device performs verification. The AMF determines the second group list according to the first group list and the subscription group list. The second group list includes the identifiers of the same groups in the first group list and the subscription group list. The second group list includes identifications of groups that the UE is allowed to access. That is, the identity of the same group is used as the identity of the group that the UE is allowed to access.
在步骤1103之前,第一网络设备确定UDM网元保存的签约群组列表。也就是说,第一网络设备不包括UDM网元,第一网络设备可以接收UDM网元发送的签约群组列表。第一网络设备包括UDM网元,第一网络设备可以获取UDM网元保存的签约群组列表。Before step 1103, the first network device determines the subscription group list stored by the UDM network element. That is, the first network device does not include the UDM network element, and the first network device may receive the subscription group list sent by the UDM network element. The first network device includes a UDM network element, and the first network device may acquire a subscription group list saved by the UDM network element.
当存在第二群组列表时,进行步骤1104。When the second group list exists, step 1104 is performed.
在步骤1104,第一网络设备向接入网设备发送第二群组列表。接入网设备接收第二群组列表,获取允许允许UE接入的群组的标识。In step 1104, the first network device sends the second group list to the access network device. The access network device receives the second group list, and obtains the identifiers of the groups that allow the UE to access.
可选地,在步骤1104之后,可以进行步骤1105。Optionally, after step 1104, step 1105 may be performed.
在步骤1105,接入网设备向UE发送第二群组列表中每个标识对应的群组的无线资源分配信息和/或服务质量(quality of service,QoS)信息等。In step 1105, the access network device sends the radio resource allocation information and/or quality of service (QoS) information of the group corresponding to each identifier in the second group list to the UE.
当不存在第二群组列表时,进行步骤1106。When the second group list does not exist, go to step 1106 .
在步骤1106,第一网络设备向UE发送注册拒绝消息。为了避免攻击者修改或伪造注册拒绝消息,AMF可以通过以下方式发送注册拒绝消息。In step 1106, the first network device sends a registration rejection message to the UE. In order to avoid attackers modifying or forging registration rejection messages, AMF can send registration rejection messages in the following ways.
第一网络设备可以通过NAS消息向UE发送注册拒绝消息。在步骤1106之前,AMF与UE是否进行NAS安全上下文的建立,本申请实施例不作限定。在建立NAS安全上下文的情况下,第一网络设备可以通过NAS安全上下文向UE发送注册拒绝消息。即注册拒绝消息可以是通过NAS安全上下文保护的NAS消息。The first network device may send a registration rejection message to the UE through a NAS message. Before step 1106, whether the AMF and the UE establish a NAS security context is not limited in this embodiment of the present application. In the case of establishing the NAS security context, the first network device may send a registration rejection message to the UE through the NAS security context. That is, the registration reject message may be a NAS message protected by a NAS security context.
参见图11,第一网络设备可以根据UE与AMF之间的共享密钥计算得到消息验证码。第一网络设备可以向UE发送注册拒绝消息,注册拒绝消息包括消息验证码。消息验证码用于UE验证注册拒绝消息。Referring to FIG. 11 , the first network device can calculate and obtain the message verification code according to the shared key between the UE and the AMF. The first network device may send a registration rejection message to the UE, where the registration rejection message includes a message verification code. The message verification code is used by the UE to verify the registration rejection message.
参见图12,第一网络设备也可以根据AMF私钥计算数字签名。第一网络设备可以向UE发送注册拒绝消息,注册拒绝消息包括该数字签名。UE根据AMF公钥对该数字签名进行解密。Referring to Fig. 12, the first network device can also calculate the digital signature according to the AMF private key. The first network device may send a registration rejection message to the UE, where the registration rejection message includes the digital signature. The UE decrypts the digital signature according to the AMF public key.
可选地,UE可以向接入网设备发送接入群组请求信息,所述接入群组请求信息用于指示所述UE请求接入群组。Optionally, the UE may send access group request information to the access network device, where the access group request information is used to instruct the UE to request to access the group.
通过步骤1101-1106,UE以加密的方式发送请求接入的群组的标识,可以避免UE隐私的泄露。Through steps 1101-1106, the UE sends the identifier of the group that requests access to in an encrypted manner, which can avoid leakage of the UE's privacy.
群组例如可以是CAG、CSG等。下面以UE请求接入CAG为例进行说明。A group may be, for example, a CAG, CSG, or the like. The following takes the UE requesting access to the CAG as an example for description.
图8是本申请实施例提供的一种通信方法的示意性流程图。FIG. 8 is a schematic flowchart of a communication method provided by an embodiment of the present application.
UE可以通过加密的NAS消息,向AMF网元发送第一匹配组。The UE may send the first matching group to the AMF network element through an encrypted NAS message.
UE保存有列表1,列表1可以称为被允许的CAGID列表(allowed CAG ID list)。列表1包括配置给UE的CAG的标识。即列表1表示UE支持接入的CAG。具体UE如何获得列表1不做限制。例如,列表1可以包括UE可以从运营商处获取的CAG ID,可以包括网管配置的CAG ID,可以包括UE出厂时配置的CAG ID等。The UE stores a list 1, and the list 1 may be referred to as an allowed CAG ID list (allowed CAG ID list). List 1 includes the identification of the CAGs configured to the UE. That is, List 1 indicates the CAGs that the UE supports to access. There is no specific limitation on how the UE obtains the list 1. For example, the list 1 may include the CAG ID that the UE may obtain from the operator, may include the CAG ID configured by the network management, may include the CAG ID configured when the UE leaves the factory, and the like.
在步骤601,接入网设备广播系统信息,系统信息包括列表2,列表2是小区支持的CAG ID列表,该小区是接入网设备覆盖的一个或多个小区中该UE所在的小区。广播的内容可能没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备广播的信息。In step 601, the access network equipment broadcasts system information, and the system information includes list 2, which is a list of CAG IDs supported by a cell, which is the cell where the UE is located in one or more cells covered by the access network equipment. The broadcast content may not be encrypted and protected, and devices within the coverage of the access network device can obtain the information broadcast by the access network device.
可选的,在步骤601,接入网设备单播发送系统信息,系统信息包括列表2,列表2包括小区支持的CAG ID。单播的内容可能没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备单播的信息。Optionally, in step 601, the access network device unicast sends system information, the system information includes list 2, and list 2 includes CAG IDs supported by the cell. The unicast content may not be protected by encryption, and devices within the coverage of the access network device can obtain the unicast information of the access network device.
在步骤602,UE对列表1和列表2进行匹配,即UE检查是否存在第一匹配组,第一匹配组包括至少一个CAG ID。第一匹配组中的CAG ID即属于列表1,又同时属于列表2。可以将第一匹配组中的CAG ID称为匹配的CAG ID(selected matching CAG ID)。In step 602, the UE matches the list 1 and the list 2, that is, the UE checks whether there is a first matching group, and the first matching group includes at least one CAG ID. The CAG IDs in the first matching group belong to both list 1 and list 2 at the same time. The CAG IDs in the first matching group may be referred to as matched CAG IDs (selected matching CAG IDs).
在步骤603,UE向接入网设备发送注册请求(registration request,RR)消息,注册请求消息包括SUCI。注册请求消息可以是控制面消息。In step 603, the UE sends a registration request (registration request, RR) message to the access network device, where the registration request message includes SUCI. The registration request message may be a control plane message.
在步骤603之前,UE计算SUCI,所述SUCI为对于永久身份SUPI的封装,以使攻击者不能通过窃听空口获得SUPI。SUPI是UE的永久身份标识。也就是说,UE对SUPI加密以得到SUCI。Before step 603, the UE calculates the SUCI, where the SUCI is the encapsulation of the permanent identity SUPI, so that the attacker cannot obtain the SUPI by eavesdropping on the air interface. SUPI is the permanent identity of the UE. That is, the UE encrypts SUPI to obtain SUCI.
SUCI可以包括SUPI类型、路由指示符、保护方案标识符、归属网络公钥标识符等信息中的一种或多种。其中,路由指示符和归属网络公钥标识符不进行加密。保护方案标识符用于指示商城SUCI采用的保护方案,即对SUPI加密的方案。路由指示符可用于指示能够为UE提供服务的UDM网元。SUCI may include one or more of SUPI type, routing indicator, protection scheme identifier, home network public key identifier, and other information. The routing indicator and the home network public key identifier are not encrypted. The protection scheme identifier is used to indicate the protection scheme adopted by the mall SUCI, that is, the scheme for encrypting SUPI. The routing indicator can be used to indicate the UDM network elements that can serve the UE.
可选地,UE向接入网设备发送第一指示信息。第一指示信息用于指示UE请求接入CAG。Optionally, the UE sends the first indication information to the access network device. The first indication information is used to instruct the UE to request to access the CAG.
UE可以向接入网设备发送的第一指示信息用于指示UE请求接入CAG。由于RR消息中与UE注册相关的信息由UE发送给AMF网元,接入网设备需要对该信息进行转发,无法感知该信息。因此,通过UE向接入网设备发送第一指示信息,可以向接入网设备指示进行对应于UE请求接入CAG的流程。The first indication information that the UE may send to the access network device is used to instruct the UE to request to access the CAG. Since the information related to the UE registration in the RR message is sent by the UE to the AMF network element, the access network device needs to forward the information and cannot perceive the information. Therefore, by sending the first indication information to the access network device by the UE, the access network device can be instructed to perform a process corresponding to the UE requesting to access the CAG.
可选地,第一指示信息承载在注册请求消息或其他消息中。例如,第一指示信息可以通过无线资源控制(radio resource control,RRC)消息发送。第一指示信息可以采用多种形式,例如,第一指示信息可以包括UE接收的列表2,或者,第一指示信息可以占用注册请求消息的某个字段。Optionally, the first indication information is carried in a registration request message or other messages. For example, the first indication information may be sent through a radio resource control (radio resource control, RRC) message. The first indication information may take various forms, for example, the first indication information may include the list 2 received by the UE, or the first indication information may occupy a certain field of the registration request message.
在步骤604,接入网设备向AMF网元转发该注册请求消息。注册请求消息包括SUCI。转发的注册请求消息可以通过接入网设备与AMF网元之间的N2接口发送,即转发的注册请求消息可以是N2消息。In step 604, the access network device forwards the registration request message to the AMF network element. The registration request message includes SUCI. The forwarded registration request message may be sent through the N2 interface between the access network device and the AMF network element, that is, the forwarded registration request message may be an N2 message.
可选地,接入网设备可以向AMF网元发送第二指示信息。例如,若接入网设备接收到第一指示信息,则接入网设备向AMF网元发送第二指示信息。第二指示信息指示UE请求接入CAG业务。Optionally, the access network device may send the second indication information to the AMF network element. For example, if the access network device receives the first indication information, the access network device sends the second indication information to the AMF network element. The second indication information indicates that the UE requests to access the CAG service.
接入网设备发送的第二指示信息,可以指示AMF进行对应于UE请求接入CAG的流程。The second indication information sent by the access network device may instruct the AMF to perform a procedure corresponding to the UE requesting to access the CAG.
第二指示信息可以承载在转发的注册请求消息中。第二指示信息也可以承载在其他消息中。The second indication information may be carried in the forwarded registration request message. The second indication information may also be carried in other messages.
可选地,接入网设备可以向AMF网元发送列表2。第二指示信息可以包括列表2。例如,若接入网设备接收到第一指示信息,则接入网设备向AMF网元发送列表2。Optionally, the access network device may send List 2 to the AMF network element. The second indication information may include list 2. For example, if the access network device receives the first indication information, the access network device sends the list 2 to the AMF network element.
在步骤605,AMF网元向AUSF发送SUCI。SUCI可以承载在第一身份认证请求消息中。第一认证请求消息可以是Nausf_UEAuthentication_Authenticate Request消息。In step 605, the AMF network element sends the SUCI to the AUSF. The SUCI may be carried in the first identity authentication request message. The first authentication request message may be a Nausf_UEAuthentication_Authenticate Request message.
可选的,AMF可以接收第二指示信息和/或列表2。Optionally, the AMF may receive the second indication information and/or List 2.
在步骤606,AUSF网元向UDM/SIDF网元发送SUCI。SUCI可以承载在第二身份认证请求消息种中。第二认证请求消息可以是Nudm_UEAuthentication_Get Request消息。In step 606, the AUSF network element sends the SUCI to the UDM/SIDF network element. The SUCI may be carried in the second identity authentication request message. The second authentication request message may be a Nudm_UEAuthentication_Get Request message.
在步骤607,UDM/SIDF网元对SUCI解密以得到SUPI,并执行认证算法选择,根据选择的认证算法生成认证向量。In step 607, the UDM/SIDF network element decrypts the SUCI to obtain the SUPI, performs authentication algorithm selection, and generates an authentication vector according to the selected authentication algorithm.
步骤608为认证流程,用于UE的身份认证。Step 608 is an authentication process, which is used for identity authentication of the UE.
具体地,UDM/SIDF网元向AUSF网元发送认证向量。认证向量可以承载在认证回复消息中。认证回复消息可以是Nudm_UEAuthentication_Get ReSponse消息。Specifically, the UDM/SIDF network element sends the authentication vector to the AUSF network element. The authentication vector may be carried in the authentication reply message. The authentication reply message may be a Nudm_UEAuthentication_Get ReSponse message.
UE与AUSF网元进行双向认证。AUSF生成并向SEAF网元发送密钥KSEAF。SEAF网元根据密钥KSEAF生成密钥KAMF。SEAF向UE发送KSI,KSI用于指示密钥KAMF。UE根据KSI可以确定密钥KAMF。SEAF向AMF发送KAMF。这里SEAF可以与AMF独立部署,也可以单独部署。本申请实施例对上述UE与AUSF网元进行认证的步骤具体细节和流程不做限制。The UE and the AUSF network element perform bidirectional authentication. The AUSF generates and sends the key KSEAF to the SEAF network element. The SEAF network element generates the key KAMF according to the key KSEAF. SEAF sends KSI to UE, KSI is used to indicate key KAMF. The UE can determine the key KAMF according to the KSI. SEAF sends KAMF to AMF. Here SEAF can be deployed independently of AMF, or it can be deployed separately. The embodiments of the present application do not limit the specific details and processes of the above-mentioned steps for authenticating the UE and the AUSF network element.
通过上述步骤,AMF网元与UE共享密钥KAMF。Through the above steps, the AMF network element shares the key KAMF with the UE.
在步骤609-610,AMF网元与UE进行非接入层安全模式命令(non access stratumsecurity mode command,NAS SMC)流程。In steps 609-610, the AMF network element and the UE perform a non access stratum security mode command (NAS SMC) process.
根据密钥KAMF,UE和AMF网元可以确定UE和AMF网元之间的完整性密钥和机密性密钥,从而对UE和AMF网元之间的消息进行完整性保护和机密性保护。进行机密性保护,即信息发送端对信息进行加密,信息接收端对信息进行解密。According to the key K AMF , the UE and the AMF network element can determine the integrity key and the confidentiality key between the UE and the AMF network element, so as to perform integrity protection and confidentiality protection on the messages between the UE and the AMF network element . Confidentiality protection is performed, that is, the information sender encrypts the information, and the information receiver decrypts the information.
在步骤609,AMF网元向UE发送NAS安全模式指令消息。NAS安全模式指令消息具有完整性保护。这里完整性保护为已有技术不做赘述。In
在步骤610,UE向AMF网元发送NAS安全模式完成消息。In step 610, the UE sends a NAS security mode complete message to the AMF network element.
可选地,NAS安全模式完成消息可以包括第一匹配组。NAS安全模式完成消息是机密性和完整性保护的。因此,第一匹配组以加密的方式发送至AMF网元。此时,可以不进行步骤611。Optionally, the NAS security mode complete message may include the first matching group. The NAS Security Mode Completion message is confidentiality and integrity protected. Therefore, the first matching group is sent to the AMF network element in an encrypted manner. At this time, step 611 may not be performed.
在UE接入CAG的过程中,建立了NAS安全上下文。通过NAS SMC完成消息发送第一匹配组,或者在NAS安全上下文保护的NAS消息中发送第一匹配组,可以对第一匹配组进行加密,且不会增加额外的处理过程。During the process of the UE accessing the CAG, the NAS security context is established. Sending the first matching group through the NAS SMC completion message, or sending the first matching group in a NAS message protected by the NAS security context, can encrypt the first matching group without adding additional processing.
通过步骤609-610,UE与AMF网元通过NAS SMC流程建立了安全上下文,AMF网元与UE之间的消息可以加密传输。通过NAS安全模式,AMF网元与UE之间的消息可以具有完整性保护和机密性保护。Through steps 609-610, the UE and the AMF network element establish a security context through the NAS SMC process, and the messages between the AMF network element and the UE can be encrypted and transmitted. Through the NAS security mode, the messages between the AMF network element and the UE can have integrity protection and confidentiality protection.
在NAS安全模式完成消息不包括第一匹配组的情况下,可以进行步骤611。步骤611在UE与AMF网元通过NAS SMC流程建立安全上下文之后进行。In the case where the NAS security mode complete message does not include the first matching group, step 611 may be performed. Step 611 is performed after the UE and the AMF network element establish the security context through the NAS SMC process.
在步骤611,UE通过上行(uplink,UL)的NAS消息,向AMF发送第一匹配组。也就是说,第一匹配组是通过NAS安全保护发送的。In step 611, the UE sends the first matching group to the AMF through an uplink (uplink, UL) NAS message. That is, the first matching group is sent through NAS security.
在步骤612,AMF网元接收UDM网元发送的列表3。列表3包括网络侧允许UE接入的CAG ID。AMF网元可以接收UDM网元发送的签约数据,签约数据包括列表3。In step 612, the AMF network element receives List 3 sent by the UDM network element. List 3 includes the CAG IDs that the network side allows the UE to access. The AMF network element may receive subscription data sent by the UDM network element, and the subscription data includes list 3.
在步骤612之前,AMF网元可以向UDM网元发送请求消息,从UDM获得SUPI对应的签约数据。可选的,所述请求消息包括SUPI。所述签约数据包括列表3,列表3包括网络侧允许UE接入的CAG ID。Before step 612, the AMF network element may send a request message to the UDM network element to obtain subscription data corresponding to the SUPI from the UDM. Optionally, the request message includes SUPI. The subscription data includes list 3, and list 3 includes CAG IDs that the network side allows the UE to access.
在步骤613,AMF将列表3和第一匹配组进行匹配,以确定是否存在第二匹配组。列表3包括第二匹配组中的CAG ID,并且,第一匹配组包括第二匹配组中的CAG ID。也就是说,AMF将列表3、第一匹配组中相同的CAG ID作为第二匹配组中的CAG ID。At step 613, the AMF matches List 3 with the first matching group to determine whether there is a second matching group. List 3 includes the CAG IDs in the second matching group, and the first matching group includes the CAG IDs in the second matching group. That is, the AMF takes the same CAG ID in List 3 and the first matching group as the CAG ID in the second matching group.
可选地,AMF将列表2、列表3、第一匹配组进行匹配,以确定是否存在第二匹配组。列表2包括第二匹配组中的CAG ID,列表3包括第二匹配组中的CAG ID,并且,第一匹配组包括第二匹配组中的CAG ID。也就是说,AMF将列表2、列表3、第一匹配组中相同的CAG ID作为第二匹配组中的CAG ID。Optionally, the AMF matches List 2, List 3, and the first matching group to determine whether there is a second matching group. List 2 includes the CAG IDs in the second matching group, List 3 includes the CAG IDs in the second matching group, and the first matching group includes the CAG IDs in the second matching group. That is, the AMF takes the same CAG ID in List 2, List 3, and the first matching group as the CAG ID in the second matching group.
对于AMF将列表2、列表3、第一匹配组进行匹配的情况,可以不进行步骤601-602。UE可以将列表1作为第一匹配组。For the case where the AMF matches list 2, list 3, and the first matching group, steps 601-602 may not be performed. The UE may take List 1 as the first matching group.
由于第一匹配组通过NAS消息发送至AMF网元,接入网设备无法对UE发送的第一匹配组进行检查和验证,不能确保UE的匹配结果即第一匹配组中的CAG ID均为列表2中的CAGID。因此,AMF网元可以根据列表2生成第二匹配组。Since the first matching group is sent to the AMF network element through a NAS message, the access network device cannot check and verify the first matching group sent by the UE, and cannot ensure that the matching result of the UE, that is, the CAG IDs in the first matching group are all lists CAGID in 2. Therefore, the AMF network element can generate the second matching group according to List 2.
可选地,AMF网元预配置有接入网设备支持的CAG ID,即AMF预配置有列表2。此时步骤604步中,接入网设备可以不向AMF网元发送列表2。或者列表2作为第二指示信息,指示UE请求接入CAG业务。Optionally, the AMF network element is preconfigured with a CAG ID supported by the access network device, that is, the AMF is preconfigured with List 2. At this time, in step 604, the access network device may not send list 2 to the AMF network element. Alternatively, List 2 is used as the second indication information, indicating that the UE requests to access the CAG service.
由于第一匹配组是UE已经进行匹配的得到的,为了减小计算量,AMF也可以不再对列表2进行匹配。即AMF可以进对第一匹配组和列表3进行匹配。此时,接入网设备向AMF网元发送的列表2可以作为第二指示信息,第二指示信息用于指示UE请求接入CAG业务。Since the first matching group is obtained by the UE having already performed the matching, in order to reduce the amount of computation, the AMF may no longer perform matching on the list 2. That is, the AMF can proceed to match the first matching group with the list 3. At this time, the list 2 sent by the access network device to the AMF network element may be used as the second indication information, and the second indication information is used to instruct the UE to request to access the CAG service.
如果存在第二匹配组,则允许UE接入第二匹配组中CAG ID对应的CAG业务。If there is a second matching group, the UE is allowed to access the CAG service corresponding to the CAG ID in the second matching group.
在步骤614,若允许UE接入,则AMF可以向接入网设备发送第二匹配组。第二匹配组可以通过N2消息发送。第二匹配组包括允许UE接入的CAG的标识。接入网设备接收第二匹配组,以获取允许UE接入的CAG ID。可选的,接入网设备接收到允许UE接入的第二匹配组之后,执行第二匹配组中CAG ID对应的无线资源管理等操作,例如向UE发送第二匹配组中每个CAG ID对应的CAG的资源配置信息等。可选的,接入网设备向UE发送所述第二匹配组内CAG ID对应的策略信息,例如每个CAG的QoS信息等。策略信息用于指示UE接入CAG之后,进行数据传输的相关参数。本申请实施例中接入网设备对于第二匹配组内CAG ID的具体操作不做限制。In step 614, if the UE is allowed to access, the AMF may send the second matching group to the access network device. The second matching group may be sent via an N2 message. The second matching set includes the identification of the CAGs that the UE is allowed to access. The access network device receives the second matching group to obtain the CAG ID that the UE is allowed to access. Optionally, after receiving the second matching group that allows the UE to access, the access network device performs operations such as radio resource management corresponding to the CAG ID in the second matching group, for example, sending each CAG ID in the second matching group to the UE. The resource configuration information of the corresponding CAG, etc. Optionally, the access network device sends to the UE policy information corresponding to the CAG ID in the second matching group, for example, QoS information of each CAG and the like. The policy information is used to indicate the relevant parameters for data transmission after the UE accesses the CAG. In the embodiment of the present application, the access network device does not limit the specific operation of the CAG ID in the second matching group.
在步骤615,AMF网元向UE发送注册响应消息。注册响应消息可以是注册接受消息或注册拒绝消息。In step 615, the AMF network element sends a registration response message to the UE. The registration response message can be a registration accept message or a registration reject message.
若允许UE接入,则AMF网元向UE发送注册接受消息。可选的,AMF网元向UE发送第二匹配组,即允许UE接入的CAG ID。If the UE is allowed to access, the AMF network element sends a registration acceptance message to the UE. Optionally, the AMF network element sends the second matching group to the UE, that is, the CAG ID that the UE is allowed to access.
若不允许UE接入,则AMF网元向UE发送注册拒绝消息。可选的,所述注册拒绝消息包括校验失败指示信息。校验失败指示信息可以用于指示注册拒绝的原因,例如CAG ID校验不通过或或UE身份认证失败等。If the UE is not allowed to access, the AMF network element sends a registration rejection message to the UE. Optionally, the registration rejection message includes verification failure indication information. The verification failure indication information may be used to indicate the reason for the registration rejection, for example, the CAG ID verification fails or the UE identity authentication fails.
可选的,AMF通过其他下行NAS消息向UE发送是否允许UE接入CAG的信息。。Optionally, the AMF sends to the UE information on whether to allow the UE to access the CAG through other downlink NAS messages. .
可选地,在步骤610之前,进一步地,在步骤603之前,UE可以接收保护指示信息,保护指示信息用于指示UE发送加密的第一匹配组。也就是说,保护指示信息用于指示UE对第一匹配组进行加密,并通过加密的方式发送第一匹配组。例如,在步骤603之前,UE进行了一次注册的流程。该次注册接入过程中,注册接收消息包括保护指示信息。在后续UE接入CAG的过程中,采用上述方式对注册拒绝消息进行保护。Optionally, before step 610, further, before step 603, the UE may receive protection indication information, where the protection indication information is used to instruct the UE to send the encrypted first matching group. That is, the protection indication information is used to instruct the UE to encrypt the first matching group, and send the first matching group in an encrypted manner. For example, before step 603, the UE performs a registration process. In this registration access process, the registration reception message includes protection indication information. In the subsequent process of the UE accessing the CAG, the above-mentioned method is used to protect the registration rejection message.
通过步骤601-615,UE通过加密的方式发送第一匹配组,可以避免信息的泄露。Through steps 601-615, the UE sends the first matching group in an encrypted manner, which can avoid information leakage.
在一些实施例中,UE可以通过除RR消息之外的NAS消息向AMF网元发送第一指示信息。AMF通过第一指示信息确定UE请求接入CAG的流程。In some embodiments, the UE may send the first indication information to the AMF network element through a NAS message other than the RR message. The AMF determines the process of the UE requesting to access the CAG through the first indication information.
在一些实施例中,也可能基站不广播列表2,或者UE不进行基站广播列表2与列表1的匹配;UE通过NAS消息发送加密的列表1至AMF。后续的操作与后面流程相同,不同点在于第一匹配组,此时为列表1。In some embodiments, it is also possible that the base station does not broadcast list 2, or the UE does not perform matching between the base station broadcast list 2 and the list 1; the UE sends the encrypted list 1 to the AMF through a NAS message. Subsequent operations are the same as the following procedures, except that the first matching group is List 1 in this case.
在一些实施例中,还可能UE基于AMF的公钥加密第一匹配组,得到第一匹配组的密文。并通过将第一匹配组的密文通过NAS消息发送给AMF,例如通过RR消息与SUCI一起发送给AMF;或者通过其他NAS消息发送给AMF。AMF通过AMF的私钥解密第一匹配组的密文得到第一匹配组。后面判定的流程与上述实施例相同。这里UE获得AMF的公钥的过程,可以为预置,或者在之前注册流程中有AMF分发给UE的;不做限制。In some embodiments, it is also possible that the UE encrypts the first matching group based on the public key of the AMF to obtain the ciphertext of the first matching group. And the ciphertext of the first matching group is sent to the AMF through a NAS message, for example, sent to the AMF through an RR message together with SUCI; or sent to the AMF through other NAS messages. The AMF decrypts the ciphertext of the first matching group through the private key of the AMF to obtain the first matching group. The flow of the subsequent determination is the same as that of the above-mentioned embodiment. Here, the process for the UE to obtain the public key of the AMF may be preset, or it may be distributed to the UE by the AMF in the previous registration process; there is no limitation.
图9是本申请实施例提供的一种通信方法的示意性流程图。FIG. 9 is a schematic flowchart of a communication method provided by an embodiment of the present application.
UE可以根据归属网络密钥对第一匹配组进行加密,并将加密的第一匹配组发送至UDM网元,UDM网元对加密的第一匹配组进行解密,将解密后的第一匹配组发送至AMF。The UE may encrypt the first matching group according to the home network key, and send the encrypted first matching group to the UDM network element. The UDM network element decrypts the encrypted first matching group, and decrypts the decrypted first matching group. Sent to AMF.
UE保存有列表1,列表1可以称为被允许的CAGID列表(allowed CAG ID list)。列表1包括配置给UE的CAG的标识。即列表1表示UE支持接入的CAG。具体UE如何获得列表1不做限制。例如,列表1可以包括UE可以从运营商处获取的CAG ID,可以包括网管配置的CAG ID,可以包括UE出厂时配置的CAG ID等。The UE stores a list 1, and the list 1 may be referred to as an allowed CAG ID list (allowed CAG ID list). List 1 includes the identification of the CAGs configured to the UE. That is, List 1 indicates the CAGs that the UE supports to access. There is no specific limitation on how the UE obtains the list 1. For example, the list 1 may include the CAG ID that the UE may obtain from the operator, may include the CAG ID configured by the network management, may include the CAG ID configured when the UE leaves the factory, and the like.
在步骤601,接入网设备广播系统信息,系统信息包括列表2,列表2是接入网设备覆盖的小区支持的CAG ID列表。广播的内容没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备广播的信息。In step 601, the access network equipment broadcasts system information, and the system information includes list 2, which is a list of CAG IDs supported by cells covered by the access network equipment. The broadcast content is not encrypted and protected, and devices within the coverage of the access network device can obtain the information broadcast by the access network device.
可选地,在步骤601,接入网设备单播发送系统信息,系统信息包括列表2,列表2是小区支持的CAG ID列表。单播的内容可能没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备单播的信息。Optionally, in step 601, the access network device unicast sends system information, the system information includes list 2, and list 2 is a list of CAG IDs supported by the cell. The unicast content may not be protected by encryption, and devices within the coverage of the access network device can obtain the unicast information of the access network device.
在步骤602,UE对列表1和列表2进行匹配,即UE检查是否存在第一匹配组,第一匹配组包括至少一个CAG ID。第一匹配组中的CAG ID即属于列表1,又同时属于列表2。可以将第一匹配组中的CAG ID称为匹配的CAG ID(selected matching CAG ID)。In step 602, the UE matches the list 1 and the list 2, that is, the UE checks whether there is a first matching group, and the first matching group includes at least one CAG ID. The CAG IDs in the first matching group belong to both list 1 and list 2 at the same time. The CAG IDs in the first matching group may be referred to as matched CAG IDs (selected matching CAG IDs).
在步骤703,UE向接入网设备发送注册请求消息,注册请求消息包括SUCI。注册请求消息可以是控制面消息。In step 703, the UE sends a registration request message to the access network device, where the registration request message includes SUCI. The registration request message may be a control plane message.
注册请求消息还包括,加密的第一匹配组。The registration request message also includes the encrypted first matching group.
在步骤703之前,UE计算SUCI,所述SUCI为对于永久身份SUPI的封装,以使攻击者不能通过窃听空口获得SUPI。SUPI是UE的永久身份标识。也就是说,UE对SUPI加密以得到SUCI。Before step 703, the UE calculates the SUCI, where the SUCI is the encapsulation of the permanent identity SUPI, so that an attacker cannot obtain the SUPI by eavesdropping on the air interface. SUPI is the permanent identity of the UE. That is, the UE encrypts SUPI to obtain SUCI.
SUCI可以包括SUPI类型、路由指示符、保护方案标识符、归属网络公钥标识符等信息中的一种或多种。其中,路由指示符和归属网络公钥标识符不进行加密。保护方案标识符用于指示上述SUCI采用的保护方案,即对SUPI加密的方案。路由指示符可用于指示能够为UE提供服务的UDM网元。SUCI may include one or more of SUPI type, routing indicator, protection scheme identifier, home network public key identifier, and other information. The routing indicator and the home network public key identifier are not encrypted. The protection scheme identifier is used to indicate the protection scheme adopted by the above-mentioned SUCI, that is, the encryption scheme for SUPI. The routing indicator can be used to indicate the UDM network elements that can serve the UE.
在步骤703之前,UE根据归属网络公钥对第一匹配组进行加密,以得到加密的第一匹配组。UE根据归属网络公钥对第一匹配组进行加密,也可以称为UE对第一匹配组进行封装。Before step 703, the UE encrypts the first matching group according to the home network public key to obtain the encrypted first matching group. The UE encrypts the first matching group according to the home network public key, which may also be referred to as the UE encapsulating the first matching group.
UE可以采用与SUCI相同的加密方式对第一匹配组进行加密。UE可以对SUPI和第一匹配组共同进行加密,封装在一个信息中。也就是说,SUCI与加密的第一匹配组可以承载在相同的消息中。或者,UE可以分别对SUPI和第一匹配组进行加密。可选的,加密的第一匹配组包括路由指示符、保护方案标识符、归属网络公钥标识符等信息中的一种或多种。SUCI与加密的第一匹配组可以承载在相同或不同的消息中。The UE may encrypt the first matching group by using the same encryption method as the SUCI. The UE may jointly encrypt the SUPI and the first matching group, and encapsulate them in one message. That is, the SUCI and the encrypted first match group may be carried in the same message. Alternatively, the UE may encrypt the SUPI and the first matching group separately. Optionally, the encrypted first matching group includes one or more of information such as a routing indicator, a protection scheme identifier, and a home network public key identifier. The SUCI and the encrypted first matching set may be carried in the same or different messages.
UE也可以采用与SUCI不同的加密方式对第一匹配组进行加密。例如,SUCI与加密的第一匹配组可以对应于不同的归属网络密钥,即对应于不同的归属网络公钥标识符。加密的第一匹配组包括路由指示符、保护方案标识符、归属网络公钥标识符等信息中的一种或多种。SUCI与加密的第一匹配组可以承载在相同或不同的消息中。归属网络密钥包括归属网络公钥和归属网络私钥。UE和UDM网元包括与归属网络公钥标识符与归属网络公钥、归属网络私钥的对应关系。The UE may also encrypt the first matching group by using a different encryption method from that of the SUCI. For example, the SUCI and encrypted first matching groups may correspond to different home network keys, ie, to different home network public key identifiers. The encrypted first matching group includes one or more of routing indicators, protection scheme identifiers, home network public key identifiers, and the like. The SUCI and the encrypted first matching set may be carried in the same or different messages. The home network key includes the home network public key and the home network private key. The UE and the UDM network element include the correspondence between the home network public key identifier, the home network public key, and the home network private key.
可选地,UE向接入网设备发送第一指示信息。第一指示信息用于指示UE请求接入CAG业务。Optionally, the UE sends the first indication information to the access network device. The first indication information is used to instruct the UE to request to access the CAG service.
可选地,第一指示信息承载在注册请求消息或其他消息中。例如,第一指示信息可以通过无线资源控制(radio resource control,RRC)消息发送。第一指示信息可以采用多种形式,例如,第一指示信息可以包括UE接收的列表2,或者,第一指示信息可以占用注册请求消息的某个字段。Optionally, the first indication information is carried in a registration request message or other messages. For example, the first indication information may be sent through a radio resource control (radio resource control, RRC) message. The first indication information may take various forms, for example, the first indication information may include the list 2 received by the UE, or the first indication information may occupy a certain field of the registration request message.
在步骤704,接入网设备向AMF网元发送注册请求消息。注册请求消息包括SUCI和加密的第一匹配组。注册请求消息可以通过接入网设备与AMF网元之间的N2接口发送,即注册请求消息可以是N2消息。In step 704, the access network device sends a registration request message to the AMF network element. The registration request message includes the SUCI and the encrypted first match set. The registration request message may be sent through the N2 interface between the access network device and the AMF network element, that is, the registration request message may be an N2 message.
可选地,接入网设备可以向AMF网元发送第二指示信息。例如,若接入网设备接收到第一指示信息,则接入网设备向AMF网元发送第二指示信息。第二指示信息指示UE请求接入CAG业务。Optionally, the access network device may send the second indication information to the AMF network element. For example, if the access network device receives the first indication information, the access network device sends the second indication information to the AMF network element. The second indication information indicates that the UE requests to access the CAG service.
第二指示信息可以承载在注册请求消息中。第二指示信息也可以承载在其他消息中。The second indication information may be carried in the registration request message. The second indication information may also be carried in other messages.
可选地,接入网设备可以向AMF网元发送列表2。第二指示信息可以包括列表2。Optionally, the access network device may send List 2 to the AMF network element. The second indication information may include list 2.
在步骤705,AMF网元向AUSF发送加密的第一匹配组和SUCI。SUCI可以承载在第一身份认证请求消息中。加密的第一匹配组可以承载在第一身份认证请求消息或其他消息中。第一身份认证请求消息可以是Nausf_UEAuthentication_Authenticate Request消息。At step 705, the AMF network element sends the encrypted first match group and SUCI to the AUSF. The SUCI may be carried in the first identity authentication request message. The encrypted first matching group may be carried in the first identity authentication request message or other messages. The first identity authentication request message may be a Nausf_UEAuthentication_Authenticate Request message.
可选的,AMF可以接收第二指示信息和/或列表2。Optionally, the AMF may receive the second indication information and/or List 2.
在步骤706,AUSF网元向UDM/SIDF网元发送加密的第一匹配组和SUCI。SUCI可以承载在第二认证请求消息中。加密的第一匹配组可以承载在第二认证请求消息或其他消息中。第二认证请求消息种可以是Nudm_UEAuthentication_Get Request消息。At step 706, the AUSF network element sends the encrypted first matching set and SUCI to the UDM/SIDF network element. SUCI may be carried in the second authentication request message. The encrypted first match group may be carried in the second authentication request message or other message. The second authentication request message type may be a Nudm_UEAuthentication_Get Request message.
在步骤707,UDM/SIDF网元可以根据归属网络公钥标识符对应的归属网络私钥,对SUCI和加密的第一匹配组进行解密。In step 707, the UDM/SIDF network element may decrypt the SUCI and the encrypted first matching group according to the home network private key corresponding to the home network public key identifier.
UDM/SIDF网元对SUCI解密以得到SUPI,并执行认证算法选择,根据选择的认证算法生成认证向量。UDM/SIDF网元对加密的第一匹配组进行解密,以得到第一匹配组。The UDM/SIDF network element decrypts SUCI to obtain SUPI, performs authentication algorithm selection, and generates an authentication vector according to the selected authentication algorithm. The UDM/SIDF network element decrypts the encrypted first matching group to obtain the first matching group.
或者,UDM/SIDF网元对与SUPI、第一匹配组对应的一个信息进行解密,得到SUPI、第一匹配组。Or, the UDM/SIDF network element decrypts a piece of information corresponding to the SUPI and the first matching group to obtain the SUPI and the first matching group.
UDM/SIDF网元根据SUPI确定UE的签约数据。UE的签约数据包括列表3,列表3包括网络侧允许UE接入的CAG ID。The UDM/SIDF network element determines the subscription data of the UE according to the SUPI. The subscription data of the UE includes a list 3, and the list 3 includes the CAG IDs that the network side allows the UE to access.
UDM/SIDF网元对第一匹配组和列表3进行匹配,以获取第三配匹配组。第三匹配组中包括第一匹配组和列表3中相同的CAG ID。The UDM/SIDF network element matches the first matching group with List 3 to obtain the third matching matching group. The third matching group includes the same CAG IDs in the first matching group and list 3.
若UDM/SIDF网元确定不存在第三匹配组不进行步骤UE认证流程及步骤614。在不存在第三匹配组,校验失败的情况下,无需进行后续的UE认证流程,节省了系统的信令开销。If the UDM/SIDF network element determines that there is no third matching group, the UE authentication process and step 614 are not performed. In the case that the third matching group does not exist and the verification fails, the subsequent UE authentication process does not need to be performed, which saves the signaling overhead of the system.
UDM/SIDF网元可以拒绝UE的注册。UDM可以经过或不经过AUSF网元,向AMF网元发送拒绝指示信息。The UDM/SIDF network element may reject the registration of the UE. The UDM can send rejection indication information to the AMF network element with or without the AUSF network element.
在步骤615之前,UDM网元可以经过或不经过AUSF网元向AMF网元发送第一拒绝指示信息。第一拒绝指示信息可以包括注册拒绝的原因。也就是说,第一拒绝指示信息可以用于指示不存在第三匹配组,即校验失败,不存在允许UE接入的CAG。Before step 615, the UDM network element may send the first rejection indication information to the AMF network element with or without the AUSF network element. The first rejection indication information may include the reason for the registration rejection. That is, the first rejection indication information may be used to indicate that there is no third matching group, that is, the verification fails and there is no CAG that allows the UE to access.
AMF网元接收UDM网元发送的拒绝指示信息,确定不存在第二匹配组,即不存在允许UE接入的CAG。The AMF network element receives the rejection indication information sent by the UDM network element, and determines that there is no second matching group, that is, there is no CAG that allows the UE to access.
在步骤615,AMF网元向UE发送注册拒绝消息。In step 615, the AMF network element sends a registration rejection message to the UE.
若UDM/SIDF网元确定存在第三匹配组,进行步骤709-710。步骤709-710为认证流程中的步骤,认证流程用于UE的身份认证。If the UDM/SIDF network element determines that there is a third matching group, go to steps 709-710. Steps 709-710 are steps in the authentication process, and the authentication process is used for the identity authentication of the UE.
具体地,在步骤709,UDM/SIDF网元向AUSF网元发送认证向量。认证向量可以承载在第一认证回复消息中。第一认证回复消息可以是Nudm_UEAuthentication_Get ReSponse消息。Specifically, in step 709, the UDM/SIDF network element sends the authentication vector to the AUSF network element. The authentication vector may be carried in the first authentication reply message. The first authentication reply message may be a Nudm_UEAuthentication_Get ReSponse message.
在步骤710,AUSF网元向AMF网元发送认证向量。认证向量可以承载在第二认证回复消息中。第二认证回复消息可以是Nudm_UEAuthentication_Get ReSponse消息。At step 710, the AUSF network element sends an authentication vector to the AMF network element. The authentication vector may be carried in the second authentication reply message. The second authentication reply message may be a Nudm_UEAuthentication_Get ReSponse message.
UDM/SIDF网元可以向AMF网元发送第三匹配组。The UDM/SIDF network element may send a third matching set to the AMF network element.
UDM/SIDF网元可以向AUSF网元发送第三匹配组。AUSF网元向AMF网元发送第三匹配组。也就是说,第三匹配组可以经过经AUSF网元转发,发送至AMF网元。第三匹配组可以承载在第一认证回复消息或其他消息中。第三匹配组可以承载在第二认证回复消息或其他消息中。The UDM/SIDF network element may send a third matching set to the AUSF network element. The AUSF network element sends the third matching group to the AMF network element. That is to say, the third matching group may be forwarded by the AUSF network element and sent to the AMF network element. The third matching group may be carried in the first authentication reply message or other message. The third matching group may be carried in the second authentication reply message or other message.
UDM/SIDF还可以通过其他消息向AMF网元发送第三匹配组,不经过其他网元的转发。The UDM/SIDF can also send the third matching group to the AMF network element through other messages without being forwarded by other network elements.
UE与AUSF网元进行双向认证。认证成功之后,AUSF生成并向SEAF网元发送密钥KSEAF。SEAF网元根据密钥KSEAF生成密钥KAMF,并向UE发送KSI,KSI用于指示密钥KAMF。UE根据KSI可以确定密钥KAMF。SEAF向AMF发送KAMF。这里SEAF可以与AMF独立部署,也可以单独部署。本申请实施例对上述UE与AUSF网元进行认证的步骤具体细节和流程不做限制。The UE and the AUSF network element perform bidirectional authentication. After the authentication is successful, the AUSF generates and sends the key KSEAF to the SEAF network element. The SEAF network element generates the key KAMF according to the key KSEAF, and sends the KSI to the UE, where the KSI is used to indicate the key KAMF. The UE can determine the key KAMF according to the KSI. SEAF sends KAMF to AMF. Here SEAF can be deployed independently of AMF, or it can be deployed separately. The embodiments of the present application do not limit the specific details and procedures of the above-mentioned steps for authenticating the UE and the AUSF network element.
通过上述步骤,AMF网元与UE共享密钥KAMF。Through the above steps, the AMF network element shares the key KAMF with the UE.
在认证流程之后,根据密钥KAMF,UE与AMF可以建立NAS安全上下文,UE与接入网设备可以建立AS安全上下文。After the authentication process, according to the key KAMF, the UE and the AMF can establish the NAS security context, and the UE and the access network device can establish the AS security context.
在步骤614之前,AMF网元接收UDM网元发送的第三匹配组。AMF网元根据第三匹配组确定第二匹配组。Before step 614, the AMF network element receives the third matching group sent by the UDM network element. The AMF network element determines the second matching group according to the third matching group.
AMF网元可以将第三匹配组作为第二匹配组。The AMF network element may use the third matching group as the second matching group.
AMF网元可以对第三匹配组与列表2进行匹配,以确定第二匹配组。第二匹配组包括第三匹配组与列表2中相同的CAG ID。The AMF network element may match the third matching group with List 2 to determine the second matching group. The second match group includes the same CAG IDs in the third match group as in Listing 2.
由于第一匹配组通过加密的方式发送至UDM网元,接入网设备无法对UE发送的第一匹配组进行检查和验证,不能确保UE的匹配结果即第一匹配组中的CAG ID均为列表2中的CAG ID。因此,AMF网元可以根据列表2生成第二匹配组。Since the first matching group is sent to the UDM network element in an encrypted manner, the access network device cannot check and verify the first matching group sent by the UE, and cannot ensure that the matching result of the UE, that is, the CAG IDs in the first matching group are all CAG ID in Listing 2. Therefore, the AMF network element can generate the second matching group according to List 2.
可选地,AMF网元预配置有接入网设备支持的CAG ID,即AMF预配置有列表2。此时步骤704步中,接入网设备可以不向AMF网元发送列表2。或者接入网设备向AMF网元发送的列表2可以作为第二指示信息,指示UE请求接入CAG业务。Optionally, the AMF network element is preconfigured with a CAG ID supported by the access network device, that is, the AMF is preconfigured with List 2. At this time, in step 704, the access network device may not send the list 2 to the AMF network element. Alternatively, the list 2 sent by the access network device to the AMF network element may be used as the second indication information, indicating that the UE requests to access the CAG service.
由于第一匹配组是UE已经进行匹配的得到的,为了减小计算量,AMF也可以不再对列表2进行匹配。即AMF可以进对第一匹配组和列表3进行匹配。此时,接入网设备向AMF网元发送的列表2可以作为第二指示信息,第二指示信息用于指示UE请求接入CAG业务。Since the first matching group is obtained by the UE having already performed the matching, in order to reduce the amount of computation, the AMF may no longer perform matching on the list 2. That is, the AMF can proceed to match the first matching group with the list 3. At this time, the list 2 sent by the access network device to the AMF network element may be used as the second indication information, and the second indication information is used to instruct the UE to request to access the CAG service.
若存在第二匹配组,进行步骤614。If there is a second matching group, go to step 614 .
在步骤614,则AMF网元可以向接入网设备发送第二匹配组。第二匹配组可以通过N2消息发送。第二匹配组包括允许UE接入的CAG的标识。接入网设备获取允许UE接入的CAGID。可选的,接入网设备接收到允许UE接入的第二匹配组之后,执行第二匹配组中CAG ID对应的无线资源管理等操作。本申请实施例对于接入网设备的具体操作不做限制。At step 614, the AMF network element may send the second matching group to the access network device. The second matching group may be sent via an N2 message. The second matching set includes the identification of the CAGs that the UE is allowed to access. The access network device acquires the CAGID that the UE is allowed to access. Optionally, after receiving the second matching group that allows the UE to access, the access network device performs operations such as radio resource management corresponding to the CAG ID in the second matching group. The embodiments of the present application do not limit the specific operations of the access network device.
在步骤615,AMF网元向UE发送注册回复消息。注册回复消息可以是注册接受消息或注册拒绝消息。In step 615, the AMF network element sends a registration reply message to the UE. The registration reply message can be a registration acceptance message or a registration rejection message.
若AMF网元确定存在第二匹配组,允许UE接入,则AMF网元向UE发送注册接受消息。可选的,AMF网元向UE发送第二匹配组,即允许UE接入的CAG ID。If the AMF network element determines that there is a second matching group and allows the UE to access, the AMF network element sends a registration acceptance message to the UE. Optionally, the AMF network element sends the second matching group to the UE, that is, the CAG ID that the UE is allowed to access.
若不允许UE接入,则AMF网元向UE发送注册拒绝消息。可选的,所述注册拒绝消息包括第二拒绝指示信息,第二拒绝指示信息用于指示注册失败的原因,例如CAG ID校验不通过,或认证失败。If the UE is not allowed to access, the AMF network element sends a registration rejection message to the UE. Optionally, the registration rejection message includes second rejection indication information, where the second rejection indication information is used to indicate the reason for the registration failure, for example, the CAG ID verification fails, or the authentication fails.
可选的,注册回复消息可以是下行NAS消息。Optionally, the registration reply message may be a downlink NAS message.
通过上述步骤,UE通过加密的方式发送第一匹配组,可以避免信息的泄露。Through the above steps, the UE sends the first matching group in an encrypted manner, which can avoid information leakage.
在进行UE的认证流程之前,UDM/SIDF网元对UE能够是否能够接入CAG进行校验,即对第一匹配组和列表3进行匹配。Before performing the authentication process of the UE, the UDM/SIDF network element checks whether the UE can access the CAG, that is, matches the first matching group with the list 3.
在一些实施例中,可以由AMF对第一匹配组和列表3进行匹配,进行校验。In some embodiments, the first matching group and list 3 may be matched by the AMF for verification.
在步骤707,UDM/SIDF网元可以根据归属网络公钥标识符对应的归属网络私钥,对SUCI和加密的第一匹配组进行解密。In step 707, the UDM/SIDF network element may decrypt the SUCI and the encrypted first matching group according to the home network private key corresponding to the home network public key identifier.
UDM/SIDF网元对SUCI解密以得到SUPI,并执行认证算法选择,根据选择的认证算法生成认证向量。UDM/SIDF网元对加密的第一匹配组进行解密,以得到第一匹配组。The UDM/SIDF network element decrypts SUCI to obtain SUPI, performs authentication algorithm selection, and generates an authentication vector according to the selected authentication algorithm. The UDM/SIDF network element decrypts the encrypted first matching group to obtain the first matching group.
或者,UDM/SIDF网元对与SUPI、第一匹配组对应的一个信息进行解密,得到SUPI、第一匹配组。Or, the UDM/SIDF network element decrypts a piece of information corresponding to the SUPI and the first matching group to obtain the SUPI and the first matching group.
UDM/SIDF网元根据SUPI确定UE的签约数据。UE的签约数据包括列表3,列表3包括网络侧允许UE接入的CAG ID。The UDM/SIDF network element determines the subscription data of the UE according to the SUPI. The subscription data of the UE includes a list 3, and the list 3 includes the CAG IDs that the network side allows the UE to access.
在步骤707之后,认证流程,用于UE的身份认证。After step 707, the authentication process is used for the identity authentication of the UE.
UDM/SIDF网元向AMF网元发送第一匹配组和列表3。The UDM/SIDF network element sends the first matching group and list 3 to the AMF network element.
UDM/SIDF网元可以向AMF网元发送第一匹配组和列表3。第一匹配组和/或列表3可以承载在第一身份认证回复消息或其他消息中。The UDM/SIDF network element may send the first matching group and list 3 to the AMF network element. The first matching group and/or list 3 may be carried in the first identity authentication reply message or other messages.
UDM/SIDF网元可以向AUSF网元发送第一匹配组和列表3。AUSF网元向AMF网元发送第一匹配组和列表3。也就是说,第一匹配组和列表3可以经过经AUSF网元转发,发送至AMF网元。第一匹配组和/或列表3可以承载在第二认证回复消息或其他消息中。The UDM/SIDF network element may send the first matching group and list 3 to the AUSF network element. The AUSF network element sends the first matching group and the list 3 to the AMF network element. That is to say, the first matching group and the list 3 may be forwarded by the AUSF network element and sent to the AMF network element. The first match group and/or list 3 may be carried in the second authentication reply message or other message.
在步骤614之前,AMF网元根据第一匹配组和列表3进行匹配,以确定第二匹配组。第二匹配组中包括第一匹配组和列表3中国相同的CAG ID。Before step 614, the AMF network element performs matching according to the first matching group and list 3 to determine the second matching group. The second matching group includes the same CAG ID as the first matching group and List 3 China.
AMF可以将列表3、第一匹配组中相同的CAG ID作为第二匹配组中的CAG ID。,AMF也可以将列表2、列表3、第一匹配组中相同的CAG ID作为第二匹配组中的CAG ID。The AMF may use the same CAG ID in List 3 and the first matching group as the CAG ID in the second matching group. , the AMF may also use the same CAG ID in List 2, List 3, and the first matching group as the CAG ID in the second matching group.
在步骤614,若允许UE接入,则AMF可以向接入网设备发送第二匹配组。In step 614, if the UE is allowed to access, the AMF may send the second matching group to the access network device.
在步骤615,AMF网元向UE发送注册回复消息。注册回复消息可以是注册接受消息或注册拒绝消息。In step 615, the AMF network element sends a registration reply message to the UE. The registration reply message can be a registration acceptance message or a registration rejection message.
在一些实施例中,UE可以不进行列表2与列表1的匹配,基站也可以不广播列表2,。UE通过NAS消息向AMF网元发送加密的列表1。后续的操作与上述流程相同。与上述流程相比,该方式的不同点在于第一匹配组此时为列表1。也就是说,对于AMF将第三匹配组与列表2进行匹配的情况,可以不进行步骤601-602。UE可以将列表1作为第一匹配组。In some embodiments, the UE may not perform the matching between List 2 and List 1, and the base station may also not broadcast List 2. The UE sends the encrypted list 1 to the AMF network element through a NAS message. Subsequent operations are the same as the above process. Compared with the above process, the difference of this method is that the first matching group is List 1 at this time. That is, for the case where the AMF matches the third matching group with List 2, steps 601-602 may not be performed. The UE may take List 1 as the first matching group.
图10是本申请实施例提供的一种通信方法的示意性流程图。FIG. 10 is a schematic flowchart of a communication method provided by an embodiment of the present application.
UE可以通过加密的AS消息,向接入网设备网元发送第一匹配组。The UE may send the first matching group to the access network device network element through the encrypted AS message.
UE配置有列表1。列表1包括UE支持接入的CAG ID。The UE is configured with List 1. List 1 includes the CAG IDs for which the UE supports access.
在步骤601,接入网设备向UE发送列表2。列表2包括接入网设备覆盖的小区支持的CAG ID。该小区是接入网设备覆盖的一个或多个小区中该UE所在的小区。广播的内容可能没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备广播的信息。In step 601, the access network device sends List 2 to the UE. List 2 includes the CAG IDs supported by the cells covered by the access network equipment. The cell is a cell where the UE is located in one or more cells covered by the access network device. The broadcast content may not be encrypted and protected, and devices within the coverage of the access network device can obtain the information broadcast by the access network device.
可选的,在步骤601,接入网设备单播发送系统信息,系统信息包括列表2,列表2包括小区支持的CAG ID。单播的内容可能没有加密保护,接入网设备覆盖范围内的设备都可以获取接入网设备单播的信息。Optionally, in step 601, the access network device unicast sends system information, the system information includes list 2, and list 2 includes CAG IDs supported by the cell. The unicast content may not be protected by encryption, and devices within the coverage of the access network device can obtain the unicast information of the access network device.
在步骤602,UE对列表1和列表2进行匹配,以获得第一匹配组。第一匹配组包括列表1和列表2中相同的CAG ID。UE对列表1和列表2进行匹配,即UE确定第一匹配组,第一匹配组包括至少一个CAG ID。第一匹配组中的CAG ID即属于列表1,又同时属于列表2。可以将第一匹配组中的CAG ID称为匹配的CAG ID(selected matching CAG ID)。In step 602, the UE matches List 1 and List 2 to obtain a first matching group. The first matching group includes the same CAG IDs in List 1 and List 2. The UE matches List 1 and List 2, that is, the UE determines a first matching group, and the first matching group includes at least one CAG ID. The CAG IDs in the first matching group belong to both list 1 and list 2 at the same time. The CAG IDs in the first matching group may be referred to as matched CAG IDs (selected matching CAG IDs).
在步骤603,UE向接入网设备发送注册请求消息,注册请求消息包括SUCI。In step 603, the UE sends a registration request message to the access network device, where the registration request message includes SUCI.
在步骤603之前,UE计算SUCI,所述SUCI为对于永久身份SUPI的封装,以使攻击者不能通过窃听空口获得SUPI。SUPI是UE的永久身份标识。也就是说,UE对SUPI加密以得到SUCI。Before step 603, the UE calculates the SUCI, where the SUCI is the encapsulation of the permanent identity SUPI, so that the attacker cannot obtain the SUPI by eavesdropping on the air interface. SUPI is the permanent identity of the UE. That is, the UE encrypts SUPI to obtain SUCI.
SUCI可以包括SUPI类型、路由指示符、保护方案标识符、归属网络公钥标识符等信息中的一种或多种。其中,路由指示符和归属网络公钥标识符不进行加密。保护方案标识符用于指示商城SUCI采用的保护方案,即对SUPI加密的方案。路由指示符可用于指示能够为UE提供服务的UDM网元。SUCI may include one or more of SUPI type, routing indicator, protection scheme identifier, home network public key identifier, and other information. The routing indicator and the home network public key identifier are not encrypted. The protection scheme identifier is used to indicate the protection scheme adopted by the mall SUCI, that is, the scheme for encrypting SUPI. The routing indicator can be used to indicate the UDM network elements that can serve the UE.
可选地,UE向接入网设备发送第一指示信息。第一指示信息用于指示UE请求接入CAG。Optionally, the UE sends the first indication information to the access network device. The first indication information is used to instruct the UE to request to access the CAG.
UE可以向接入网设备发送的第一指示信息用于指示UE请求接入CAG。由于RR消息中与UE注册相关的信息由UE发送给AMF网元,接入网设备需要对该信息进行转发,无法感知该信息。因此,通过UE向接入网设备发送第一指示信息,可以向接入网设备指示进行对应于UE请求接入CAG的流程。The first indication information that the UE may send to the access network device is used to instruct the UE to request to access the CAG. Since the information related to the UE registration in the RR message is sent by the UE to the AMF network element, the access network device needs to forward the information and cannot perceive the information. Therefore, by sending the first indication information to the access network device by the UE, the access network device can be instructed to perform a process corresponding to the UE requesting to access the CAG.
可选地,第一指示信息承载在注册请求消息或其他消息中。例如,第一指示信息可以通过无线资源控制(radio resource control,RRC)消息发送。第一指示信息可以采用多种形式,例如,第一指示信息可以包括UE接收的列表2,或者,第一指示信息可以占用注册请求消息的某个字段。Optionally, the first indication information is carried in a registration request message or other messages. For example, the first indication information may be sent through a radio resource control (radio resource control, RRC) message. The first indication information may take various forms, for example, the first indication information may include the list 2 received by the UE, or the first indication information may occupy a certain field of the registration request message.
在步骤604,接入网设备向AMF网元发送注册请求消息。注册请求消息包括SUCI。注册请求消息可以通过接入网设备与AMF网元之间的N2接口发送,即注册请求消息可以是N2消息。In step 604, the access network device sends a registration request message to the AMF network element. The registration request message includes SUCI. The registration request message may be sent through the N2 interface between the access network device and the AMF network element, that is, the registration request message may be an N2 message.
可选地,接入网设备可以向AMF网元发送第二指示信息。例如,若接入网设备接收到第一指示信息,则接入网设备向AMF网元发送第二指示信息。第二指示信息指示UE请求接入CAG业务。Optionally, the access network device may send the second indication information to the AMF network element. For example, if the access network device receives the first indication information, the access network device sends the second indication information to the AMF network element. The second indication information indicates that the UE requests to access the CAG service.
第二指示信息可以承载在注册请求消息中。第二指示信息也可以承载在其他消息中。The second indication information may be carried in the registration request message. The second indication information may also be carried in other messages.
可选地,接入网设备可以向AMF网元发送列表2。第二指示信息可以包括列表2。Optionally, the access network device may send List 2 to the AMF network element. The second indication information may include list 2.
在步骤605,AMF网元向AUSF发送SUCI。SUCI可以承载在第一身份认证请求消息中。第一身份认证请求消息可以是Nausf_UEAuthentication_Authenticate Request消息。In step 605, the AMF network element sends the SUCI to the AUSF. The SUCI may be carried in the first identity authentication request message. The first identity authentication request message may be a Nausf_UEAuthentication_Authenticate Request message.
可选的,AMF可以接收第二指示信息和/或列表2。Optionally, the AMF may receive the second indication information and/or List 2.
在步骤606,AUSF网元向UDM/SIDF网元发送SUCI。SUCI可以承载在第二身份认证请求消息种中。第二身份认证请求消息种可以是Nudm_UEAuthentication_Get Request消息。In step 606, the AUSF network element sends the SUCI to the UDM/SIDF network element. The SUCI may be carried in the second identity authentication request message. The second identity authentication request message may be a Nudm_UEAuthentication_Get Request message.
在步骤607,UDM/SIDF网元对SUCI解密以得到SUPI,并执行认证算法选择,根据选择的认证算法生成认证向量。In step 607, the UDM/SIDF network element decrypts the SUCI to obtain the SUPI, performs authentication algorithm selection, and generates an authentication vector according to the selected authentication algorithm.
步骤608为认证流程,用于UE的身份认证。Step 608 is an authentication process, which is used for identity authentication of the UE.
具体地,UDM/SIDF网元向AUSF网元发送认证向量。认证向量可以承载在身份认证回复消息中。身份认证回复消息可以是Nudm_UEAuthentication_Get ReSponse消息。Specifically, the UDM/SIDF network element sends the authentication vector to the AUSF network element. The authentication vector may be carried in the authentication reply message. The authentication reply message may be a Nudm_UEAuthentication_Get ReSponse message.
UE与AUSF网元进行双向认证。AUSF生成并向SEAF网元发送密钥KSEAF。SEAF网元根据密钥KSEAF生成密钥KAMF,并向UE发送KSI,KSI用于指示密钥KAMF。UE根据KSI可以确定密钥KAMF。SEAF向AMF发送KAMF。这里SEAF可以与AMF独立部署,也可以单独部署。本申请实施例对上述UE与AUSF网元进行认证的步骤具体细节和流程不做限制。The UE and the AUSF network element perform bidirectional authentication. The AUSF generates and sends the key KSEAF to the SEAF network element. The SEAF network element generates the key KAMF according to the key KSEAF, and sends the KSI to the UE, where the KSI is used to indicate the key KAMF. The UE can determine the key KAMF according to the KSI. SEAF sends KAMF to AMF. Here SEAF can be deployed independently of AMF, or it can be deployed separately. The embodiments of the present application do not limit the specific details and processes of the above-mentioned steps for authenticating the UE and the AUSF network element.
通过上述步骤,AMF网元与UE共享密钥KAMF。Through the above steps, the AMF network element shares the key KAMF with the UE.
在步骤809-810a,接入网设备与UE进行接入层安全模式(access stratumsecurity mode,NAS SM)的建立。In steps 809-810a, the access network device and the UE establish an access stratum security mode (access stratum security mode, NAS SM).
在步骤809之前,AMF计算并向接入网设备发送密钥KgNB。密钥KgNB是根据密钥KAMF确定的。根据密钥KgNB,UE和接入网设备可以确定UE和接入网设备之间的完整性密钥和机密性密钥,从而对UE和接入网设备之间的消息进行完整性保护和机密性保护。进行机密性保护,即信息发送端对信息进行加密,信息接收端对信息进行解密。Before
在步骤809,接入网设备向UE发送AS安全模式指令消息。AS安全模式指令消息具有完整性保护。In
在步骤810a,UE向接入网设备发送AS安全模式完成消息。AS安全模式完成消息具有机密性和完整性保护。In step 810a, the UE sends an AS security mode complete message to the access network device. The AS security mode completion message has confidentiality and integrity protection.
可选地,AS安全模式完成消息可以包括第一匹配组。因此,第一匹配组以加密的方式发送至接入网设备。此时,可以不进行步骤611。Optionally, the AS security mode complete message may include the first matching group. Therefore, the first matching group is sent to the access network device in an encrypted manner. At this time, step 611 may not be performed.
通过步骤809-810a,UE与接入网设备网元通过AS SMC流程建立了安全上下文,接入网设备与UE之间的消息可以加密传输。通过AS安全模式,AMF网元与UE之间的消息可以具有完整性保护和机密性保护。Through steps 809-810a, the UE and the network element of the access network device establish a security context through the AS SMC process, and messages between the access network device and the UE can be encrypted and transmitted. Through the AS security mode, the message between the AMF network element and the UE can have integrity protection and confidentiality protection.
还可能,在AS安全模式完成消息不包括第一匹配组,通过步骤810b进行第一匹配组的发送。步骤810b在UE与接入网设备通过AS SMC流程建立AS安全上下文之后进行。It is also possible that when the AS security mode completion message does not include the first matching group, the first matching group is sent through step 810b. Step 810b is performed after the UE and the access network device establish the AS security context through the AS SMC process.
在步骤810b,UE通过上行(uplink,UL)AS消息,向AMF发送第一匹配组发送。也就是说,第一匹配组是通过AS安全上下文保护的情况下发送的。In step 810b, the UE sends the first matching group to the AMF through an uplink (UL) AS message. That is, the first matching group is sent under the protection of the AS security context.
在步骤814之前,接入网设备对通过AS安全模式完成消息,或者AS安全上下文保护的上行AS消息接收的第一匹配组进行解密。接入网设备根据AS安全上下文进行解密,以获取解密后的第一匹配组。Before step 814, the access network device decrypts the first matching group received through the AS security mode complete message or the upstream AS message protected by the AS security context. The access network device decrypts according to the AS security context to obtain the decrypted first matching group.
在一些实施例中,在步骤814之前,接入网设备可以对第一匹配组进行检验。In some embodiments, prior to step 814, the access network device may check the first matching set.
可选的,接入网设备可以对第一匹配组和列表2进行匹配。接入网设备可以去除第一匹配组中的列表2之外的CAG ID,以获得新的第一匹配组。Optionally, the access network device may match the first matching group with the list 2. The access network device may remove the CAG IDs in the first matching group other than List 2 to obtain a new first matching group.
可选的,接入网设备接收UE发送的第一匹配组。接入网设备确定第一匹配组中的CAG ID是否在接入网设备所支持的CAG ID的列表2中。如果第一匹配组属于列表2,即第一匹配组在列表2中,则接入网设备向AMF网元发送第一匹配组。否则,接入网设备不发送第一匹配组;可选的,接入网设备拒绝UE的接入。Optionally, the access network device receives the first matching group sent by the UE. The access network device determines whether the CAG ID in the first matching group is in the list 2 of CAG IDs supported by the access network device. If the first matching group belongs to the list 2, that is, the first matching group is in the list 2, the access network device sends the first matching group to the AMF network element. Otherwise, the access network device does not send the first matching group; optionally, the access network device rejects the access of the UE.
在另一些实施列中,可以由AMF网元对第一匹配组进行和列表2进行匹配。In other embodiments, the first matching group may be matched with List 2 by the AMF network element.
AMF网元可以预配置列表2。或者,AMF网元可以接收接入网设备发送的列表2。例如步骤604中,接入网设备向AMF网元发送列表2。AMF网元可以对列表2、列表3、第一匹配组进行匹配。即AMF网元可以确定第二匹配组,第二匹配组包括列表2、列表3、第一匹配组中相同的CAG ID。AMF network elements can be preconfigured with List 2. Alternatively, the AMF network element may receive the list 2 sent by the access network device. For example, in step 604, the access network device sends the list 2 to the AMF network element. The AMF network element can match List 2, List 3, and the first matching group. That is, the AMF network element can determine the second matching group, and the second matching group includes List 2, List 3, and the same CAG ID in the first matching group.
或者,接入网设备和AMF可以均不进行第一匹配组和列表2的匹配。Alternatively, neither the access network device nor the AMF may perform the matching between the first matching group and the list 2.
在步骤814,UE向AMF网元发送解密后的第一匹配组。解密后的第一匹配组可以是校验后的第一匹配组。第二匹配组可以通过N2消息发送。第二匹配组包括允许UE接入的CAG的标识。In step 814, the UE sends the decrypted first matching group to the AMF network element. The decrypted first matching group may be the verified first matching group. The second matching group may be sent via an N2 message. The second matching set includes the identification of the CAGs that the UE is allowed to access.
在步骤612,AMF网元接收UDM网元发送的列表3。列表3包括网络侧允许UE接入的CAG ID。AMF网元可以接收UDM网元发送的签约数据,签约数据包括列表3In step 612, the AMF network element receives List 3 sent by the UDM network element. List 3 includes the CAG IDs that the network side allows the UE to access. The AMF network element can receive the subscription data sent by the UDM network element, and the subscription data includes list 3
本申请实施例对步骤814和步骤612的先后顺序不进行限定。This embodiment of the present application does not limit the sequence of step 814 and step 612 .
可选的,在步骤612之前,AMF网元可以向UDM网元发送签约数据请求,从UDM网元获得UE对应的签约数据。所述签约数据包括列表3,列表3包括网络侧允许UE接入的CAG ID。Optionally, before step 612, the AMF network element may send a subscription data request to the UDM network element, and obtain the subscription data corresponding to the UE from the UDM network element. The subscription data includes list 3, and list 3 includes CAG IDs that the network side allows the UE to access.
在步骤613,AMF将列表3和第一匹配组进行匹配,以确定是否存在第二匹配组。列表3包括第二匹配组中的CAG ID,并且,第一匹配组包括第二匹配组中的CAG ID。也就是说,AMF将列表3、第一匹配组中相同的CAG ID作为第二匹配组中的CAG ID。At step 613, the AMF matches List 3 with the first matching group to determine whether there is a second matching group. List 3 includes the CAG IDs in the second matching group, and the first matching group includes the CAG IDs in the second matching group. That is, the AMF takes the same CAG ID in List 3 and the first matching group as the CAG ID in the second matching group.
如果存在第二匹配组,则允许UE接入第二匹配组中CAG ID对应的CAG业务。If there is a second matching group, the UE is allowed to access the CAG service corresponding to the CAG ID in the second matching group.
在步骤615,AMF网元向UE发送注册回复消息。注册回复消息可以是注册接受消息或注册拒绝消息。In step 615, the AMF network element sends a registration reply message to the UE. The registration reply message can be a registration acceptance message or a registration rejection message.
若允许UE接入,则AMF网元向UE发送注册接受消息。可选的,AMF网元向UE发送第二匹配组,即允许UE接入的CAG ID。If the UE is allowed to access, the AMF network element sends a registration acceptance message to the UE. Optionally, the AMF network element sends the second matching group to the UE, that is, the CAG ID that the UE is allowed to access.
若不允许UE接入,则AMF网元向UE发送注册拒绝消息。可选的,所述注册拒绝消息包括校验失败指示信息,所述校验失败指示信息用于指示CAG ID校验不通过。校验失败指示信息可以指示注册拒绝的原因,即CAG ID校验不通过。If the UE is not allowed to access, the AMF network element sends a registration rejection message to the UE. Optionally, the registration rejection message includes verification failure indication information, where the verification failure indication information is used to indicate that the CAG ID verification fails. The verification failure indication information may indicate the reason for the registration rejection, that is, the CAG ID verification fails.
可选地,注册回复消息可以是AMF向UE发送的下行NAS消息。Optionally, the registration reply message may be a downlink NAS message sent by the AMF to the UE.
在另一些实施例中,接入网设备也可以根据接入网设备的其他公钥对第一匹配组进行加密。UE可以预配置接入网设备的公钥,UE可以接收接入网设备发送的公钥,例如,接入网设备可以广播接入网设备的公钥等。In other embodiments, the access network device may also encrypt the first matching group according to other public keys of the access network device. The UE may preconfigure the public key of the access network device, and the UE may receive the public key sent by the access network device. For example, the access network device may broadcast the public key of the access network device.
可选地,在步骤810a之前,UE可以接收保护指示信息,保护指示信息用于指示UE发送加密的第一匹配组。Optionally, before step 810a, the UE may receive protection indication information, where the protection indication information is used to instruct the UE to send the encrypted first matching group.
UE在AS SM下发送加密的第一匹配组,或者UE通过AS SMC完成消息发送加密的第一匹配组,可以方式信息泄露。同时,对UE接入CAG流程的影响小。The UE sends the encrypted first matching group under the AS SM, or the UE sends the encrypted first matching group through the AS SMC completion message, which can cause information leakage. At the same time, the impact on the UE access CAG process is small.
图11是本申请实施例提供的一种通信方法的示意性流程图。FIG. 11 is a schematic flowchart of a communication method provided by an embodiment of the present application.
在UE接入CAG的过程中,UE接收注册拒绝消息后,会将第一匹配组中的CAG ID从列表1中删除。如果攻击者可以伪造注册拒绝消息,那么攻击者通过伪造多个拒绝消息,可能导致UE将列表1清空。列表1清空后,UE不能使用CAG服务。During the process of the UE accessing the CAG, after receiving the registration rejection message, the UE will delete the CAG ID in the first matching group from the list 1. If an attacker can forge registration rejection messages, the attacker may cause the UE to clear list 1 by forging multiple rejection messages. After the list 1 is cleared, the UE cannot use the CAG service.
如果AMF网元或UDM网元校验失败,即不存在允许UE接入的CAG ID,AMF需要向UE发送注册拒绝消息。If the verification of the AMF network element or the UDM network element fails, that is, there is no CAG ID that allows the UE to access, the AMF needs to send a registration rejection message to the UE.
AMF网元确定不存在允许UE接入的CAG ID,则AMF网元向UE发送注册拒绝消息。The AMF network element determines that there is no CAG ID that allows the UE to access, then the AMF network element sends a registration rejection message to the UE.
UDM网元确定不存在允许UE接入的CAG ID,UDM网元向AMF网元发送校验失败信息。AMF网元根据校验失败信息,向UE发送注册拒绝消息。The UDM network element determines that there is no CAG ID that allows the UE to access, and the UDM network element sends verification failure information to the AMF network element. The AMF network element sends a registration rejection message to the UE according to the verification failure information.
UE身份认证完成后,UE与AMF网元共享密钥KAMF。After the UE identity authentication is completed, the UE shares the key KAMF with the AMF network element.
如果在NAS SM的建立完成之后,建立了UE与AMF网元之间的安全上下文,即NAS保护上下文。AMF网元可以通过NAS安全上下文保护的NAS消息向UE发送注册拒绝消息。通过NAS安全上下文保护的的消息具有机密性保护,可以防止攻击者的攻击。或者,AMF网元可以通过步骤901-902向UE发送注册拒绝消息。If after the establishment of the NAS SM is completed, the security context between the UE and the AMF network element, that is, the NAS protection context, is established. The AMF network element may send a registration rejection message to the UE through the NAS message protected by the NAS security context. Messages protected by the NAS security context have confidentiality protection to prevent attackers from attacking. Alternatively, the AMF network element may send a registration rejection message to the UE through steps 901-902.
另外,不管NAS安全上下文是否建立,AMF网元还可以通过步骤901-902向UE发送注册拒绝消息。In addition, regardless of whether the NAS security context is established, the AMF network element may also send a registration rejection message to the UE through steps 901-902.
在步骤901之前,进行了UE身份认证。UE与AMF网元共享密钥KAMF。Before step 901, UE identity authentication is performed. The UE shares the key KAMF with the AMF network element.
在步骤901,AMF网元确定校验不通过,计算MAC。In step 901, the AMF network element determines that the verification fails, and calculates the MAC.
在步骤901之前,AMF网元可以接收UDM发送的校验失败消息。AMF网元可以根据校验失败消息,确定校验不通过。或者,AMF网元可以进行校验,确定校验不通过。AMF进行校验,参见图2、图7、图9。Before step 901, the AMF network element may receive the verification failure message sent by the UDM. The AMF network element may determine that the verification fails according to the verification failure message. Alternatively, the AMF network element may perform verification to determine that the verification fails. AMF for verification, see Figure 2, Figure 7, Figure 9.
AMF网元基于首先基于密钥KAMF计算MAC。The AMF network element first calculates the MAC based on the key KAMF.
MAC又可以称为消息鉴别码、文件消息认证码、讯息鉴别码、信息认证码,是经过特定算法后产生的一小段信息,检查某段消息的完整性。MAC可以作身份验证。MAC可以用来检查在消息传递过程中,内容是否被更改。同时,MAC可以作为消息来源的身份验证,确认消息的来源。MAC, also known as message authentication code, file message authentication code, message authentication code, and information authentication code, is a small piece of information generated after a specific algorithm to check the integrity of a certain message. MAC can be used for authentication. MAC can be used to check whether the content has been changed during the message delivery. At the same time, the MAC can be used as the authentication of the source of the message, confirming the source of the message.
AMF网元根据消息验证码函数计算以得到MAC。The AMF network element calculates according to the message verification code function to obtain the MAC.
消息验证码函数的输入参数包括密钥KAMF,消息验证码函数的输入参数还可以包含以下参数中的至少一个:拒绝指示信息,ngKSI,NAS上行计数器,NAS下行计数器,第一匹配组,防架构之间降维攻击参数(ABBA,anti-bidding down between architectures),AMFID,AMF集合标识(AMF set ID),SUCI,SUPI,AMF随机选择的新鲜参数,服务网络标识等。AMF随机选择的新鲜参数例如可以是被使用一次的非重复的随机数(number used once或number once,nonce)等随机数。服务网络标识即AMF所在的服务网络。第一匹配组包括UE请求接入的CAGID。拒绝指示信息用于指示注册拒绝的原因,例如UE请求接入的CAG的标识校验未通过,或者指示UE的注册请求被拒绝。注册拒绝的原因还可以是其他校验失败,鉴权认证失败等。The input parameters of the message verification code function include the key KAMF, and the input parameters of the message verification code function may also include at least one of the following parameters: rejection indication information, ngKSI, NAS uplink counter, NAS downlink counter, first matching group, anti-architecture Between dimensionality reduction attack parameters (ABBA, anti-bidding down between architectures), AMFID, AMF set ID (AMF set ID), SUCI, SUPI, AMF randomly selected fresh parameters, service network identification, etc. The fresh parameter randomly selected by the AMF may be, for example, a random number such as a non-repetitive random number (number used once or number once, nonce) that is used once. The service network identifier is the service network where the AMF is located. The first matching group includes the CAGID for which the UE requests access. The rejection indication information is used to indicate the reason for the registration rejection, for example, the identity verification of the CAG that the UE requests to access has failed, or the registration request of the UE is rejected. The reasons for registration rejection may also be other verification failures, authentication and authentication failures, and the like.
在步骤902,AMF网元向UE发送注册拒绝消息。In step 902, the AMF network element sends a registration rejection message to the UE.
注册拒绝消息包括MAC。The registration reject message includes the MAC.
注册拒绝消息还可以包括拒绝指示信息。The registration rejection message may also include rejection indication information.
注册拒绝消息还可以ngKSI,ngKSI用于指示KAMF。The registration rejection message can also be ngKSI, which is used to indicate KAMF.
注册拒绝消息还可以包括消息验证码函数的多个输入参数中除KAMF之外的至少一个。例如,注册拒绝消息可以包括以下参数中至少一种:NAS上行计数器,NAS下行计数器,第一匹配组,防架构之间降维攻击参数(anti-bidding down between architectures,ABBA),AMF ID,AMF集合标识(AMF set ID),SUCI,SUPI,AMF随机选择的新鲜参数,服务网络标识等。第一匹配组是UE根据配置给UE的CAG ID列表1和接入网设备支持的CAG ID列表2确定的,第一匹配组包括列表1和列表2中相同的CAG ID。The registration rejection message may further include at least one of the plurality of input parameters of the message verification code function other than KAMF. For example, the registration rejection message may include at least one of the following parameters: NAS uplink counter, NAS downlink counter, first matching group, anti-bidding down between architectures (ABBA), AMF ID, AMF Set ID (AMF set ID), SUCI, SUPI, fresh parameters randomly selected by AMF, service network ID, etc. The first matching group is determined by the UE according to the CAG ID list 1 configured for the UE and the CAG ID list 2 supported by the access network device, and the first matching group includes the same CAG IDs in the list 1 and the list 2.
AMF网元也可以通过其他消息向UE发送消息验证码函数的输入参数。例如,在身份认证过程中,AMF网元向UE发送ngKSI。The AMF network element may also send the input parameters of the message verification code function to the UE through other messages. For example, in the identity authentication process, the AMF network element sends the ngKSI to the UE.
UE也可以保存有消息验证码函数的输入参数。UE在确定第一匹配组后,保存第一匹配组。UE还可以保存有SUCI、SUPI等。AMF可以向UE发送消息验证码函数的输入参数中UE未保存的参数。The UE may also store the input parameters of the message verification code function. After determining the first matching group, the UE saves the first matching group. The UE may also store SUCI, SUPI, and the like. The AMF may send the UE unsaved parameters among the input parameters of the message verification code function to the UE.
在步骤902之后,UE对MAC进行验证。UE根据消息验证码函数和消息验证码函数的输入参数,计算MAC。After step 902, the UE verifies the MAC. The UE calculates the MAC according to the message verification code function and the input parameters of the message verification code function.
UE根据计算得到的MAC与注册拒绝消息中的MAC,确定是否校验通过。The UE determines whether the verification is passed according to the calculated MAC and the MAC in the registration rejection message.
UE确定计算得到的MAC与注册拒绝消息中的MAC相同,则验证通过。UE可以将第一匹配组从配置给UE的CAG ID列表1中删除。The UE determines that the calculated MAC is the same as the MAC in the registration rejection message, and the verification is passed. The UE may delete the first matching group from the CAG ID list 1 configured for the UE.
UE确定计算得到的MAC与注册拒绝消息中的MAC不同,则验证未通过。UE确定注册拒绝消息为伪造的消息。If the UE determines that the calculated MAC is different from the MAC in the registration rejection message, the verification fails. The UE determines that the registration rejection message is a forged message.
通过步骤901-902,AMF网元发送MAC,UE可以通过MAC确定注册拒绝消息的真伪,防止攻击者修改和伪造注册拒绝消息。Through steps 901-902, the AMF network element sends the MAC, and the UE can determine the authenticity of the registration rejection message through the MAC, preventing attackers from modifying and forging the registration rejection message.
图12是本申请实施例提供的一种通信方法的示意性流程图。FIG. 12 is a schematic flowchart of a communication method provided by an embodiment of the present application.
在UE接入CAG的过程中,UE接收注册拒绝消息后,会将第一匹配组中的CAG ID从列表1中删除。如果攻击者可以伪造注册拒绝消息,那么攻击者通过伪造多个拒绝消息,可能导致UE将列表1清空。列表1清空后,UE不能使用CAG服务。During the process of the UE accessing the CAG, after receiving the registration rejection message, the UE will delete the CAG ID in the first matching group from the list 1. If an attacker can forge registration rejection messages, the attacker may cause the UE to clear list 1 by forging multiple rejection messages. After the list 1 is cleared, the UE cannot use the CAG service.
AMF/UDM网元确定校验不通过,进行步骤1001-1003。The AMF/UDM network element determines that the verification fails, and performs steps 1001-1003.
在步骤1001,AMF/UDM网元计算数字签名。In step 1001, the AMF/UDM network element calculates a digital signature.
在步骤1002,AMF/UDM网元向UE发送该数字签名。In step 1002, the AMF/UDM network element sends the digital signature to the UE.
对于UDM进行校验的情况,UDM校验不通过,可以基于归属网络的私钥和拒绝指示信息计算数字签名。UDM进行校验,参见图9。In the case of UDM verification, if the UDM verification fails, the digital signature can be calculated based on the private key of the home network and the rejection indication information. UDM performs verification, see Figure 9.
可选地,UDM根据数字签名函数计算得到数字签名。数字签名函数的输入参数包括归属网络私钥。数字签名函数的输入参数还可以包含以下参数中的至少一个,第一匹配组,SUCI,SUPI,UDM随机选择的新鲜参数(nonce,随机数等),服务网络标识(AMF所在的服务网络),归属网络标识和拒绝指示信息。第一匹配组包括UE请求接入的CAGID。拒绝指示信息用于指示注册拒绝的原因,例如UE请求接入的CAG的标识校验未通过,或者鉴权认证失败等。Optionally, the UDM calculates the digital signature according to the digital signature function. The input parameters of the digital signature function include the home network private key. The input parameters of the digital signature function may also include at least one of the following parameters, the first matching group, SUCI, SUPI, fresh parameters (nonce, random number, etc.) randomly selected by UDM, service network identifier (the service network where the AMF is located), Home network identification and rejection indication information. The first matching group includes the CAGID for which the UE requests access. The rejection indication information is used to indicate the reasons for the rejection of the registration, for example, the identity verification of the CAG that the UE requests to access has failed, or the authentication and authentication have failed.
UDM网元向UE发送数字签名。该数字签名可以经过AMF网元和/或AUSF网元等的转发。The UDM network element sends the digital signature to the UE. The digital signature may be forwarded by the AMF network element and/or the AUSF network element.
可选地,UDM网元可以向AMF网元发送拒绝指示信息,用于指示校验失败。AMF发送注册拒绝消息至UE,其中携带UDM发送的数字签名。Optionally, the UDM network element may send rejection indication information to the AMF network element to indicate that the verification fails. The AMF sends a registration rejection message to the UE, which carries the digital signature sent by the UDM.
UE接收注册拒绝消息。UE可以根据可能的拒绝原因对应的拒绝指示信息,验证该数字签名,即校验数字签名的正确性。或者,UE可以根据接收的拒绝指示信息验证该数字签名。The UE receives the registration rejection message. The UE may verify the digital signature according to the rejection indication information corresponding to the possible rejection reasons, that is, verify the correctness of the digital signature. Alternatively, the UE may verify the digital signature according to the received rejection indication information.
可选的,UDM网元还可以通过AMF和/或AUSF向UE发送用于签名的密钥标识。可选的,UDM网元还可以发送公钥标识,以使UE可以根据公钥标识确定数字签名计算所用的公钥。Optionally, the UDM network element may also send the key identifier for signing to the UE through the AMF and/or the AUSF. Optionally, the UDM network element may also send a public key identifier, so that the UE can determine the public key used for the calculation of the digital signature according to the public key identifier.
可选的,UDM网元还可以发送算法指示,UE可以根据算法指示确定数字签名计算所用的算法。Optionally, the UDM network element may also send an algorithm indication, and the UE may determine the algorithm used for the digital signature calculation according to the algorithm indication.
可选的,UDM网元发送的参数还可以包括以下参数中的至少一种:SUCI,SUPI,UDM随机选择的新鲜参数(nonce,随机数等),服务网络标识(AMF所在的服务网络),归属网络标识和拒绝指示信息等。UDM和/或AMF网元还可以发送其他UE未保存的参数,以使UE可以正确的校验MAC。Optionally, the parameters sent by the UDM network element may also include at least one of the following parameters: SUCI, SUPI, fresh parameters (nonce, random number, etc.) randomly selected by UDM, service network identifier (the service network where the AMF is located), Home network identification and rejection indication information, etc. The UDM and/or AMF network element may also send other parameters that are not saved by the UE, so that the UE can check the MAC correctly.
对于AMF网元进行校验的情况,AMF网元校验不通过,可以基于AMF的私钥,对拒绝指示信息计算数字签名。In the case of verification of the AMF network element, if the verification of the AMF network element fails, a digital signature can be calculated for the rejection indication information based on the private key of the AMF.
AMF网元进行校验,参见图2、图8、图10。AMF校验不通过,AMF可以基于AMF的私钥和拒绝指示信息计算数字签名。The AMF network element performs verification, see Figure 2, Figure 8, and Figure 10. If the AMF verification fails, the AMF can calculate the digital signature based on the AMF's private key and rejection indication information.
可选地,AMF根据数字签名函数计算得到数字签名。数字签名函数的输入参数包括AMF保存私钥。数字签名函数的输入参数还可以包含以下参数中的至少一个,第一匹配组,SUCI,SUPI,AMF随机选择的新鲜参数(nonce,随机数等),服务网络标识(AMF所在的服务网络),AMF公钥标识和拒绝指示信息;Optionally, the AMF calculates the digital signature according to the digital signature function. The input parameters of the digital signature function include the private key held by the AMF. The input parameters of the digital signature function may also include at least one of the following parameters, the first matching group, SUCI, SUPI, fresh parameters (nonce, random number, etc.) randomly selected by AMF, service network identifier (the service network where AMF is located), AMF public key identification and rejection indication information;
在步骤1002,AMF网元向UE发送注册拒绝消息。In step 1002, the AMF network element sends a registration rejection message to the UE.
注册拒绝消息包括数字签名。The registration rejection message includes a digital signature.
注册拒绝消息还可以包括拒绝指示信息。The registration rejection message may also include rejection indication information.
注册拒绝消息还可以包括用于计算数字签名的密钥标识,UE根据密钥标识可以确定密钥标识对应的AMF公钥,从而对数字签名进行验证。The registration rejection message may further include a key identifier for calculating the digital signature, and the UE can determine the AMF public key corresponding to the key identifier according to the key identifier, so as to verify the digital signature.
注册拒绝消息还可以包括数字签名函数的多个输入参数中除AMF公钥之外的至少一个。例如,注册拒绝消息可以包括以下参数中至少一种:第一匹配组,SUCI,SUPI,UDM随机选择的新鲜参数(nonce,随机数等),AMF随机选择的新鲜参数(nonce,随机数等),服务网络标识(AMF所在的服务网络),AMF公钥标识和拒绝指示信息。The registration rejection message may also include at least one of the plurality of input parameters of the digital signature function other than the AMF public key. For example, the registration rejection message may include at least one of the following parameters: first matching group, SUCI, SUPI, fresh parameters randomly selected by UDM (nonce, nonce, etc.), fresh parameters randomly selected by AMF (nonce, nonce, etc.) , the service network identifier (the service network where the AMF is located), the AMF public key identifier and the rejection indication information.
在步骤1003,UE校验数字签名的正确性。In step 1003, the UE verifies the correctness of the digital signature.
UE接收该数字签名。UE对该数字签名进行校验。如果校验通过,确定UE不被允许接入第一匹配组中CAG ID对应的CAG。The UE receives the digital signature. The UE verifies the digital signature. If the check is passed, it is determined that the UE is not allowed to access the CAG corresponding to the CAG ID in the first matching group.
UE保存有归属网络的公钥。具体获得归属网络公钥的方式不做限制。The UE stores the public key of the home network. The specific way of obtaining the public key of the home network is not limited.
若验证通过,UE可以将第一匹配组从配置给UE的CAG ID列表1中删除。If the verification is passed, the UE may delete the first matching group from the CAG ID list 1 configured for the UE.
若验证未通过,UE确定注册拒绝消息为伪造的消息。If the verification fails, the UE determines that the registration rejection message is a forged message.
通过步骤1001-1003,AMF/UDM网元发送数字签名,UE可以通过数字签名确定注册拒绝消息的真伪,防止攻击者修改和伪造注册拒绝消息,完成对拒绝指示信息的保护。Through steps 1001-1003, the AMF/UDM network element sends a digital signature, and the UE can determine the authenticity of the registration rejection message through the digital signature, preventing attackers from modifying and forging the registration rejection message, and completing the protection of the rejection indication information.
上文结合图1至图12的描述了本申请实施例的方法实施例,下面结合图13至图18,描述本申请实施例的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The method embodiments of the embodiments of the present application are described above with reference to FIGS. 1 to 12 , and the apparatus embodiments of the embodiments of the present application are described below with reference to FIGS. 13 to 18 . It should be understood that the descriptions of the method embodiments correspond to the descriptions of the apparatus embodiments. Therefore, for the parts not described in detail, reference may be made to the foregoing method embodiments.
图13是本申请实施例提供的一种用户设备的示意性结构图。用户设备1300包括:加密模块1310和收发模块1320。FIG. 13 is a schematic structural diagram of a user equipment provided by an embodiment of the present application. The
加密模块1310用于,利用非接入层NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表,第一群组列表包括UE请求接入的一个或多个群组的标识。The
收发模块1320用于,发送加密的第一群组列表。The
可选地,收发模块1320用于,通过NAS安全模式SM完成消息向第一网络设备发送加密的第一群组列表。Optionally, the
可选地,收发模块1320用于,通过NAS安全上下文保护的上行NAS消息发送加密的第一群组列表。Optionally, the
可选地,收发模块1320还用于,接收第一网络设备发送的注册拒绝消息,注册拒绝消息包括消息验证码。Optionally, the
用户设备1300还包括验证模块,验证模块用于根据消息验证码验证注册拒绝消息。The
图14是本申请实施例提供的一种网络设备的示意性结构图。网络设备1400,包括:收发模块1410、解密模块1420和确定模块1430。FIG. 14 is a schematic structural diagram of a network device provided by an embodiment of the present application. The
收发模块1410用于,接收用户设备UE发送的加密的第一群组列表,第一群组列表包括UE请求接入的一个或多个群组的标识。The
解密模块1420用于,对加密的第一群组列表进行解密,以得到第一闭合访问业务标识组。The decryption module 1420 is configured to decrypt the encrypted first group list to obtain the first closed access service identification group.
确定模块1430用于,确定UDM网元确定保存的签约群组列表。The determining
确定模块1430还用于,根据第一群组列表和签约群组列表,确定第二群组列表,第二群组列表包括允许UE接入的群组的标识。The determining
收发模块1410还用于,当存在第二群组列表时,第一网络设备向接入网设备发送第二群组列表。The
可选地,收发模块1410用于,接收UE通过非接入层NAS安全模式SM完成消息发送的加密的第一群组列表。Optionally, the
可选地,用户设备1400还包括计算模块,计算模块用于,当不存在第二群组列表时,根据UE与第一网络设备之间的共享密钥计算得到消息验证码。Optionally, the
收发模块1410还用于,向接入网设备发送注册拒绝消息,消息验证码用于UE验证注册拒绝消息。The
可选地,收发模块1410还用于,接收接入网设备发送的第三群组列表,第三群组列表包括接入网设备支持的群组的标识。Optionally, the
确定模块1430用于,根据第一群组列表、第三群组列表和签约群组列表,确定第二群组列表。The determining
图15是本申请实施例提供的一种接入网设备的示意性结构图。接入网设备1500包括:收发模块1510和生成模块1520。FIG. 15 is a schematic structural diagram of an access network device provided by an embodiment of the present application. The
收发模块1510用于,接收用户设备UE发送的加密的第一群组列表,第一闭合访问业务标识组包括UE请求接入的一个或多个群组务的标识。The
收发模块1510还用于,发送加密的第一群组列表。The
收发模块1510还用于,接收第一网络设备发送的第二群组列表,第二群组列表包括允许UE接入的一个或多个群组的标识。The
生成模块1520用于,根据一个或多个群组的标识生成一个或多个群组的服务质量QoS信息,。The
收发模块1510还用于,向UE发送服务质量QoS信息。The
图16是本申请实施例提供的一种网络设备的示意性结构图。网络设备1600,其特征在于,包括:处理器1610和通信接口1620。FIG. 16 is a schematic structural diagram of a network device provided by an embodiment of the present application. The
通信接口1620用于,接收用户设备UE发送的加密的第一群组列表,第一群组列表包括UE请求接入的一个或多个群组的标识。The
处理器1610用于,对加密的第一群组列表进行解密,以得到第一闭合访问业务标识组。The
处理器1610还用于,确定UDM网元确定保存的签约群组列表。The
处理器1610还用于,根据第一群组列表和签约群组列表,确定第二群组列表,第二群组列表包括允许UE接入的群组的标识。The
通信接口1620用于,当存在第二群组列表时,向接入网设备发送第二群组列表。The
可选地,通信接口1620用于,接收UE通过非接入层NAS安全模式SM完成消息发送的加密的第一群组列表。Optionally, the
可选地,处理器1610还用于,当不存在第二群组列表时,根据UE与第一网络设备之间的共享密钥计算得到消息验证码。Optionally, the
通信接口1620还用于,向接入网设备发送注册拒绝消息,消息验证码用于UE验证注册拒绝消息。The
可选地,通信接口1620还用于,接收接入网设备发送的第三群组列表,第三群组列表包括接入网设备支持的群组的标识。Optionally, the
处理器1610用于,根据第一群组列表、第三群组列表和签约群组列表,确定第二群组列表。The
图17是本申请实施例提供的一种用户设备的示意性结构图。用户设备1700包括:处理器1710和通信接口1720;FIG. 17 is a schematic structural diagram of a user equipment provided by an embodiment of the present application. The
处理器1710用于,利用非接入层NAS安全上下文对第一群组列表进行加密,以获得加密的第一群组列表,第一群组列表包括UE请求接入的一个或多个群组的标识;The
通信接口1720用于,发送加密的第一群组列表。The
可选地,通信接口1720用于,通过NAS安全模式SM完成消息向第一网络设备发送加密的第一群组列表。Optionally, the
可选地,通信接口1720用于,通过NAS安全上下文保护的上行NAS消息发送加密的第一群组列表。Optionally, the
可选地,通信接口1720还用于,接收第一网络设备发送的注册拒绝消息,注册拒绝消息包括消息验证码。Optionally, the
处理器1710还用于,根据消息验证码验证注册拒绝消息。The
图18是本申请实施例提供的一种接入网设备的示意性结构图。接入网设备1800包括通信接口1810。FIG. 18 is a schematic structural diagram of an access network device provided by an embodiment of the present application. The
通信接口1810用于,接收用户设备UE发送的加密的第一群组列表,第一闭合访问业务标识组包括UE请求接入的一个或多个群组务的标识;The
通信接口1810还用于,发送加密的第一群组列表;The
通信接口1810还用于,接收第一网络设备发送的第二群组列表,第二群组列表包括允许UE接入的一个或多个群组的标识;The
通信接口1810还用于,向UE发送该一个或多个群组的服务质量QoS信息。The
可选地,接入网设备1800包括处理器,处理器用于根据第二群组列表生成该一个或多个群组的服务质量QoS信息。Optionally, the
本申请实施例提供一种计算机程序存储介质,所述计算机程序存储介质具有程序指令,当所述程序指令被执行时,使得上文中的方法中所述第一网络设备、接入网设备、用户设备中任一个的功能得以实现。An embodiment of the present application provides a computer program storage medium, where the computer program storage medium has program instructions, and when the program instructions are executed, the first network device, the access network device, the user, and the user in the above method are enabled. The function of any one of the devices is realized.
本申请实施例提供一种芯片,所述芯片包括至少一个处理器,当程序指令被所述至少一个处理器中执行时,使得上文中的方法中所述第一网络设备、接入网设备、用户设备中任一个的功能得以实现。An embodiment of the present application provides a chip, where the chip includes at least one processor, and when a program instruction is executed by the at least one processor, the first network device, the access network device, the first network device, the access network device, the The function of any one of the user equipments is realized.
本申请实施例提供一种通信系统,包括上文中的第一网络设备、用户设备和接入网设备。An embodiment of the present application provides a communication system, including the foregoing first network device, user equipment, and access network device.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims (20)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910511766.9A CN112087724A (en) | 2019-06-13 | 2019-06-13 | A communication method, network equipment, user equipment and access network equipment |
| PCT/CN2020/076975 WO2020248624A1 (en) | 2019-06-13 | 2020-02-27 | Communication method, network device, user equipment and access network device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910511766.9A CN112087724A (en) | 2019-06-13 | 2019-06-13 | A communication method, network equipment, user equipment and access network equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112087724A true CN112087724A (en) | 2020-12-15 |
Family
ID=73733715
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910511766.9A Pending CN112087724A (en) | 2019-06-13 | 2019-06-13 | A communication method, network equipment, user equipment and access network equipment |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN112087724A (en) |
| WO (1) | WO2020248624A1 (en) |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022147803A1 (en) * | 2021-01-08 | 2022-07-14 | 华为技术有限公司 | Secure communication method and device |
| CN114785544A (en) * | 2022-03-12 | 2022-07-22 | 海南电网有限责任公司 | Method for improving management plane system safety access service plane system in network system |
| WO2022174729A1 (en) * | 2021-02-20 | 2022-08-25 | 华为技术有限公司 | Method for protecting identity identification privacy, and communication apparatus |
| WO2022193220A1 (en) * | 2021-03-18 | 2022-09-22 | Zte Corporation | Method, device, and system for core network device re-allocation in wireless network |
| CN115314841A (en) * | 2021-05-06 | 2022-11-08 | 华为技术有限公司 | Communication method and communication device |
| CN115589589A (en) * | 2022-09-20 | 2023-01-10 | 梁健堂 | 5G private network construction method and device based on PNI-NPN |
| WO2023040728A1 (en) * | 2021-09-14 | 2023-03-23 | 华为技术有限公司 | Network element selection method, communication apparatus, and communication system |
| WO2023216961A1 (en) * | 2022-05-07 | 2023-11-16 | 维沃移动通信有限公司 | Privacy protection information processing method and apparatus, and communication device |
| CN117221884A (en) * | 2023-11-08 | 2023-12-12 | 深圳简谱技术有限公司 | Base station system information management method and system |
| CN117295138A (en) * | 2023-10-17 | 2023-12-26 | 泸州卓远液压有限公司 | Control method and device for hydraulic equipment cluster |
| WO2025162178A1 (en) * | 2024-01-29 | 2025-08-07 | 中兴通讯股份有限公司 | Information transmission method, handover method, management network element, service node, system, and medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101945390A (en) * | 2009-07-08 | 2011-01-12 | 华为技术有限公司 | Admission control method and device |
| CN102045648A (en) * | 2009-10-15 | 2011-05-04 | 中兴通讯股份有限公司 | Closed subscriber group white list transmitting method, device and system |
| CN102056109A (en) * | 2010-12-28 | 2011-05-11 | 北京握奇数据系统有限公司 | Methods for group sending and returning short message services (SMSs) and telecom smart card |
| US8072953B2 (en) * | 2007-04-24 | 2011-12-06 | Interdigital Technology Corporation | Wireless communication method and apparatus for performing home Node-B identification and access restriction |
| US8082000B2 (en) * | 2009-05-12 | 2011-12-20 | Motorola Mobility, Inc. | Method of selecting a private cell for providing communication to a communication device and a communication device |
| US9986420B2 (en) * | 2014-07-08 | 2018-05-29 | Alcatel-Lucent Usa Inc. | Validating cell access mode |
| CN109716809A (en) * | 2016-09-23 | 2019-05-03 | 高通股份有限公司 | Access stratum safety for efficient packet transaction |
| CN109788474A (en) * | 2017-11-14 | 2019-05-21 | 华为技术有限公司 | A kind of method and device of message protection |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2008152611A1 (en) * | 2007-06-15 | 2008-12-18 | Nokia Corporation | Apparatus, method and computer program product providing transparent container |
| CN104469977B (en) * | 2014-09-10 | 2019-01-25 | 北京佰才邦技术有限公司 | Mobile communication method, device and system |
| CN110536293B (en) * | 2019-08-15 | 2024-10-18 | 中兴通讯股份有限公司 | Method, device and system for accessing closed access group |
-
2019
- 2019-06-13 CN CN201910511766.9A patent/CN112087724A/en active Pending
-
2020
- 2020-02-27 WO PCT/CN2020/076975 patent/WO2020248624A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8072953B2 (en) * | 2007-04-24 | 2011-12-06 | Interdigital Technology Corporation | Wireless communication method and apparatus for performing home Node-B identification and access restriction |
| US8082000B2 (en) * | 2009-05-12 | 2011-12-20 | Motorola Mobility, Inc. | Method of selecting a private cell for providing communication to a communication device and a communication device |
| CN101945390A (en) * | 2009-07-08 | 2011-01-12 | 华为技术有限公司 | Admission control method and device |
| CN102045648A (en) * | 2009-10-15 | 2011-05-04 | 中兴通讯股份有限公司 | Closed subscriber group white list transmitting method, device and system |
| CN102056109A (en) * | 2010-12-28 | 2011-05-11 | 北京握奇数据系统有限公司 | Methods for group sending and returning short message services (SMSs) and telecom smart card |
| US9986420B2 (en) * | 2014-07-08 | 2018-05-29 | Alcatel-Lucent Usa Inc. | Validating cell access mode |
| CN109716809A (en) * | 2016-09-23 | 2019-05-03 | 高通股份有限公司 | Access stratum safety for efficient packet transaction |
| CN109788474A (en) * | 2017-11-14 | 2019-05-21 | 华为技术有限公司 | A kind of method and device of message protection |
Non-Patent Citations (2)
| Title |
|---|
| 3GPP: "3rd Generation Partnership Project;Technical Specification Group Services and System Aspects;Study on security for 5GS enhanced support of Vertical and LAN Services(Release 16)", 《3GPP TR 33.819 V1.0.0》 * |
| VODAFONE GROUP PLC: "Comments on S3-160007 CR to 33.401 to add NB-IoT keys and processes", 《3GPP TSG-SA3 MEETING #82,S3-160223》 * |
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2022147803A1 (en) * | 2021-01-08 | 2022-07-14 | 华为技术有限公司 | Secure communication method and device |
| WO2022174729A1 (en) * | 2021-02-20 | 2022-08-25 | 华为技术有限公司 | Method for protecting identity identification privacy, and communication apparatus |
| WO2022193220A1 (en) * | 2021-03-18 | 2022-09-22 | Zte Corporation | Method, device, and system for core network device re-allocation in wireless network |
| CN115314841A (en) * | 2021-05-06 | 2022-11-08 | 华为技术有限公司 | Communication method and communication device |
| WO2023040728A1 (en) * | 2021-09-14 | 2023-03-23 | 华为技术有限公司 | Network element selection method, communication apparatus, and communication system |
| CN114785544A (en) * | 2022-03-12 | 2022-07-22 | 海南电网有限责任公司 | Method for improving management plane system safety access service plane system in network system |
| CN114785544B (en) * | 2022-03-12 | 2024-07-02 | 海南电网有限责任公司 | Method for improving safety access service surface system of management surface system in network system |
| WO2023216961A1 (en) * | 2022-05-07 | 2023-11-16 | 维沃移动通信有限公司 | Privacy protection information processing method and apparatus, and communication device |
| CN115589589A (en) * | 2022-09-20 | 2023-01-10 | 梁健堂 | 5G private network construction method and device based on PNI-NPN |
| CN117295138A (en) * | 2023-10-17 | 2023-12-26 | 泸州卓远液压有限公司 | Control method and device for hydraulic equipment cluster |
| CN117221884A (en) * | 2023-11-08 | 2023-12-12 | 深圳简谱技术有限公司 | Base station system information management method and system |
| CN117221884B (en) * | 2023-11-08 | 2024-02-23 | 深圳简谱技术有限公司 | Base station system information management method and system |
| WO2025162178A1 (en) * | 2024-01-29 | 2025-08-07 | 中兴通讯股份有限公司 | Information transmission method, handover method, management network element, service node, system, and medium |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2020248624A1 (en) | 2020-12-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11856402B2 (en) | Identity-based message integrity protection and verification for wireless communication | |
| US12166897B2 (en) | Authentication mechanism for 5G technologies | |
| US11122428B2 (en) | Transmission data protection system, method, and apparatus | |
| CN112087724A (en) | A communication method, network equipment, user equipment and access network equipment | |
| US10694376B2 (en) | Network authentication method, network device, terminal device, and storage medium | |
| KR101554396B1 (en) | Method and apparatus for binding subscriber authentication and device authentication in communication systems | |
| CN108012264B (en) | Encrypted IMSI-based scheme for 802.1x bearer hotspot and Wi-Fi call authentication | |
| JP2023539174A (en) | Privacy of relay selection in sliced cellular networks | |
| US10027636B2 (en) | Data transmission method, apparatus, and system | |
| US11082843B2 (en) | Communication method and communications apparatus | |
| WO2013165695A1 (en) | Secure communications for computing devices utilizing proximity services | |
| JP2011524669A (en) | Control signal encryption method | |
| US20250056219A1 (en) | Negotiation of security mechanisms that implement combined integrity and encryption algorithms | |
| WO2022134089A1 (en) | Method and apparatus for generating security context, and computer-readable storage medium | |
| CN114245372B (en) | Authentication method, device and system | |
| US20260032443A1 (en) | Communication method and communication apparatus | |
| WO2025139994A1 (en) | Communication method and apparatus | |
| US20250055678A1 (en) | Key generation for combined integrity and encryption algorithms | |
| GB2637518A (en) | Partial user plane protection in mobile networks | |
| WO2025026232A1 (en) | Session establishment method and related apparatus | |
| WO2025031156A1 (en) | Communication method and communication apparatus | |
| Rani et al. | Study on threats and improvements in LTE Authentication and Key Agreement Protocol | |
| CN116918300A (en) | Methods for operating cellular networks | |
| HK1179799A (en) | Method and apparatus for binding subscriber authentication and device authentication in communication systems | |
| HK1179799B (en) | Method and apparatus for binding subscriber authentication and device authentication in communication systems |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201215 |
|
| RJ01 | Rejection of invention patent application after publication |
