Message processing method, electronic device, and storage medium

By introducing CMF network elements to manage NAS security contexts and perform security checks, the problem of AMF network elements becoming a bottleneck in message processing in the 5G core network is solved, thus improving the efficiency of the communication system.

WO2026237663A1PCT designated stage Publication Date: 2026-11-19ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/091937
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-15
Filing Date
2026-04-21
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

In the 5G core network architecture, the AMF network element becomes a bottleneck in message processing due to handling a large number of encryption/decryption, integrity verification, and signaling transmission tasks, which leads to a decrease in the efficiency of the communication system, especially in dense networking and high-frequency mobility scenarios.

Method used

The CMF (Connectivity Management) network element is introduced to be responsible for NAS security context management and security checks, offloading some tasks from the AMF network element, including obtaining the non-access NAS security context of user terminals, performing security checks and protection on NAS messages, and communicating with other core network elements and base stations through service interfaces.

Benefits of technology

It reduces the complexity and load of AMF network elements, improves message processing efficiency, and enhances the performance of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026091937_19112026_PF_FP_ABST
    Figure CN2026091937_19112026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a message processing method, an electronic device, and a storage medium. The method is applied to a first connection management function (CMF) network element. The first CMF network element may be established on the basis of a functional split of an access and mobility management function (AMF) network element, and is specifically responsible for functions related to connection management. The method comprises: acquiring a non-access stratum (NAS) security context corresponding to a user terminal (310); and receiving a first NAS message transmitted by the user terminal, performing security check on the first NAS message on the basis of the NAS security context, and transmitting the first NAS message to a first AMF network element (320).
Need to check novelty before this filing date? Find Prior Art

Description

Message processing methods, electronic devices and storage media

[0001] Cross-references to related applications

[0002] This application is based on and claims priority to Chinese Patent Application No. 2025106294308, filed on May 15, 2025, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The embodiments of this application relate to, but are not limited to, the field of communication technology, and in particular to a message processing method, an electronic device, and a storage medium. Background Technology

[0004] In the 5G core network (5GC) architecture, the AMF (Access and Mobility Management Function) network element is one of the core network elements of the control plane, responsible for user terminal (UE) access authentication, mobility management, and the establishment and maintenance of session connections. The AMF network element is a key hub for 5G to achieve flexible access and efficient mobility, fully embodying the service-oriented architecture (SBA), cloud-native, and stateless concepts of the 5G core network.

[0005] In related technologies, the AMF (Access Context) network element is responsible for maintaining the UE's non-access NAS security context. All NAS messages between the UE and the core network (such as registration, authentication, and session management requests) must pass through the AMF network element. Furthermore, the AMF network element is the control plane entry point for the base station (gNB) to access the core network; all NAS messages between the base station and the core network (such as handover requests and UE context transmissions) must be forwarded through the AMF network element. With the increase in the number of UEs, or in dense network deployments and high-frequency mobility scenarios (such as high-speed rail and drones), the AMF network element needs to handle a large number of encryption / decryption, integrity verification, and signaling transmission tasks, resulting in a heavy load and potentially becoming a bottleneck in message processing, increasing message processing latency and affecting the efficiency of the communication system. Summary of the Invention

[0006] This application provides a message processing method, an electronic device, and a storage medium.

[0007] On one hand, this application provides a message processing method applied to a first connection management function (CMF) network element. The method includes: obtaining a non-access NAS security context corresponding to a user terminal; receiving a first NAS message transmitted by the user terminal; performing a security check on the first NAS message according to the NAS security context; and transmitting the first NAS message to a first connection and mobility management function (AMF) network element.

[0008] On the other hand, embodiments of this application also provide a message processing method applied to a first AMF network element, the method comprising: transmitting a second NAS message to the first CMF network element; wherein the first CMF network element is used to perform security protection on the second NAS message according to the NAS security context.

[0009] On the other hand, embodiments of this application also provide an electronic device, including: at least one processor; at least one memory for storing at least one program; at least one program is executed by at least one processor to perform the message processing method as described above.

[0010] On the other hand, embodiments of this application also provide a computer-readable storage medium storing computer-executable instructions for performing the message processing method as described above.

[0011] On the other hand, embodiments of this application also provide a computer program product, including a computer program or computer instructions, wherein the computer program or computer instructions are stored in a computer-readable storage medium, and a processor of an electronic device reads the computer program or computer instructions from the computer-readable storage medium and executes the computer program or computer instructions, causing the electronic device to perform the message processing method as described above. Attached Figure Description

[0012] Figure 1 shows a schematic diagram of a communication system architecture in the related technology;

[0013] Figure 2 shows a schematic diagram of a communication system architecture provided in an embodiment of this application;

[0014] Figure 3 shows a flowchart of a message processing method provided in an embodiment of this application;

[0015] Figure 4 shows a flowchart of another message processing method provided in an embodiment of this application;

[0016] Figure 5 shows an interactive schematic diagram of a user terminal during the initial registration process according to an embodiment of this application;

[0017] Figure 6 illustrates an interaction diagram of a user terminal during a mobility update process according to an embodiment of this application;

[0018] Figure 7 illustrates an interaction diagram of a user terminal during the interface release process according to an embodiment of this application;

[0019] Figure 8 illustrates an interactive diagram of a user terminal during the connection reconstruction process according to an embodiment of this application;

[0020] Figure 9 shows an interactive schematic diagram of reconstructing a user terminal's network connection via paging, according to an embodiment of this application. Detailed Implementation

[0021] To make the objectives, technical methods, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0022] It should be noted that although the flowchart shows a logical order, in some cases, the steps shown or described may be executed in a different order than that shown in the flowchart. In the description of the specification, claims, and the above-mentioned figures, "multiple" means two or more; "greater than," "less than," and "exceeding" are understood to exclude the stated number; "above," "below," and "within" are understood to include the stated number. The use of terms such as "first" and "second" is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly specifying the number of indicated technical features or their sequential relationship. Furthermore, in the description of the specification, claims, and the above-mentioned figures, the various values ​​mentioned (such as first value, second value, etc.) can be flexibly represented as single numeric codes or enumerated type values. These values ​​can clearly guide and control the execution flow and behavior patterns of various functional modules, ensuring the efficiency of decoding or encoding.

