Communication method, communication device, communication system and storage medium
By invoking the service-oriented interface of the access network node and the user equipment through the AMF network element to exchange authentication parameters, the shortcomings of the UE access authorization mechanism in the service-oriented architecture are solved, and effective authentication of user equipment and improved communication efficiency are achieved.
Patent Information
- Application Number
- CN202410332263.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2025-09-26
Smart Images

Figure CN120711385A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, a communication device, a communication system, and a storage medium. Background Art
[0002] In recent years, with the rapid development of virtualization, cloud native, and container technologies, building virtualized and cloud-based radio access networks (RANs) based on universal platforms has become a research hotspot. Among them, technical routes such as cloud radio access network (CRAN), virtual radio access network (vRAN), open radio access network (O-RAN or ORAN), and service-based radio access network (service-based RAN) have received widespread attention.
[0003] In a service-based RAN, the traditional pre-established point-to-point signaling interfaces between base stations and core network (CN) functions are replaced by a unified open bus. The interfaces connecting the access network to the CN and data network are unified into service-based interfaces. The RAN's control plane (CP) and user plane (UP) functions are restructured into multiple RAN control plane services (CPS) and user plane services (UPS). These services connect to the CN's service-based interface (SBI) via service-based interfaces. RAN services and CN services can directly access each other through these interfaces, supporting multi-party parallel interaction, effectively optimizing control plane processes. The advancement of user equipment (UE) computing and communication capabilities also supports the service-based nature of UE capabilities. UEs can also service their own computing power, measurement, information, and other functions, integrating with network services through service-based interfaces to achieve more flexible and direct information exchange.
[0004] The service-oriented and open nature of radio access networks (RANs) can lead to new security risks, such as more complex access control and authorization mechanisms between UE services, RAN services, and CN services. However, existing UE access authorization mechanisms are based on fixed interfaces and network capabilities in traditional RANs and cannot effectively support service-oriented UEs and RANs. Summary of the Invention
[0005] The present application provides a communication method, a communication device, a communication system and a storage medium for authenticating a UE based on a full service architecture.
[0006] In a first aspect, the present application provides a communication method. Optionally, the method may be performed by a first network element, a component or device (e.g., a processor, chip, or chip system) applied to the first network element, or a logic module or software capable of implementing all or part of the first network element's functions. Taking the first network element as an example, the first network element receives a first message that invokes a service operation of a service-based interface of the first network element. The first network element is configured for access management, and the first message is used by the first network element to initiate authentication of a user equipment. The first network element sends a first target message based on a target service-based interface. The first target message includes a first authentication parameter, which is used for authentication of the user equipment. The target service-based interface may be a service-based interface of the first network element, a service-based interface of an access network node, or a service-based interface of a user equipment. The first network element receives a second target message based on the target service-based interface. The second target message includes a second authentication parameter, which is obtained by the user equipment based on the first authentication parameter. The first network element sends the second authentication parameter to a second network element to obtain an authentication result of the second network element for the user equipment.
[0007] In this embodiment, the first network element authenticates the user equipment through the target service-oriented interface, thereby achieving access authentication for the user equipment in the full service-oriented architecture and solving the problem that the UE access authorization mechanism cannot support the full service-oriented interface.
[0008] A second aspect of the present application provides a communication device, which may be a first network element, or a component or device (such as a processor, chip, or chip system) applied to the first network element, or a logic module or software capable of implementing all or part of the functions of the first network element. The communication device includes:
[0009] An interface unit, configured to receive a first message based on a service-based interface of a first network element, the first network element being used for access management, and the first message being used to initiate authentication of a user equipment;
[0010] a processing unit, configured to determine a first target message;
[0011] The interface unit is further configured to send a first target message based on a target service-based interface, where the target service-based interface includes a service-based interface of a first network element, a service-based interface of an access network node, or a service-based interface of a user equipment, and the first target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment;
[0012] The interface unit is further configured to receive a second target message based on the target service interface, where the second target message includes a second authentication parameter, where the second authentication parameter is obtained by the user equipment according to the first authentication parameter;
[0013] The processing unit is further configured to obtain a second authentication parameter from the second target message;
[0014] The interface unit is further configured to send a second authentication parameter to the second network element to obtain an authentication result of the user equipment.
[0015] Based on the first aspect and the second aspect of the present application, in some possible implementations, the first network element is an access and mobility management function (AMF) network element, and the second network element is an authentication server function (AUSF) network element.
[0016] In this implementation, the AMF calls the service of the service-based interface of the access network node or the service-based interface of the user equipment, which solves the problem that the standardized access authentication protocol cannot support the full service-based interface.
[0017] Based on the first and second aspects of the present application, in some possible implementations, the first network element receives an authentication result from the second network element, the authentication result being used to indicate whether the user equipment has passed authentication. The first network element sends a second message based on a service-based interface of the first network element, the second message being used to indicate the authentication result of the user equipment.
[0018] In this embodiment, the first network element sends the authentication result of the user equipment through the second message, so that the user equipment obtains the authentication status in time and performs corresponding operations, such as continuing communication or re-initiating the authentication request, thereby avoiding unnecessary communication delays and improving communication efficiency.
[0019] Based on the first and second aspects of the present application, in some possible implementations, the first network element sends a second message to the access network node, and the second message carries an initial context establishment message, which is used to establish a user session and configure context information.
[0020] In this implementation, the first network element sends the initial context establishment message through the second message, thereby improving the message transmission mechanism based on the service-oriented interface of the access network node in the full service-oriented architecture.
[0021] Based on the first and second aspects of the present application, in some possible implementations, the first network element sends a second message to the access network node or user equipment, and the second message carries a non-access layer security mode command message, which is used to establish a secure channel between the first network element and the user equipment.
[0022] In this implementation, the first network element sends the non-access layer security mode command message through the second message, thereby improving the message transmission mechanism based on the service-oriented interface of the access network node in the full service-oriented architecture.
[0023] Based on the first and second aspects of the present application, in some possible implementations, the service-based interface of the first network element is used to implement the transmission of non-access stratum (NAS) signaling, and the first service operation based on the service-based interface of the first network element is called through a service request message or a service response message. The first service operation is used to transmit a message to a user device or an access network node, the service request message is carried on the first message, and the service response message is carried on the second message.
[0024] In this embodiment, the service interface of the first network element is called through a service request message or a service response message, thereby improving the message transmission mechanism between the access network node and the first network element, or between the user equipment and the first network element under the full service architecture.
[0025] Based on the first aspect and the second aspect of the present application, in some possible implementations, the first network element communicates with the access network node through a service-based interface of the first network element or a service-based interface of the access network node.
[0026] In this embodiment, the first network element communicates with the access network node through the service-based interface of the first network element or the service-based interface of the access network node, so that the access authorization mechanism design can support the service-based access network node.
[0027] Based on the first and second aspects of the present application, in some possible implementations, the target service interface is a service interface of an access network node, the first target message is a first request message for calling a service of the access network node, the second target message is a first response message for calling a service of the access network, the first response message is a response message to the first request message, and the service of the access network node is used to complete the transmission of NAS signaling.
[0028] In this implementation manner, the first network element improves the message transmission mechanism of the service-oriented interface of the access network node by invoking the service of the access network node.
[0029] Based on the first and second aspects of the present application, in some possible implementations, the target service interface is the service interface of the first network element, the first target message is the second response message for calling the first service operation, the first service operation is used to call the service of the first network element, the second response message is the response message of the first message, and the second target message is the second request message for calling the first service operation.
[0030] In this embodiment, by opening the service-oriented interface of the first network element to the access network node or the user equipment for calling, the message transmission mechanism between the access network node and the user equipment in the full service-oriented architecture is improved.
[0031] Based on the first and second aspects of the present application, in some possible implementations, the first network element communicates with the user equipment through the service interface of the first network element or the service interface of the user equipment.
[0032] Based on the first and second aspects of the present application, in some possible implementations, the target service interface is a service interface of a user device, the first target message is a third request message for calling the service of the user device, the second target message is a third response message for calling the service of the user device, and the service of the user device is used to complete access authentication and key negotiation services.
[0033] In this implementation, the first network element improves the message transmission mechanism of the service-oriented interface of the user equipment by calling the service-oriented interface of the user equipment.
[0034] The third aspect of the present application provides a communication method. Optionally, the execution subject of the method can be an access network node, or a component or device (such as a processor, chip, or chip system, etc.) applied to the access network node, or a logic module or software that can realize all or part of the functions of the access network node. Taking the access network node as an example, the access network node sends a first message to the first network element based on the service interface of the first network element, wherein the first network element is used for access management, and the first message is used by the first network element to initiate authentication of the user equipment. The access network node receives a first target message from the first network element based on the target service interface, and the target service interface includes the service interface of the first network element or the service interface of the access network node, and the first target message includes a first authentication parameter for authentication of the user equipment. The access network node sends a second target message to the first network element based on the target service interface, and the second target message includes a second authentication parameter obtained by the user equipment based on the first authentication parameter.
[0035] A fourth aspect of the present application provides a communication device, which may be an access network node, or a component or device (such as a processor, chip, or chip system) applied to an access network node, or a logic module or software capable of implementing all or part of the functions of an access network node. The communication device includes:
[0036] a processing unit, configured to determine a first message;
[0037] An interface unit, configured to send a first message based on a service-based interface of a first network element, the first network element being used for access management, and the first message being used to initiate authentication of a user equipment;
[0038] The interface unit is further configured to receive a first target message from the first network element based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of the first network element or a service-oriented interface of an access network node, and the first target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment;
[0039] The processing unit is further configured to determine a second target message;
[0040] The interface unit is further configured to send a second target message to the first network element based on the target service interface, where the second target message includes a second authentication parameter obtained by the user equipment according to the first authentication parameter.
[0041] Based on the third and fourth aspects of the present application, in some possible implementations, the first network element is an AMF.
[0042] Based on the third aspect and the fourth aspect of the present application, in some possible implementations, the access network node receives a second message based on a service-based interface of the first network element, where the second message is used to indicate an authentication result of the user equipment.
[0043] Based on the third and fourth aspects of the present application, in some possible implementations, the access network node receives a second message based on the service interface of the first network element, and the second message carries an initial context establishment message, which is used to establish a user session and configure context information.
[0044] Based on the third and fourth aspects of the present application, in some possible implementations, the service-based interface of the first network element is used to implement the transmission of NAS signaling, and the first service operation based on the service-based interface of the first network element is called through a service request message or a service response message. The first service operation is used to deliver a message to a user device or an access network node, the service request message is carried on the first message, and the service response message is carried on the second message.
[0045] Based on the third and fourth aspects of the present application, in some possible implementations, the target service interface is the service interface of the first network element, the first target message is the second response message for calling the first service operation, the first service operation is used to call the service of the first network element, the second target message is the second request message for calling the first service operation, and the second response message is a response message of the first message.
[0046] Based on the third and fourth aspects of the present application, in some possible implementations, the target service interface is a service interface of an access network node, the first target message is a first request message for calling a service of the access network node, the second target message is a first response message for calling a service of the access network node, the first response message is a response message to the first request message, and the service of the access network node is used to complete the transmission of NAS signaling.
[0047] Based on the third and fourth aspects of the present application, in some possible implementations, the access network node receives a fifth request message from the user equipment based on the service-based interface of the access network node, where the fifth request message is used for the user equipment to register. The access network node sends a fifth response message to the user equipment based on the service-based interface of the access network node, where the fifth response message includes the first authentication parameter, and the fifth response message is a response message to the fifth request message. The access network node receives a sixth request message from the user equipment based on the service-based interface of the access network node, where the sixth request message includes the second authentication parameter, where the second authentication parameter is obtained by the user equipment based on the first authentication parameter.
[0048] Based on the third and fourth aspects of the present application, in some possible implementations, the access network node sends a sixth response message to the user equipment based on the service interface of the access network node, and the sixth response message is used to indicate the authentication result of the user equipment, and the sixth response message is a response message to the sixth request message.
[0049] Based on the third aspect and the fourth aspect of the present application, in some possible implementations, the access network node sends a sixth response message to the user equipment based on the service interface of the access network node, and the sixth response message carries a non-access layer security mode command message or an access layer security mode command message, and the non-access layer security mode command message or the access layer security mode command message is used to build a secure channel between the access network node and the user equipment.
[0050] The fifth aspect of the present application provides a communication method, optionally, the execution subject of the method can be a user device, or a component or device applied to the user device (such as a processor, a chip, or a chip system, etc.), or a logic module or software that can realize all or part of the user device functions. Taking the user device as an example, the user device sends a third message, and the third message is used to initiate authentication of the user device. The user device receives a third target message based on a target service interface, and the target service interface includes a service interface of an access network node or a service interface of a user device, wherein the third target message includes a first authentication parameter for authentication of the user device. The user device sends a fourth target message based on the target service interface, and the fourth target message includes a second authentication parameter, and the second authentication parameter is obtained by the user device according to the first authentication parameter.
[0051] A sixth aspect of the present application provides a communication device, which may be a user equipment, or a component or device (such as a processor, chip, or chip system) applied to the user equipment, or a logic module or software capable of implementing all or part of the user equipment functions. The communication device includes:
[0052] a processing unit, configured to determine a third message;
[0053] An interface unit, configured to send a third message, where the third message is used to initiate authentication of the user equipment;
[0054] The interface unit is further configured to receive a third target message based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of an access network node or a service-oriented interface of a user equipment, and the third target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment;
[0055] The processing unit is further configured to obtain a second authentication parameter based on the first authentication parameter;
[0056] The interface unit is further configured to send a fourth target message based on the target service interface, where the fourth target message includes a second authentication parameter, which is obtained by the user equipment according to the first authentication parameter.
[0057] Based on the fifth and sixth aspects of the present application, in some possible implementations, the user equipment further receives a fourth message, where the fourth message is used to indicate an authentication result of the user equipment.
[0058] Based on the fifth and sixth aspects of the present application, in some possible implementations, the user equipment communicates with the first network element through the service-based interface of the first network element or the service-based interface of the user equipment.
[0059] Based on the fifth and sixth aspects of the present application, in some possible implementations, the first network element is an AMF.
[0060] Based on the fifth and sixth aspects of the present application, in some possible implementations, the third message and the fourth message are used to call the service of the first network element, the service interface of the first network element is used to implement the transmission of NAS signaling, and the first service operation based on the service interface of the first network element is called through a service request message or a service response message. The first service operation is used to deliver a message to a user device or an access network node, the service request message is carried on the third message, and the service response message is carried on the fourth message.
[0061] Based on the fifth and sixth aspects of the present application, in some possible implementations, the target service interface is a service interface of a user device, the third target message is a third request message for calling the service of the user device, the fourth target message is a third response message for calling the service of the user device, the third response message is a response message to the third request message, and the service of the user device is used to complete access authentication and key negotiation services.
[0062] Based on the fifth and sixth aspects of the present application, in some possible implementations, the target service interface is the service interface of the first network element, the third target message is the fourth response message for calling the first service operation, the fourth response message is the response message of the third message, and the fourth target message is the fourth request message for calling the first service operation.
[0063] Based on the fifth and sixth aspects of the present application, in some possible implementations, the user equipment communicates with the access network node through the service-based interface of the access network node.
[0064] Based on the fifth and sixth aspects of the present application, in some possible implementations, the target service interface is the service interface of the access network node, the third message is the fifth request message for calling the service of the access network node, the third target message is the fifth response message for calling the service of the access network node, the fifth response message is the response message of the fifth request message, the fourth target message is the sixth request message for calling the service of the access network node, and the service of the access network node is used to complete the transmission of NAS signaling.
[0065] Based on the fifth and sixth aspects of the present application, in some possible implementations, the fourth message is a sixth response message for calling a service of the access network node, and the sixth response message is a response message to the sixth request message.
[0066] Based on the fifth and sixth aspects of the present application, in some possible implementations, the user device also receives a second message from the first network element for calling the service of the first network element, the second message carries a non-access layer security mode command message, and the non-access layer security mode command message is used to establish a secure channel between the first network element and the user device.
[0067] In a seventh aspect, the present application provides a communication device, which may be a first network element, or a component or device (such as a processor, chip, or chip system, etc.) applied to the first network element, or a logic module or software that can implement all or part of the first network element function. Alternatively, the communication device may be an access network node, or a component or device (such as a processor, chip, or chip system, etc.) applied to the access network node, or a logic module or software that can implement all or part of the access network node function. Alternatively, the communication device may be a user device, or a component or device (such as a processor, chip, or chip system, etc.) applied to the user device, or a logic module or software that can implement all or part of the user device function. The communication device includes:
[0068] A processor is used to execute a program so that the communication device performs the method as described in the first aspect, the third aspect or the fifth aspect and any possible implementation thereof.
[0069] Optionally, the communication device further includes a memory, and the processor is coupled to the memory; the memory is used to store programs.
[0070] In an eighth aspect of the present application, a chip or chip system is provided, which includes at least one processor and a communication interface, wherein the communication interface and the at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions to perform the communication method described in any one of the possible implementation methods of the first, third or fifth aspects.
[0071] The communication interface in the chip may be an input / output interface, a pin or a circuit, etc.
[0072] In one possible implementation, the chip or chip system described above in this application further includes at least one memory, wherein instructions are stored in the at least one memory. The memory may be a storage unit within the chip, such as a register or cache, or a storage unit of the chip, such as a read-only memory or random access memory.
[0073] The ninth aspect of the present application provides a communication system, comprising a communication device for executing the method described in the first aspect, a communication device for executing the method described in the third aspect, and a communication device for executing the method described in the fifth aspect.
[0074] In a tenth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on a computer, enable the computer to execute the method as described in the first aspect above, or enable the computer to execute the method as described in the third aspect above, or enable the computer to execute the method as described in the fifth aspect above.
[0075] In the eleventh aspect of the present application, there is provided a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method as described in the first aspect above, or, enables the computer to execute the method as described in the third aspect above, or, enables the computer to execute the method as described in the fifth aspect above.
[0076] The beneficial effects of the third aspect to the eleventh aspect can be understood by referring to the beneficial effects of the first aspect to the second aspect and their corresponding implementation methods, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS
[0077] Figure 1 A schematic diagram of the service-oriented architecture of the core network in an embodiment of the present application;
[0078] Figure 2 This is a system architecture diagram in an embodiment of the present application;
[0079] Figure 3 This is a schematic diagram of an embodiment of the full service architecture in the embodiment of the present application;
[0080] Figure 4 This is a schematic diagram of an embodiment of a communication method in an embodiment of the present application;
[0081] Figure 5 This is a schematic diagram of another embodiment of the communication method in the embodiment of the present application;
[0082] Figure 6 This is a schematic diagram of another embodiment of the communication method in the embodiment of the present application;
[0083] Figure 7 This is a schematic diagram of another embodiment of the communication method in the embodiment of the present application;
[0084] Figure 8 This is a schematic diagram of another embodiment of the communication method in the embodiment of the present application;
[0085] Figure 9 This is a schematic diagram of an embodiment of a communication device in an embodiment of the present application;
[0086] Figure 10 FIG. 1 is a schematic diagram of another embodiment of a communication device in an embodiment of the present application. DETAILED DESCRIPTION
[0087] The embodiments of the present application are described below in conjunction with the accompanying drawings. Those skilled in the art will appreciate that, with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0088] The terms "first", "second" etc. in the specification, claims and drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, and this is merely a way of distinguishing the objects of the same attributes when describing them in the embodiments of the present application. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, so that the process, method, system, product or equipment comprising a series of units need not be limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0089] First, some technical terms involved in the embodiments of this application are introduced.
[0090] 1) Service-based architecture (SBA) is a business-oriented architecture built on the concept of microservices in CN. In SBA, the interface of each CN network element is uniformly named "N + lowercase English function name abbreviation", such as Figure 1 As shown. For example, the interface of the network slice selection function (NSSF) is Nnssf. The service operation name of the CN network element starts with the interface name. For example, Nnssf_NSSelection represents the network slice selection operation of NSSF. In addition to the unified service-oriented interface, SBA still retains some device interfaces, such as:
[0091] The N1 interface is the NAS interface, used to send NAS messages;
[0092] The N2 interface is the interface between the access network (AN) and the AMF;
[0093] The N3 interface is the interface between the AN and the user plane function (UPF).
[0094] The N4 interface is the device interface that separates the session management function (SMF) in the CP and the UPF in the UP;
[0095] The N6 interface is the protocol interface between the internal network side and the external network side.
[0096] Figure 1The CN network elements in the SBA shown include AUSF network element, AMF network element, SMF network element, NSSF network element, network exposure function (NEF) network element, network repository function (NRF) network element, policy control function (PCF) network element, unified data management (UDM) network element, application function (AF) network element and UPF network element. The UE and AMF network element communicate through the N1 interface, the RAN and AMF network element communicate through the N2 interface, and the UPF communicates with the SMF through the N4 interface.
[0097] 2) The 5th generation mobile communication technology (5G) authentication and key agreement (AKA) protocol is a security protocol in 5G mobile communication networks. It is primarily used for authentication and key negotiation between mobile devices and the network to protect user privacy and data security.
[0098] Specifically, the 5G-AKA protocol undertakes the access authentication and key negotiation functions of 5G mobile devices and is the core protocol for ensuring the security of 5G networks. It includes multiple steps, such as identity authentication, key generation, and key negotiation.
[0099] 3) EAP-AKA (Extensible Authentication Protocol-Authentication and Key Agreement) is a security authentication protocol used in wireless networks. It is an extended version of the AKA algorithm in the Global System for Mobile Communications (GSM).
[0100] See also Figure 2 , the following briefly describes the network architecture based on which the communication method in the embodiment of the present application is based:
[0101] Figure 2 A possible, non-limiting system diagram is shown in FIG. Figure 2 As shown, the communication system 10 includes a RAN 100 and a CN 200. The RAN 100 includes at least one RAN node (e.g., Figure 1110a and 110b, collectively referred to as 110) and at least one terminal (such as Figure 1 120a-120j in the figure, collectively referred to as 120). The RAN 100 may also include other RAN nodes, such as wireless relay devices and / or wireless backhaul devices ( Figure 1 Terminal 120 is wirelessly connected to RAN node 110. RAN node 110 is wirelessly or wiredly connected to core network 200. The core network equipment in core network 200 and RAN node 110 in RAN 100 can be different physical devices, or they can be the same physical device that integrates core network logical functions and radio access network logical functions.
[0102] The RAN 100 may be a cellular system related to the Third Generation Partnership Project (3GPP), such as a 4G or 5G mobile communication system, or a future-oriented evolutionary system (such as a 6G mobile communication system). The RAN 100 may also be an ORAN, a CRAN, or a wireless fidelity (WiFi) system. The RAN 100 may also be a communication system that integrates two or more of the above systems.
[0103] The RAN node 110, sometimes also referred to as access network equipment, RAN entity or access node, constitutes part of the communication system and is used to help terminals achieve wireless access. The multiple RAN nodes 110 in the communication system 10 can be nodes of the same type or different types. In some scenarios, the roles of the RAN node 110 and the terminal 120 are relative, for example, Figure 1 The network element 120i can be a helicopter or a drone, which can be configured as a mobile base station. For the terminals 120j that access the RAN 100 through the network element 120i, the network element 120i is a base station; but for the base station 110a, the network element 120i is a terminal. The RAN node 110 and the terminal 120 are sometimes referred to as communication devices, for example Figure 1 The network elements 110a and 110b can be understood as communication devices with base station functions, and the network elements 120a-120j can be understood as communication devices with terminal functions.
[0104] In one possible scenario, a RAN node may be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next generation NodeB (gNB), a next generation base station in a sixth generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. A RAN node may be a macro base station (e.g. Figure 1 110a in), micro base stations or indoor stations (such as Figure 1 110b in the figure), a relay node or a donor node, or a wireless controller in a CRAN scenario. Optionally, the RAN node may also be a server, a wearable device, a vehicle or an on-board device, etc. For example, the access network device in the vehicle to everything (V2X) technology may be a road side unit (RSU). All or part of the functions of the RAN node in this application may also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform). The RAN node may also be provided with a communication module, circuit or chip that performs the corresponding communication function. The RAN node may also be configured with program instructions for performing the corresponding communication function and corresponding program instructions. The RAN node in this application may also be a logical node, a logical module or software that can implement all or part of the functions of the RAN node.
[0105] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-CP, a CU-UP, or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).
[0106] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.
[0107] A terminal can be a device or module that accesses the above-mentioned communication system and has corresponding communication functions. A terminal can also be referred to as a terminal device, user equipment (UE), mobile station, mobile terminal, etc. Terminals can be widely used in various scenarios, such as device-to-device (D2D), vehicle-to-everything (V2X) communication, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wearable, smart transportation, smart city, etc. Terminals can be mobile phones, tablets, computers with wireless transceiver functions, wearable devices, vehicles, drones, helicopters, airplanes, ships, robots, robotic arms, smart home appliances, transport vehicles with wireless communication functions, communication modules, etc. The embodiments of this application do not limit the device form of the terminal. The terminal is generally provided with a communication module, circuit or chip that performs the corresponding communication functions. The terminal is also configured with program instructions for performing the corresponding communication functions.
[0108] In addition, the embodiments of the present application can also be applied to other future-oriented communication technologies. The network architecture and service scenarios described in this application are intended to more clearly illustrate the technical solutions of this application and do not constitute a limitation on the technical solutions provided by this application. It is known to those skilled in the art that with the evolution of network architecture and the emergence of new service scenarios, the technical solutions provided in this application are also applicable to similar technical problems.
[0109] Figure 3This section illustrates an application scenario applicable to embodiments of the present application. This application scenario is a fully service-based architecture. A fully service-based architecture is a network architecture based on SBA. It splits traditional network functions into multiple independent services, interconnecting and communicating through standard interfaces. Within this architecture, the RAN also employs a service-based design similar to that of the CN, decoupling hardware devices such as base stations from network functions, enabling independent upgrades and expansion of hardware and software. Figure 3 In the service-based RAN shown, the traditional pre-established point-to-point signaling interfaces between base stations and CN network functions are replaced by a unified open bus. The N2 and N3 interfaces connecting the RAN to the CN and data network (DN) are unified as service-based interfaces. The RAN's control plane and user plane functions are restructured into multiple RAN CPSs and UPSs. These services are connected to the core network service bus (SBI) via service-based interfaces, allowing services in the RAN and CN to directly access each other through these interfaces.
[0110] like Figure 3 As shown, the network elements involved in the embodiment of the present application include AMF network elements, AUSF network elements and UDM network elements. Among them, the first network element involved in this system is the AMF network element, which can be responsible for the registration, mobility management, tracking area update process, etc. of the user equipment. The AMF network element can also be called an AMF device or an AMF entity.
[0111] The second network element involved in this system is an AUSF network element. The network functions that the AUSF network element can provide include: authentication control of user equipment. The AUSF network element can also be called an AUSF device or an AUSF entity.
[0112] The network functions that can be provided by the UDM network element involved in this system include: generating authentication parameters. The UDM network element can also be called UDM equipment or UDM entity.
[0113] The service-oriented and open nature of radio access networks (RANs) creates new security risks. However, existing UE access authorization mechanisms, such as the 5G-AKA protocol or EAP-AKA, are based on fixed interfaces and network capabilities in traditional RANs and cannot effectively support service-oriented UEs and RANs.
[0114] In view of this, the embodiment of the present application provides a communication method for authenticating a UE based on a fully serviced architecture. By calling different service-based interfaces, the AMF can authenticate the UE in a variety of ways, which are described below:
[0115] 1. The AMF network element communicates with the RAN node, which forwards the message to the UE.
[0116] 1.1. The UE and RAN communicate via the Nran interface, and the RAN and AMF communicate via the Namf interface.
[0117] See also Figure 4 In an embodiment of the present application, a communication method includes:
[0118] 401. The UE sends a fifth request message to the RAN node.
[0119] During the UE's network access process, the AMF needs to verify the UE's identity to ensure that only authorized devices can access the network. The UE sends a fifth request message to the RAN node by calling the RAN node's service-based interface, namely NRAN. This interface provides calls based on the service-based interface in accordance with the service interface protocol specified by 3GPP. Among them, the services based on the NRAN interface are shown in Table 1 below:
[0120] Table 1:
[0121] Service Name Service Operations Operational semantics consumer Nran_Communication N1N2MessageTransfer Request / Response UE,AMF
[0122] This service is used to complete NAS signaling transmission. Specifically, this service enables the RAN node to forward the N1 message to the AMF network element to the UE, or to forward the N1 message to the AMF network element to the UE. This service also enables the RAN node to communicate with the AMF network element via N2 messages. The main functions of this service include: providing service operations for sending N1 messages to the UE, providing service operations for sending N1 messages to the AMF, providing service operations for sending N2 messages to the AMF, or UE information management and transmission (including its security context).
[0123] The service operations provided by this service include Nran_Communication_N1N2MessageTransfer. This service operation is used to transfer N1 messages between UE and AMF network elements, or to transfer N1 or N2 messages between RAN and AMF network elements.
[0124] The fifth request message is an Nran_Communication_N1N2MessageTransfer_Request message, which carries a subscription concealed identifier (SUCI). The SUCI is used to represent the user's identity information during the UE authentication process. In one possible implementation, the fifth request message may also carry a subscription permanent identifier (SUPI) or a 5G globally unique temporary identifier (5G-GUTI) to represent the user's identity information.
[0125] 402. The RAN node sends a first message to the AMF network element.
[0126] The RAN node sends a first message to the AMF network element based on the service-based interface of the AMF network element. The service-based interface of the AMF network element is Namf, and the RAN node calls the service Namf_Communication on the interface to transmit the identity information from the UE. In one possible implementation, the identity information includes SUCI, SUPI, or 5G-GUTI.
[0127] Specifically, the RAN node calls the first service operation of Namf_Communication, namely Namf_Communication_N1N2MessageTransfer, to transfer the user's identity information and the radio node identifier (radio node identifier, RID) of the RAN node to the AMF network element. The user's identity information and the RID of the RAN node are used by the AMF network element to authenticate the UE. The first message carries the Namf_Communication_N1N2MessageTransfer_Request message, which is used by the AMF network element to initiate authentication of the user equipment. The Namf_Communication service is shown in Table 2 below:
[0128] Table 2:
[0129] Service Name Service Operations Operational semantics consumer Namf_Communication N1N2MessageTransfer Request / Response UE, RAN, peer AMF
[0130] Among them, the consumers shown in Table 2 have been newly added with UE and RAN nodes, that is, UE or RAN node can also call the service operation of Namf_Communication to transmit information.
[0131] In the embodiments of the present application, by treating the UE and the RAN node as consumers in the service based on the NAMF interface, a service-oriented interface of the RAN node, namely the NRAN interface, is proposed. This solves the problem of the lack of a service-oriented interface of the RAN node and the corresponding message transmission mechanism in the current service-oriented architecture, thereby supporting network scenarios under the full service-oriented architecture.
[0132] 403. The AMF network element initiates authentication of the UE;
[0133] After receiving the user's identity information (such as SUCI, SUPI or 5G-GUTI), the AMF network element initiates authentication of the UE through the AUSF network element and UDM network element of the core network.
[0134] Specifically, the AMF network element sends a Nausf_UEAuthentication_Authenticate_Request request message to the AUSF network element. The request message includes at least one of SUCI or SUPI, and the request message also includes the RID and the serving network name (SN-name) of the network where the AMF network element is located. When the AUSF network element receives the request message for calling the Nausf interface service, the AUSF network element sends a Nudm_UEAuthentication_Get request message to the UDM network element to call the Nudm interface service and obtain the authentication vector (AV) generated by the UDM network element, which includes at least the first authentication parameter and the third authentication parameter.
[0135] In one possible implementation, the AUSF network element calculates the fourth authentication parameter based on the third authentication parameter, and sends the first authentication parameter and the fourth authentication parameter to the AMF network element.
[0136] 404. The AMF network element sends a second response message to the RAN node.
[0137] The AMF network element sends a second response message, namely, a Namf_Communication_N1N2MessageTransfer_Response message, to the RAN node. This second response message is a response message to the Namf_Communication_N1N2MessageTransfer_Request message carried by the first message. The second response message includes the first authentication parameter, which is used for UE identity authentication.
[0138] It should be noted that, in one possible implementation, after the AMF network element receives the first authentication parameter and the fourth authentication parameter from the AUSF network element, it saves the fourth authentication parameter locally and then sends the first authentication parameter to the RAN node through a second response message.
[0139] 405. The RAN node sends a fifth response message to the UE.
[0140] After receiving the second response message, the RAN node sends the first authentication parameter to the UE via a fifth response message. Specifically, the fifth response message is a response message to the fifth request message, and the fifth response message is an Nran_Communication_N1N2MessageTransfer_Response message. The message includes the first authentication parameter.
[0141] After receiving the first authentication parameter, the UE calculates the second authentication parameter based on the first authentication parameter. In one possible implementation, the UE verifies the validity of the authentication parameter AUTN. If the verification is successful, the second authentication parameter is calculated based on the authentication parameter AUTN. The second authentication parameter can be the authentication parameter RES or the authentication parameter RES. * , which is not limited here.
[0142] It should be noted that there is a corresponding relationship between the second authentication parameter and the third authentication parameter. In a possible implementation, if the second authentication parameter is the authentication parameter RES, the third authentication parameter is the authentication parameter XRES, and the fourth authentication parameter obtained from the third authentication parameter is the authentication parameter HXRES; if the second authentication parameter is the authentication parameter RES, * , then the third authentication parameter is the authentication parameter XRES * The fourth authentication parameter obtained from the third authentication parameter is the authentication parameter HXRES * .
[0143] 406. The UE sends a sixth request message to the RAN node.
[0144] After the UE calculates and obtains the second authentication parameter, it needs to pass the second authentication parameter to the AUSF network element to obtain the UE's authentication result. Therefore, the UE sends a sixth request message to the RAN node to invoke the Nran_Communication_N1N2MessageTransfer service operation. The sixth request message includes the second authentication parameter.
[0145] 407. The RAN node sends a second request message to the AMF network element.
[0146] The RAN node sends the second authentication parameter to the AMF network element by invoking the second request message of the Namf_Communication_N1N2MessageTransfer service operation.
[0147] 408. The AMF network element obtains the authentication result;
[0148] The AMF network element sends the second authentication parameter to the AUSF network element through the Nausf_UEAuthentication_Authenticate_Request authentication request message, and the AUSF network element authenticates the UE based on the second authentication parameter. When the AUSF network element receives the authentication request message, it verifies whether the AV is expired. If the AV is expired, the AUSF network element determines that the authentication has failed. If the AV is within the validity period, the AUSF network element compares the second authentication parameter with the third authentication parameter. If the two parameters are equal, the AUSF network element determines that the authentication is successful. The AUSF network element sends a message of authentication success to the AMF network element.
[0149] In one possible implementation, the authentication parameter RES * With the authentication parameter XRES * Compare, or compare the authentication parameter RES with the authentication parameter XRES to obtain the authentication result.
[0150] It should be noted that, in one possible implementation, before the AMF network element sends the authentication request message, the AMF network element obtains the fifth authentication parameter based on the second authentication parameter and compares the fifth authentication parameter with the locally stored fourth authentication parameter. If the fifth authentication parameter is equal to the fourth authentication parameter, the AMF network element authenticates the legitimacy of the UE.
[0151] Specifically, the AMF network element uses the authentication parameter RES * Calculate the authentication parameter HRES * The AMF network element verifies the legitimacy of the UE and compares the authentication parameter HRES* with the authentication parameter HXRES*. If the authentication parameter HRES* is equal to the authentication parameter HXRES*, the AMF network element verifies the legitimacy of the UE. If the authentication parameter HRES* is inconsistent with the authentication parameter HXRES*, the AMF network element determines that the authentication is unsuccessful.
[0152] In the embodiment of the present application, by introducing the service-oriented interface of the RAN node, mutual authentication and key deduction of mobile users, access networks and core networks are achieved, ensuring the security of the network access domain in a full service scenario.
[0153] Optionally, in step 409, the AMF network element sends a second message to the RAN node;
[0154] After receiving the authentication success message, the AMF network element confirms that the authentication of the UE is successful. The AMF sends a second message to the RAN node, which carries the Namf_Communication_N1N2MessageTransfer_Response message, which is a response message to the second request message.
[0155] In one possible implementation, the Namf_Communication_N1N2MessageTransfer_Response message carries the authentication result, the NAS Security Mode Command message, or the INITIAL CONTEXT SETUP message. The NAS Security Mode Command message is used to notify the UE that the AMF is authenticated and indicates that the NAS security establishment process for secure message transmission has been initiated. The INITIAL CONTEXT SETUP message is used to establish a secure channel between the AMF network element and the RAN node.
[0156] In a possible implementation, the authentication result is carried in an EAP success message, and the EAP success message is carried in a Namf_Communication_N1N2MessageTransfer_Response message.
[0157] Optionally, 410, the RAN node sends a sixth response message to the UE;
[0158] The RAN node sends an Nran_Communication_N1N2MessageTransfer_Reponse message to the UE. The sixth response message is a response message to the sixth request message.
[0159] In one possible implementation, the Nran_Communication_N1N2MessageTransfer_Reponse message carries the authentication result and a NAS Security Mode Command message or an AS Security Mode Command message. The AS Security Mode Command message is used to establish and activate a security context between the UE and the RAN node to ensure the security and confidentiality of communications between the two.
[0160] 1.2. A radio resource control (RRC) link is established between the UE and the RAN node, and the RAN node and the AMF network element communicate through the Namf interface;
[0161] See also Figure 5 In an embodiment of the present application, a communication method includes:
[0162] 501. The UE sends a registration request message to the RAN node.
[0163] UE sends a registration request message Registration_Request to RAN via RRC connection. The message includes the following contents: Figure 4 The content carried by the fifth request message in step 401 is similar and will not be described in detail here.
[0164] 502. The RAN node sends a first message to the AMF network element.
[0165] 503. The AMF network element initiates authentication of the UE;
[0166] 504. The AMF network element sends a second response message to the RAN node.
[0167] Steps 502 to 504 in this embodiment are similar to those in the previous embodiment. Figure 4 Steps 402 to 404 in the illustrated embodiment are similar and will not be described in detail here.
[0168] 505. The RAN node sends a downlink information transmission message to the UE.
[0169] The RAN node sends a downlink information transfer message, namely, DLinformationTransfer message, to the UE through the RRC link. The content of this message is the same as Figure 4 The content carried by the fifth response message in step 405 is similar and will not be described in detail here.
[0170] 506. The UE sends an uplink information transmission message to the RAN node;
[0171] The UE sends an uplink information transfer message, namely, ULinformationTransfer message, to the RAN node through the RRC connection. The content of this message is the same as Figure 4 The content carried in the sixth request message in step 406 is similar and will not be described in detail here.
[0172] 507. The RAN node sends a second request message to the AMF network element.
[0173] 508. The AMF network element obtains the authentication result;
[0174] Optionally, in step 509, the AMF network element sends a second message to the RAN node;
[0175] Steps 507 to 509 in this embodiment are similar to those in the previous embodiment. Figure 4 Steps 407 to 409 in the illustrated embodiment are similar and will not be described in detail here.
[0176] 1.3. A radio resource control (RRC) link is established between the UE and the RAN node, and the RAN node and the AMF network element communicate through the Namf interface and the Nran interface;
[0177] See also Figure 6 In an embodiment of the present application, a communication method includes:
[0178] 601. The UE sends a registration request message to the RAN node.
[0179] 602. The RAN node sends a first message to the AMF network element.
[0180] 603. The AMF network element initiates authentication of the UE;
[0181] Steps 601 to 603 in this embodiment are similar to those in the previous embodiment. Figure 5 Steps 501 to 503 in the illustrated embodiment are similar and will not be described in detail here.
[0182] 604. The AMF network element sends a first request message to the RAN node.
[0183] The AMF network element sends a first request message, namely, Nran_Communication_N1N2MessageTransfer_Request message, to the RAN node. The first request message includes the following content: Figure 4 The content of the second response message in step 404 is similar and will not be described in detail here.
[0184] 605. The RAN node sends a downlink information transmission message to the UE.
[0185] 606. The UE sends an uplink information transmission message to the RAN node;
[0186] Steps 605 to 606 in this embodiment are similar to those in the above Figure 5 Steps 505 to 506 in the illustrated embodiment are similar and will not be described in detail here.
[0187] 607. The RAN node sends a first response message to the AMF network element.
[0188] The RAN node sends a first response message, namely, Nran_Communication_N1N2MessageTransfer_Response message, to the AMF network element. The first response message is a response message to the first request message, and the content of the first response message is the same as Figure 4 The content of the second request message in step 407 is similar and will not be described in detail here.
[0189] 608. The AMF network element obtains the authentication result;
[0190] Optionally, in step 609, the AMF network element sends a second message to the RAN node;
[0191] Steps 608 to 609 in this embodiment are similar to those in the previous Figure 5 Steps 508 to 509 in the illustrated embodiment are similar and will not be described in detail here.
[0192] 2. The AMF network element communicates directly with the UE;
[0193] 2.1、UE and AMF network elements communicate through the Namf interface;
[0194] See also Figure 7 In an embodiment of the present application, a communication method includes:
[0195] 701. The UE sends a third message to the AMF network element.
[0196] The UE sends a third message to the AMF network element by calling the service-oriented interface of the AMF network element, namely Namf. The third message carries the Namf_Communication_N1N2MessageTransfer_Request message, which includes the user's identity information, such as SUCI, SUPI, or 5G-GUTI. The third message is used by the AMF network element to initiate authentication of the UE.
[0197] 702. The AMF network element initiates authentication of the UE.
[0198] Step 702 in this embodiment is the same as the aforementioned Figure 4 Step 403 in the illustrated embodiment is similar and will not be described in detail here.
[0199] 703. The AMF network element sends a fourth response message to the UE.
[0200] The AMF network element invokes the Namf_Communication service and sends a fourth response message to the UE. The fourth response message is a response message to the Namf_Communication_N1N2MessageTransfer_Request message carried by the third message, and the fourth response message is a Namf_Communication_N1N2MessageTransfer_Response message. The fourth response message includes the first authentication parameter, which is used for UE authentication. After receiving the first authentication parameter, the UE calculates the second authentication parameter based on the first authentication parameter.
[0201] 704. The UE sends a fourth request message to the AMF network element.
[0202] After the UE calculates and obtains the second authentication parameter, it needs to pass the second authentication parameter to the AUSF network element to obtain the UE's authentication result. Therefore, the UE sends a fourth request message to the AMF network element to invoke the Namf_Communication_N1N2MessageTransfer service operation. The fourth request message includes the second authentication parameter.
[0203] 705. The AMF network element obtains the authentication result;
[0204] Step 705 in this embodiment is the same as the aforementioned Figure 4 Step 408 in the illustrated embodiment is similar and will not be described in detail here.
[0205] Optionally, in step 706, the AMF network element sends a fourth message to the UE;
[0206] After receiving the authentication success message, the AMF network element confirms that the authentication of the UE is successful. The AMF sends a fourth message to the UE, which carries the Namf_Communication_N1N2MessageTransfer_Response message, which is a response message to the fourth request message.
[0207] In a possible implementation, the Namf_Communication_N1N2MessageTransfer_Response message carries the authentication result or the non-access stratum security mode command message (NAS Security Mode Command).
[0208] 2.2. The UE and AMF network elements communicate through the Namf interface and the Nue interface;
[0209] See also Figure 8 In an embodiment of the present application, a communication method includes:
[0210] 801. The UE sends a third message to the AMF network element.
[0211] 802. The AMF network element initiates authentication of the UE.
[0212] Steps 801 to 802 in this embodiment are similar to those in the previous embodiment. Figure 7 Steps 701 to 702 in the illustrated embodiment are similar and will not be described in detail here.
[0213] 803. The AMF network element sends a third request message to the UE.
[0214] The AMF network element sends a third request message to the UE by calling the UE's service interface, namely Nue. The services based on the Nue interface are shown in Table 3 below:
[0215] Table 3:
[0216] Service Name Service Operations Operational semantics consumer Nue_UEAuthentication Authenticate Request / Response AMF
[0217] As shown in Table 3, the third request message is Nue_UEAuthentication_Authenticate_Request, which includes the first authentication parameter. This service is used to complete access authentication and key agreement between the UE and the AMF.
[0218] 804. The UE sends a third response message to the AMF network element.
[0219] The UE sends a third response message to the AMF network element, where the third response message includes the same content as Figure 4 The content of the second request message in step 407 is similar and will not be described in detail here. The third response message calls the service of the Nue interface, and the third response message is a Nue_UEAuthentication_Authenticate_Response message.
[0220] 805. The AMF network element obtains the authentication result;
[0221] Optionally, in 806, the AMF network element sends a fourth message to the UE;
[0222] Steps 805 to 806 in this embodiment are similar to those in the previous embodiment. Figure 7 Steps 705 to 706 in the illustrated embodiment are similar and will not be described in detail here.
[0223] The communication method in the embodiment of the present application is described above. The communication device in the embodiment of the present application is described below. Figure 9In the embodiments of the present application, the communication device may be a first network element, or a component or device (such as a processor, a chip, or a chip system) applied to the first network element, or a logic module or software capable of implementing all or part of the functions of the first network element, and may implement the functions of the first network element in the above method. An embodiment of the communication device includes:
[0224] An interface unit 901 is configured to receive a first message based on a service-based interface of a first network element, where the first network element is used for access management and the first message is used to initiate authentication of a user equipment;
[0225] The processing unit 902 is configured to determine a first target message;
[0226] The interface unit 901 is further configured to send a first target message based on a target service-based interface, where the target service-based interface includes a service-based interface of a first network element, a service-based interface of an access network node, or a service-based interface of a user equipment. The first target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment.
[0227] The interface unit 901 is further configured to receive a second target message based on the target service interface, where the second target message includes a second authentication parameter, which is obtained by the user equipment according to the first authentication parameter;
[0228] The processing unit 902 is further configured to obtain a second authentication parameter from the second target message;
[0229] The interface unit 901 is further configured to send a second authentication parameter to the second network element to obtain an authentication result of the user equipment.
[0230] Figure 9 The communication device shown may be an access network node, or a component or device (such as a processor, a chip, or a chip system) applied to an access network node, or a logic module or software that can implement all or part of the functions of the access network node, and can implement the functions of the access network node in the above method. An embodiment of the communication device includes:
[0231] The processing unit 902 is configured to determine a first message;
[0232] An interface unit 901 is configured to send a first message based on a service-based interface of a first network element, where the first network element is used for access management and the first message is used to initiate authentication of a user equipment;
[0233] The interface unit 901 is further configured to receive a first target message from the first network element based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of the first network element or a service-oriented interface of an access network node, and the first target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment;
[0234] The processing unit 902 is further configured to determine a second target message;
[0235] The interface unit 901 is further configured to send a second target message to the first network element based on the target service interface, where the second target message includes a second authentication parameter obtained by the user equipment according to the first authentication parameter.
[0236] Figure 9 The communication device shown may be a user equipment, or a component or device (such as a processor, a chip, or a chip system) applied to the user equipment, or a logic module or software that can implement all or part of the user equipment functions, and can implement the functions of the user equipment in the above method. An embodiment of the communication device includes:
[0237] The processing unit 902 is configured to determine a third message;
[0238] The interface unit 901 is configured to send a third message, where the third message is used to initiate authentication of the user equipment;
[0239] The interface unit 901 is further configured to receive a third target message based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of an access network node or a service-oriented interface of a user equipment, and the third target message includes a first authentication parameter, where the first authentication parameter is used for authentication of the user equipment;
[0240] The processing unit 902 is further configured to obtain a second authentication parameter based on the first authentication parameter;
[0241] The interface unit 901 is further configured to send a fourth target message based on the target service interface, where the fourth target message includes a second authentication parameter, which is obtained by the user equipment according to the first authentication parameter.
[0242] Next, we introduce a communication device provided by an embodiment of the present application. Figure 10 , Figure 10 This is a schematic diagram of the structure of a communication device provided in an embodiment of the present application. The communication device can be the first network element, access network node, or user equipment in the above method embodiment, or can be a chip, chip system, or processor that supports the first network element, access network node, or user equipment to implement the above method. The communication device can be used to implement the method described in the above method embodiment. For details, please refer to the description of the above method embodiment.
[0243] The communication device may include one or more processors 1001, which are connected to a memory 1002, an input / output unit 1003, and a bus 1004. The processor 1001 may be a general-purpose processor or a dedicated processor. For example, it may be a baseband processor or a central processing unit (CPU). The baseband processor may be used to process communication protocols and communication data, while the CPU may be used to control the communication device (e.g., a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute software programs, and process data from the software programs.
[0244] Optionally, the communication device may include one or more memories 1002, which may store instructions that can be executed on the processor 1001, causing the communication device to perform the method described in the above method embodiment. Optionally, the memory 1002 may also store data. The processor 1001 and memory 1002 may be provided separately or integrated together.
[0245] Optionally, the communication device may further include a transceiver and an antenna. A transceiver may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, and is used to implement transceiver functions. A transceiver may include a receiver and a transmitter. The receiver may be referred to as a receiver or a receiving circuit, and is used to implement a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, and is used to implement a transmitting function.
[0246] In another possible design, processor 1001 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and transmitting functions may be separate or integrated. The transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.
[0247] In another possible design, processor 1001 may optionally store instructions that, when executed on processor 1001, may cause the communication device to perform the method described in the above method embodiment. The instructions may be fixed in processor 1001, in which case processor 1001 may be implemented by hardware.
[0248] In another possible design, the communication device may include a circuit, and the circuit may implement the function of transmitting or receiving or communicating the communication device or the first terminal device in the aforementioned method embodiment. The processor and transceiver described in the present application embodiment may be implemented in an integrated circuit (iMtegrated circuit, IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (application specific iMtegrated circuit, ASIC), a printed circuit board (printed circuit board, PCB), an electronic device, etc. The processor and transceiver may also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), M-type metal oxide semiconductor (MKEMT), P-type metal oxide semiconductor (positive chaMMel CMOS), bipolar junction transistor (BJT), bipolar CKOS (BiCKOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0249] The communication device described in the above embodiments may be a terminal device or a network device, but the scope of the communication device described in the embodiments of the present application is not limited thereto, and the structure of the communication device may not be limited thereto. Figure 10 The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:
[0250] (1) An independent integrated circuit (IC), or chip, or chip system or subsystem;
[0251] (2) A set of one or more ICs, optionally including a storage component for storing data and instructions;
[0252] (3) ASIC, such as modem (KSK);
[0253] (4) Modules that can be embedded in other devices;
[0254] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
[0255] (6)Others, etc.
[0256] It is understandable that some optional features in the embodiments of the present application may, in certain scenarios, be implemented independently of other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects. They may also be combined with other features in certain scenarios as needed. Accordingly, the communication device provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.
[0257] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
[0258] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROK), a programmable read-only memory (PROK), an erasable programmable read-only memory (EPROK), an electrically erasable programmable read-only memory (EEPROK), or a flash memory. The volatile memory may be a random access memory (RAK), which is used as an external cache. By way of example and not limitation, many forms of RAK are available, such as static random access memory (SRAK), dynamic random access memory (DRAK), synchronous dynamic random access memory (SDRAK), double data rate synchronous dynamic random access memory (DDR SDRAK), enhanced synchronous dynamic random access memory (ESDRAK), synchronous link dynamic random access memory (SLDRAK), and direct memory bus random access memory (DR RAK). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0259] An embodiment of the present application also provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute the method in the aforementioned embodiment.
[0260] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method in the aforementioned embodiment.
[0261] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0262] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0263] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0264] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0265] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0266] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented using software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions according to the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. Available media may be magnetic media (eg, floppy disks, hard disks, tapes), optical media (eg, high-density digital video discs (DVDs)), or semiconductor media (eg, solid state disks (SSDs)).
Claims
1. A communication method, characterized in that: include: A first network element receives a first message based on a service-based interface of the first network element, where the first network element is used for access management and the first message is used to initiate authentication of a user equipment; The first network element sends a first target message based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of the first network element, a service-oriented interface of an access network node, or a service-oriented interface of the user equipment, and the first target message includes a first authentication parameter, where the first authentication parameter is used for authenticating the user equipment; The first network element receives a second target message based on the target service-oriented interface, where the second target message includes a second authentication parameter, and the second authentication parameter is obtained by the user equipment according to the first authentication parameter; The first network element sends the second authentication parameter to the second network element to obtain an authentication result of the user equipment.
2. The method according to claim 1, characterized in that The first network element is the access and mobility management function AMF, and the second network element is the authentication service function AUSF.
3. The method according to claim 1 or 2, characterized in that The method further comprises: The first network element receives an authentication result of the user equipment from the second network element; The first network element sends a second message based on a service-based interface of the first network element, where the second message is used to indicate an authentication result of the user equipment.
4. The method according to claim 3, characterized in that The service-based interface of the first network element is used to implement the transmission of non-access layer NAS signaling. The first service operation based on the service-based interface of the first network element is called through a service request message or a service response message. The first service operation is used to deliver a message to the user equipment or the access network node. The service request message is carried on the first message, and the service response message is carried on the second message.
5. The method according to any one of claims 1 to 4, characterized in that The first network element communicates with the access network node through the service-based interface of the first network element or the service-based interface of the access network node.
6. The method according to claim 5, characterized in that The target service interface is the service interface of the access network node, the first target message is the first request message for calling the service of the access network node, the second target message is the first response message for calling the service of the access network, the first response message is the response message of the first request message, and the service of the access network node is used to complete the transmission of NAS signaling.
7. The method according to claim 5, characterized in that The target service interface is the service interface of the first network element, the first target message is the second response message for calling the first service operation, the first service operation is used to call the service of the first network element, the second response message is the response message of the first message, and the second target message is the second request message for calling the first service operation.
8. The method according to any one of claims 1 to 4, characterized in that The first network element communicates with the user equipment through a service-based interface of the first network element or a service-based interface of the user equipment.
9. The method according to claim 8, characterized in that The target service interface is the service interface of the user device, the first target message is the third request message for calling the service of the user device, the second target message is the third response message for calling the service of the user device, and the service of the user device is used to complete access authentication and key negotiation services.
10. The method according to claim 8, characterized in that The target service interface is the service interface of the first network element, the first target message is the fourth response message for invoking the first service operation, and the second target message is the fourth request message for invoking the first service operation.
11. A communication method, characterized in that: include: The access network node sends a first message to the first network element based on a service-based interface of the first network element, where the first network element is used for access management and the first message is used to initiate authentication of the user equipment; The access network node receives a first target message from the first network element based on a target service-oriented interface, where the target service-oriented interface includes a service-oriented interface of the first network element or a service-oriented interface of the access network node, and the first target message includes a first authentication parameter, where the first authentication parameter is used for authenticating the user equipment; The access network node sends a second target message to the first network element based on the target service-oriented interface, where the second target message includes a second authentication parameter, and the second authentication parameter is obtained by the user equipment according to the first authentication parameter.
12. The method according to claim 11, characterized in that The first network element is AMF.
13. The method according to claim 11 or 12, characterized in that The method further comprises: The access network node receives a second message from the first network element based on a service-oriented interface of the first network element, where the second message is used to indicate an authentication result of the user equipment.
14. The method according to claim 13, characterized in that The service-based interface of the first network element is used to implement the transmission of NAS signaling. The first service operation based on the service-based interface of the first network element is called through a service request message or a service response message. The first service operation is used to transmit a message to the user equipment or the access network node. The service request message is carried on the first message, and the service response message is carried on the second message.
15. The method according to any one of claims 11 to 14, characterized in that The target service interface is the service interface of the first network element, the first target message is the second response message for calling the first service operation, the first service operation is used to call the service of the first network element, the second target message is the second request message for calling the first service operation, and the second response message is the response message of the first message.
16. The method according to claim 14, characterized in that The target service interface is the service interface of the access network node, the first target message is the first request message for calling the service of the access network node, the second target message is the first response message for calling the service of the access network node, the first response message is the response message of the first request message, and the service of the access network node is used to complete the transmission of NAS signaling.
17. The method according to any one of claims 11 to 15, characterized in that The method further comprises: The access network node receives a fifth request message from the user equipment based on the service-based interface of the access network node, where the fifth request message is used for the user equipment to register; The access network node sends a fifth response message to the user equipment based on the service-based interface of the access network node, where the fifth response message includes the first authentication parameter and is a response message to the fifth request message; The access network node receives a sixth request message from the user equipment based on the service-based interface of the access network node, where the sixth request message includes the second authentication parameter, which is obtained by the user equipment according to the first authentication parameter.
18. The method according to claim 17, characterized in that The method further comprises: The access network node sends a sixth response message to the user equipment based on the service-based interface of the access network node, where the sixth response message is used to indicate an authentication result of the user equipment, and the sixth response message is a response message to the sixth request message.
19. A communication method, characterized in that: include: The user equipment sends a third message, where the third message is used to initiate authentication of the user equipment; The user equipment receives a third target message based on a target servitized interface, where the target servitized interface includes a servitized interface of an access network node or a servitized interface of the user equipment, and the third target message includes a first authentication parameter, where the first authentication parameter is used for authenticating the user equipment; The user equipment sends a fourth target message based on the target servitized interface, where the fourth target message includes a second authentication parameter, and the second authentication parameter is obtained by the user equipment according to the first authentication parameter.
20. The method according to claim 19, wherein The method further comprises: The user equipment receives a fourth message, where the fourth message is used to indicate an authentication result of the user equipment.
21. The method according to claim 19 or 20, characterized in that The user equipment communicates with the first network element.
22. The method according to claim 21, characterized in that The first network element is AMF.
23. The method according to claim 21 or 22, characterized in that The third message and the fourth message are used to call the service of the first network element. The service interface of the first network element is used to implement the transmission of NAS signaling. The first service operation based on the service interface of the first network element is called through a service request message or a service response message. The first service operation is used to deliver a message to the user equipment or the access network node. The service request message is carried on the third message, and the service response message is carried on the fourth message.
24. The method according to any one of claims 21 to 23, characterized in that The target service interface is the service interface of the user device, the third target message is the third request message for calling the service of the user device, the fourth target message is the third response message for calling the service of the user device, and the third response message is the response message of the third request message. The service of the user device is used to complete access authentication and key negotiation services.
25. The method according to any one of claims 21 to 23, characterized in that The target service interface is the service interface of the first network element, the third target message is the fourth response message for calling the first service operation, the fourth response message is the response message of the third message, and the fourth target message is the fourth request message for calling the first service operation.
26. The method according to claim 19 or 20, characterized in that The user equipment communicates with the access network node through the service-based interface of the access network node.
27. The method according to claim 26, characterized in that The target service-oriented interface is the service-oriented interface of the access network node, the third message is the fifth request message for calling the service of the access network node, the third target message is the fifth response message for calling the service of the access network node, the fifth response message is the response message of the fifth request message, and the fourth target message is the sixth request message for calling the service of the access network node. The service of the access network node is used to complete the transmission of NAS signaling.
28. The method according to claim 27, characterized in that The fourth message is a sixth response message for invoking the service of the access network node, and the sixth response message is a response message to the sixth request message.
29. A communication device, characterized in that: The method comprises modules or units for executing the method according to any one of claims 1 to 10.
30. A communication device, characterized in that: The method comprises modules or units for performing the method according to any one of claims 11 to 18.
31. A communication device, characterized in that: The method comprises modules or units for performing the method according to any one of claims 19 to 28.
32. A communication device, characterized in that: include: A processor, configured to execute a program so that the communication device performs the method according to any one of claims 1 to 10.
33. A communication device, characterized in that: include: A processor, configured to execute a program so that the communication device performs the method according to any one of claims 11 to 18.
34. A communication device, characterized in that: include: A processor, configured to execute a program so that the communication device performs the method according to any one of claims 19 to 28.
35. A communication system, characterized in that: include: A communication device for performing the method according to any one of steps 1 to 10, a communication device for performing the method according to any one of claims 11 to 18, and a communication device for performing the method according to any one of claims 19 to 28.
36. A computer-readable storage medium comprising instructions, which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 10, or cause the computer to perform the method according to any one of claims 11 to 18, or cause the computer to perform the method according to any one of claims 19 to 28.
37. A computer program product comprising instructions which, when run on a computer, causes the computer to perform the method according to any one of claims 1 to 10, or causes the computer to perform the method according to any one of claims 11 to 18, or causes the computer to perform the method according to any one of claims 19 to 28.