[0023] In the 5G core network (5GC) architecture, the AMF (Access and Mobility Management Function) network element is one of the core network elements of the control plane, responsible for user terminal (UE) access authentication, mobility management, and the establishment and maintenance of session connections.

[0024] Specifically, the main functions of the current AMF network element include the following:

[0025] 1. User Registration Management:

[0026] User registration: The AMF network element handles the UE registration process, verifies the UE's identity, and assigns a temporary identifier to it.

[0027] User deregistration: When a UE leaves the network or switches to another access network, the AMF network element is responsible for managing the deregistration process.

[0028] 2. Connection Management:

[0029] Connection establishment and release: The AMF network element is responsible for establishing and releasing the connection between the UE and the network.

[0030] Mobility management in connected mode: When the UE is in a connected state, the AMF network element manages its handover between different base stations.

[0031] 3. Mobility Management:

[0032] Idle Mode Mobility Management: When the UE is in an idle state, the AMF network element tracks its location and determines the most suitable base station for connection.

[0033] Connectivity-mode mobility management: The AMF network element handles mobility events of the UE in connected mode, such as handover between base stations.

[0034] 4. Safety Management:

[0035] Authentication and authorization: The AMF network element is responsible for UE authentication and authorization, ensuring that only legitimate users can access the network.

[0036] Security Context Management: The AMF network element maintains the NAS (Non-Access Stratum) security context for each UE to ensure the integrity and confidentiality of NAS message communication.

[0037] 5. Session Management:

[0038] Session establishment and release: The AMF network element is responsible for establishing, modifying and releasing communication sessions between the UE and the SMF network element (Session Management Function).

[0039] AMF network elements are key hubs for 5G to achieve flexible access and efficient mobility, and they fully embody the concepts of service-oriented architecture (SBA), cloud-native architecture, and statelessness of the 5G core network.

[0040] In related technologies, the AMF network element is responsible for maintaining the UE's non-access NAS security context. All NAS messages between the UE and the core network (such as registration, authentication, and session management requests) must pass through the AMF network element. Moreover, the AMF network element is the control plane entry point for the base station (gNB) to access the core network. All NAS messages between the base station and the core network (such as handover requests and UE context transmissions) must be forwarded through the AMF network element.

[0041] In some examples, please refer to Figure 1, which shows a schematic diagram of a communication system architecture in the related art. The communication system in Figure 1 is a 5G system, and the specific details of its various nodes or network functions are as follows:

[0042] UE (User Equipment): i.e., the user. The UE accesses the RAN through the Uu interface and the AMF network element of the core network through the N1 interface.

[0043] RAN (Radio Access Network): Also known as a wireless base station, it is responsible for resource allocation of the Uu interface and access control of the UE.

[0044] AMF (Access and Mobility Management function): Manages user access to the network and is responsible for UE-to-network NAS (Non-Access Stratum) signaling management, user mobility management, and other functions. Its main functions include user registration management, connection management, mobility management, security management, and session management.

[0045] UDM (Unified Data Management): is the permanent storage location for user subscription data, located within the user's home network.

[0046] SMF (Session Management Function): Manages user PDU (Packet Data Unit) sessions and QoS flows, and formulates packet detection and forwarding rules for UPF network elements; SMF network elements are configured locally, or receive session policy control rules from PCF network elements, and the policy control rules control the data transmission path and QoS policy between UPF network elements and UE.

[0047] UPF (User Plane Function): Based on the rules issued by the SMF network element, it is responsible for functions such as routing and forwarding IP data and non-IP data, and reporting usage.

[0048] PCF (Policy Control Function): Based on user subscriptions, application requirements, and local configuration, it provides session policy rules to SMF network elements. Simultaneously, PCF network elements can also send URSP rules to the UE through AMF network elements, controlling the UE to generate appropriate PDU session parameters according to different application requests.

[0049] NRF (Network Repository Function): Primarily responsible for the registration, discovery, management, and configuration of Network Functions (NFs). By managing NF registration and discovery, NRF elements support the dynamic deployment and optimization of 5G networks, enabling the adjustment of network resources based on real-time demands.

[0050] Data Network: A network that provides services to users through the user plane. Users access the data network through PDU sessions.

[0051] As shown in Figure 1, the AMF (Application Function) element, as the first network node for users / base stations to access the core network, includes functions such as user registration management, connection management, mobility management, security management, and session management. All N1 / N2 messages (NAS messages) must pass through the AMF element. With the increase in the number of UEs, or in dense networking and high-frequency mobility scenarios (such as high-speed rail and drones), the AMF element needs to handle a large number of encryption / decryption, integrity verification, and signaling transmission tasks, resulting in a heavy load and making it prone to becoming a bottleneck in message processing, increasing message processing latency, and affecting the efficiency of the communication system.

[0052] In view of this, embodiments of this application provide a message processing method, electronic device, and storage medium applied to a first connection management function (CMF) network element. The first CMF network element can be established based on the functional decomposition of the AMF network element and is specifically responsible for connection management-related functions. The method includes: obtaining the non-access NAS security context corresponding to the user terminal; receiving a first NAS message transmitted by the user terminal; performing a security check on the first NAS message according to the NAS security context; and transmitting the first NAS message to the first connection and mobility management function (AMF) network element. This application manages the NAS security context through the first CMF network element and performs a security check on the first NAS message uplinked by the UE according to the NAS security context, thereby replacing some tasks of the AMF network element. In this way, the AMF network element will be further service-oriented, which can reduce the complexity of the AMF network element, improve the efficiency of message processing, and help improve system performance.

[0053] In some examples, please refer to Figure 2, which shows a schematic diagram of a communication system architecture provided in an embodiment of this application. Comparing Figure 2 and Figure 1, the communication system architecture provided in this embodiment adds a CMF (Connection Management Function) network element, which can be responsible for the connection management between the UE and the base station; while the registration function is still retained in the AMF network element. The CMF network element uses a service-oriented interface with other core network elements, a traditional N2 interface (i.e., reusing the 5G N2 interface between the AMF network element and the base station) with the base station, and an N1 interface with the terminal.

[0054] The communication system architecture provided in this application adds a CMF network element and adapts the functions of the AMF network element as follows: The main functions of the CMF network element include idle state and connection state management, NAS security context management, N1 / N2 message forwarding, and session information storage. The main functions of the AMF network element include user authentication, UDM subscription, mobility management, allocation of temporary identifiers, and registration area. The functions of other nodes or network functions shown in Figure 2 are similar to those of the same nodes or network functions in Figure 1, and will not be described in detail here.

[0055] The process of connecting a CMF (Communication Management Function) network element to the communication system mainly includes: After the base station powers on, it initiates an N2 interface establishment procedure with the CMF network element, sending the RAN identifier, the Tracking Area Identity (TAI) information corresponding to the RAN, and the supported network slice information to the CMF network element. The CMF network element then uses the service interface to register and update its configuration file with the NRF (Network RF) network element. The NRF or CMF network element then sends a notification message to the AMF (Application Management Function) network element, informing it of the CMF network element's configuration file and corresponding RAN information, including the RAN identifier, the Tracking Area Identity (TAI) information, and the supported network slice information. Upon receiving this information, the AMF network element knows which base stations it can initiate downlink messages to through the CMF network element.

[0056] Based on the communication system architecture mentioned above, the message processing method provided in the embodiments of this application will be further described below.

[0057] Please refer to Figure 3, which is a flowchart of a message processing method provided in an embodiment of this application. This message processing method is applied to a first CMF network element. In Figure 3, the message processing method may include, but is not limited to, steps 310 to 320.

[0058] Step 310: Obtain the non-access NAS security context corresponding to the user terminal.

[0059] Step 320: Receive the first NAS message transmitted by the user terminal, perform a security check on the first NAS message according to the NAS security context, and transmit the first NAS message to the first connectivity and mobility management function (AMF) network element.

[0060] The message processing method provided in this application mainly relates to the field of mobile communication technology. It can be applied to a first CMF network element, which can be any CMF network element configured in the communication system. The first CMF network element can obtain the Non-Access Security (NAS) context corresponding to the user terminal (UE), thereby performing a security check on the first NAS message uplinked by the UE, and then transmitting it to the first AMF network element. Similarly, the first AMF network element here can be any AMF network element configured in the communication system. In this way, some functions of the AMF network element can be offloaded to the CMF network element for execution, reducing the load on the AMF network element, improving message processing efficiency, and thus improving the performance of the communication system.

[0061] It should be noted that, in the embodiments of this application, the security check on the first NAS message may include, but is not limited to, decryption and integrity verification. By performing a security check on the first NAS message, the confidentiality of communication can be improved, and the message can be verified to have not been tampered with, thus ensuring its integrity.

[0062] In some embodiments, the first NAS message includes requests sent by the user terminal during the initial registration process, mobility update process, or connection reconstruction process. In 5G networks, non-access stratum signaling interactions between the user terminal (UE) and the core network mainly occur during the initial registration process, mobility update process, and connection reconstruction process. The various requests sent during these processes constitute the first NAS message and require security checks to ensure the legitimacy and security of network access.

[0063] In some embodiments, the NAS security context is generated locally by the first CMF network element. In this embodiment, the information in the NAS security context may include, but is not limited to, keys, algorithm identifiers, and counters. The keys can be used to encrypt / decrypt transmitted NAS messages, the algorithm identifiers are used to indicate the type of algorithm used (such as NEA2-AES-128-CTR), and the counters can be used to prevent replay attacks.

[0064] Of course, it is understood that the information in the NAS security context is not limited to the above examples, and can be flexibly adjusted according to actual needs. This application does not impose any restrictions on this.

[0065] In this embodiment, the NAS security context can be generated during the initial UE registration process, specifically by the first CMF network element generating and storing it locally. For example, the first CMF network element can select encryption and integrity algorithms to generate the corresponding NAS security context based on the security capabilities supported by the UE (NEA / NIA list) and local policies.

[0066] In some embodiments, the method further includes:

[0067] The system receives the second NAS message transmitted by the first AMF network element, performs security protection on the second NAS message according to the NAS security context, and then transmits the second NAS message to the user terminal.

[0068] In this embodiment, the first CMF network element can transmit not only uplink NAS messages but also downlink NAS messages, such as the NAS message transmitted by the first AMF network element to the user terminal. In this embodiment, this is referred to as the second NAS message. When transmitting the second NAS message, the first CMF network element can receive the second NAS message from the first AMF network element, perform security protection on the second NAS message according to the obtained NAS security context, and then transmit it to the user terminal. Here, the security protection of the second NAS message by the first CMF network element mainly includes encryption and integrity protection.

[0069] It is understood that, in this embodiment of the application, transferring the functions related to NAS security context management and applications in the AMF network element to the CMF network element can further promote the service-oriented nature of the AMF network element, reduce the complexity of its functions and business load, and help improve the efficiency of message processing and the performance of the communication system.

[0070] In some embodiments, the NAS security context can be configured into the first CMF network element not only by being generated locally by the first CMF network element as described above, but also by the first CMF network element obtaining it from the first AMF network element and then configuring it into the first CMF network element. The NAS security context on the first AMF network element side can be generated locally by the first AMF network element, or obtained by the first AMF network element from the CMF network element where the user terminal last accessed the network.

[0071] In some embodiments, the second NAS message includes one of the following: a temporary identifier assigned to the user terminal by the first AMF network element, or the registration area corresponding to the user terminal determined by the first AMF network element.

[0072] In this application embodiment, the second NAS message sent downlink from the first AMF network element to the user terminal may include, in some embodiments, a temporary identifier allocated by the first AMF network element to the user terminal, such as a globally unique temporary identifier, which can be used to identify the user terminal and distinguish different user terminals; in some embodiments, the second NAS message may also include the registration area (RA) corresponding to the user terminal determined by the first AMF network element, which can be generated based on the location information currently accessed by the user terminal and the location information supported by the base station; in some embodiments, the second NAS message may also include an identifier corresponding to the first CMF network element, used to identify the CMF network element accessed by the user terminal this time, which is not limited in this application.

[0073] In some embodiments, the first AMF network element may be determined by the first CMF network element through the Network Storage Function (NRF) network element; or, in some embodiments, the first AMF network element may be determined by the first CMF network element according to the locally configured AMF network element selection rules; or, in other embodiments, the first AMF network element may be determined by the first CMF network element according to the temporary identifier of the user terminal.

[0074] In some embodiments, the first CMF network element can also send the NAS security context to the first AMF network element for storage. This way, when a user terminal needs to switch or reconnect to a CMF network element, the first AMF network element can send the stored NAS security context to the newly connected CMF network element, facilitating the CMF network element to quickly restore the user context and thus improving message processing efficiency.

[0075] In some embodiments, the first CMF network element can also receive paging information sent by the first AMF network element; and perform paging based on the paging information. Paging through the first CMF network element can quickly rebuild the connection between the user terminal and the network, enabling the user terminal to enter the connected state.

[0076] In some embodiments, the paging information carries a temporary identifier assigned to the user terminal by the first AMF network element. The temporary identifier can be used to indicate which user terminals the first CMF network element paging, thereby enabling the reconnection of specific user terminals.

[0077] In some embodiments, the paging information carries the registration area of ​​the user terminal determined by the first AMF network element. The registration area can be used to indicate the location range for the first CMF network element to perform paging. The first CMF network element can select the corresponding base station to perform paging based on the registration area, thereby improving the efficiency and accuracy of paging.

[0078] Please refer to Figure 4, which is a flowchart of another message processing method provided in an embodiment of this application. This message processing method is applied to a first AMF network element. In Figure 4, the message processing method may include, but is not limited to, step 410.

[0079] Step 410: Transmit the second NAS message to the first CMF network element; wherein the first CMF network element is used to perform security protection on the second NAS message according to the NAS security context.

[0080] In this embodiment, the first AMF network element can transmit downlink NAS messages to the first CMF network element, which are referred to as the second NAS message. When transmitting the second NAS message, the first CMF network element can receive the second NAS message from the first AMF network element, perform security protection on the second NAS message according to the obtained NAS security context, and then transmit it to the user terminal. The user terminal and the NAS security context correspond. Here, the security protection performed by the first CMF network element on the second NAS message mainly includes encryption and integrity protection.

[0081] Of course, in addition to transmitting downlink NAS messages to the first CMF network element, the first AMF network element can also receive uplink NAS messages transmitted by the first CMF network element, such as uplink NAS messages sent by the user terminal to the first CMF network element, which are referred to as the first NAS message in this embodiment. The first CMF network element can perform security checks on the uplink first NAS message from the user terminal according to the NAS security context corresponding to the user terminal, and then transmit it to the first AMF network element. Here, the security checks performed by the first CMF network element on the first NAS message may include, but are not limited to, decryption and integrity verification. By performing security checks on the first NAS message, the confidentiality of communication can be improved, and the message can be verified to have not been tampered with, ensuring integrity.

[0082] It should be noted that, in the embodiments of this application, the first CMF network element can be any CMF network element configured in the communication system. Similarly, the first AMF network element can be any AMF network element configured in the communication system. This application does not impose any restrictions on this.

[0083] In this embodiment of the application, the information in the NAS security context may include, but is not limited to, keys, algorithm identifiers, and counters. The keys can be used to encrypt / decrypt transmitted NAS messages, the algorithm identifiers are used to indicate the type of algorithm used (such as NEA2-AES-128-CTR), and the counters can be used to prevent replay attacks.

[0084] Of course, it is understood that the information in the NAS security context is not limited to the above examples, and can be flexibly adjusted according to actual needs. This application does not impose any restrictions on this.

[0085] The NAS security context is configured into the first CMF network element in one of the following ways: In some embodiments, it is generated locally by the first CMF network element. For example, the first CMF network element can select encryption and integrity algorithms to generate the corresponding NAS security context based on the security capabilities supported by the UE (NEA / NIA list) and local policies. Alternatively, in some embodiments, it can be obtained by the first CMF network element from the first AMF network element and then configured into the first CMF network element. The NAS security context on the first AMF network element side can be generated locally by the first AMF network element, or it can be obtained by the first AMF network element from the CMF network element that the user terminal previously accessed.

[0086] In some embodiments, the second NAS message includes one of the following: a temporary identifier assigned to the user terminal by the first AMF network element, or the registration area corresponding to the user terminal determined by the first AMF network element.

[0087] In this application embodiment, the second NAS message sent downlink from the first AMF network element to the user terminal may include, in some embodiments, a temporary identifier allocated by the first AMF network element to the user terminal, such as a globally unique temporary identifier, which can be used to identify the user terminal and distinguish different user terminals; in some embodiments, the second NAS message may also include the registration area (RA) corresponding to the user terminal determined by the first AMF network element, which can be generated based on the location information currently accessed by the user terminal and the location information supported by the base station; in some embodiments, the second NAS message may also include an identifier corresponding to the first CMF network element, used to identify the CMF network element accessed by the user terminal this time, which is not limited in this application.

[0088] In some embodiments, the first AMF network element can receive and store the NAS security context sent by the first CMF network element. Specifically, the NAS security context can be stored locally by the first AMF network element or sent by the first AMF network element to the Unstructured Data Storage Function (UDSF) network element for storage. Thus, when a user terminal needs to switch or reconnect to a CMF network element, the first AMF network element can send the stored NAS security context to the newly connected CMF network element, facilitating the CMF network element to quickly restore the user context and thereby improving message processing efficiency.

[0089] In some embodiments, the first AMF network element can also send paging information to the first CMF network element. The first CMF network element can perform paging based on the paging information, thereby quickly re-establishing the connection between the user terminal and the network, and enabling the user terminal to enter the connected state.

[0090] In some embodiments, the paging information carries a temporary identifier assigned to the user terminal by the first AMF network element. The temporary identifier can be used to indicate which user terminals the first CMF network element paging, thereby enabling the reconnection of specific user terminals.

[0091] In some embodiments, the paging information carries the registration area of ​​the user terminal determined by the first AMF network element. The registration area can be used to indicate the location range for the first CMF network element to perform paging. The first CMF network element can select the corresponding base station to perform paging based on the registration area, thereby improving the efficiency and accuracy of paging.

[0092] In some embodiments, the first CMF (Communication Function Model) network element is determined by the radio access network that the user terminal requests access to during the initial registration process, mobility update process, or connection reconstruction process. Specifically, the radio access network determines the first CMF network element in one of the following ways: randomly from all available CMF network elements; determined according to the default settings of the radio access network; or determined according to the CMF network element that the user terminal last accessed.

[0093] The message processing method provided in this application will be introduced and explained below with reference to some specific application process embodiments.

[0094] Example 1

[0095] Please refer to Figure 5, which illustrates an interaction diagram of a user terminal during the initial registration process according to an embodiment of this application. The initial registration process mainly includes the following steps:

[0096] 1. The UE sends a Registration Request to the RAN. This Registration Request is the first NAS message. This message carries the SUCI (Subscription Concealed Identifier) ​​or SUPI (Subscription Permanent Identifier) ​​corresponding to the user terminal, which is used to identify the identity of the user terminal.

[0097] 2. The RAN selects a suitable CMF network element (i.e., the first CMF network element). For example, it can be the first CMF network element randomly determined from all available CMF network elements, or a default CMF network element can be selected. The default CMF network element is pre-configured on the RAN.

[0098] 3. The RAN forwards the UE's registration request (i.e., the first NAS message) to the selected first CMF network element; this message carries the user terminal's current access location information.

[0099] 4. After receiving the registration request, the first CMF network element creates a user context and then selects an AMF network element (i.e., the first AMF network element). Specifically, the first CMF network element can select the first AMF network element through the NRF network element, or it can select it according to the locally configured AMF network element selection rules. In this embodiment, since the first AMF network element does not need to support connection services with the base station, the first CMF network element can select an AMF network element that is independent of the current location accessed by the user terminal, thereby reducing the probability of the user moving across AMF network elements.

[0100] 5. The first CMF network element forwards the UE's registration request (i.e., the first NAS message) to the selected first AMF network element. This message carries the service address of the current first CMF network element (this address points to the first CMF network element and the user context). When the first AMF network element needs to communicate with the terminal / base station subsequently, the target address is set to the service address of the first CMF network element. In addition, this message also carries the location information currently accessed by the user terminal.

[0101] 6. The first AMF network element initiates the authentication process for the UE. During this process, the first AMF network element first selects a suitable AUSF (Authentication Server Function) for the UE, and then sends an authentication request to the AUSF. The AUSF then initiates the UE's identity authentication and authorization process. During this process, the network authenticates the user terminal, and the user terminal also authenticates the network. All signaling between the UE and the first AMF network element during the authentication process must be transmitted through the first CMF network element, including both uplink first NAS messages and downlink second NAS messages.

[0102] 7. (7a) After successful authentication, the first AMF network element initiates a secure mode command to the first CMF network element, triggering the establishment of a NAS secure connection between the UE and the first CMF network element. This message can be sent to the first CMF network element by sending an N1N2 message carrying the secure mode command. (7b) When the first CMF network element receives the N1 message from the user terminal and successfully responds to the secure mode command, and the UE successfully encrypts and protects the integrity of the message, and the first CMF network element successfully decrypts the message, the first CMF network element sends an N1N2 message to the first AMF network element to notify it of the successful response carrying the secure mode command. A service-oriented interface is used between the first CMF network element and the first AMF network element.

[0103] 8. The first CMF network element sends a security mode command to the UE, triggering the UE to generate a NAS security context based on the authentication result of step 6, generate a security mode command response, and then enable NAS security, sending the encrypted and integrity-protected security mode command response to the first CMF network element. The first CMF network element can generate the NAS security context corresponding to the user terminal locally.

[0104] 9. After the safe mode command is successful, the first AMF network element selects a UDM for the UE based on SUPI / SUCI, and then initiates a user subscription information request to the UDM. The UDM sends the user mobility management-related subscription information and session-related information used to select the SMF network element to the first AMF network element, such as the user's subscribed S-NSSAI and DNN (Data Network Name).

[0105] 10. The first AMF network element initiates an AMF network element registration request to the UDM, carrying the AMF network element identifier of the user's current first AMF network element; the UDM saves the AMF network element identifier in the user context, and then returns a registration response to the first AMF network element.

[0106] 11. The first AMF network element selects the PCF network element to process access and mobility policies, and then establishes an AM policy association with that PCF network element. The first AMF network element sends its subscription information and local location to the PCF network element. Simultaneously, the first AMF network element sends the CMF network element service address received in step 5 to the PCF network element. This way, when the PCF network element needs to send AM policies to the UE / base station, the destination address can be directly set to the service address of the first CMF network element, thus eliminating the need to go through the first AMF network element and reducing its complexity.

[0107] 12. The first AMF network element selects the PCF network element to process the UE policy, and then establishes a UE policy association with the PCF network element. At the same time, the first AMF network element sends the CMF network element service address received in step 5 to the PCF network element. In this way, when the PCF network element needs to send the UE policy to the UE / base station, the destination address can be directly set to the service address of the first CMF network element, so that it does not need to go through the first AMF network element, reducing the complexity of the first AMF network element.

[0108] 13. After successful user registration, the first AMF network element assigns a temporary identifier, such as a globally unique temporary identifier (GUTI), to the user terminal. Then, it generates a Registration Area (RA) based on the user terminal's current access location information and the location information supported by the base station. Here, the temporary identifier and registration area belong to the second NAS message. It then returns a Registration Accept response to the UE, which carries the assigned GUTI and RA. The GUTI may include an S-TMSI (Serving Temporary Mobile Subscriber Identity), which includes the AMF network element identifier corresponding to the first AMF network element and a temporary identifier uniquely identifying the user within the first AMF network element. In some embodiments, the GUTI may also include the identifier of the first CMF network element, used to identify the CMF network element accessed by the user terminal this time. This response message is sent via the N1N2 message transmission service of the first CMF network element. Meanwhile, the first AMF network element carries the user subscription information received in step 9 in the response message, including session-related information for selecting the SMF network element, and the first CMF network element can save this subscription information.

[0109] 14. The first CMF network element sends a NAS message accepting registration to the UE. This NAS message carries information such as a temporary identifier and the registration area.

[0110] 15. The UE saves information such as temporary identifier and registration area, and returns a registration completion message to the first CMF network element.

[0111] Understandably, through the initial registration process described above, the user terminal can successfully register in the first AMF network element. Furthermore, the first CMF network element also stores the user context corresponding to the user terminal, including the NAS security context and session-related information for selecting the SMF network element. The PCF network element and other network elements also learn the service address of the first CMF network element. Subsequently, during message transmission, the first CMF network element can perform some message transmission and processing tasks on behalf of the first AMF network element, thereby reducing the load on the first AMF network element, improving message processing efficiency, and enhancing the performance of the communication system.

[0112] As another supplementary implementation, to achieve statelessness, the first AMF network element can also save the user context to the UDSF (Unstructured Data Storage Function). Subsequently, as needed, the first AMF network element can retrieve the user context from the UDSF for service processing. Of course, the first AMF network element can also save the user context locally; this application does not impose any restrictions on this.

[0113] Example 2

[0114] Please refer to Figure 6, which illustrates an interaction diagram of a user terminal during a mobility update process according to an embodiment of this application. The mobility update process mainly includes the following steps:

[0115] 1. After the UE moves out of its current registered area, it determines that a location update is needed. Therefore, the UE will send a Registration Request to the RAN. This Registration Request is specifically a Registration Update Request during the mobility update process and belongs to the first NAS message. The Registration Update Request may carry information such as the previously assigned GUTI and RA from the network, as well as a Registration Update Request message protected by integrity.

[0116] 2. The RAN selects a suitable CMF network element (i.e., the first CMF network element). For example, it can be a first CMF network element randomly determined from all available CMF network elements, or a default CMF network element can be selected, which is pre-configured on the RAN. In some embodiments, the RAN can also select the CMF network element that the user terminal last accessed as the first CMF network element based on the identifier of the CMF network element contained in the GUTI.

[0117] 3. The RAN forwards the UE's registration update request (i.e., the first NAS message) to the selected first CMF network element, which carries the user terminal's current access location information.

[0118] 4. After receiving the registration update request, the first CMF network element can select the previously registered Old AMF network element based on the GUTI and forward the registration update request (i.e., the first NAS message) to that Old AMF network element. This message carries the service address of the current first CMF network element (this address points to the current first CMF network element and the user context). When the first AMF network element needs to communicate with the terminal / base station subsequently, the target address is set to this service address. Furthermore, this message can also carry the current location information of the user terminal.

[0119] 5. The Old AMF network element finds the user context based on the GUTI and performs security verification on the user's registration update request based on the saved security context. If successful, it continues the subsequent process; otherwise, it discards the message or returns a registration failure message with a reason value. The Old AMF network element also determines whether it can continue to serve the user terminal based on the current location information of the user terminal. If the Old AMF network element can continue to serve the user terminal, it is designated as the first AMF network element in this round, and step 6 is executed. If the Old AMF network element cannot continue to serve the user terminal, a new AMF network element (i.e., the New AMF network element) is selected as the first AMF network element based on the current location information of the user terminal, and a redirection request is sent to this AMF network element. The Old AMF network element can find the new AMF network element through the NRF network element. The redirection request may include the registration update request received from the user terminal, all user contexts (including mobility context, security context, session context, etc.), and the address information of the CMF network element received from the first CMF network element, as well as the user's access location information, etc.

[0120] 6. Continue the user registration process based on the determined first AMF network element, and execute steps 6-17 in Example 1, which will not be repeated here.

[0121] It is understood that during the mobility update process in this application embodiment, the AMF network element can verify the user's access registration update request based on the stored security context, and select the AMF network element that will subsequently provide services to the user terminal based on the location information accessed by the user terminal. If the update and the new AMF network element are not the same, the old AMF network element can send all the user's context, the address information of the CMF network element, and the location information accessed by the user to the new AMF network element through a redirection request, so as to facilitate the user's update registration process.

[0122] Example 3

[0123] Please refer to Figure 7, which illustrates an interaction diagram of a user terminal during the interface release process provided in an embodiment of this application. The interface release process mainly includes the following steps:

[0124] 1. When the RAN determines that the N2 interface needs to be released (e.g., due to radio link failure or other reasons), it can initiate an AN interface release request to the first CMF network element. Specifically, in some embodiments, the release request may carry the release reason and other information.

[0125] 2. When the first CMF network element receives an AN interface release request from the RAN, or when the first CMF network element itself determines that it needs to initiate a UE context release, the first CMF network element sends a UE context release command to the RAN. The UE context release command corresponds to a user terminal and instructs the release of the connection of the corresponding user terminal.

[0126] 3. If the current RRC connection between the RAN and the user terminal has not been released, the RAN will release the RRC connection of the user terminal.

[0127] 4. The RAN sends a message to the first CMF network element indicating that the UE context release is complete;

[0128] 5. The first CMF network element sends a UE context release request to the first AMF network element through a service interface. This request may carry the release reason and other information, and also sends the latest NAS security context stored in the first CMF network element to the first AMF network element. After receiving the UE context release request message, the first AMF network element saves the NAS security context corresponding to the user terminal and deletes the CMF network element address information corresponding to the first CMF network element from the user context. Then, the first AMF network element returns a UE context release response to the first CMF network element.

[0129] In this embodiment, after the interface release process ends, the first AMF network element deletes the information of the first CMF network element and RAN corresponding to the user terminal, while retaining the NAS security context corresponding to the user terminal for subsequent reconnection. Within the first AMF network element, the user terminal's state is changed to idle.

[0130] Example 4

[0131] Please refer to Figure 8, which illustrates an interaction diagram of a user terminal during the connection reconstruction process provided in an embodiment of this application. The connection reconstruction process mainly includes the following steps:

[0132] 1. The user terminal initiates a service request to the RAN. This service request belongs to the first NAS message, and it may carry the temporary identifier S-TMSI corresponding to the user terminal. The user terminal is responsible for the integrity protection of this NAS message.

[0133] 2. The RAN selects a suitable CMF network element (i.e., the first CMF network element). For example, it can be the first CMF network element randomly determined from all available CMF network elements, or a default CMF network element can be selected. The default CMF network element is pre-configured on the RAN.

[0134] 3. The RAN forwards the UE's Service Request (i.e., the first NAS message) to the selected first CMF network element;

[0135] 4. After receiving the Service Request (i.e., the first NAS message), the first CMF network element creates a user context, selects the first AMF network element based on the S-TMSI, and then sends the Service Request (i.e., the first NAS message) to the first AMF network element through the service interface. At this time, the request carries the temporary identifier S-TMSI corresponding to the user terminal and the service address of the current first CMF network element (this address points to the current first CMF network element and the user context). When the first AMF network element needs to communicate with the terminal / base station in the future, the target address is set to the service address of the first CMF network element.

[0136] 5. The first AMF network element performs integrity verification on the Service Request (i.e., the first NAS message) based on the stored NAS security context. If the verification fails, the message is discarded. If the verification succeeds, subsequent processes continue. In this step, the first AMF network element can initiate an authentication process for the user terminal. If the first AMF network element decides to accept the Service Request, it sends a UE context establishment request message to the first CMF network element through the service interface, carrying the NAS message Service Accept. In one implementation, the first AMF network element can send the user's NAS security context to the first CMF network element in this message, and the first CMF network element uses the security context to encrypt and decrypt the NAS message. In another implementation, the first AMF network element can send a separate security mode command message to the first CMF network element, carrying the NAS security context.

[0137] 6. The first CMF network element sends an N2 message to the RAN. This N2 message may carry a NAS message Service Accept received from the first AMF network element. The first CMF network element needs to encrypt and protect the integrity of this NAS message. The RAN sends an RRC reconfiguration procedure (Radio Resource Connection Reconfiguration) to the UE, forwarding the NAS Service Accept message to the UE. After creating radio resources, the RAN returns an N2 interface message to the first CMF network element.

[0138] 7. The first CMF network element sends a user context establishment response to the first AMF network element.

[0139] It is understood that, in the connection reconstruction process of this application embodiment, the first AMF network element can send the stored NAS security context to the first CMF network element. This allows for the rapid recovery of the NAS security context on the first CMF network element, facilitating its protection of transmitted NAS messages based on the NAS security context. Through this connection reconstruction process, the user terminal can enter the connected state, and the user context (including the NAS security context) is restored on the first CMF network element.

[0140] Example 5

[0141] Please refer to Figure 9, which illustrates an interactive diagram of reconstructing a user terminal's network connection via paging, as provided in an embodiment of this application. The main processes in this application include:

[0142] 1. The NF triggers a downlink paging message to the first AMF network element. This message carries the identifier of the user terminal, such as SUPI.

[0143] 2. If the first AMF network element determines that the user terminal is reachable, it triggers paging of the user terminal. Specifically, the first AMF network element first selects the first CMF network element based on the user's registered area. The first AMF network element can determine at least one first CMF network element from the list of CMF network elements that can serve the user terminal's registered area (TAI list) based on its local configuration or information obtained from the NRF network element.

[0144] 3. Then, the first AMF network element initiates a paging message to all selected first CMF network elements. The paging message carries the temporary identifier S-TMSI corresponding to the user terminal. In some embodiments, it may also carry the registration area of ​​the user terminal to facilitate indicating the paging range of the first CMF network element.

[0145] 4. The first CMF network element initiates a paging message to the connected base station. If the first CMF network element receives the user's registration area, it can further select a base station within the registration area to paging the user based on the user's registration area.

[0146] 5. The base station initiates a paging request to the user terminal, and the paging request carries the S-TMSI corresponding to the user terminal.

[0147] 6. After receiving the paging message, the user terminal initiates a Service request process to the base station, which moves the user terminal from the idle state to the connected state and completes the reconnection.

[0148] In this embodiment of the application, an electronic device is also provided, including:

[0149] One or more processors;

[0150] A memory that stores one or more programs, which, when executed by one or more processors, enable the processors to perform actions such as:

[0151] Either of the message processing methods shown in Figure 3 or Figure 4.

[0152] It is understood that the content of any message processing method embodiment shown in Figure 3 or Figure 4 is applicable to this electronic device embodiment. The specific functions implemented by this electronic device embodiment are the same as those of any message processing method embodiment shown in Figure 3 or Figure 4, and the beneficial effects achieved are also the same as those achieved by any message processing method embodiment shown in Figure 3 or Figure 4.

[0153] This application also discloses a computer-readable storage medium storing a processor-executable program, which, when executed by a processor, is used to implement any of the message processing method embodiments shown in FIG3 or FIG4.

[0154] It is understood that the content of any message processing method embodiment shown in FIG3 or FIG4 is applicable to the present computer-readable storage medium embodiment. The specific functions implemented by the present computer-readable storage medium embodiment are the same as those of any message processing method embodiment shown in FIG3 or FIG4, and the beneficial effects achieved are also the same as those achieved by any message processing method embodiment shown in FIG3 or FIG4.

[0155] This application also discloses a computer program product, including a computer program, which, when executed by a processor, implements any of the message processing method embodiments shown in FIG3 or FIG4.

[0156] It is understood that the content of any message processing method embodiment shown in Figure 3 or Figure 4 is applicable to the embodiment of this computer program product. The specific functions implemented by the embodiment of this computer program product are the same as those of any message processing method embodiment shown in Figure 3 or Figure 4, and the beneficial effects achieved are also the same as those achieved by any message processing method embodiment shown in Figure 3 or Figure 4.

[0157] This application provides a message processing method, electronic device, and storage medium applied to a first connection management function (CMF) network element. The first CMF network element can be established based on the functional decomposition of the AMF network element and is specifically responsible for connection management-related functions. The method includes: obtaining the non-access NAS security context corresponding to the user terminal; receiving a first NAS message transmitted by the user terminal; performing a security check on the first NAS message according to the NAS security context; and transmitting the first NAS message to the first connection and mobility management function (AMF) network element. This application manages the NAS security context through the first CMF network element and performs a security check on the first NAS message uplinked by the UE according to the NAS security context, thereby replacing some tasks of the AMF network element. In this way, the AMF network element will be further service-oriented, which can reduce the complexity of the AMF network element, improve the efficiency of message processing, and help improve system performance. In some alternative embodiments, the functions / operations mentioned in the block diagrams may not occur in the order shown in the operation diagrams. For example, depending on the functions / operations involved, two consecutively shown blocks may actually be executed substantially simultaneously or the blocks may sometimes be executed in reverse order. Furthermore, the embodiments presented and described in the flowcharts of this application are provided by way of example to provide a more comprehensive understanding of the technology. The disclosed methods are not limited to the operations and logic flows presented herein. Alternative embodiments are contemplated, in which the order of various operations is changed and sub-operations described as part of a larger operation are performed independently.

[0158] Furthermore, although this application is described in the context of functional modules, it should be understood that, unless otherwise stated to the contrary, one or more of the functions and / or features may be integrated into a single physical device and / or software module, or one or more functions and / or features may be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding this application. Rather, given the properties, functions, and internal relationships of the various functional modules in the apparatus disclosed herein, the actual implementation of the module will be understood within the scope of conventional technology for an engineer. Therefore, those skilled in the art can implement the application set forth in the claims using ordinary techniques without excessive experimentation. It is also understood that the specific concepts disclosed are merely illustrative and not intended to limit the scope of this application, which is determined by the full scope of the appended claims and their equivalents.

[0159] If a function is implemented as 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 this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0160] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.

[0161] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.

[0162] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0163] In the foregoing description of this specification, the references to terms such as "one embodiment," "another embodiment," or "some embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0164] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

[0165] The foregoing has provided specific descriptions of several embodiments of this application. However, this application is not limited to these embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the scope of this application, and all such equivalent modifications or substitutions are included within the scope defined by the claims of this application.

[0166] In the description of this specification, the references to terms such as "one embodiment," "another embodiment," or "some embodiments," etc., indicate that a specific feature, structure, material, or characteristic described in connection with an embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0167] Although embodiments of this application have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of this application, the scope of which is defined by the claims and their equivalents.

Claims

1. A message processing method applied to a first connection management function (CMF) network element, the method comprising: Obtain the non-access NAS security context corresponding to the user terminal; The system receives a first NAS message transmitted by the user terminal, performs a security check on the first NAS message according to the NAS security context, and transmits the first NAS message to the first connectivity and mobility management function (AMF) network element.

2. The message processing method of claim 1, wherein, The first NAS message includes requests sent by the user terminal during the initial registration process, mobility update process, or connection reconstruction process.

3. The message processing method according to claim 1 further includes: The system receives the second NAS message transmitted by the first AMF network element, performs security protection on the second NAS message according to the NAS security context, and transmits the second NAS message to the user terminal.

4. The message processing method of claim 3, wherein, The NAS security context is configured into the first CMF network element in one of the following ways: It is generated locally by the first CMF network element; The NAS security context is obtained from the first AMF network element; wherein the NAS security context is generated locally by the first AMF network element or obtained by the first AMF network element from the CMF network element that the user terminal previously accessed.

5. The message processing method of claim 3, wherein, The second NAS message includes one of the following: The first AMF network element is a temporary identifier assigned to the user terminal; The registration area corresponding to the user terminal is determined by the first AMF network element.

6. The message processing method according to claim 1 or 3, wherein The first AMF network element is determined by one of the following methods: The first CMF network element is determined by the Network Storage Function (NRF) network element; The selection is determined by the first CMF network element according to the locally configured AMF selection rules; The first CMF network element determines this based on the temporary identifier of the user terminal.

7. The message processing method according to claim 1 or 3 further includes: The NAS security context is sent to the first AMF network element for storage.

8. The message processing method according to claim 1 or 3, further comprising: Receive paging information sent by the first AMF network element; Paging is performed based on the paging information.

9. The message processing method of claim 8, wherein, The paging information carries a temporary identifier assigned to the user terminal by the first AMF network element. The temporary identifier is used to indicate the user terminal to which the first CMF network element is paging.

10. The message processing method of claim 8, wherein, The paging information carries the registration area of ​​the user terminal determined by the first AMF network element, and the registration area is used to indicate the location range where the first CMF network element performs paging.

11. A message processing method applied to a first AMF network element, the method comprising: The first CMF network element transmits a second NAS message to the first CMF network element; wherein the first CMF network element is used to perform security protection on the second NAS message according to the NAS security context.

12. The message processing method of claim 11, wherein, The NAS security context corresponds to the user terminal; the NAS security context is configured into the first CMF network element in one of the following ways: It is generated locally by the first CMF network element; The NAS security context is obtained from the first AMF network element; wherein the NAS security context is generated locally by the first AMF network element or obtained by the first AMF network element from the CMF network element that the user terminal previously accessed.

13. The message processing method of claim 12, wherein, The second NAS message includes one of the following: The first AMF network element is a temporary identifier assigned to the user terminal; The registration area corresponding to the user terminal is determined by the first AMF network element.

14. The message processing method according to claim 12, further comprising: Receive the NAS security context sent by the first CMF network element; Store the NAS security context.

15. The message processing method of claim 14, wherein, The NAS security context is stored either locally by the first AMF network element or sent by the first AMF network element to the Unstructured Data Storage Function (UDSF) network element for storage.

16. The message processing method of claim 11, further comprising: Send paging information to the first CMF network element.

17. The message processing method of claim 16, wherein, The paging information carries a temporary identifier assigned to the user terminal by the first AMF network element. The temporary identifier is used to indicate the user terminal to which the first CMF network element is paging.

18. The message processing method of claim 16, wherein, The paging information carries the registration area of ​​the user terminal determined by the first AMF network element, and the registration area is used to indicate the location range where the first CMF network element performs paging.

19. An electronic device comprising: At least one processor; At least one memory for storing at least one program; wherein, The message processing method of any one of claims 1 to 18 is implemented when at least one of the programs is executed by at least one of the processors.

20. A computer-readable storage medium storing computer-executable instructions, wherein, The computer-executable instructions are used to execute the message processing method according to any one of claims 1 to 18.

21. A computer program product comprising computer programs or computer instructions, wherein, The computer program or the computer instructions are stored in a computer-readable storage medium. The processor of the electronic device reads the computer program or the computer instructions from the computer-readable storage medium and executes the computer program or the computer instructions, causing the electronic device to perform the message processing method according to any one of claims 1 to 18.